diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-16 19:15:26 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-16 19:32:01 +0100 |
commit | 20cee26a3dbd231672eec9133c6e84641def298d (patch) | |
tree | 84bec60f3946497fea2039cd917df6bc2f527697 /source3/include | |
parent | cb9effdc636731c1eba1101798d30f114fc83e19 (diff) | |
download | samba-20cee26a3dbd231672eec9133c6e84641def298d.tar.gz samba-20cee26a3dbd231672eec9133c6e84641def298d.tar.bz2 samba-20cee26a3dbd231672eec9133c6e84641def298d.zip |
Convert open_socket_out_defer to tevent_req
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index f992f0686a..36aad9880c 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); |