summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-12 03:09:41 +0100
committerGünther Deschner <gd@samba.org>2011-02-14 12:31:56 +0100
commitb3ea56ae16a35adc974287b83d6061ce5ffe454e (patch)
tree0eb493cdbc23bf8428d5066e0f09a360dbc85014
parent80b4e1e9856ed180015e32af2d8762a9acd83910 (diff)
downloadsamba-b3ea56ae16a35adc974287b83d6061ce5ffe454e.tar.gz
samba-b3ea56ae16a35adc974287b83d6061ce5ffe454e.tar.bz2
samba-b3ea56ae16a35adc974287b83d6061ce5ffe454e.zip
s3-librpc: no need to globally include endpointmapper headers.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
-rw-r--r--source3/include/smb.h1
-rw-r--r--source3/librpc/rpc/dcerpc.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f99bf59979..6d0af8e7e3 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -171,7 +171,6 @@ typedef union unid_t {
|LOOKUP_NAME_WKN\
|LOOKUP_NAME_DOMAIN)
-#include "librpc/gen_ndr/epmapper.h"
#include "librpc/gen_ndr/dcerpc.h"
#include "librpc/gen_ndr/security.h"
diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h
index 4748f00e50..0f900871d1 100644
--- a/source3/librpc/rpc/dcerpc.h
+++ b/source3/librpc/rpc/dcerpc.h
@@ -101,6 +101,8 @@ struct dcerpc_binding {
/* The following definitions come from librpc/rpc/binding.c */
+struct epm_floor;
+struct epm_tower;
const char *epm_floor_string(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor);
_PUBLIC_ char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b);
_PUBLIC_ NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struct dcerpc_binding **b_out);