Lines Matching defs:ssl_sw

51 static struct ssl_func ssl_sw[] = {
160 #define SSL_library_init (* (int (*)(void)) ssl_sw[0].ptr)
161 #define SSL_CTX_new (* (SSL_CTX * (*)(SSL_METHOD *)) ssl_sw[1].ptr)
162 #define SSLv23_client_method (* (SSL_METHOD * (*)(void)) ssl_sw[2].ptr)
163 #define SSL_CTX_ctrl (* (long (*)(SSL_CTX *, int, long, void *)) ssl_sw[3].ptr)
164 #define SSL_CTX_set_cipher_list (* (int (*)(SSL_CTX *,const char *)) ssl_sw[4].ptr)
165 #define SSL_CTX_load_verify_locations (* (int (*)(SSL_CTX *, const char *, const char *)) ssl_sw[5].ptr)
166 #define SSL_CTX_use_certificate_file (* (int (*)(SSL_CTX *, const char *, int)) ssl_sw[6].ptr)
167 #define SSL_CTX_set_default_passwd_cb_userdata (* (void (*)(SSL_CTX *, void *)) ssl_sw[7].ptr)
168 #define SSL_CTX_set_default_passwd_cb (* (void (*)(SSL_CTX *, int (*callback)(char *, int, int, void *))) ssl_sw[8].ptr)
169 #define SSL_CTX_use_PrivateKey_file (* (int (*)(SSL_CTX *, const char *, int)) ssl_sw[9].ptr)
170 #define SSL_CTX_check_private_key (* (int (*)(const SSL_CTX *)) ssl_sw[10].ptr)
171 #define SSL_CTX_set_verify (* (void (*)(SSL_CTX *, int, int (*verify_callback)(int, X509_STORE_CTX *))) ssl_sw[11].ptr)
172 #define SSL_new (* (SSL * (*)(SSL_CTX *)) ssl_sw[12].ptr)
173 #define SSL_CTX_set_info_callback (* (void (*)(SSL_CTX *, void (*callback)())) ssl_sw[13].ptr)
174 #define SSL_CTX_set_msg_callback (* (void (*)(SSL_CTX *, void (*callback)(int, int, int, const void *, size_t, SSL *, void *))) ssl_sw[14].ptr)
175 #define SSL_set_connect_state (* (void (*)(SSL *)) ssl_sw[15].ptr)
176 #define SSL_do_handshake (* (int (*)(SSL *)) ssl_sw[16].ptr)
177 #define SSL_get_error (* (int (*)(SSL *, int)) ssl_sw[17].ptr)
178 #define SSL_read (* (int (*)(SSL *, void *, int)) ssl_sw[18].ptr)
179 #define SSL_write (* (int (*)(SSL *, const void *,int)) ssl_sw[19].ptr)
180 #define SSL_connect (* (int (*)(SSL *)) ssl_sw[20].ptr)
181 #define SSL_shutdown (* (int (*)(SSL *)) ssl_sw[21].ptr)
182 #define SSL_CTX_free (* (void (*)(SSL_CTX *)) ssl_sw[22].ptr)
183 #define SSL_free (* (void (*)(SSL *)) ssl_sw[23].ptr)
184 #define SSL_get_peer_certificate (* (X509 * (*)(const SSL *)) ssl_sw[24].ptr)
185 #define SSL_alert_type_string (* (const char * (*)(int)) ssl_sw[25].ptr)
186 #define SSL_alert_desc_string (* (const char * (*)(int)) ssl_sw[26].ptr)
187 #define SSL_alert_desc_string_long (* (const char * (*)(int)) ssl_sw[27].ptr)
188 #define SSL_set_bio (* (void (*)(SSL *, BIO *, BIO *)) ssl_sw[28].ptr)
189 #define SSL_get_verify_result (* (int (*)(const SSL *)) ssl_sw[29].ptr)
190 #define SSL_state_string (* (const char * (*)(const SSL *)) ssl_sw[30].ptr)
191 #define SSL_state_string_long (* (const char * (*)(const SSL *)) ssl_sw[31].ptr)
192 #define SSL_state (* (int (*)(const SSL *)) ssl_sw[32].ptr)
193 #define SSL_load_error_strings (* (void (*)(void)) ssl_sw[33].ptr)
194 #define SSL_CTX_set_verify_depth (* (void (*)(SSL_CTX *, int)) ssl_sw[34].ptr)
196 #define BIO_s_mem (* (BIO_METHOD * (*)(void)) ssl_sw[35].ptr)
197 #define BIO_new (* (BIO * (*)(BIO_METHOD *)) ssl_sw[36].ptr)
198 #define BIO_write (* (int (*)(BIO *, const void *, int)) ssl_sw[37].ptr)
199 #define BIO_read (* (int (*)(BIO *, void *, int)) ssl_sw[38].ptr)
200 #define BIO_ctrl (* (long (*)(BIO *, int, long, void *)) ssl_sw[39].ptr)
429 ssl_lib = load_library(AM_SSL_LIB, ssl_sw);