From b5d170b55110bacc61a4aa8bf99df1afc303c5dc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 16 May 2011 23:46:43 +0200 Subject: 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. --- lib/connect.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/connect.h') 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 -- cgit v1.2.3