Mercurial > pidgin
annotate plugins/perl/common/SSLConn.xs @ 12894:7dc00a9dfba5
[gaim-migrate @ 15247]
serv_got_chat_in will segfault on a NULL message, so let's make it check for NULL before calling strlen
committer: Tailor Script <tailor@pidgin.im>
| author | Christopher O'Brien <siege@pidgin.im> |
|---|---|
| date | Mon, 16 Jan 2006 16:35:00 +0000 |
| parents | 96f9b4798012 |
| children |
| rev | line source |
|---|---|
| 11118 | 1 #include "module.h" |
| 2 | |
| 3 /* TODO | |
| 4 | |
| 5 | |
| 6 Gaim::Ssl::Connection | |
| 7 gaim_ssl_connect(account, host, port, func, error_func, data) | |
| 8 Gaim::Account account | |
| 9 const char *host | |
| 10 int port | |
| 11 GaimSslInputFunction func | |
| 12 GaimSslErrorFunction error_func | |
| 13 | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
14 void |
| 11118 | 15 gaim_ssl_input_add(gsc, func, data) |
| 16 Gaim::Ssl::Connection gsc | |
| 17 Gaim::SslInputFunction func | |
| 18 | |
| 19 Gaim::Ssl::Connection | |
| 20 gaim_ssl_connect_fd(account, fd, func, error_func, data) | |
| 21 Gaim::Account account | |
| 22 int fd | |
| 23 GaimSslInputFunction func | |
| 24 GaimSslErrorFunction error_func | |
| 25 | |
| 26 */ | |
| 27 | |
| 28 MODULE = Gaim::SSL PACKAGE = Gaim::SSL PREFIX = gaim_ssl_ | |
| 29 PROTOTYPES: ENABLE | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
30 |
|
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
31 void |
| 11118 | 32 gaim_ssl_close(gsc) |
| 33 Gaim::Ssl::Connection gsc | |
| 34 | |
| 35 Gaim::Ssl::Ops | |
| 36 gaim_ssl_get_ops() | |
| 37 | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
38 void |
| 11118 | 39 gaim_ssl_init() |
| 40 | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
41 gboolean |
| 11118 | 42 gaim_ssl_is_supported() |
| 43 | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
44 size_t |
| 11118 | 45 gaim_ssl_read(gsc, buffer, len) |
| 46 Gaim::Ssl::Connection gsc | |
| 47 void * buffer | |
| 48 size_t len | |
| 49 | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
50 void |
| 11118 | 51 gaim_ssl_set_ops(ops) |
| 52 Gaim::Ssl::Ops ops | |
| 53 | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
54 void |
| 11118 | 55 gaim_ssl_uninit() |
| 56 | |
|
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
57 size_t |
| 11118 | 58 gaim_ssl_write(gsc, buffer, len) |
| 59 Gaim::Ssl::Connection gsc | |
| 60 void * buffer | |
| 61 size_t len |
