summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-11-26 18:21:28 +0100
committerGünther Deschner <gd@samba.org>2009-11-26 20:03:17 +0100
commit3d679a3b5fc208d8521217f6a4b4d9037b609b9b (patch)
tree9f6fd075c76225f17e4e18da477cd75720dcc35e /source3/rpcclient
parent86f4536b7a128922b5d5808557e70fa243442361 (diff)
downloadsamba-3d679a3b5fc208d8521217f6a4b4d9037b609b9b.tar.gz
samba-3d679a3b5fc208d8521217f6a4b4d9037b609b9b.tar.bz2
samba-3d679a3b5fc208d8521217f6a4b4d9037b609b9b.zip
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
Guenther
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_dfs.c1
-rw-r--r--source3/rpcclient/cmd_drsuapi.c1
-rw-r--r--source3/rpcclient/cmd_dssetup.c1
-rw-r--r--source3/rpcclient/cmd_echo.c1
-rw-r--r--source3/rpcclient/cmd_epmapper.c1
-rw-r--r--source3/rpcclient/cmd_eventlog.c1
-rw-r--r--source3/rpcclient/cmd_lsarpc.c1
-rw-r--r--source3/rpcclient/cmd_netlogon.c1
-rw-r--r--source3/rpcclient/cmd_ntsvcs.c1
-rw-r--r--source3/rpcclient/cmd_samr.c1
-rw-r--r--source3/rpcclient/cmd_spoolss.c1
-rw-r--r--source3/rpcclient/cmd_srvsvc.c1
-rw-r--r--source3/rpcclient/cmd_test.c1
-rw-r--r--source3/rpcclient/cmd_wkssvc.c1
-rw-r--r--source3/rpcclient/rpcclient.c1
15 files changed, 15 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_dfs.c b/source3/rpcclient/cmd_dfs.c
index d55261bea3..1f1eb3da32 100644
--- a/source3/rpcclient/cmd_dfs.c
+++ b/source3/rpcclient/cmd_dfs.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_dfs.h"
/* Check DFS is supported by the remote server */
diff --git a/source3/rpcclient/cmd_drsuapi.c b/source3/rpcclient/cmd_drsuapi.c
index 8fbd798ed0..b2939d4a23 100644
--- a/source3/rpcclient/cmd_drsuapi.c
+++ b/source3/rpcclient/cmd_drsuapi.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_drsuapi.h"
static WERROR cracknames(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
diff --git a/source3/rpcclient/cmd_dssetup.c b/source3/rpcclient/cmd_dssetup.c
index f2fd124967..88f541bb51 100644
--- a/source3/rpcclient/cmd_dssetup.c
+++ b/source3/rpcclient/cmd_dssetup.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_dssetup.h"
/* Look up domain related information on a remote host */
diff --git a/source3/rpcclient/cmd_echo.c b/source3/rpcclient/cmd_echo.c
index d90ef3499f..cf5f9e00ef 100644
--- a/source3/rpcclient/cmd_echo.c
+++ b/source3/rpcclient/cmd_echo.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_echo.h"
static NTSTATUS cmd_echo_add_one(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
int argc, const char **argv)
diff --git a/source3/rpcclient/cmd_epmapper.c b/source3/rpcclient/cmd_epmapper.c
index cb334165f2..6159b4a0d1 100644
--- a/source3/rpcclient/cmd_epmapper.c
+++ b/source3/rpcclient/cmd_epmapper.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_epmapper.h"
static NTSTATUS cmd_epmapper_map(struct rpc_pipe_client *p,
TALLOC_CTX *mem_ctx,
diff --git a/source3/rpcclient/cmd_eventlog.c b/source3/rpcclient/cmd_eventlog.c
index d839bf4263..3acaf0ca83 100644
--- a/source3/rpcclient/cmd_eventlog.c
+++ b/source3/rpcclient/cmd_eventlog.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_eventlog.h"
static NTSTATUS get_eventlog_handle(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index 45868bf5a9..e0f4ac4adc 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "rpcclient.h"
#include "../libcli/auth/libcli_auth.h"
+#include "../librpc/gen_ndr/cli_lsa.h"
/* useful function to allow entering a name instead of a SID and
* looking it up automatically */
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index 2fbadf2a75..6317f8b389 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "rpcclient.h"
#include "../libcli/auth/libcli_auth.h"
+#include "../librpc/gen_ndr/cli_netlogon.h"
static WERROR cmd_netlogon_logon_ctrl2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx, int argc,
diff --git a/source3/rpcclient/cmd_ntsvcs.c b/source3/rpcclient/cmd_ntsvcs.c
index a345cdc8bf..95b905ab2d 100644
--- a/source3/rpcclient/cmd_ntsvcs.c
+++ b/source3/rpcclient/cmd_ntsvcs.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_ntsvcs.h"
static WERROR cmd_ntsvcs_get_version(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index e52411f8f7..e21a57fba7 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "rpcclient.h"
#include "../libcli/auth/libcli_auth.h"
+#include "../librpc/gen_ndr/cli_samr.h"
extern DOM_SID domain_sid;
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 8b1a6eac03..e24fb99e6f 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_spoolss.h"
#define RPCCLIENT_PRINTERNAME(_printername, _cli, _arg) \
{ \
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c
index 10017fa19b..866b68111d 100644
--- a/source3/rpcclient/cmd_srvsvc.c
+++ b/source3/rpcclient/cmd_srvsvc.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_srvsvc.h"
/* Display server query info */
diff --git a/source3/rpcclient/cmd_test.c b/source3/rpcclient/cmd_test.c
index 85e90a19b5..e12e703f3e 100644
--- a/source3/rpcclient/cmd_test.c
+++ b/source3/rpcclient/cmd_test.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_lsa.h"
static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
int argc, const char **argv)
diff --git a/source3/rpcclient/cmd_wkssvc.c b/source3/rpcclient/cmd_wkssvc.c
index 7a34c450ab..e8dc48d4a3 100644
--- a/source3/rpcclient/cmd_wkssvc.c
+++ b/source3/rpcclient/cmd_wkssvc.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "rpcclient.h"
+#include "../librpc/gen_ndr/cli_wkssvc.h"
static WERROR cmd_wkssvc_wkstagetinfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 5f59c26583..f6d56adece 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "rpcclient.h"
#include "../libcli/auth/libcli_auth.h"
+#include "../librpc/gen_ndr/cli_lsa.h"
DOM_SID domain_sid;