view libgaim/plugins/perl/common/Debug.xs @ 15209:ffec45ff82d0

[gaim-migrate @ 17999] Setting this namespaced attribute will tell the Google Talk servers that we can accept back a JID from the bind result that isn't necessarily related to the one we requested. This allows googlemail.com users to enter gmail.com as their server and still authenticate properly. Technically, we shouldn't need an attribute like this (this is all valid XMPP), but lesser clients might choke on this. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 14 Dec 2006 22:25:18 +0000
parents ee79c2c1b5ac
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
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()