diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-04 00:26:49 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-04 16:42:40 +0100 |
commit | c6c33d840ba90686fcdc81b49b5e256270b97f29 (patch) | |
tree | 73911e808797588ba30ae4cb0f81a0c15ba4bd7f /source3/include | |
parent | 34e8945cb5d0568e511708779d2c33cc59ed54e1 (diff) | |
download | samba-c6c33d840ba90686fcdc81b49b5e256270b97f29.tar.gz samba-c6c33d840ba90686fcdc81b49b5e256270b97f29.tar.bz2 samba-c6c33d840ba90686fcdc81b49b5e256270b97f29.zip |
Convert async_connect to "normal" style
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/async_sock.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/async_sock.h b/source3/include/async_sock.h index 892ffef087..c6f95d64d5 100644 --- a/source3/include/async_sock.h +++ b/source3/include/async_sock.h @@ -32,9 +32,11 @@ struct async_req *async_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct async_req *async_recv(TALLOC_CTX *mem_ctx, struct event_context *ev, int fd, void *buffer, size_t length, int flags); -struct async_req *async_connect(TALLOC_CTX *mem_ctx, struct event_context *ev, - int fd, const struct sockaddr *address, - socklen_t address_len); +struct async_req *async_connect_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + int fd, const struct sockaddr *address, + socklen_t address_len); +NTSTATUS async_connect_recv(struct async_req *req, int *perrno); struct async_req *sendall_send(TALLOC_CTX *mem_ctx, struct event_context *ev, int fd, const void *buffer, size_t length, |