view plugins/perl/common/Cmds.xs @ 12070:e4666705944b

[gaim-migrate @ 14365] patches [ 1353462 ] account-disabled/enabled signals, use them in account dialog and [ 1355690 ] Add/remove statusbox when accounts are enabled/disabled some parts of the first one didn't apply, but they were doc changes, so i figured charkins could diff them. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sun, 13 Nov 2005 03:45:16 +0000
parents b284c703d398
children e1603fd610fa
line wrap: on
line source

#include "module.h"

MODULE = Gaim::Cmds  PACKAGE = Gaim::Cmds  PREFIX = gaim_cmd_
PROTOTYPES: ENABLE

void
gaim_cmd_help(conv, cmd)
	Gaim::Conversation conv
	const gchar *cmd
PREINIT:
        GList *l;
PPCODE:
        for (l = gaim_cmd_help(conv, cmd); l != NULL; l = l->next) {
                XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
        }

void
gaim_cmd_list(conv)
	Gaim::Conversation conv
PREINIT:
        GList *l;
PPCODE:
        for (l = gaim_cmd_list(conv); l != NULL; l = l->next) {
                XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
        }

void 
gaim_cmd_unregister(id)
	Gaim::CmdId id