summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-13 14:05:19 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-13 16:33:06 +0100
commit83c55ac67e488787a264f3981eabb6f69e7b0e87 (patch)
tree2efb30e5136328a3929830a9550c8cc360f41d7d /source4
parentb0d54da7464396e1b5b9aaa58b50a3bd3f0e32b5 (diff)
downloadsamba-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 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index eb0dbee49e..fe3ce93d67 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -24,23 +24,19 @@
* If you remove any functions or change their signature, update
* the so version number. */
-#ifndef __DCERPC_H__
-#define __DCERPC_H__
+#ifndef __S4_DCERPC_H__
+#define __S4_DCERPC_H__
#include "../lib/util/data_blob.h"
#include "librpc/gen_ndr/dcerpc.h"
#include "../librpc/ndr/libndr.h"
+#include "../librpc/rpc/rpc_common.h"
struct tevent_context;
struct tevent_req;
struct dcerpc_binding_handle;
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 };
-
/*
this defines a generic security context for signed/sealed dcerpc pipes.
*/
@@ -383,6 +379,4 @@ enum dcerpc_transport_t dcerpc_transport_by_endpoint_protocol(int prot);
const char *dcerpc_floor_get_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor);
-#include "../librpc/rpc/rpc_common.h"
-
-#endif /* __DCERPC_H__ */
+#endif /* __S4_DCERPC_H__ */