summaryrefslogtreecommitdiff
path: root/source3/printing/queue_process.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-08-03 17:04:50 -0400
committerAndreas Schneider <asn@samba.org>2011-08-10 18:14:04 +0200
commit9ce64166731dcacf7e2774380fe58ec780568d2e (patch)
tree9420d413d4e5bfb208efcb93060c1c185d0f8328 /source3/printing/queue_process.h
parent0a910c93472e1e4aff120219e09866d4a20ec2b2 (diff)
downloadsamba-9ce64166731dcacf7e2774380fe58ec780568d2e.tar.gz
samba-9ce64166731dcacf7e2774380fe58ec780568d2e.tar.bz2
samba-9ce64166731dcacf7e2774380fe58ec780568d2e.zip
s3-printing: Rework how the background process is started
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/printing/queue_process.h')
-rw-r--r--source3/printing/queue_process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/queue_process.h b/source3/printing/queue_process.h
index 41305d85ab..9401e00fb0 100644
--- a/source3/printing/queue_process.h
+++ b/source3/printing/queue_process.h
@@ -20,10 +20,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-extern pid_t background_lpq_updater_pid;
-
bool printing_subsystem_init(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx,
bool background_queue);
void printing_subsystem_update(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
+pid_t start_background_queue(struct tevent_context *ev,
+ struct messaging_context *msg);