summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-08-08 20:54:37 +0000
committerGerald Carter <jerry@samba.org>2002-08-08 20:54:37 +0000
commit14d385439d99f0eadca5296aeef800c67038916b (patch)
tree67273c5955127e563bf845bc0ed47788f6fd59b4 /source3/printing/nt_printing.c
parent4267fcccdab729a54de68d15f6d2fc36584e7e92 (diff)
downloadsamba-14d385439d99f0eadca5296aeef800c67038916b.tar.gz
samba-14d385439d99f0eadca5296aeef800c67038916b.tar.bz2
samba-14d385439d99f0eadca5296aeef800c67038916b.zip
printing change notification merge from APPLIANCE_HEAD
(This used to be commit 11ddfd9cfa550dcd3186c8aaf0cc038ce7f1791f)
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index f0995db06d..2348bbe3d4 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -319,7 +319,17 @@ BOOL nt_printing_init(void)
* register callback to handle updating printers as new
* drivers are installed
*/
- message_register(MSG_PRINTER_DRVUPGRADE, do_drv_upgrade_printer);
+
+ message_register( MSG_PRINTER_DRVUPGRADE, do_drv_upgrade_printer );
+
+ /*
+ * register callback to handle updating printer data
+ * when a driver is initialized
+ */
+
+ message_register( MSG_PRINTERDATA_INIT_RESET, reset_all_printerdata );
+
+
return True;
}