summary refs log tree commit diff stats
path: root/src/common/ssl.h
blob: 26eb0f883c911e0d298322b28df0f38dc5d92b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by resource.rc
//
#define IDD_ALERTS                      104
#define IDD_EVENTS                      105
#define IDD_SETTINGS                    106
#define IDD_ALERT                       107
#define IDD_PREF                        108
#define IDD_ABOUT                       109
#define IDR_TRAY_MENU                   110
#define ICO_XCHAT                       111
#define ICO_BANNED                      112
#define ICO_CHANMSG                     113
#define ICO_DISCONNECTED                114
#define ICO_HIGHLIGHT                   115
#define ICO_KICKED                      116
#define ICO_PMSG                        117
#define ICO_SNOTICE                     118
#define IDB_SD_LOGO                     119
#define IDC_PREF_OK                     1014
#define IDC_PREF_CANCEL                 1015
#define IDC_PREF_APPLY                  1016
#define IDC_AWAY_MSG                    1017
#define IDC_ALERT_TIME                  1018
#define IDC_TAB_CONTROL                 1019
#define IDC_ALERT_HOTKEY                1020
#define IDC_ALERT_MSG                   1021
#define IDC_ALERT_HOTKEY_TEXT           1022
#define IDC_ALERT_TIME_TEXT             1023
#define ACT_EXIT                        40001
#define ACT_SETTINGS                    40002
#define ACT_AWAY                        40003
#define ACT_BACK                        40004
#define ACT_RESTORE                     40005
#define IDC_STATIC                      -1

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        120
#define _APS_NEXT_COMMAND_VALUE         40006
#define _APS_NEXT_CONTROL_VALUE         1024
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif
span>*_SSL_socket (SSL_CTX *ctx, int sd); char *_SSL_set_verify (SSL_CTX *ctx, void *(verify_callback), char *cacert); /* int SSL_connect(SSL *); int SSL_accept(SSL *); int SSL_get_fd(SSL *); */ void _SSL_close (SSL * ssl); int _SSL_get_cert_info (struct cert_info *cert_info, SSL * ssl); struct chiper_info *_SSL_get_cipher_info (SSL * ssl); /*char *_SSL_add_keypair (SSL_CTX *ctx, char *privkey, char *cert);*/ /*void _SSL_add_random_keypair(SSL_CTX *ctx, int bits);*/ int _SSL_send (SSL * ssl, char *buf, int len); int _SSL_recv (SSL * ssl, char *buf, int len); /* misc */ /*void broke_oneline (char *oneline, char *parray[]);*/ /*char *_SSL_do_cipher_base64(char *buf, int buf_len, char *key, int operation);*/ /* must be freed */ /*void *_SSL_get_sess_obj(SSL *ssl, int type);*/ /* NOT must be freed */ #define _SSL_get_sess_pkey(a) _SSL_get_sess_obj(a, 0) #define _SSL_get_sess_prkey(a) _SSL_get_sess_obj(a, 1) #define _SSL_get_sess_x509(a) _SSL_get_sess_obj(a, 2) /*char *_SSL_get_obj_base64(void *s, int type);*/ /* must be freed */ #define _SSL_get_pkey_base64(a) _SSL_get_obj_base64(a, 0) #define _SSL_get_prkey_base64(a) _SSL_get_obj_base64(a, 1) #define _SSL_get_x509_base64(a) _SSL_get_obj_base64(a, 2) /*char *_SSL_get_ctx_obj_base64(SSL_CTX *ctx, int type);*/ /* must be freed */ #define _SSL_get_ctx_pkey_base64(a) _SSL_get_ctx_obj_base64(a, 0) #define _SSL_get_ctx_prkey_base64(a) _SSL_get_ctx_obj_base64(a, 1) #define _SSL_get_ctx_x509_base64(a) _SSL_get_ctx_obj_base64(a, 2) /*int _SSL_verify_x509(X509 *x509);*/