diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-18 10:00:50 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-19 16:25:54 +0100 |
commit | 4002b7bdc132988b44aa83b3d0cd8af54a55fe08 (patch) | |
tree | c3d50b2d9cc27c1872ef9e1c8bebd012d2189ec1 /lib/tsocket/tsocket.h | |
parent | 9ed7a45c88d9daeedf818b56ecefd6ce58fcce36 (diff) | |
download | samba-4002b7bdc132988b44aa83b3d0cd8af54a55fe08.tar.gz samba-4002b7bdc132988b44aa83b3d0cd8af54a55fe08.tar.xz samba-4002b7bdc132988b44aa83b3d0cd8af54a55fe08.zip |
lib/tsocket: add tsocket_sendto_queue_send/recv()
metze
Diffstat (limited to 'lib/tsocket/tsocket.h')
-rw-r--r-- | lib/tsocket/tsocket.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h index 7987571bc37..4445aafe9d4 100644 --- a/lib/tsocket/tsocket.h +++ b/lib/tsocket/tsocket.h @@ -179,5 +179,13 @@ struct tevent_req *tsocket_sendto_send(struct tsocket_context *sock, const struct tsocket_address *dst); ssize_t tsocket_sendto_recv(struct tevent_req *req, int *perrno); +struct tevent_req *tsocket_sendto_queue_send(TALLOC_CTX *mem_ctx, + struct tsocket_context *sock, + struct tevent_queue *queue, + const uint8_t *buf, + size_t len, + struct tsocket_address *dst); +ssize_t tsocket_sendto_queue_recv(struct tevent_req *req, int *perrno); + #endif /* _TSOCKET_H */ |