From c316c7ab737b5e849d1704032ac77d9853c310ba Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 31 Mar 2008 12:50:23 +0200 Subject: messaging: add FLAG_MSG_DBWRAP message class flag metze (This used to be commit ee6325495f48bab43a37d740a6eca57192004d57) --- source3/include/messages.h | 2 ++ source3/lib/messages.c | 2 ++ 2 files changed, 4 insertions(+) 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; -- cgit