summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-31 12:50:23 +0200
committerStefan Metzmacher <metze@samba.org>2008-04-12 09:14:08 +0200
commitc316c7ab737b5e849d1704032ac77d9853c310ba (patch)
treecf824ba41439f26bbfdf438d1f8e73b68315b843
parentccb79b383d88b95a7916877efce0afb8a4ab6ca4 (diff)
downloadsamba-c316c7ab737b5e849d1704032ac77d9853c310ba.tar.gz
samba-c316c7ab737b5e849d1704032ac77d9853c310ba.tar.bz2
samba-c316c7ab737b5e849d1704032ac77d9853c310ba.zip
messaging: add FLAG_MSG_DBWRAP message class flag
metze (This used to be commit ee6325495f48bab43a37d740a6eca57192004d57)
-rw-r--r--source3/include/messages.h2
-rw-r--r--source3/lib/messages.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index c97ad982b3..58a65d2eb8 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -122,6 +122,8 @@
#define FLAG_MSG_NMBD 0x0004
#define FLAG_MSG_PRINT_NOTIFY 0x0008
#define FLAG_MSG_PRINT_GENERAL 0x0010
+/* dbwrap messages 4001-4999 */
+#define FLAG_MSG_DBWRAP 0x0020
/*
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 5cd575466f..ea03f8d43b 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -162,6 +162,8 @@ bool message_send_all(struct messaging_context *msg_ctx,
msg_all.msg_flag = FLAG_MSG_PRINT_GENERAL;
else if (msg_type > 3000 && msg_type < 4000)
msg_all.msg_flag = FLAG_MSG_SMBD;
+ else if (msg_type > 4000 && msg_type < 5000)
+ msg_all.msg_flag = FLAG_MSG_DBWRAP;
else
return False;