view libgaim/plugins/perl/common/SSLConn.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
line wrap: on
line source

#include "module.h"

/* TODO


Gaim::Ssl::Connection
gaim_ssl_connect(account, host, port, func, error_func, data)
	Gaim::Account account
	const char *host
	int port
	GaimSslInputFunction func
	GaimSslErrorFunction error_func

void
gaim_ssl_input_add(gsc, func, data)
	Gaim::Ssl::Connection gsc
	Gaim::SslInputFunction func

Gaim::Ssl::Connection
gaim_ssl_connect_fd(account, fd, func, error_func, data)
	Gaim::Account account
	int fd
	GaimSslInputFunction func
	GaimSslErrorFunction error_func

*/

MODULE = Gaim::SSL  PACKAGE = Gaim::SSL   PREFIX = gaim_ssl_
PROTOTYPES: ENABLE

void
gaim_ssl_close(gsc)
	Gaim::Ssl::Connection gsc

Gaim::Ssl::Ops
gaim_ssl_get_ops()

void
gaim_ssl_init()

gboolean
gaim_ssl_is_supported()

size_t
gaim_ssl_read(gsc, buffer, len)
	Gaim::Ssl::Connection gsc
	void * buffer
	size_t len

void
gaim_ssl_set_ops(ops)
	Gaim::Ssl::Ops ops

void
gaim_ssl_uninit()

size_t
gaim_ssl_write(gsc, buffer, len)
	Gaim::Ssl::Connection gsc
	void * buffer
	size_t len