Mercurial > pidgin
comparison src/debug.h @ 10307:2ac21bf20e04
[gaim-migrate @ 11497]
And another one gone, and another one gone, another one bites the dust.
Hopefully I'm committing everything this time.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 03 Dec 2004 02:46:34 +0000 |
parents | fa6395637e2c |
children | 50224ac8184d |
comparison
equal
deleted
inserted
replaced
10306:56cc5d49472b | 10307:2ac21bf20e04 |
---|---|
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 /**************************************************************************/ |
168 * information. | 183 * information. |
169 * | 184 * |
170 * @return The UI operations structure in use. | 185 * @return The UI operations structure in use. |
171 */ | 186 */ |
172 GaimDebugUiOps *gaim_debug_get_ui_ops(void); | 187 GaimDebugUiOps *gaim_debug_get_ui_ops(void); |
188 | |
189 /*@}*/ | |
190 | |
191 /**************************************************************************/ | |
192 /** @name Debug Subsystem */ | |
193 /**************************************************************************/ | |
194 /*@{*/ | |
195 | |
196 /** | |
197 * Initializes the debug subsystem. | |
198 */ | |
199 void gaim_debug_init(void); | |
173 | 200 |
174 /*@}*/ | 201 /*@}*/ |
175 | 202 |
176 #ifdef __cplusplus | 203 #ifdef __cplusplus |
177 } | 204 } |