From e4997ea8a7bd32cdc08e93b3278e8e95940234eb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 31 Jan 2014 21:13:54 +0100 Subject: [PATCH] librpc/rpc: finaly make struct dcerpc_binding private MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Metzmacher Reviewed-by: Guenther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Thu Feb 13 13:55:47 CET 2014 on sn-devel-104 --- librpc/rpc/binding.c | 14 ++++++++++++++ librpc/rpc/rpc_common.h | 14 +------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c index ecb3bdb76c9..4ee1c6260de 100644 --- a/librpc/rpc/binding.c +++ b/librpc/rpc/binding.c @@ -35,6 +35,20 @@ #define MAX_PROTSEQ 10 +struct dcerpc_binding { + enum dcerpc_transport_t transport; + struct ndr_syntax_id object; + const char *object_string; + const char *host; + const char *target_hostname; + const char *target_principal; + const char *endpoint; + const char **options; + uint32_t flags; + uint32_t assoc_group_id; + char assoc_group_string[11]; /* 0x3456789a + '\0' */ +}; + static const struct { const char *name; enum dcerpc_transport_t transport; diff --git a/librpc/rpc/rpc_common.h b/librpc/rpc/rpc_common.h index fa75b520c32..ce7e6ea2722 100644 --- a/librpc/rpc/rpc_common.h +++ b/librpc/rpc/rpc_common.h @@ -40,19 +40,7 @@ enum dcerpc_transport_t { NCADG_UNIX_DGRAM, NCACN_HTTP, NCADG_IPX, NCACN_SPX, NCACN_INTERNAL }; /** this describes a binding to a particular transport/pipe */ -struct dcerpc_binding { - enum dcerpc_transport_t transport; - struct ndr_syntax_id object; - const char *object_string; - const char *host; - const char *target_hostname; - const char *target_principal; - const char *endpoint; - const char **options; - uint32_t flags; - uint32_t assoc_group_id; - char assoc_group_string[11]; /* 0x3456789a + '\0' */ -}; +struct dcerpc_binding; /* dcerpc pipe flags */ #define DCERPC_DEBUG_PRINT_IN (1<<0) -- 2.11.4.GIT