s3: smbd: Locking - re-add pending lock records if we fail to acquire a lock (and...
[Samba.git] / source3 / printing / queue_process.h
blobb76936495274de74ce61fd40045427f34c62554b
1 /*
2 Unix SMB/Netbios implementation.
3 Version 3.0
4 printing backend routines
5 Copyright (C) Andrew Tridgell 1992-2000
6 Copyright (C) Jeremy Allison 2002
7 Copyright (C) Simo Sorce 2011
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 bool printing_subsystem_init(struct tevent_context *ev_ctx,
24 struct messaging_context *msg_ctx,
25 bool start_daemons,
26 bool background_queue);
27 void printing_subsystem_update(struct tevent_context *ev_ctx,
28 struct messaging_context *msg_ctx,
29 bool force);
30 pid_t start_background_queue(struct tevent_context *ev,
31 struct messaging_context *msg,
32 char *logfile);