#include "resolved-link.h"
#include "resolved-dns-server.h"
-enum DnsServerSource {
- DNS_SERVER_SYSTEM,
- DNS_SERVER_LINK,
- DNS_SERVER_DHCP,
- _DNS_SERVER_SOURCE_MAX
-};
-
struct DnsServer {
Manager *manager;
- DnsServerSource source;
Link *link;
int dns_server_new(
Manager *m,
DnsServer **s,
- DnsServerSource source,
Link *l,
int family,
const union in_addr_union *address);