equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (C) 2003 Imendio AB |
|
3 * |
|
4 * This program is free software; you can redistribute it and/or |
|
5 * modify it under the terms of the GNU Lesser General Public License as |
|
6 * published by the Free Software Foundation; either version 2 of the |
|
7 * License, or (at your option) any later version. |
|
8 * |
|
9 * This program is distributed in the hope that it will be useful, |
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
12 * Lesser General Public License for more details. |
|
13 * |
|
14 * You should have received a copy of the GNU Lesser General Public |
|
15 * License along with this program; if not, write to the |
|
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
17 * Boston, MA 02111-1307, USA. |
|
18 */ |
|
19 |
|
20 #ifndef enum_lm |
|
21 #define enum_lm |
|
22 #include <glib/gmessages.h> |
|
23 typedef enum |
|
24 { |
|
25 LM_LOG_LEVEL_VERBOSE = 1 << (G_LOG_LEVEL_USER_SHIFT), |
|
26 LM_LOG_LEVEL_NET = 1 << (G_LOG_LEVEL_USER_SHIFT+1), |
|
27 LM_LOG_LEVEL_PARSER = 1 << (G_LOG_LEVEL_USER_SHIFT+2), |
|
28 LM_LOG_LEVEL_SSL = 1 << (G_LOG_LEVEL_USER_SHIFT+3), |
|
29 LM_LOG_LEVEL_SASL = 1 << (G_LOG_LEVEL_USER_SHIFT+4), |
|
30 LM_LOG_LEVEL_ALL = ((1 << ((8) +1)) | |
|
31 (1 << ((8))) | |
|
32 (1 << ((8) +2)) | |
|
33 (1 << ((8) +3)) | |
|
34 (1 << ((8) +4))) |
|
35 } LmLogLevelFlags; |
|
36 |
|
37 #endif |