summaryrefslogtreecommitdiff
path: root/lib/async_req/async_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/async_req/async_sock.h')
-rw-r--r--lib/async_req/async_sock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/async_req/async_sock.h b/lib/async_req/async_sock.h
index 8d98886e2b..1910643ef7 100644
--- a/lib/async_req/async_sock.h
+++ b/lib/async_req/async_sock.h
@@ -61,4 +61,9 @@ struct tevent_req *read_packet_send(TALLOC_CTX *mem_ctx,
ssize_t read_packet_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
uint8_t **pbuf, int *perrno);
+struct tevent_req *wait_for_read_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ int fd);
+bool wait_for_read_recv(struct tevent_req *req, int *perr);
+
#endif