diff options
author | Günther Deschner <gd@samba.org> | 2009-11-26 18:21:28 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-26 20:03:17 +0100 |
commit | 3d679a3b5fc208d8521217f6a4b4d9037b609b9b (patch) | |
tree | 9f6fd075c76225f17e4e18da477cd75720dcc35e /source3/rpc_server | |
parent | 86f4536b7a128922b5d5808557e70fa243442361 (diff) | |
download | samba-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/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_dfs_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_dssetup_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_echo_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_eventlog_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_initshutdown_nt.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_ntsvcs_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_svcctl_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_winreg_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_wkssvc_nt.c | 1 |
14 files changed, 16 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_dfs_nt.c b/source3/rpc_server/srv_dfs_nt.c index bef8d83103..dfa33c25a9 100644 --- a/source3/rpc_server/srv_dfs_nt.c +++ b/source3/rpc_server/srv_dfs_nt.c @@ -22,6 +22,7 @@ /* This is the implementation of the dfs pipe. */ #include "includes.h" +#include "../librpc/gen_ndr/srv_dfs.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_MSDFS diff --git a/source3/rpc_server/srv_dssetup_nt.c b/source3/rpc_server/srv_dssetup_nt.c index 2b18e6b2ae..148e182a4d 100644 --- a/source3/rpc_server/srv_dssetup_nt.c +++ b/source3/rpc_server/srv_dssetup_nt.c @@ -23,6 +23,7 @@ */ #include "includes.h" +#include "../librpc/gen_ndr/srv_dssetup.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_echo_nt.c b/source3/rpc_server/srv_echo_nt.c index bf29766e60..248ca0bf2a 100644 --- a/source3/rpc_server/srv_echo_nt.c +++ b/source3/rpc_server/srv_echo_nt.c @@ -22,6 +22,7 @@ /* This is the interface to the rpcecho pipe. */ #include "includes.h" +#include "../librpc/gen_ndr/srv_echo.h" #ifdef DEVELOPER diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c index 8e3922d246..52ecc89112 100644 --- a/source3/rpc_server/srv_eventlog_nt.c +++ b/source3/rpc_server/srv_eventlog_nt.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "../librpc/gen_ndr/srv_eventlog.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_initshutdown_nt.c b/source3/rpc_server/srv_initshutdown_nt.c index 8b3ef52293..0425f82865 100644 --- a/source3/rpc_server/srv_initshutdown_nt.c +++ b/source3/rpc_server/srv_initshutdown_nt.c @@ -22,6 +22,8 @@ #include "includes.h" #include "regfio.h" +#include "../librpc/gen_ndr/srv_initshutdown.h" +#include "../librpc/gen_ndr/srv_winreg.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 08d69119fd..e903f0e974 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -29,6 +29,7 @@ /* This is the implementation of the lsa server code. */ #include "includes.h" +#include "../librpc/gen_ndr/srv_lsa.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 39912ac7e4..7854c448f8 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -28,6 +28,7 @@ #include "../libcli/auth/libcli_auth.h" #include "../libcli/auth/schannel_state.h" #include "../libcli/auth/schannel.h" +#include "../librpc/gen_ndr/srv_netlogon.h" extern userdom_struct current_user_info; diff --git a/source3/rpc_server/srv_ntsvcs_nt.c b/source3/rpc_server/srv_ntsvcs_nt.c index 357478f274..ec0c884acf 100644 --- a/source3/rpc_server/srv_ntsvcs_nt.c +++ b/source3/rpc_server/srv_ntsvcs_nt.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "../librpc/gen_ndr/srv_ntsvcs.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 3ba24e8038..2bfd6c3a89 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -34,6 +34,7 @@ #include "includes.h" #include "smbd/globals.h" #include "../libcli/auth/libcli_auth.h" +#include "../librpc/gen_ndr/srv_samr.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 55fc1c170d..a40bb02971 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -27,6 +27,8 @@ up, all the errors returned are DOS errors, not NT status codes. */ #include "includes.h" +#include "../librpc/gen_ndr/srv_spoolss.h" +#include "../librpc/gen_ndr/cli_spoolss.h" /* macros stolen from s4 spoolss server */ #define SPOOLSS_BUFFER_UNION(fn,ic,info,level) \ diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index f7f51d1e9a..d35557e5bd 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -24,6 +24,7 @@ /* This is the implementation of the srvsvc pipe. */ #include "includes.h" +#include "../librpc/gen_ndr/srv_srvsvc.h" extern const struct generic_mapping file_generic_mapping; diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c index f393a9a464..26dc09ea7c 100644 --- a/source3/rpc_server/srv_svcctl_nt.c +++ b/source3/rpc_server/srv_svcctl_nt.c @@ -23,6 +23,7 @@ */ #include "includes.h" +#include "../librpc/gen_ndr/srv_svcctl.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c index 3de9f0e623..cf3043629d 100644 --- a/source3/rpc_server/srv_winreg_nt.c +++ b/source3/rpc_server/srv_winreg_nt.c @@ -21,6 +21,7 @@ /* Implementation of registry functions. */ #include "includes.h" +#include "../librpc/gen_ndr/srv_winreg.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV diff --git a/source3/rpc_server/srv_wkssvc_nt.c b/source3/rpc_server/srv_wkssvc_nt.c index ab09e8632f..1831b79e50 100644 --- a/source3/rpc_server/srv_wkssvc_nt.c +++ b/source3/rpc_server/srv_wkssvc_nt.c @@ -25,6 +25,7 @@ #include "includes.h" #include "libnet/libnet.h" #include "../libcli/auth/libcli_auth.h" +#include "../librpc/gen_ndr/srv_wkssvc.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV |