summaryrefslogtreecommitdiff
path: root/source3/smbd
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/smbd
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/smbd')
-rw-r--r--source3/smbd/globals.c1
-rw-r--r--source3/smbd/globals.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c
index 8cc1a31aec..5cba80fb89 100644
--- a/source3/smbd/globals.c
+++ b/source3/smbd/globals.c
@@ -60,6 +60,7 @@ bool logged_ioctl_message = false;
time_t last_smb_conf_reload_time = 0;
time_t last_printer_reload_time = 0;
+pid_t background_lpq_updater_pid = -1;
/****************************************************************************
structure to hold a linked list of queued messages.
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 26125ce805..b9bd21215c 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -66,6 +66,8 @@ extern int trans_num;
extern time_t last_smb_conf_reload_time;
extern time_t last_printer_reload_time;
+extern pid_t background_lpq_updater_pid;
+
/****************************************************************************
structure to hold a linked list of queued messages.
for processing.