From 311d86818cefbc7897eb4188d42c7400983cdf25 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 15 Mar 2019 09:43:07 +0100 Subject: [PATCH] rpc_server: Give fssd its header file Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/rpc_server/fssd.c | 1 + source3/rpc_server/fssd.h | 31 +++++++++++++++++++++++++++++++ source3/smbd/server.c | 4 +--- 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 source3/rpc_server/fssd.h diff --git a/source3/rpc_server/fssd.c b/source3/rpc_server/fssd.c index 3116679179a..fe6a51a3925 100644 --- a/source3/rpc_server/fssd.c +++ b/source3/rpc_server/fssd.c @@ -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 index 00000000000..48460a2cdbc --- /dev/null +++ b/source3/rpc_server/fssd.h @@ -0,0 +1,31 @@ +/* + * Unix SMB/CIFS implementation. + * + * FSSD header file + * + * Copyright (c) 2018 Volker Lendecke + * + * 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 . + */ + +#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 diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 9b7926912f7..accb9e470f0 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -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); -- 2.34.1