diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-10 21:12:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-19 16:25:54 +0100 |
commit | 9ed7a45c88d9daeedf818b56ecefd6ce58fcce36 (patch) | |
tree | 3585a385439e0a78f02234a22bc394e5a92ba1d9 /lib/tsocket/tsocket.h | |
parent | ccfd6a6e39ab999df0eba0d9e94cc22f1aa6e000 (diff) | |
download | samba-9ed7a45c88d9daeedf818b56ecefd6ce58fcce36.tar.gz samba-9ed7a45c88d9daeedf818b56ecefd6ce58fcce36.tar.xz samba-9ed7a45c88d9daeedf818b56ecefd6ce58fcce36.zip |
lib/tsocket: add tsocket_sendto_send/recv()
metze
Diffstat (limited to 'lib/tsocket/tsocket.h')
-rw-r--r-- | lib/tsocket/tsocket.h | 7 |
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 */ |