diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-09-03 19:57:02 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-09-04 09:01:19 +0200 |
commit | 54d2dce7b15579cc4daaad07a9e0344ef4fc17f7 (patch) | |
tree | 6ef0c5a4ccd54a6c7f69854e2296acf503fc2b46 | |
parent | 1df9fe81f52deebc23f762c80c974ca772553b21 (diff) | |
download | samba-54d2dce7b15579cc4daaad07a9e0344ef4fc17f7.tar.gz samba-54d2dce7b15579cc4daaad07a9e0344ef4fc17f7.tar.bz2 samba-54d2dce7b15579cc4daaad07a9e0344ef4fc17f7.zip |
librpc/rpc: add dcerpc_binding_handle_set_timeout()
metze
-rw-r--r-- | librpc/rpc/binding_handle.c | 6 | ||||
-rw-r--r-- | source3/librpc/rpc/dcerpc.h | 3 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c index 75b2dedcb5..93c0fd4f00 100644 --- a/librpc/rpc/binding_handle.c +++ b/librpc/rpc/binding_handle.c @@ -91,6 +91,12 @@ bool dcerpc_binding_handle_is_connected(struct dcerpc_binding_handle *h) return h->ops->is_connected(h); } +uint32_t dcerpc_binding_handle_set_timeout(struct dcerpc_binding_handle *h, + uint32_t timeout) +{ + return h->ops->set_timeout(h, timeout); +} + struct dcerpc_binding_handle_raw_call_state { const struct dcerpc_binding_handle_ops *ops; uint8_t *out_data; diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h index 77395ebf74..af20889b1e 100644 --- a/source3/librpc/rpc/dcerpc.h +++ b/source3/librpc/rpc/dcerpc.h @@ -259,6 +259,9 @@ _DEPRECATED_ void dcerpc_binding_handle_set_sync_ev(struct dcerpc_binding_handle bool dcerpc_binding_handle_is_connected(struct dcerpc_binding_handle *h); +uint32_t dcerpc_binding_handle_set_timeout(struct dcerpc_binding_handle *h, + uint32_t timeout); + struct tevent_req *dcerpc_binding_handle_raw_call_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct dcerpc_binding_handle *h, diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index 5adbc57a9c..b77628d8d7 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -477,6 +477,9 @@ _DEPRECATED_ void dcerpc_binding_handle_set_sync_ev(struct dcerpc_binding_handle bool dcerpc_binding_handle_is_connected(struct dcerpc_binding_handle *h); +uint32_t dcerpc_binding_handle_set_timeout(struct dcerpc_binding_handle *h, + uint32_t timeout); + struct tevent_req *dcerpc_binding_handle_raw_call_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct dcerpc_binding_handle *h, |