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