Fix OpenChange server code and access to Samba4 databases.
[OpenChange-git-clone.git] / libmapi / mapidump.h
blobf30dc60e9e40b2cddef8762f7126f7512f7ed921
1 /*
2 OpenChange MAPI implementation.
4 Copyright (C) Julien Kerihuel 2007.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __MAPIDUMP_H__
21 #define __MAPIDUMP_H__
23 struct mdump_msgflags {
24 uint16_t flag;
25 const char *value;
28 struct mdump_msgflags mdump_msgflags[] = {
29 {0x1, "MSGFLAG_READ"},
30 {0x2, "MSGFLAG_UNMODIFIED"},
31 {0x4, "MSGFLAG_SUBMIT"},
32 {0x8, "MSGFLAG_UNSENT"},
33 {0x10, "MSGFLAG_HASATTACH"},
34 {0x20, "MSGFLAG_FROMME"},
35 {0x40, "MSGFLAG_ASSOCIATED"},
36 {0x80, "MSGFLAG_RESEND"},
37 {0x100, "MSGFLAG_RN_PENDING"},
38 {0x200, "MSGFLAG_NRN_PENDING"},
39 {0, NULL}
42 #endif /* __MAPIDUMP_H__ */