summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dnstls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve/resolved-dnstls.h')
-rw-r--r--src/resolve/resolved-dnstls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dnstls.h b/src/resolve/resolved-dnstls.h
index b638d61ec7..ed214dc6c4 100644
--- a/src/resolve/resolved-dnstls.h
+++ b/src/resolve/resolved-dnstls.h
@@ -3,6 +3,7 @@
#if ENABLE_DNS_OVER_TLS
+#include <stdbool.h>
#include <stdint.h>
typedef struct DnsServer DnsServer;
@@ -28,6 +29,7 @@ int dnstls_stream_on_io(DnsStream *stream, uint32_t revents);
int dnstls_stream_shutdown(DnsStream *stream, int error);
ssize_t dnstls_stream_write(DnsStream *stream, const char *buf, size_t count);
ssize_t dnstls_stream_read(DnsStream *stream, void *buf, size_t count);
+bool dnstls_stream_has_buffered_data(DnsStream *stream);
void dnstls_server_free(DnsServer *server);