summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-04 01:45:06 +0100
committerVolker Lendecke <vl@samba.org>2009-01-04 16:42:40 +0100
commit0cc63c64166d2e26b7a7ffc0e78ea6041de35f53 (patch)
tree17f0df0946f9fee6b45bf95ac4dafc3974036109 /source3/include
parent19b783cce9edf7b616cd1a9d9dcb78a02791d89e (diff)
downloadsamba-0cc63c64166d2e26b7a7ffc0e78ea6041de35f53.tar.gz
samba-0cc63c64166d2e26b7a7ffc0e78ea6041de35f53.tar.bz2
samba-0cc63c64166d2e26b7a7ffc0e78ea6041de35f53.zip
Add open_socket_out_defer_send/recv
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 957302c378..6238ba3d00 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1465,6 +1465,13 @@ struct async_req *open_socket_out_send(TALLOC_CTX *mem_ctx,
uint16_t port,
int timeout);
NTSTATUS open_socket_out_recv(struct async_req *req, int *pfd);
+struct async_req *open_socket_out_defer_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct timeval wait_time,
+ const struct sockaddr_storage *pss,
+ uint16_t port,
+ int timeout);
+NTSTATUS open_socket_out_defer_recv(struct async_req *req, int *pfd);
bool open_any_socket_out(struct sockaddr_storage *addrs, int num_addrs,
int timeout, int *fd_index, int *fd);
int open_udp_socket(const char *host, int port);