summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-25 15:27:11 -0400
committerSimo Sorce <idra@samba.org>2011-08-13 09:54:15 -0400
commit4a8fdc3958b7bc42bd90d4307f6fb0556944b300 (patch)
tree84272531282f71db38879fe3a419b599600ae6eb /source4/librpc/rpc/dcerpc.c
parentab81505e080e72c2217cb3946b04eee872397763 (diff)
downloadsamba-4a8fdc3958b7bc42bd90d4307f6fb0556944b300.tar.gz
samba-4a8fdc3958b7bc42bd90d4307f6fb0556944b300.tar.bz2
samba-4a8fdc3958b7bc42bd90d4307f6fb0556944b300.zip
s4:librpc: use tevent_ fn names instead of legacy event_ ones
Diffstat (limited to 'source4/librpc/rpc/dcerpc.c')
-rw-r--r--source4/librpc/rpc/dcerpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 496cc0b2a6..77b1d29236 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -1180,7 +1180,7 @@ struct composite_context *dcerpc_bind_send(struct dcerpc_pipe *p,
true);
if (!composite_is_ok(c)) return c;
- event_add_timed(c->event_ctx, req,
+ tevent_add_timer(c->event_ctx, req,
timeval_current_ofs(DCERPC_REQUEST_TIMEOUT, 0),
dcerpc_timeout_handler, req);
@@ -1413,7 +1413,7 @@ static struct rpc_request *dcerpc_request_send(struct dcerpc_pipe *p,
dcerpc_ship_next_request(p->conn);
if (p->request_timeout) {
- event_add_timed(dcerpc_event_context(p), req,
+ tevent_add_timer(dcerpc_event_context(p), req,
timeval_current_ofs(p->request_timeout, 0),
dcerpc_timeout_handler, req);
}
@@ -1560,7 +1560,7 @@ static NTSTATUS dcerpc_request_recv(struct rpc_request *req,
while (req->state != RPC_REQUEST_DONE) {
struct tevent_context *ctx = dcerpc_event_context(req->p);
- if (event_loop_once(ctx) != 0) {
+ if (tevent_loop_once(ctx) != 0) {
return NT_STATUS_CONNECTION_DISCONNECTED;
}
}
@@ -1931,7 +1931,7 @@ struct composite_context *dcerpc_alter_context_send(struct dcerpc_pipe *p,
c->status = p->conn->transport.send_request(p->conn, &blob, true);
if (!composite_is_ok(c)) return c;
- event_add_timed(c->event_ctx, req,
+ tevent_add_timer(c->event_ctx, req,
timeval_current_ofs(DCERPC_REQUEST_TIMEOUT, 0),
dcerpc_timeout_handler, req);