Mercurial > pidgin
view libpurple/plugins/perl/common/SSLConn.xs @ 29612:8f442c566ff2
jabber: Adjust amount of data to send in IBB packets so that at most block-size
bytes of BASE64-encoded data is sent, based on discussion on the standars@j.o
list. Keep accepting receiving packets containing up to block-size bytes of
decoded data to stay compatible with previous version, and other clients who
made that assuption.
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Thu, 18 Mar 2010 21:19:44 +0000 |
parents | 907f5f41e32a |
children | d337a23e5536 |
line wrap: on
line source
#include "module.h" /* TODO Purple::Ssl::Connection purple_ssl_connect(account, host, port, func, error_func, data) Purple::Account account const char *host int port PurpleSslInputFunction func PurpleSslErrorFunction error_func void purple_ssl_input_add(gsc, func, data) Purple::Ssl::Connection gsc Purple::SslInputFunction func Purple::Ssl::Connection purple_ssl_connect_fd(account, fd, func, error_func, data) Purple::Account account int fd PurpleSslInputFunction func PurpleSslErrorFunction error_func */ MODULE = Purple::SSL PACKAGE = Purple::SSL PREFIX = purple_ssl_ PROTOTYPES: ENABLE void purple_ssl_close(gsc) Purple::Ssl::Connection gsc Purple::Ssl::Ops purple_ssl_get_ops() gboolean purple_ssl_is_supported() size_t purple_ssl_read(gsc, buffer, len) Purple::Ssl::Connection gsc void * buffer size_t len void purple_ssl_set_ops(ops) Purple::Ssl::Ops ops size_t purple_ssl_write(gsc, buffer, len) Purple::Ssl::Connection gsc void * buffer size_t len