Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / camel-debug.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- *
2  *
3  * Author: Michael Zucchi <notzed@ximian.com>
4  *
5  * Copyright 2004 Novell Inc. (www.novell.com)
6  *
7  * This program is free software; you can redistribute it and/or 
8  * modify it under the terms of version 2 of the GNU Lesser General Public 
9  * License as published by the Free Software Foundation.
10  *
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 Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
19  * USA
20  */
21
22 #ifndef CAMEL_DEBUG_H
23 #define CAMEL_DEBUG_H 1
24
25 #include <glib.h>
26
27 /* This is how the basic debug checking strings should be done */
28 #define CAMEL_DEBUG_IMAP "imap"
29 #define CAMEL_DEBUG_IMAP_FOLDER "imap:folder"
30
31 G_BEGIN_DECLS
32
33 void camel_debug_init(void);
34 gboolean camel_debug(const char *mode);
35
36 gboolean camel_debug_start(const char *mode);
37 void camel_debug_end(void);
38
39 /* This interface is deprecated */
40 extern int camel_verbose_debug;
41
42 G_END_DECLS
43
44 #endif /* CAMEL_DEBUG_H */