/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
+#include "sd-event.h"
+
+#include "ordered-set.h"
#include "socket-util.h"
+typedef struct DnsServer DnsServer;
typedef struct DnsStream DnsStream;
+typedef struct DnsTransaction DnsTransaction;
+typedef struct Manager Manager;
+
+#include "resolved-dns-packet.h"
+#include "resolved-dnstls.h"
typedef enum DnsStreamType {
DNS_STREAM_LOOKUP, /* Outgoing connection to a classic DNS server */
_DNS_STREAM_TYPE_INVALID = -1,
} DnsStreamType;
-#include "resolved-dns-packet.h"
-#include "resolved-dns-transaction.h"
-#include "resolved-dnstls.h"
-#include "resolved-manager.h"
-
#define DNS_STREAM_WRITE_TLS_DATA 1
/* Streams are used by three subsystems: