librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Sep 2010 17:51:58 +0000 (19:51 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 4 Sep 2010 07:01:11 +0000 (09:01 +0200)
metze

source3/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc.h

index d064f3d6e3e21b3b0abac1da4097acc20c3b3ade..77395ebf74a8fcfa3ccc99beac8e1940fe0dd717 100644 (file)
@@ -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,
index 9ff2c1b0227fd32b5985ece852a1515549e94b49..5adbc57a9c9e879b81e58a11c99df5c4ac75f3fa 100644 (file)
@@ -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,