From 1adf226e74375b2fb0932380f13bf19d8d856ea4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 17 Sep 2024 19:28:55 +0200 Subject: [PATCH] librpc/rpc: add get_binding() to dcerpc_binding_handle_ops Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- librpc/rpc/rpc_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/librpc/rpc/rpc_common.h b/librpc/rpc/rpc_common.h index 565c68c2ecf..33892a68597 100644 --- a/librpc/rpc/rpc_common.h +++ b/librpc/rpc/rpc_common.h @@ -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); -- 2.47.2