aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-01-17 16:49:39 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-01-17 17:02:01 +0000
commit1d25acb038525c4807780cadbdfc359a034eb70b (patch)
tree76d1f858f9f304c13d097ffab70519ba346a78d8 /lib/vtls
parent5d5c78b47fa75413964c8279f0b3d9954fe70fb9 (diff)
gskit.h: Code policing of function pointer arguments
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/gskit.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/vtls/gskit.h b/lib/vtls/gskit.h
index 5b525ae78..af31fafad 100644
--- a/lib/vtls/gskit.h
+++ b/lib/vtls/gskit.h
@@ -32,14 +32,14 @@
#ifdef USE_GSKIT
int Curl_gskit_init(void);
void Curl_gskit_cleanup(void);
-CURLcode Curl_gskit_connect(struct connectdata * conn, int sockindex);
-CURLcode Curl_gskit_connect_nonblocking(struct connectdata * conn,
- int sockindex, bool * done);
+CURLcode Curl_gskit_connect(struct connectdata *conn, int sockindex);
+CURLcode Curl_gskit_connect_nonblocking(struct connectdata *conn,
+ int sockindex, bool *done);
void Curl_gskit_close(struct connectdata *conn, int sockindex);
-int Curl_gskit_shutdown(struct connectdata * conn, int sockindex);
+int Curl_gskit_shutdown(struct connectdata *conn, int sockindex);
-size_t Curl_gskit_version(char * buffer, size_t size);
-int Curl_gskit_check_cxn(struct connectdata * cxn);
+size_t Curl_gskit_version(char *buffer, size_t size);
+int Curl_gskit_check_cxn(struct connectdata *cxn);
/* Set the API backend definition to GSKit */
#define CURL_SSL_BACKEND CURLSSLBACKEND_GSKIT
@@ -65,6 +65,7 @@ int Curl_gskit_check_cxn(struct connectdata * cxn);
#define curlssl_check_cxn(x) Curl_gskit_check_cxn(x)
#define curlssl_data_pending(x,y) 0
#define curlssl_random(x,y,z) -1
+
#endif /* USE_GSKIT */
#endif /* HEADER_CURL_GSKIT_H */