chiark / gitweb /
resolved: add DNS cache
[elogind.git] / src / resolve / resolved-dns-scope.h
index 97544f9e48e2620a42376bf41b1e442494e564dd..b5fae2d7a1ff949414f98a9b33a7230697568ab8 100644 (file)
@@ -30,6 +30,7 @@ typedef struct DnsScope DnsScope;
 #include "resolved-dns-server.h"
 #include "resolved-dns-packet.h"
 #include "resolved-dns-query.h"
+#include "resolved-dns-cache.h"
 
 typedef enum DnsScopeType {
         DNS_SCOPE_DNS,
@@ -54,6 +55,8 @@ struct DnsScope {
 
         char **domains;
 
+        DnsCache cache;
+
         LIST_HEAD(DnsQueryTransaction, transactions);
 
         LIST_FIELDS(DnsScope, scopes);