summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-16 19:15:26 +0100
committerKarolin Seeger <kseeger@samba.org>2009-04-15 09:06:34 +0200
commit92d7b2830a2b42f973917eb23fa9874ef3f6f0fa (patch)
tree8e7b15890e5829582d1ada08493e5d9e0ce52649 /source3/include
parent7376006879a003c3437d98f5af00811d89bdd9a4 (diff)
downloadsamba-92d7b2830a2b42f973917eb23fa9874ef3f6f0fa.tar.gz
samba-92d7b2830a2b42f973917eb23fa9874ef3f6f0fa.tar.xz
samba-92d7b2830a2b42f973917eb23fa9874ef3f6f0fa.zip
Convert open_socket_out_defer to tevent_req
(cherry picked from commit 20cee26a3dbd231672eec9133c6e84641def298d) (cherry picked from commit 1e08799f3c5bb7059f6d355b99f8617461c31d1a)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f992f0686a9..36aad9880c7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1396,13 +1396,13 @@ struct tevent_req *open_socket_out_send(TALLOC_CTX *mem_ctx,
uint16_t port,
int timeout);
NTSTATUS open_socket_out_recv(struct tevent_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);
+struct tevent_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 tevent_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);