view plugins/perl/common/Debug.xs @ 13792:02c7d18f5cc3

[gaim-migrate @ 16204] jabber get info now fetches and displays idle time and version info this is based largely on the work of Andrew Sayman. He submitted a patch back in 2004, and I hacked it all to hell, changed how some things were done. If it works, credit him. If it breaks, blame me. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 30 May 2006 01:30:18 +0000
parents 60b863ecd89b
children
line wrap: on
line source

#include "module.h"

MODULE = Gaim::Debug  PACKAGE = Gaim::Debug  PREFIX = gaim_debug_
PROTOTYPES: ENABLE

void
gaim_debug(level, category, string)
	Gaim::DebugLevel level
	const char *category
	const char *string

void
gaim_debug_misc(category, string)
	const char *category
	const char *string

void
gaim_debug_info(category, string)
	const char *category
	const char *string

void
gaim_debug_warning(category, string)
	const char *category
	const char *string

void
gaim_debug_error(category, string)
	const char *category
	const char *string

void
gaim_debug_fatal(category, string)
	const char *category
	const char *string

void
gaim_debug_set_enabled(enabled)
	gboolean enabled

gboolean
gaim_debug_is_enabled()