summaryrefslogtreecommitdiffstats
path: root/lib/tsocket/tsocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsocket/tsocket.h')
-rw-r--r--lib/tsocket/tsocket.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index 8cabd4263f..7987571bc3 100644
--- a/lib/tsocket/tsocket.h
+++ b/lib/tsocket/tsocket.h
@@ -172,5 +172,12 @@ ssize_t tsocket_recvfrom_recv(struct tevent_req *req,
uint8_t **buf,
struct tsocket_address **src);
+struct tevent_req *tsocket_sendto_send(struct tsocket_context *sock,
+ TALLOC_CTX *mem_ctx,
+ const uint8_t *buf,
+ size_t len,
+ const struct tsocket_address *dst);
+ssize_t tsocket_sendto_recv(struct tevent_req *req, int *perrno);
+
#endif /* _TSOCKET_H */