Mon, 18 Jul 2005 13:37:38 +0000
[gaim-migrate @ 13174]
Some new xsubs for the perl interpreter and a work around to get it all working again.
| 11118 | 1 | |
| 2 | ||
| 3 | #include "module.h" | |
| 4 | ||
| 5 | /* TODO | |
| 6 | ||
| 7 | ||
| 8 | Gaim::Ssl::Connection | |
| 9 | gaim_ssl_connect(account, host, port, func, error_func, data) | |
| 10 | Gaim::Account account | |
| 11 | const char *host | |
| 12 | int port | |
| 13 | GaimSslInputFunction func | |
| 14 | GaimSslErrorFunction error_func | |
| 15 | ||
| 16 | void | |
| 17 | gaim_ssl_input_add(gsc, func, data) | |
| 18 | Gaim::Ssl::Connection gsc | |
| 19 | Gaim::SslInputFunction func | |
| 20 | ||
| 21 | ||
| 22 | ||
| 23 | Gaim::Ssl::Connection | |
| 24 | gaim_ssl_connect_fd(account, fd, func, error_func, data) | |
| 25 | Gaim::Account account | |
| 26 | int fd | |
| 27 | GaimSslInputFunction func | |
| 28 | GaimSslErrorFunction error_func | |
| 29 | ||
| 30 | ||
| 31 | ||
| 32 | */ | |
| 33 | ||
| 34 | MODULE = Gaim::SSL PACKAGE = Gaim::SSL PREFIX = gaim_ssl_ | |
| 35 | PROTOTYPES: ENABLE | |
| 36 | ||
| 37 | ||
| 38 | ||
| 39 | void | |
| 40 | gaim_ssl_close(gsc) | |
| 41 | Gaim::Ssl::Connection gsc | |
| 42 | ||
| 43 | ||
| 44 | ||
| 45 | Gaim::Ssl::Ops | |
| 46 | gaim_ssl_get_ops() | |
| 47 | ||
| 48 | ||
| 49 | void | |
| 50 | gaim_ssl_init() | |
| 51 | ||
| 52 | ||
| 53 | ||
| 54 | gboolean | |
| 55 | gaim_ssl_is_supported() | |
| 56 | ||
| 57 | ||
| 58 | size_t | |
| 59 | gaim_ssl_read(gsc, buffer, len) | |
| 60 | Gaim::Ssl::Connection gsc | |
| 61 | void * buffer | |
| 62 | size_t len | |
| 63 | ||
| 64 | void | |
| 65 | gaim_ssl_set_ops(ops) | |
| 66 | Gaim::Ssl::Ops ops | |
| 67 | ||
| 68 | void | |
| 69 | gaim_ssl_uninit() | |
| 70 | ||
| 71 | ||
| 72 | size_t | |
| 73 | gaim_ssl_write(gsc, buffer, len) | |
| 74 | Gaim::Ssl::Connection gsc | |
| 75 | void * buffer | |
| 76 | size_t len | |
| 77 |