s3-proto: move remaining srvsvc protos to own header file.
authorGünther Deschner <gd@samba.org>
Fri, 29 Apr 2011 21:57:49 +0000 (23:57 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 2 May 2011 13:03:43 +0000 (15:03 +0200)
Guenther

source3/include/proto.h
source3/rpc_server/rpc_ep_setup.c
source3/rpc_server/svcctl/srv_svcctl_nt.c
source3/rpc_server/svcctl/srv_svcctl_nt.h [new file with mode: 0644]

index a2751c755813d7a40b8a51df247caf24ecfa9f20..a3f9efcf31da62eba3eb06d34ba4e3c53c8178dc 100644 (file)
@@ -2630,11 +2630,6 @@ bool api_pipe_bind_auth3(struct pipes_struct *p, struct ncacn_packet *pkt);
 bool setup_fault_pdu(struct pipes_struct *p, NTSTATUS status);
 bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax);
 
-/* The following definitions come from rpc_server/srv_svcctl_nt.c  */
-
-bool init_service_op_table( void );
-bool shutdown_service_op_table(void);
-
 /* The following definitions come from lib/server_contexts.c  */
 struct tevent_context *server_event_context(void);
 void server_event_context_free(void);
index 6a48f8890df8ce60d477030bfe2099862ba3948c..f59f4b535ab93e60044c0ce83498f7cfb3362240 100644 (file)
@@ -42,6 +42,7 @@
 #include "rpc_server/eventlog/srv_eventlog_reg.h"
 #include "rpc_server/svcctl/srv_svcctl_reg.h"
 #include "rpc_server/spoolss/srv_spoolss_nt.h"
+#include "rpc_server/svcctl/srv_svcctl_nt.h"
 
 #include "librpc/rpc/dcerpc_ep.h"
 
index a4eb282de7c796a0bbf9de7663838a147ecc1082..09e6c006d60591e121209b6aff04926bf0d65058 100644 (file)
@@ -30,6 +30,7 @@
 #include "services/svc_winreg_glue.h"
 #include "auth.h"
 #include "ntdomain.h"
+#include "rpc_server/svcctl/srv_svcctl_nt.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_RPC_SRV
diff --git a/source3/rpc_server/svcctl/srv_svcctl_nt.h b/source3/rpc_server/svcctl/srv_svcctl_nt.h
new file mode 100644 (file)
index 0000000..dd04927
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ *  Unix SMB/CIFS implementation.
+ *  RPC Pipe client / server routines
+ *
+ *  Copyright (C) Marcin Krzysztof Porwit           2005.
+ *
+ *  Largely Rewritten (Again) by:
+ *  Copyright (C) Gerald (Jerry) Carter             2005.
+ *  Copyright (C) Guenther Deschner                 2008,2009.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _RPC_SERVER_SVCCTL_SRV_SVCCTL_NT_H_
+#define _RPC_SERVER_SVCCTL_SRV_SVCCTL_NT_H_
+
+/* The following definitions come from rpc_server/srv_svcctl_nt.c  */
+
+bool init_service_op_table( void );
+bool shutdown_service_op_table(void);
+
+#endif /* _RPC_SERVER_SVCCTL_SRV_SVCCTL_NT_H_ */