aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-05-16 23:46:43 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-18 22:56:46 +0200
commitb5d170b55110bacc61a4aa8bf99df1afc303c5dc (patch)
tree916f3bf3ebe145d00fa4a785658d19131d432cb7 /lib/connect.h
parentd4e000906ac4ef243258a5c9a819a7cde247d16a (diff)
CLOSESOCKETFUNCTION: added
Introduced the initial setup to allow closesocket callbacks by making sure sclose() is only ever called from one place in the libcurl source and still run all test cases fine.
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/connect.h b/lib/connect.h
index 0720085c2..3df9d970e 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -68,7 +68,6 @@ void Curl_sndbufset(curl_socket_t sockfd);
#endif
void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd);
-
void Curl_persistconninfo(struct connectdata *conn);
-
+int Curl_closesocket(struct connectdata *conn, curl_socket_t sock);
#endif