summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc/dcerpc_ep.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-07-01 14:36:31 +0200
committerAndreas Schneider <asn@samba.org>2011-08-01 08:50:35 +0200
commit9cc6f904240897c81caf78b2c228b776b553ce63 (patch)
treec9c85c2bd2233c15d63f47865d5f9ff05b07eacc /source3/librpc/rpc/dcerpc_ep.h
parent169d0c431265651996f3063c3de6503f84894720 (diff)
downloadsamba-9cc6f904240897c81caf78b2c228b776b553ce63.tar.gz
samba-9cc6f904240897c81caf78b2c228b776b553ce63.tar.bz2
samba-9cc6f904240897c81caf78b2c228b776b553ce63.zip
s3-librpc: Add dcerpc_binding_vector_dup().
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 421038f0ad..c982ff853c 100644
--- a/source3/librpc/rpc/dcerpc_ep.h
+++ b/source3/librpc/rpc/dcerpc_ep.h
@@ -83,6 +83,18 @@ NTSTATUS dcerpc_binding_vector_add_unix(const struct ndr_interface_table *iface,
struct dcerpc_binding_vector *bvec,
const char *name);
+/**
+ * @brief Duplicate a dcerpc_binding_vector.
+ *
+ * @param[in] mem_ctx The memory context to create the duplicate on.
+ *
+ * @param[in] bvec The binding vector to duplicate.
+ *
+ * @return The duplicated binding vector or NULL on error.
+ */
+struct dcerpc_binding_vector *dcerpc_binding_vector_dup(TALLOC_CTX *mem_ctx,
+ const struct dcerpc_binding_vector *bvec);
+
NTSTATUS dcerpc_binding_vector_create(TALLOC_CTX *mem_ctx,
const struct ndr_interface_table *iface,
uint16_t port,