summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-08-18 13:55:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:23 -0500
commit1842fde7d10a6faccae1a24ebc67f8452a5a828e (patch)
tree1bb8a33a0ef7bea01532731ccbd965f5590e29a2 /source3/include
parent5cd11b7127afed6a1e4e540721fa15d45aec471b (diff)
downloadsamba-1842fde7d10a6faccae1a24ebc67f8452a5a828e.tar.gz
samba-1842fde7d10a6faccae1a24ebc67f8452a5a828e.tar.bz2
samba-1842fde7d10a6faccae1a24ebc67f8452a5a828e.zip
r1885: tighten the cache consistency with the ntprinters.tdb entry an the in memory cache associated with open printer handles; also make sure that register_messages_flags() doesn't overwrite the originally registers flags
(This used to be commit 540daf71d8ad189af5dd6d45aa1ce2b3d67da752)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/messages.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index 78f19fa0bd..a87659f498 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -49,10 +49,12 @@
/* printing messages */
/* #define MSG_PRINTER_NOTIFY 2001*/ /* Obsolete */
-#define MSG_PRINTER_DRVUPGRADE 2002
-#define MSG_PRINTER_NOTIFY2 2003
-#define MSG_PRINTERDATA_INIT_RESET 2004
-#define MSG_PRINTER_UPDATE 2005
+#define MSG_PRINTER_NOTIFY2 2002
+
+#define MSG_PRINTER_DRVUPGRADE 2101
+#define MSG_PRINTERDATA_INIT_RESET 2102
+#define MSG_PRINTER_UPDATE 2103
+#define MSG_PRINTER_MOD 2104
/* smbd messages */
#define MSG_SMB_CONF_UPDATED 3001
@@ -67,6 +69,7 @@
#define FLAG_MSG_GENERAL 0x0001
#define FLAG_MSG_SMBD 0x0002
#define FLAG_MSG_NMBD 0x0004
-#define FLAG_MSG_PRINTING 0x0008
+#define FLAG_MSG_PRINT_NOTIFY 0x0008
+#define FLAG_MSG_PRINT_GENERAL 0x0010
#endif