From 08dca92499c5bd17402dda14521edb4256476639 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 13 Mar 2011 14:10:42 +0100 Subject: librpc/rpc: move struct dcerpc_binding to rpc_common.h metze --- librpc/rpc/rpc_common.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'librpc/rpc') diff --git a/librpc/rpc/rpc_common.h b/librpc/rpc/rpc_common.h index 69ee69411a..f940c3f234 100644 --- a/librpc/rpc/rpc_common.h +++ b/librpc/rpc/rpc_common.h @@ -38,6 +38,20 @@ enum dcerpc_transport_t { NCACN_VNS_SPP, NCACN_AT_DSP, NCADG_AT_DDP, NCALRPC, NCACN_UNIX_STREAM, 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 *host; + const char *target_hostname; + const char *target_principal; + const char *endpoint; + const char **options; + const char *localaddress; + uint32_t flags; + uint32_t assoc_group_id; +}; + /* The following definitions come from ../librpc/rpc/dcerpc_error.c */ const char *dcerpc_errstr(TALLOC_CTX *mem_ctx, uint32_t fault_code); -- cgit