]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc/rpc: add get_binding() to dcerpc_binding_handle_ops
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Sep 2024 17:28:55 +0000 (19:28 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 26 Sep 2024 15:22:45 +0000 (15:22 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
librpc/rpc/rpc_common.h

index 565c68c2ecfe9021b910fa49a3c7bf4641d86eba..33892a6859718bc0289e48891dcc4e9a00b256c9 100644 (file)
@@ -172,6 +172,8 @@ enum dcerpc_transport_t dcerpc_transport_by_tower(const struct epm_tower *tower)
 struct dcerpc_binding_handle_ops {
        const char *name;
 
+       const struct dcerpc_binding *(*get_binding)(struct dcerpc_binding_handle *h);
+
        bool (*is_connected)(struct dcerpc_binding_handle *h);
        uint32_t (*set_timeout)(struct dcerpc_binding_handle *h,
                                uint32_t timeout);