From 2352e7cb7fe43b2a3cb5c4876f21cd655823288a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 30 Mar 2011 23:21:42 +0200 Subject: s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.h Guenther --- source3/rpcclient/cmd_drsuapi.c | 1 - source3/rpcclient/cmd_lsarpc.c | 1 - source3/rpcclient/cmd_netlogon.c | 1 - source3/rpcclient/cmd_samr.c | 1 - source3/rpcclient/cmd_spoolss.c | 1 - source3/rpcclient/cmd_test.c | 1 - source3/rpcclient/rpcclient.c | 1 - source3/rpcclient/rpcclient.h | 2 ++ 8 files changed, 2 insertions(+), 7 deletions(-) (limited to 'source3') 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, -- cgit