summaryrefslogtreecommitdiff
path: root/libcli/dns/libdns.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/dns/libdns.h')
-rw-r--r--libcli/dns/libdns.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libcli/dns/libdns.h b/libcli/dns/libdns.h
index 91353a8e84d..1fa73d3fb22 100644
--- a/libcli/dns/libdns.h
+++ b/libcli/dns/libdns.h
@@ -50,4 +50,14 @@ int dns_udp_request_recv(struct tevent_req *req,
uint8_t **reply,
size_t *reply_len);
+struct tevent_req *dns_tcp_request_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ const char *server_addr_string,
+ const uint8_t *query,
+ size_t query_len);
+int dns_tcp_request_recv(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx,
+ uint8_t **reply,
+ size_t *reply_len);
+
#endif /*__LIBDNS_H__*/