1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

rpc_server: Give lsasd its header file

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2019-03-15 09:40:21 +01:00 committed by Jeremy Allison
parent 38f780aedf
commit 2f47163a0e
3 changed files with 33 additions and 6 deletions

View File

@ -38,6 +38,7 @@
#include "librpc/gen_ndr/srv_lsa.h"
#include "librpc/gen_ndr/srv_samr.h"
#include "librpc/gen_ndr/srv_netlogon.h"
#include "rpc_server/lsasd.h"
#define DAEMON_NAME "lsasd"
#define LSASD_MAX_SOCKETS 64
@ -56,9 +57,6 @@ static struct pf_daemon_config default_pf_lsasd_cfg = {
};
static struct pf_daemon_config pf_lsasd_cfg = { 0 };
void start_lsasd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
static void lsasd_reopen_logs(int child_id)
{
char *lfile = lp_logfile(talloc_tos());

View File

@ -0,0 +1,31 @@
/*
* Unix SMB/CIFS implementation.
*
* LSASD 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_LSASD_H__
#define __RPC_SERVER_LSASD_H__
#include "replace.h"
#include "messages.h"
void start_lsasd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
#endif

View File

@ -55,6 +55,7 @@
#include "cleanupdb.h"
#include "g_lock.h"
#include "rpc_server/epmd.h"
#include "rpc_server/lsasd.h"
#ifdef CLUSTER_SUPPORT
#include "ctdb_protocol.h"
@ -94,9 +95,6 @@ struct smbd_child_pid {
pid_t pid;
};
extern void start_lsasd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
extern void start_fssd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);