s4:kdc: Implement KDC plugin hardware authentication policy
[Samba.git] / source3 / printing / queue_process.h
blob93bc79ff87954d37e6b31a17957ade9749a67749
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 #ifndef _SOURCE3_PRINTING_QUEUE_PROCESS_H_
24 #define _SOURCE3_PRINTING_QUEUE_PROCESS_H_
26 struct dcesrv_context;
28 bool printing_subsystem_init(struct tevent_context *ev_ctx,
29 struct messaging_context *msg_ctx,
30 struct dcesrv_context *dce_ctx);
31 pid_t start_background_queue(struct tevent_context *ev,
32 struct messaging_context *msg,
33 char *logfile);
34 void send_to_bgqd(struct messaging_context *msg_ctx,
35 uint32_t msg_type,
36 const uint8_t *buf,
37 size_t buflen);
39 struct bq_state;
40 struct bq_state *register_printing_bq_handlers(
41 TALLOC_CTX *mem_ctx,
42 struct messaging_context *msg_ctx);
44 #endif /* _SOURCE3_PRINTING_QUEUE_PROCESS_H_ */