summaryrefslogtreecommitdiff
path: root/lib/share.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-09 10:21:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-09 10:21:03 +0000
commitf152f23a680670e72e230d6247a2ed4552750480 (patch)
tree3c79410572a7327fbf2fdf2ef6d4c72645610562 /lib/share.h
parent24e78b35717262af19fa0d26892dde08f7ab1473 (diff)
downloadcurl-f152f23a680670e72e230d6247a2ed4552750480.tar.gz
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.
Diffstat (limited to 'lib/share.h')
-rw-r--r--lib/share.h11
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 */