From: Stefan Metzmacher Date: Fri, 31 Jan 2014 20:13:54 +0000 (+0100) Subject: librpc/rpc: finaly make struct dcerpc_binding private X-Git-Tag: tdb-1.2.13~370 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4997ea8a7bd32cdc08e93b3278e8e95940234eb;p=thirdparty%2Fsamba.git librpc/rpc: finaly make struct dcerpc_binding private 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 --- 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)