diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-02-07 15:50:29 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2014-02-11 16:20:28 +0100 |
commit | 166766e7725d6b4820c3b50a88561b8d260baf56 (patch) | |
tree | dc99ad6f189a2784618b6ae8f0771e9b31a9690f | |
parent | 6ab76219cd651f1ad30eaeff87a8878c91c6969a (diff) | |
download | samba-166766e7725d6b4820c3b50a88561b8d260baf56.tar.gz samba-166766e7725d6b4820c3b50a88561b8d260baf56.tar.xz samba-166766e7725d6b4820c3b50a88561b8d260baf56.zip |
s3:dcerpc_ep: make struct dcerpc_binding_vector private
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
-rw-r--r-- | source3/librpc/rpc/dcerpc_ep.c | 6 | ||||
-rw-r--r-- | source3/librpc/rpc/dcerpc_ep.h | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/source3/librpc/rpc/dcerpc_ep.c b/source3/librpc/rpc/dcerpc_ep.c index 410caa7732..f0c282d5a8 100644 --- a/source3/librpc/rpc/dcerpc_ep.c +++ b/source3/librpc/rpc/dcerpc_ep.c @@ -29,6 +29,12 @@ #define EPM_MAX_ANNOTATION_SIZE 64 +struct dcerpc_binding_vector { + struct dcerpc_binding *bindings; + uint32_t count; + uint32_t allocated; +}; + static bool binding_vector_realloc(struct dcerpc_binding_vector *bvec) { if (bvec->count >= bvec->allocated) { diff --git a/source3/librpc/rpc/dcerpc_ep.h b/source3/librpc/rpc/dcerpc_ep.h index 8bcf184280..7d1397b2b4 100644 --- a/source3/librpc/rpc/dcerpc_ep.h +++ b/source3/librpc/rpc/dcerpc_ep.h @@ -20,11 +20,7 @@ #ifndef _DCERPC_EP_H_ #define _DCERPC_EP_H_ -struct dcerpc_binding_vector { - struct dcerpc_binding *bindings; - uint32_t count; - uint32_t allocated; -}; +struct dcerpc_binding_vector; /** * @brief Allocate a new binding vector. |