diff options
Diffstat (limited to 'lib/share.h')
-rw-r--r-- | lib/share.h | 11 |
1 files changed, 2 insertions, 9 deletions
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 <curl/curl.h> -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 */ |