diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-03-13 14:05:19 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-03-13 16:33:06 +0100 |
commit | 83c55ac67e488787a264f3981eabb6f69e7b0e87 (patch) | |
tree | 2efb30e5136328a3929830a9550c8cc360f41d7d /source3/librpc/rpc | |
parent | b0d54da7464396e1b5b9aaa58b50a3bd3f0e32b5 (diff) | |
download | samba-83c55ac67e488787a264f3981eabb6f69e7b0e87.tar.gz samba-83c55ac67e488787a264f3981eabb6f69e7b0e87.tar.bz2 samba-83c55ac67e488787a264f3981eabb6f69e7b0e87.zip |
librpc/rpc: move enum dcerpc_transport_t to rpc_common.h
metze
Diffstat (limited to 'source3/librpc/rpc')
-rw-r--r-- | source3/librpc/rpc/dcerpc.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h index 3cfd229f33..52f93abeca 100644 --- a/source3/librpc/rpc/dcerpc.h +++ b/source3/librpc/rpc/dcerpc.h @@ -23,15 +23,12 @@ * If you remove any functions or change their signature, update * the so version number. */ -#ifndef __DCERPC_H__ -#define __DCERPC_H__ +#ifndef _S3_DCERPC_H__ +#define _S3_DCERPC_H__ -#define SMB_RPC_INTERFACE_VERSION 1 +#include "../librpc/rpc/rpc_common.h" -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 }; +#define SMB_RPC_INTERFACE_VERSION 1 /** this describes a binding to a particular transport/pipe */ struct dcerpc_binding { @@ -162,6 +159,4 @@ NTSTATUS dcerpc_check_auth(struct pipe_auth_data *auth, DATA_BLOB *raw_pkt, size_t *pad_len); -#include "../librpc/rpc/rpc_common.h" - -#endif /* __DCERPC_H__ */ +#endif /* __S3_DCERPC_H__ */ |