summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc/dcerpc_ep.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/rpc/dcerpc_ep.h')
-rw-r--r--source3/librpc/rpc/dcerpc_ep.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc_ep.h b/source3/librpc/rpc/dcerpc_ep.h
index c982ff853c..ba1e688e6c 100644
--- a/source3/librpc/rpc/dcerpc_ep.h
+++ b/source3/librpc/rpc/dcerpc_ep.h
@@ -95,6 +95,18 @@ NTSTATUS dcerpc_binding_vector_add_unix(const struct ndr_interface_table *iface,
struct dcerpc_binding_vector *dcerpc_binding_vector_dup(TALLOC_CTX *mem_ctx,
const struct dcerpc_binding_vector *bvec);
+/**
+ * @brief Replace the interface of the bindings in the vector.
+ *
+ * @param[in] iface The new interface identifier to use.
+ *
+ * @param[in] v The binding vector to change.
+ *
+ * @return An NTSTATUS error code.
+ */
+NTSTATUS dcerpc_binding_vector_replace_iface(const struct ndr_interface_table *iface,
+ struct dcerpc_binding_vector *v);
+
NTSTATUS dcerpc_binding_vector_create(TALLOC_CTX *mem_ctx,
const struct ndr_interface_table *iface,
uint16_t port,