view plugins/perl/common/Debug.xs @ 13652:a07dcc2c01bd

[gaim-migrate @ 16053] Fix Coverity CID 42: Possible NULL pointer dereference when the server does not give us a cookie in their reply to our login response. This should never happen. Fix Coverity CID 43 and 44: Possible NULL pointer dereference. Technically not possible... but the code is cleaner and faster this way. Fix Coverity CID 58: Fix a memleak of two small strings totaling about 10 bytes when parsing most incoming chat messages (not IM--just chat) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 18 Apr 2006 04:03: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()