summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-03 19:51:58 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-04 09:01:11 +0200
commit27918981de05edf0d07bdb4adc75701b29c957d3 (patch)
tree32b5b08ad3e0da37b248c4d23fe80c34a3ed8321
parent2907310803a3168582fa0d7ffb5c357e89723434 (diff)
downloadsamba-27918981de05edf0d07bdb4adc75701b29c957d3.tar.gz
samba-27918981de05edf0d07bdb4adc75701b29c957d3.tar.bz2
samba-27918981de05edf0d07bdb4adc75701b29c957d3.zip
librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
metze
-rw-r--r--source3/librpc/rpc/dcerpc.h2
-rw-r--r--source4/librpc/rpc/dcerpc.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h
index d064f3d6e3..77395ebf74 100644
--- a/source3/librpc/rpc/dcerpc.h
+++ b/source3/librpc/rpc/dcerpc.h
@@ -186,6 +186,8 @@ struct dcerpc_binding_handle_ops {
const char *name;
bool (*is_connected)(struct dcerpc_binding_handle *h);
+ uint32_t (*set_timeout)(struct dcerpc_binding_handle *h,
+ uint32_t timeout);
struct tevent_req *(*raw_call_send)(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 9ff2c1b022..5adbc57a9c 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -407,6 +407,8 @@ struct dcerpc_binding_handle_ops {
const char *name;
bool (*is_connected)(struct dcerpc_binding_handle *h);
+ uint32_t (*set_timeout)(struct dcerpc_binding_handle *h,
+ uint32_t timeout);
struct tevent_req *(*raw_call_send)(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,