From f152f23a680670e72e230d6247a2ed4552750480 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 9 Jan 2003 10:21:03 +0000 Subject: Updated more and now looks and and the API possibly works almost like the design document specifies. There is still no code inside that uses this. --- lib/share.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'lib/share.h') diff --git a/lib/share.h b/lib/share.h index 75a32961f..fdd6ec555 100644 --- a/lib/share.h +++ b/lib/share.h @@ -27,13 +27,6 @@ #include "setup.h" #include -typedef enum { - SHARE_ERROR_OK = 0, - SHARE_ERROR_INVALID, - SHARE_ERROR_NOT_REGISTERED, - SHARE_ERROR_LAST -} Curl_share_error; - /* this struct is libcurl-private, don't export details */ struct Curl_share { unsigned int specifier; @@ -45,8 +38,8 @@ struct Curl_share { void *clientdata; }; -Curl_share_error Curl_share_aquire_lock (CURL *, curl_lock_data); -Curl_share_error Curl_share_release_lock (CURL *, curl_lock_data); +CURLSHcode Curl_share_aquire_lock (struct SessionHandle *, curl_lock_data); +CURLSHcode Curl_share_release_lock (struct SessionHandle *, curl_lock_data); #endif /* __CURL_SHARE_H */ -- cgit v1.2.3