view plugins/perl/common/Debug.xs @ 13845:d0ff520f87da

[gaim-migrate @ 16301] This is tcl /cmd support. It doesn't currently let tcl plugins return error message (I couldn't ever get that to work). But other than that it works. Ethan please look over this when you get a chance. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 21 Jun 2006 04:57:27 +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()