chiark / gitweb /
resolved: various fixes regarding encoding of UTF8 characters in DNS RRs
[elogind.git] / src / resolve / resolved-dns-stream.h
index db456580cbba74c67909c170ac1e030d770736e0..fc24bb670ea7fd8d734c403df620d8996687effb 100644 (file)
@@ -26,6 +26,8 @@
 typedef struct DnsStream DnsStream;
 
 #include "resolved.h"
+#include "resolved-dns-packet.h"
+#include "resolved-dns-transaction.h"
 
 struct DnsStream {
         Manager *manager;
@@ -39,6 +41,7 @@ struct DnsStream {
         socklen_t local_salen;
         int ifindex;
         uint32_t ttl;
+        bool identified;
 
         sd_event_source *io_event_source;
         sd_event_source *timeout_event_source;
@@ -50,7 +53,7 @@ struct DnsStream {
         int (*on_packet)(DnsStream *s);
         int (*complete)(DnsStream *s, int error);
 
-        DnsQueryTransaction *transaction;
+        DnsTransaction *transaction;
 
         LIST_FIELDS(DnsStream, streams);
 };