Thu, 18 Aug 2005 01:35:14 +0000
[gaim-migrate @ 13490]
Did some house cleaning on the code finished up some of the "TODO" stuff
that was left over from when I originally did the XSUBs. Furthermore,
the dynamically loaded Perl package problems should be corrected now that
the context is set before one of the concurrent perl interpreters is run.
| 11118 | 1 | #include "module.h" |
| 2 | ||
| 3 | MODULE = Gaim::Prpl PACKAGE = Gaim::Find PREFIX = gaim_find_ | |
| 4 | PROTOTYPES: ENABLE | |
| 5 | ||
| 6 | Gaim::Plugin | |
| 7 | gaim_find_prpl(id) | |
| 8 | const char *id | |
| 9 | ||
| 10 | ||
| 11 | MODULE = Gaim::Prpl PACKAGE = Gaim::Prpl PREFIX = gaim_prpl_ | |
| 12 | PROTOTYPES: ENABLE | |
| 13 | ||
| 14 | ||
| 15 | void | |
| 16 | gaim_prpl_change_account_status(account, old_status, new_status) | |
| 17 | Gaim::Account account | |
| 18 | Gaim::Status old_status | |
| 19 | Gaim::Status new_status | |
| 20 | ||
| 21 | void | |
| 22 | gaim_prpl_get_statuses(account, presence) | |
| 23 | Gaim::Account account | |
| 24 | Gaim::Presence presence | |
| 25 | PREINIT: | |
| 26 | GList *l; | |
| 27 | PPCODE: | |
| 28 | for (l = gaim_prpl_get_statuses(account,presence); l != NULL; l = l->next) { | |
| 29 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListItem"))); | |
| 30 | } | |
| 31 | ||
| 32 | ||
| 33 | ||
| 34 | void | |
| 35 | gaim_prpl_got_account_idle(account, idle, idle_time) | |
| 36 | Gaim::Account account | |
| 37 | gboolean idle | |
| 38 | time_t idle_time | |
| 39 | ||
| 40 | void | |
| 41 | gaim_prpl_got_account_login_time(account, login_time) | |
| 42 | Gaim::Account account | |
| 43 | time_t login_time | |
| 44 | ||
| 45 | void | |
| 46 | gaim_prpl_got_user_idle(account, name, idle, idle_time) | |
| 47 | Gaim::Account account | |
| 48 | const char *name | |
| 49 | gboolean idle | |
| 50 | time_t idle_time | |
| 51 | ||
| 52 | void | |
| 53 | gaim_prpl_got_user_login_time(account, name, login_time) | |
| 54 | Gaim::Account account | |
| 55 | const char *name | |
| 56 | time_t login_time | |
| 57 |