Go to the documentation of this file.00001 #ifndef HEADER_CURL_GSKIT_H
00002 #define HEADER_CURL_GSKIT_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "curl_setup.h"
00025
00026
00027
00028
00029
00030 #include "urldata.h"
00031
00032 #ifdef USE_GSKIT
00033 int Curl_gskit_init(void);
00034 void Curl_gskit_cleanup(void);
00035 CURLcode Curl_gskit_connect(struct connectdata *conn, int sockindex);
00036 CURLcode Curl_gskit_connect_nonblocking(struct connectdata *conn,
00037 int sockindex, bool *done);
00038 void Curl_gskit_close(struct connectdata *conn, int sockindex);
00039 int Curl_gskit_shutdown(struct connectdata *conn, int sockindex);
00040
00041 size_t Curl_gskit_version(char *buffer, size_t size);
00042 int Curl_gskit_check_cxn(struct connectdata *cxn);
00043
00044
00045
00046
00047
00048 #define CURL_SSL_BACKEND CURLSSLBACKEND_GSKIT
00049
00050
00051 #define have_curlssl_certinfo 1
00052
00053
00054 #define curlssl_init Curl_gskit_init
00055 #define curlssl_cleanup Curl_gskit_cleanup
00056 #define curlssl_connect Curl_gskit_connect
00057 #define curlssl_connect_nonblocking Curl_gskit_connect_nonblocking
00058
00059
00060 #define curlssl_session_free(x) Curl_nop_stmt
00061 #define curlssl_close_all(x) ((void)x)
00062 #define curlssl_close Curl_gskit_close
00063 #define curlssl_shutdown(x,y) Curl_gskit_shutdown(x,y)
00064 #define curlssl_set_engine(x,y) CURLE_NOT_BUILT_IN
00065 #define curlssl_set_engine_default(x) CURLE_NOT_BUILT_IN
00066 #define curlssl_engines_list(x) NULL
00067 #define curlssl_version Curl_gskit_version
00068 #define curlssl_check_cxn(x) Curl_gskit_check_cxn(x)
00069 #define curlssl_data_pending(x,y) 0
00070 #define curlssl_random(x,y,z) (x=x, y=y, z=z, CURLE_NOT_BUILT_IN)
00071
00072 #endif
00073
00074 #endif