summaryrefslogtreecommitdiff
path: root/lib/tsocket/tsocket.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-18 09:19:09 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-19 16:25:54 +0100
commita140823cc9d7a47e2fc2ffdb80d63b402f7664c0 (patch)
tree493e9bb19d5ff3c80387bd00c856b533aa3b6ea6 /lib/tsocket/tsocket.h
parent4002b7bdc132988b44aa83b3d0cd8af54a55fe08 (diff)
downloadsamba-a140823cc9d7a47e2fc2ffdb80d63b402f7664c0.tar.gz
lib/tsocket: add tsocket_connect_send/recv()
metze
Diffstat (limited to 'lib/tsocket/tsocket.h')
-rw-r--r--lib/tsocket/tsocket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index 4445aafe9d4..f7a7d6b6148 100644
--- a/lib/tsocket/tsocket.h
+++ b/lib/tsocket/tsocket.h
@@ -187,5 +187,10 @@ struct tevent_req *tsocket_sendto_queue_send(TALLOC_CTX *mem_ctx,
struct tsocket_address *dst);
ssize_t tsocket_sendto_queue_recv(struct tevent_req *req, int *perrno);
+struct tevent_req *tsocket_connect_send(struct tsocket_context *sock,
+ TALLOC_CTX *mem_ctx,
+ const struct tsocket_address *dst);
+int tsocket_connect_recv(struct tevent_req *req, int *perrno);
+
#endif /* _TSOCKET_H */