aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/tls_test_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/tls_test_common.h')
-rw-r--r--src/testcurl/https/tls_test_common.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/testcurl/https/tls_test_common.h b/src/testcurl/https/tls_test_common.h
index dc4be451..863bab66 100644
--- a/src/testcurl/https/tls_test_common.h
+++ b/src/testcurl/https/tls_test_common.h
@@ -133,10 +133,25 @@ curl_tls_is_schannel (void);
133int 133int
134curl_tls_is_sectransport (void); 134curl_tls_is_sectransport (void);
135 135
136
137enum test_get_result
138{
139 TEST_GET_OK = 0,
140 TEST_GET_ERROR = 1,
141
142 TEST_GET_MHD_ERROR = 16,
143 TEST_GET_TRANSFER_ERROR = 17,
144
145 TEST_GET_CURL_GEN_ERROR = 32,
146 TEST_GET_CURL_CA_ERROR = 33,
147 TEST_GET_CURL_NOT_IMPLT = 34,
148
149 TEST_GET_HARD_ERROR = 999
150};
136/** 151/**
137 * perform cURL request for file 152 * perform cURL request for file
138 */ 153 */
139unsigned int 154enum test_get_result
140test_daemon_get (void *cls, 155test_daemon_get (void *cls,
141 const char *cipher_suite, int proto_version, 156 const char *cipher_suite, int proto_version,
142 uint16_t port, int ver_peer); 157 uint16_t port, int ver_peer);