- sd_event_source *timeout_event_source;
- unsigned n_attempts;
-
- DnsPacket *sent, *received;
-
- /* TCP connection logic */
- int tcp_fd;
- sd_event_source *tcp_event_source;
- size_t tcp_written, tcp_read;
- be16_t tcp_read_size;
-
- /* Data from cache */
- DnsResourceRecord **cached_rrs;
- unsigned n_cached_rrs;
-
- LIST_FIELDS(DnsQueryTransaction, transactions_by_query);
- LIST_FIELDS(DnsQueryTransaction, transactions_by_scope);
-};
+#include "resolved-dns-question.h"
+#include "resolved-dns-answer.h"
+#include "resolved-dns-stream.h"