summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-30 23:21:42 +0200
committerGünther Deschner <gd@samba.org>2011-03-31 00:14:01 +0200
commit2352e7cb7fe43b2a3cb5c4876f21cd655823288a (patch)
tree9f71a118792f867f4b7868188c9fa7e21b0306e1 /source3
parent5fcb4d328ce28e6c4f413f2b31d70e07818c0527 (diff)
downloadsamba-2352e7cb7fe43b2a3cb5c4876f21cd655823288a.tar.gz
samba-2352e7cb7fe43b2a3cb5c4876f21cd655823288a.tar.xz
samba-2352e7cb7fe43b2a3cb5c4876f21cd655823288a.zip
s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.h
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_drsuapi.c1
-rw-r--r--source3/rpcclient/cmd_lsarpc.c1
-rw-r--r--source3/rpcclient/cmd_netlogon.c1
-rw-r--r--source3/rpcclient/cmd_samr.c1
-rw-r--r--source3/rpcclient/cmd_spoolss.c1
-rw-r--r--source3/rpcclient/cmd_test.c1
-rw-r--r--source3/rpcclient/rpcclient.c1
-rw-r--r--source3/rpcclient/rpcclient.h2
8 files changed, 2 insertions, 7 deletions
diff --git a/source3/rpcclient/cmd_drsuapi.c b/source3/rpcclient/cmd_drsuapi.c
index d0329c1f47..3f1ecab750 100644
--- a/source3/rpcclient/cmd_drsuapi.c
+++ b/source3/rpcclient/cmd_drsuapi.c
@@ -20,7 +20,6 @@
#include "includes.h"
#include "rpcclient.h"
-#include "rpc_client/cli_pipe.h"
#include "../librpc/gen_ndr/ndr_drsuapi_c.h"
static WERROR cracknames(struct rpc_pipe_client *cli,
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index 02aa07992e..4b065d0dd2 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -22,7 +22,6 @@
#include "includes.h"
#include "rpcclient.h"
-#include "rpc_client/cli_pipe.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "../librpc/gen_ndr/ndr_lsa_c.h"
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index 4801d7d563..63057ac368 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -21,7 +21,6 @@
#include "includes.h"
#include "rpcclient.h"
-#include "rpc_client/cli_pipe.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "../librpc/gen_ndr/ndr_netlogon_c.h"
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 9f33c6c67d..727c9d1456 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "rpcclient.h"
-#include "rpc_client/cli_pipe.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_samr.h"
#include "../librpc/gen_ndr/ndr_samr_c.h"
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 43d95db8f4..712b23724e 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "rpcclient.h"
-#include "rpc_client/cli_pipe.h"
#include "../librpc/gen_ndr/ndr_spoolss_c.h"
#include "rpc_client/cli_spoolss.h"
#include "rpc_client/init_spoolss.h"
diff --git a/source3/rpcclient/cmd_test.c b/source3/rpcclient/cmd_test.c
index 0ad1dfd328..591ae8cf3f 100644
--- a/source3/rpcclient/cmd_test.c
+++ b/source3/rpcclient/cmd_test.c
@@ -20,7 +20,6 @@
#include "includes.h"
#include "rpcclient.h"
-#include "rpc_client/cli_pipe.h"
#include "../librpc/gen_ndr/ndr_lsa_c.h"
#include "rpc_client/cli_lsarpc.h"
#include "../librpc/gen_ndr/ndr_samr.h"
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index f60e860e16..cebe2a9c6a 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -22,7 +22,6 @@
#include "includes.h"
#include "popt_common.h"
#include "rpcclient.h"
-#include "rpc_client/cli_pipe.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_lsa_c.h"
#include "rpc_client/cli_lsarpc.h"
diff --git a/source3/rpcclient/rpcclient.h b/source3/rpcclient/rpcclient.h
index 91810b63a9..7ac998bbb9 100644
--- a/source3/rpcclient/rpcclient.h
+++ b/source3/rpcclient/rpcclient.h
@@ -21,6 +21,8 @@
#ifndef RPCCLIENT_H
#define RPCCLIENT_H
+#include "rpc_client/cli_pipe.h"
+
typedef enum {
RPC_RTYPE_NTSTATUS = 0,
RPC_RTYPE_WERROR,