#include "smbd/smbd.h"
#include "rpc_server/rpc_config.h"
#include "printing/load.h"
+#include "printing/spoolssd.h"
#include "rpc_server/spoolss/srv_spoolss_nt.h"
#include "auth.h"
#include "nt_printing.h"
#include "util_event.h"
-extern pid_t start_spoolssd(struct tevent_context *ev_ctx,
- struct messaging_context *msg_ctx);
-
/**
* @brief Purge stale printers and reload from pre-populated pcap cache.
*
#include "printing/queue_process.h"
#include "printing/pcap.h"
#include "printing/load.h"
+#include "printing/spoolssd.h"
#include "ntdomain.h"
#include "librpc/gen_ndr/srv_winreg.h"
#include "librpc/gen_ndr/srv_spoolss.h"
};
static struct pf_daemon_config pf_spoolss_cfg = { 0 };
-pid_t start_spoolssd(struct tevent_context *ev_ctx,
- struct messaging_context *msg_ctx);
-
static void spoolss_reopen_logs(int child_id)
{
char *lfile = lp_logfile(talloc_tos());
--- /dev/null
+/*
+ Unix SMB/Netbios implementation.
+ SPOOLSS Daemon
+ Copyright (C) Simo Sorce <idra@samba.org> 2010-2011
+
+ 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 _SOURCE3_PRINTING_SPOOLSSD_H_
+#define _SOURCE3_PRINTING_SPOOLSSD_H_
+
+#include "replace.h"
+#include "messages.h"
+
+pid_t start_spoolssd(struct tevent_context *ev_ctx,
+ struct messaging_context *msg_ctx);
+
+#endif /* _SOURCE3_PRINTING_SPOOLSSD_H_ */