aboutsummaryrefslogtreecommitdiff
path: root/lib/share.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-08 15:50:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-08 15:50:52 +0000
commit9a239edb5254fb684ec8095624d763ddeb49d063 (patch)
treef850af67c7e8891a360cb9aa800c5d6397d74fbc /lib/share.h
parentabcc5c5a82d5930f06eeb75f4a150b7b3cab6a74 (diff)
updated to use the modified share-types
Diffstat (limited to 'lib/share.h')
-rw-r--r--lib/share.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/share.h b/lib/share.h
index c373c3ccf..75a32961f 100644
--- a/lib/share.h
+++ b/lib/share.h
@@ -34,8 +34,19 @@ typedef enum {
SHARE_ERROR_LAST
} Curl_share_error;
-Curl_share_error Curl_share_aquire_lock (CURL *, curl_lock_type);
-Curl_share_error Curl_share_release_lock (CURL *, curl_lock_type);
+/* this struct is libcurl-private, don't export details */
+struct Curl_share {
+ unsigned int specifier;
+ unsigned int locked;
+ unsigned int dirty;
+
+ curl_lock_function lockfunc;
+ curl_unlock_function unlockfunc;
+ void *clientdata;
+};
+
+Curl_share_error Curl_share_aquire_lock (CURL *, curl_lock_data);
+Curl_share_error Curl_share_release_lock (CURL *, curl_lock_data);
#endif /* __CURL_SHARE_H */