librpc/rpc: move enum dcerpc_transport_t to rpc_common.h
[kai/samba.git] / librpc / rpc / rpc_common.h
index 5d1bde00e0918044fcfc423716bc11d28b0c487e..69ee69411a725b84a725dde266313abe296a5d8b 100644 (file)
@@ -29,9 +29,15 @@ struct ndr_interface_call;
 struct ndr_push;
 struct ndr_pull;
 struct ncacn_packet;
+struct epm_floor;
 struct tevent_context;
 struct tstream_context;
 
+enum dcerpc_transport_t {
+       NCA_UNKNOWN, NCACN_NP, NCACN_IP_TCP, NCACN_IP_UDP, NCACN_VNS_IPC, 
+       NCACN_VNS_SPP, NCACN_AT_DSP, NCADG_AT_DDP, NCALRPC, NCACN_UNIX_STREAM, 
+       NCADG_UNIX_DGRAM, NCACN_HTTP, NCADG_IPX, NCACN_SPX, NCACN_INTERNAL };
+
 /* The following definitions come from ../librpc/rpc/dcerpc_error.c  */
 
 const char *dcerpc_errstr(TALLOC_CTX *mem_ctx, uint32_t fault_code);