summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-scope.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-20 21:28:22 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-25 15:59:40 +0100
commitedbcc1fdd94355c5cf22263ba2c1cfa4ec2eb010 (patch)
tree7fe83782671de558758ce370f0da0d4efa48f085 /src/resolve/resolved-dns-scope.h
parent6955a3ba9dc5d36487724878333a5745987e6656 (diff)
resolve: generate a nice clean error when clients try to resolve a name when the network is down
Diffstat (limited to 'src/resolve/resolved-dns-scope.h')
-rw-r--r--src/resolve/resolved-dns-scope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-scope.h b/src/resolve/resolved-dns-scope.h
index a0676bd30e..f9b63d56d9 100644
--- a/src/resolve/resolved-dns-scope.h
+++ b/src/resolve/resolved-dns-scope.h
@@ -107,3 +107,5 @@ void dns_scope_dump(DnsScope *s, FILE *f);
DnsSearchDomain *dns_scope_get_search_domains(DnsScope *s);
bool dns_scope_name_needs_search_domain(DnsScope *s, const char *name);
+
+bool dns_scope_network_good(DnsScope *s);