Mercurial > pidgin
view libgaim/plugins/perl/common/Proxy.xs @ 14364:338ac096e322
[gaim-migrate @ 17070]
Disabled GTK+ components of the Perl plugin (we'll no longer support gtk-perl prefs frames until this is refactored into a gtkgaim plugin somehow).
Fix gaim_util_fetch_url and plug some leaks.
I haven't successfully tested gaim_util_fetch_url from perl yet - it doesn't seem to actually pass the retrieved text to the plugin sub correctly yet.
The syntax for calling gaim_util_fetch_url() from perl is also funky and should be made more consistent to the C function.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 28 Aug 2006 20:27:03 +0000 |
parents | 60b1bc8dbf37 |
children | b1fcd2fc903a |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Proxy PACKAGE = Gaim::Proxy PREFIX = gaim_proxy_ PROTOTYPES: ENABLE Gaim::ProxyInfo gaim_global_proxy_get_info() void * gaim_proxy_get_handle() void gaim_proxy_info_destroy(info) Gaim::ProxyInfo info const char * gaim_proxy_info_get_host(info) Gaim::ProxyInfo info const char * gaim_proxy_info_get_password(info) Gaim::ProxyInfo info int gaim_proxy_info_get_port(info) Gaim::ProxyInfo info Gaim::ProxyType gaim_proxy_info_get_type(info) Gaim::ProxyInfo info const char * gaim_proxy_info_get_username(info) Gaim::ProxyInfo info Gaim::ProxyInfo gaim_proxy_info_new() void gaim_proxy_info_set_host(info, host) Gaim::ProxyInfo info const char *host void gaim_proxy_info_set_password(info, password) Gaim::ProxyInfo info const char *password void gaim_proxy_info_set_port(info, port) Gaim::ProxyInfo info int port void gaim_proxy_info_set_type(info, type) Gaim::ProxyInfo info Gaim::ProxyType type void gaim_proxy_info_set_username(info, username) Gaim::ProxyInfo info const char *username void gaim_proxy_init()