summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 10:00:26 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:54 +0100
commit935a40f4f20048204fb7baf2f208e7e44f2485e7 (patch)
treefe6cb8650595018e00379eb45c7a5275cec5bcf9 /source3/lib/util_sock.c
parentd0bca41f481fbaa4b25190bbb58fe119ca5ccec9 (diff)
downloadsamba-935a40f4f20048204fb7baf2f208e7e44f2485e7.tar.gz
samba-935a40f4f20048204fb7baf2f208e7e44f2485e7.tar.bz2
samba-935a40f4f20048204fb7baf2f208e7e44f2485e7.zip
s3:lib: s/struct event_context/struct tevent_context
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r--source3/lib/util_sock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 679af9ccb4..8f212e5d85 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -502,7 +502,7 @@ int open_socket_in(int type,
struct open_socket_out_state {
int fd;
- struct event_context *ev;
+ struct tevent_context *ev;
struct sockaddr_storage ss;
socklen_t salen;
uint16_t port;
@@ -524,7 +524,7 @@ static int open_socket_out_state_destructor(struct open_socket_out_state *s)
**************************************************************************/
struct tevent_req *open_socket_out_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
const struct sockaddr_storage *pss,
uint16_t port,
int timeout)
@@ -691,7 +691,7 @@ NTSTATUS open_socket_out(const struct sockaddr_storage *pss, uint16_t port,
int timeout, int *pfd)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_NO_MEMORY;
@@ -715,7 +715,7 @@ NTSTATUS open_socket_out(const struct sockaddr_storage *pss, uint16_t port,
}
struct open_socket_out_defer_state {
- struct event_context *ev;
+ struct tevent_context *ev;
struct sockaddr_storage ss;
uint16_t port;
int timeout;
@@ -726,7 +726,7 @@ static void open_socket_out_defer_waited(struct tevent_req *subreq);
static void open_socket_out_defer_connected(struct tevent_req *subreq);
struct tevent_req *open_socket_out_defer_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
+ struct tevent_context *ev,
struct timeval wait_time,
const struct sockaddr_storage *pss,
uint16_t port,