Mercurial > pidgin
diff src/debug.h @ 11256:bb0d7b719af2
[gaim-migrate @ 13430]
I give you regex filtering in the debug window.
We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter.
This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it.
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sat, 13 Aug 2005 22:09:34 +0000 |
parents | 50224ac8184d |
children | 921f64947cad |
line wrap: on
line diff
--- a/src/debug.h Sat Aug 13 18:40:40 2005 +0000 +++ b/src/debug.h Sat Aug 13 22:09:34 2005 +0000 @@ -49,8 +49,6 @@ { void (*print)(GaimDebugLevel level, const char *category, const char *format, va_list args); - void (*register_category)(const char *category); - void (*unregister_category)(const char *category); } GaimDebugUiOps; #ifdef __cplusplus @@ -151,20 +149,6 @@ void gaim_debug_fatal(const char *category, const char *format, ...); /** - * Registers a debug category so that it can be filtered on. - * - * @param category The category to register. - */ -void gaim_debug_register_category(const char *category); - -/** - * Remove a registered category. - * - * @param category The category to unregister. - */ -void gaim_debug_unregister_category(const char *category); - -/** * Enable or disable printing debug output to the console. * * @param enabled TRUE to enable debug output or FALSE to disable it.