| 30 #define PURPLE_SSL_DEFAULT_PORT 443 |
30 #define PURPLE_SSL_DEFAULT_PORT 443 |
| 31 |
31 |
| 32 typedef enum |
32 typedef enum |
| 33 { |
33 { |
| 34 PURPLE_SSL_HANDSHAKE_FAILED = 1, |
34 PURPLE_SSL_HANDSHAKE_FAILED = 1, |
| 35 PURPLE_SSL_CONNECT_FAILED = 2, |
35 PURPLE_SSL_CONNECT_FAILED = 2 |
| 36 PURPLE_SSL_PEER_AUTH_FAILED = 3 |
|
| 37 } PurpleSslErrorType; |
36 } PurpleSslErrorType; |
| 38 |
37 |
| 39 typedef struct _PurpleSslConnection PurpleSslConnection; |
38 typedef struct _PurpleSslConnection PurpleSslConnection; |
| 40 |
39 |
| 41 typedef void (*PurpleSslInputFunction)(gpointer, PurpleSslConnection *, |
40 typedef void (*PurpleSslInputFunction)(gpointer, PurpleSslConnection *, |