summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-cache.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-12-08 17:24:09 +0100
committerTom Gundersen <teg@jklm.no>2015-12-08 17:24:09 +0100
commit73f72c61086f77b75431b1c6a068cea3fe6b9222 (patch)
tree85d0751d1764287abf73e3ec9376c8331b394004 /src/resolve/resolved-dns-cache.h
parent2af917de2d2c52808974ee62d245d114313ebae6 (diff)
parent7778dffff3d8bd7438fe19a248c16203668324c9 (diff)
Merge pull request #2122 from zonque/resolved-mdns-1
resolved: more mDNS specific bits
Diffstat (limited to 'src/resolve/resolved-dns-cache.h')
-rw-r--r--src/resolve/resolved-dns-cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-cache.h b/src/resolve/resolved-dns-cache.h
index 5f91164785..0f28bbe543 100644
--- a/src/resolve/resolved-dns-cache.h
+++ b/src/resolve/resolved-dns-cache.h
@@ -32,6 +32,7 @@ typedef struct DnsCache {
} DnsCache;
#include "resolved-dns-answer.h"
+#include "resolved-dns-packet.h"
#include "resolved-dns-question.h"
#include "resolved-dns-rr.h"
@@ -45,3 +46,5 @@ int dns_cache_check_conflicts(DnsCache *cache, DnsResourceRecord *rr, int owner_
void dns_cache_dump(DnsCache *cache, FILE *f);
bool dns_cache_is_empty(DnsCache *cache);
+
+int dns_cache_export_shared_to_packet(DnsCache *cache, DnsPacket *p);