+
+/* --- debug.h ----------------------------------------------------------- */
+
+typedef enum
+{
+ GAIM_DEBUG_ALL = 0, /**< All debug levels. */
+ GAIM_DEBUG_MISC, /**< General chatter. */
+ GAIM_DEBUG_INFO, /**< General operation Information. */
+ GAIM_DEBUG_WARNING, /**< Warnings. */
+ GAIM_DEBUG_ERROR, /**< Errors. */
+ GAIM_DEBUG_FATAL /**< Fatal errors. */
+
+} GaimDebugLevel;
+
+void gaim_debug(GaimDebugLevel level, const char *category,
+ const char *format);
+void gaim_debug_misc(const char *category, const char *format);
+void gaim_debug_info(const char *category, const char *format);
+void gaim_debug_warning(const char *category, const char *format);
+void gaim_debug_error(const char *category, const char *format);
+void gaim_debug_fatal(const char *category, const char *format);
+