Mercurial > pidgin.yaz
view plugins/perl/common/Connection.xs @ 8585:e4087b5c0627
[gaim-migrate @ 9335]
Patch from Pekka Riikonen to allow a prpl to accept a file transfer
without choosing the save filename, and then to later complete this
selection. This also provides some API extension to allow a prpl to
handle its own connection setups and a posteriori add the connection
to gaim's file transfer list.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 05 Apr 2004 20:15:29 +0000 |
parents | 6deef41364bd |
children | 134d0001983d |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Connection PACKAGE = Gaim::Connection PREFIX = gaim_connection_ PROTOTYPES: ENABLE void gaim_connection_set_display_name(gc, name) Gaim::Connection gc const char *name Gaim::Account gaim_connection_get_account(gc) Gaim::Connection gc const char * gaim_connection_get_display_name(gc) Gaim::Connection gc MODULE = Gaim::Connections PACKAGE = Gaim::Connections PREFIX = gaim_connections_ PROTOTYPES: ENABLE void gaim_connections_disconnect_all() void * handle() CODE: RETVAL = gaim_connections_get_handle(); OUTPUT: RETVAL MODULE = Gaim::Connection PACKAGE = Gaim void connections() PREINIT: GList *l; PPCODE: for (l = gaim_connections_get_all(); l != NULL; l = l->next) XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection")));