| 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 24 */ |
24 */ |
| 25 #ifndef _GAIM_DEBUG_H_ |
25 #ifndef _GAIM_DEBUG_H_ |
| 26 #define _GAIM_DEBUG_H_ |
26 #define _GAIM_DEBUG_H_ |
| 27 |
27 |
| |
28 #include <glib.h> |
| 28 #include <stdarg.h> |
29 #include <stdarg.h> |
| 29 |
30 |
| 30 /** |
31 /** |
| 31 * Debug levels. |
32 * Debug levels. |
| 32 */ |
33 */ |
| 146 * |
147 * |
| 147 * @see gaim_debug() |
148 * @see gaim_debug() |
| 148 */ |
149 */ |
| 149 void gaim_debug_fatal(const char *category, const char *format, ...); |
150 void gaim_debug_fatal(const char *category, const char *format, ...); |
| 150 |
151 |
| |
152 /** |
| |
153 * Enable or disable printing debug output to the console. |
| |
154 * |
| |
155 * @param enabled TRUE to enable debug output or FALSE to disable it. |
| |
156 */ |
| |
157 void gaim_debug_set_enabled(gboolean enabled); |
| |
158 |
| |
159 /** |
| |
160 * Check if console debug output is enabled. |
| |
161 * |
| |
162 * @return TRUE if debuggin is enabled, FALSE if it is not. |
| |
163 */ |
| |
164 gboolean gaim_debug_is_enabled(); |
| |
165 |
| 151 /*@}*/ |
166 /*@}*/ |
| 152 |
167 |
| 153 /**************************************************************************/ |
168 /**************************************************************************/ |
| 154 /** @name UI Registration Functions */ |
169 /** @name UI Registration Functions */ |
| 155 /**************************************************************************/ |
170 /**************************************************************************/ |