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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/async_req/async_sock.h b/lib/async_req/async_sock.h
index bfa23d7836..89dabdac4c 100644
--- a/lib/async_req/async_sock.h
+++ b/lib/async_req/async_sock.h
@@ -36,6 +36,12 @@ struct async_req *async_recv(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
int fd, void *buffer, size_t length,
int flags);
+struct tevent_req *async_send_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ int fd, const void *buf, size_t len,
+ int flags);
+ssize_t async_send_recv(struct tevent_req *req, int *perrno);
+
struct tevent_req *async_connect_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
int fd, const struct sockaddr *address,