rpc_server: Give fssd its header file
authorVolker Lendecke <vl@samba.org>
Fri, 15 Mar 2019 08:43:07 +0000 (09:43 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 18 Mar 2019 19:21:22 +0000 (19:21 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/fssd.c
source3/rpc_server/fssd.h [new file with mode: 0644]
source3/smbd/server.c

index 3116679179ada83dd0eea50e08c1878fdfa8bba9..fe6a51a39256bb4e28d19348c0f2b94cf22358e3 100644 (file)
@@ -30,6 +30,7 @@
 #include "rpc_server/rpc_server.h"
 #include "rpc_server/rpc_sock_helper.h"
 #include "rpc_server/fss/srv_fss_agent.h"
+#include "rpc_server/fssd.h"
 
 #define DAEMON_NAME "fssd"
 
diff --git a/source3/rpc_server/fssd.h b/source3/rpc_server/fssd.h
new file mode 100644 (file)
index 0000000..48460a2
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ *  Unix SMB/CIFS implementation.
+ *
+ *  FSSD header file
+ *
+ *  Copyright (c) 2018 Volker Lendecke <vl@samba.org>
+ *
+ *  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_FSSD_H__
+#define __RPC_SERVER_FSSD_H__
+
+#include "replace.h"
+#include "messages.h"
+
+void start_fssd(struct tevent_context *ev_ctx,
+                struct messaging_context *msg_ctx);
+
+#endif
index 9b7926912f7a7b70fe04d31924a074343751c716..accb9e470f0d39306949cedf5af0b2a30e21a50e 100644 (file)
@@ -56,6 +56,7 @@
 #include "g_lock.h"
 #include "rpc_server/epmd.h"
 #include "rpc_server/lsasd.h"
+#include "rpc_server/fssd.h"
 
 #ifdef CLUSTER_SUPPORT
 #include "ctdb_protocol.h"
@@ -95,9 +96,6 @@ struct smbd_child_pid {
        pid_t pid;
 };
 
-extern void start_fssd(struct tevent_context *ev_ctx,
-                      struct messaging_context *msg_ctx);
-
 extern void start_mdssd(struct tevent_context *ev_ctx,
                        struct messaging_context *msg_ctx);