messaging: add FLAG_MSG_DBWRAP message class flag
authorStefan Metzmacher <metze@samba.org>
Mon, 31 Mar 2008 10:50:23 +0000 (12:50 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 12 Apr 2008 07:14:08 +0000 (09:14 +0200)
metze
(This used to be commit ee6325495f48bab43a37d740a6eca57192004d57)

source3/include/messages.h
source3/lib/messages.c

index c97ad982b3c34ab402e7588db41dc27a0502622e..58a65d2eb8e2b565324d93a56c30d5c893b3e28d 100644 (file)
 #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
 
 
 /*
index 5cd575466fae33aeff86432227f2cf126df3e6a5..ea03f8d43b54b61f7fb2b5c4fb748b0061473967 100644 (file)
@@ -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;