Mercurial > pidgin
comparison src/debug.h @ 5944:158196b2db19
[gaim-migrate @ 6385]
Added #ifdef __cplusplus lines so that things will link right with C++.
Also added some doxygen comment blocks that didn't previously exist.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Mon, 23 Jun 2003 06:40:13 +0000 |
| parents | 740303e8425b |
| children | 565339a6eb86 |
comparison
equal
deleted
inserted
replaced
| 5943:a4f2aba0848d | 5944:158196b2db19 |
|---|---|
| 47 void (*print)(GaimDebugLevel level, const char *category, | 47 void (*print)(GaimDebugLevel level, const char *category, |
| 48 const char *format, va_list args); | 48 const char *format, va_list args); |
| 49 | 49 |
| 50 } GaimDebugUiOps; | 50 } GaimDebugUiOps; |
| 51 | 51 |
| 52 #ifdef __cplusplus | |
| 53 extern "C" { | |
| 54 #endif | |
| 55 | |
| 56 /**************************************************************************/ | |
| 57 /** @name Debug API */ | |
| 58 /**************************************************************************/ | |
| 52 /** | 59 /** |
| 53 * Outputs debug information. | 60 * Outputs debug information. |
| 54 * | 61 * |
| 55 * This differs from gaim_debug() in that it takes a va_list. | 62 * This differs from gaim_debug() in that it takes a va_list. |
| 56 * | 63 * |
| 84 * | 91 * |
| 85 * @see gaim_debug() | 92 * @see gaim_debug() |
| 86 */ | 93 */ |
| 87 void debug_printf(const char *fmt, ...); | 94 void debug_printf(const char *fmt, ...); |
| 88 | 95 |
| 96 /*@}*/ | |
| 97 | |
| 98 /**************************************************************************/ | |
| 99 /** @name UI Registration Functions */ | |
| 100 /**************************************************************************/ | |
| 101 /*@{*/ | |
| 102 | |
| 89 /** | 103 /** |
| 90 * Sets the UI operations structure to be used when outputting debug | 104 * Sets the UI operations structure to be used when outputting debug |
| 91 * information. | 105 * information. |
| 92 * | 106 * |
| 93 * @param ops The UI operations structure. | 107 * @param ops The UI operations structure. |
| 100 * | 114 * |
| 101 * @return The UI operations structure in use. | 115 * @return The UI operations structure in use. |
| 102 */ | 116 */ |
| 103 GaimDebugUiOps *gaim_get_debug_ui_ops(void); | 117 GaimDebugUiOps *gaim_get_debug_ui_ops(void); |
| 104 | 118 |
| 119 /*@}*/ | |
| 120 | |
| 121 #ifdef __cplusplus | |
| 122 } | |
| 123 #endif | |
| 124 | |
| 105 #endif /* _GAIM_DEBUG_H_ */ | 125 #endif /* _GAIM_DEBUG_H_ */ |
