view libpurple/plugins/perl/common/Core.xs @ 26458:f25410b0827c

Fix login process for older servers using IQ-auth. See b3b179b8def361326c66b090679e52804802631e for the first part of this.
author Paul Aurich <paul@darkrain42.org>
date Sat, 04 Apr 2009 18:44:17 +0000
parents e3f30a73a793
children
line wrap: on
line source

#include "module.h"

MODULE = Purple::Core  PACKAGE = Purple::Core  PREFIX = purple_core_
PROTOTYPES: ENABLE

gboolean 
purple_core_quit_cb()
PPCODE:
	/* The argument to purple_core_quit_cb is not used,
	 * so there's little point in requiring it on the
	 * Perl side. */
	RETVAL = purple_core_quit_cb(NULL);
	ST(0) = boolSV(RETVAL);
	sv_2mortal(ST(0));

const char *
purple_core_get_version()

const char *
purple_core_get_ui()