view libpurple/plugins/perl/common/Debug.xs @ 15543:cb6bb41291c8

merge of '600cfd77bdb8554e712ba04da84518976cd80b86' and '79f63e67c9df036c4f97bc50b13b4bbf90c7b0bc'
author Sean Egan <seanegan@gmail.com>
date Sun, 04 Feb 2007 09:51:11 +0000
parents 5fe8042783c1
children 2f8274ce570a
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
CODE:
	gaim_debug(level, category, "%s", string);

void
gaim_debug_misc(category, string)
	const char *category
	const char *string
CODE:
	gaim_debug_misc(category, "%s", string);

void
gaim_debug_info(category, string)
	const char *category
	const char *string
CODE:
	gaim_debug_info(category, "%s", string);

void
gaim_debug_warning(category, string)
	const char *category
	const char *string
CODE:
	gaim_debug_warning(category, "%s", string);

void
gaim_debug_error(category, string)
	const char *category
	const char *string
CODE:
	gaim_debug_error(category, "%s", string);

void
gaim_debug_fatal(category, string)
	const char *category
	const char *string
CODE:
	gaim_debug_fatal(category, "%s", string);

void
gaim_debug_set_enabled(enabled)
	gboolean enabled

gboolean
gaim_debug_is_enabled()