summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-19 21:07:14 +0200
committerVolker Lendecke <vl@samba.org>2008-07-19 21:07:14 +0200
commit867b61d0a12cfec0803efb66e0aee68e64ffc26b (patch)
tree7a7c029bb45c22fe5883d01f1d9d11bcd7572d89 /source3
parentbf6c11fea3e28532bd8ebc503e9d4d8dfb68e0e0 (diff)
downloadsamba-867b61d0a12cfec0803efb66e0aee68e64ffc26b.tar.gz
samba-867b61d0a12cfec0803efb66e0aee68e64ffc26b.tar.bz2
samba-867b61d0a12cfec0803efb66e0aee68e64ffc26b.zip
The PIPE_ pipename macros are only used in cli_pipe.c
(This used to be commit 03f7af26f255476d84a375a95fbccfce24db9de8)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h20
-rw-r--r--source3/rpc_client/cli_pipe.c19
2 files changed, 19 insertions, 20 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 7fcae51aa6..eadbd71e20 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -173,26 +173,6 @@ typedef uint32 codepoint_t;
/* pipe string names */
#define PIPE_LANMAN "\\PIPE\\LANMAN"
-#define PIPE_SRVSVC "\\PIPE\\srvsvc"
-#define PIPE_SAMR "\\PIPE\\samr"
-#define PIPE_WINREG "\\PIPE\\winreg"
-#define PIPE_WKSSVC "\\PIPE\\wkssvc"
-#define PIPE_NETLOGON "\\PIPE\\NETLOGON"
-#define PIPE_NTLSA "\\PIPE\\ntlsa"
-#define PIPE_NTSVCS "\\PIPE\\ntsvcs"
-#define PIPE_LSASS "\\PIPE\\lsass"
-#define PIPE_LSARPC "\\PIPE\\lsarpc"
-#define PIPE_SPOOLSS "\\PIPE\\spoolss"
-#define PIPE_NETDFS "\\PIPE\\netdfs"
-#define PIPE_ECHO "\\PIPE\\rpcecho"
-#define PIPE_SHUTDOWN "\\PIPE\\initshutdown"
-#define PIPE_EPM "\\PIPE\\epmapper"
-#define PIPE_SVCCTL "\\PIPE\\svcctl"
-#define PIPE_EVENTLOG "\\PIPE\\eventlog"
-#define PIPE_EPMAPPER "\\PIPE\\epmapper"
-#define PIPE_DRSUAPI "\\PIPE\\drsuapi"
-
-#define PIPE_NETLOGON_PLAIN "\\NETLOGON"
#define PI_LSARPC 0
#define PI_DSSETUP 1
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 169fe79406..dc130a1d9f 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -36,6 +36,25 @@ static const struct ndr_syntax_id syntax_spoolss = {
}, 0x01
};
+#define PIPE_SRVSVC "\\PIPE\\srvsvc"
+#define PIPE_SAMR "\\PIPE\\samr"
+#define PIPE_WINREG "\\PIPE\\winreg"
+#define PIPE_WKSSVC "\\PIPE\\wkssvc"
+#define PIPE_NETLOGON "\\PIPE\\NETLOGON"
+#define PIPE_NTLSA "\\PIPE\\ntlsa"
+#define PIPE_NTSVCS "\\PIPE\\ntsvcs"
+#define PIPE_LSASS "\\PIPE\\lsass"
+#define PIPE_LSARPC "\\PIPE\\lsarpc"
+#define PIPE_SPOOLSS "\\PIPE\\spoolss"
+#define PIPE_NETDFS "\\PIPE\\netdfs"
+#define PIPE_ECHO "\\PIPE\\rpcecho"
+#define PIPE_SHUTDOWN "\\PIPE\\initshutdown"
+#define PIPE_EPM "\\PIPE\\epmapper"
+#define PIPE_SVCCTL "\\PIPE\\svcctl"
+#define PIPE_EVENTLOG "\\PIPE\\eventlog"
+#define PIPE_EPMAPPER "\\PIPE\\epmapper"
+#define PIPE_DRSUAPI "\\PIPE\\drsuapi"
+
/*
* IMPORTANT!! If you update this structure, make sure to
* update the index #defines in smb.h.