diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-03 15:24:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-03 19:58:57 +0100 |
commit | 47d532fa685d46752650225c807f579ce658b323 (patch) | |
tree | b34813da369a6402fb41c8a7f9a21a565afb20a4 /source4/smbd/service_named_pipe.c | |
parent | 1c8580cfa937bef1b15842b5b0615d7926b12402 (diff) | |
download | samba-47d532fa685d46752650225c807f579ce658b323.tar.gz samba-47d532fa685d46752650225c807f579ce658b323.tar.bz2 samba-47d532fa685d46752650225c807f579ce658b323.zip |
s4:smbd: convert to tevent_* api
metze
Diffstat (limited to 'source4/smbd/service_named_pipe.c')
-rw-r--r-- | source4/smbd/service_named_pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smbd/service_named_pipe.c b/source4/smbd/service_named_pipe.c index 94fd501ffe..02b71de7c3 100644 --- a/source4/smbd/service_named_pipe.c +++ b/source4/smbd/service_named_pipe.c @@ -20,7 +20,7 @@ */ #include "includes.h" -#include "lib/events/events.h" +#include <tevent.h> #include "lib/socket/socket.h" #include "smbd/service.h" #include "param/param.h" @@ -49,7 +49,7 @@ static void named_pipe_handover_connection(void *private_data) private_data, struct named_pipe_connection); struct stream_connection *conn = pipe_conn->connection; - EVENT_FD_NOT_WRITEABLE(conn->event.fde); + TEVENT_FD_NOT_WRITEABLE(conn->event.fde); if (!NT_STATUS_IS_OK(pipe_conn->status)) { stream_terminate_connection(conn, nt_errstr(pipe_conn->status)); @@ -64,7 +64,7 @@ static void named_pipe_handover_connection(void *private_data) talloc_free(pipe_conn); /* we're now ready to start receiving events on this stream */ - EVENT_FD_READABLE(conn->event.fde); + TEVENT_FD_READABLE(conn->event.fde); /* * hand over to the real pipe implementation, |