Go to the documentation of this file.00001 #ifndef HEADER_CURL_AXTLS_H
00002 #define HEADER_CURL_AXTLS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifdef USE_AXTLS
00027 #include "curl/curl.h"
00028 #include "urldata.h"
00029
00030 int Curl_axtls_init(void);
00031 int Curl_axtls_cleanup(void);
00032 CURLcode Curl_axtls_connect(struct connectdata *conn, int sockindex);
00033 CURLcode Curl_axtls_connect_nonblocking(
00034 struct connectdata *conn,
00035 int sockindex,
00036 bool *done);
00037
00038
00039 void Curl_axtls_close(struct connectdata *conn, int sockindex);
00040
00041 void Curl_axtls_session_free(void *ptr);
00042 size_t Curl_axtls_version(char *buffer, size_t size);
00043 int Curl_axtls_shutdown(struct connectdata *conn, int sockindex);
00044 int Curl_axtls_check_cxn(struct connectdata *conn);
00045 int Curl_axtls_random(struct Curl_easy *data,
00046 unsigned char *entropy,
00047 size_t length);
00048
00049
00050 #define CURL_SSL_BACKEND CURLSSLBACKEND_AXTLS
00051
00052
00053 #define curlssl_init Curl_axtls_init
00054 #define curlssl_cleanup Curl_axtls_cleanup
00055 #define curlssl_connect Curl_axtls_connect
00056 #define curlssl_connect_nonblocking Curl_axtls_connect_nonblocking
00057 #define curlssl_session_free(x) Curl_axtls_session_free(x)
00058 #define curlssl_close_all(x) ((void)x)
00059 #define curlssl_close Curl_axtls_close
00060 #define curlssl_shutdown(x,y) Curl_axtls_shutdown(x,y)
00061 #define curlssl_set_engine(x,y) ((void)x, (void)y, CURLE_NOT_BUILT_IN)
00062 #define curlssl_set_engine_default(x) ((void)x, CURLE_NOT_BUILT_IN)
00063 #define curlssl_engines_list(x) ((void)x, (struct curl_slist *)NULL)
00064 #define curlssl_version Curl_axtls_version
00065 #define curlssl_check_cxn(x) Curl_axtls_check_cxn(x)
00066 #define curlssl_data_pending(x,y) ((void)x, (void)y, 0)
00067 #define curlssl_random(x,y,z) Curl_axtls_random(x,y,z)
00068
00069 #endif
00070 #endif
00071