11118
|
1 #include "module.h"
|
|
2
|
|
3 MODULE = Gaim::Cmds PACKAGE = Gaim::Cmds PREFIX = gaim_cmd_
|
|
4 PROTOTYPES: ENABLE
|
|
5
|
|
6 void
|
|
7 gaim_cmd_help(conv, cmd)
|
|
8 Gaim::Conversation conv
|
|
9 const gchar *cmd
|
|
10 PREINIT:
|
|
11 GList *l;
|
|
12 PPCODE:
|
|
13 for (l = gaim_cmd_help(conv, cmd); l != NULL; l = l->next) {
|
|
14 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
|
|
15 }
|
|
16
|
|
17 void
|
|
18 gaim_cmd_list(conv)
|
|
19 Gaim::Conversation conv
|
|
20 PREINIT:
|
|
21 GList *l;
|
|
22 PPCODE:
|
|
23 for (l = gaim_cmd_list(conv); l != NULL; l = l->next) {
|
|
24 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
|
|
25 }
|
|
26
|
|
27 void
|
|
28 gaim_cmd_unregister(id)
|
|
29 Gaim::CmdId id
|
|
30
|