4 /***************************************************************************
6 * Project ___| | | | _ \| |
8 * | (__| |_| | _ <| |___
9 * \___|\___/|_| \_\_____|
11 * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
13 * This software is licensed as described in the file COPYING, which
14 * you should have received as part of this distribution. The terms
15 * are also available at http://curl.haxx.se/docs/copyright.html.
17 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
18 * copies of the Software, and permit persons to whom the Software is
19 * furnished to do so, under the terms of the COPYING file.
21 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22 * KIND, either express or implied.
24 ***************************************************************************/
27 #include <curl/curl.h>
30 /* SalfordC says "A structure member may not be volatile". Hence:
35 #define CURL_VOLATILE volatile
38 /* this struct is libcurl-private, don't export details */
40 unsigned int specifier;
41 CURL_VOLATILE unsigned int dirty;
43 curl_lock_function lockfunc;
44 curl_unlock_function unlockfunc;
47 struct curl_hash *hostcache;
48 struct CookieInfo *cookies;
51 CURLSHcode Curl_share_lock (struct SessionHandle *, curl_lock_data,
53 CURLSHcode Curl_share_unlock (struct SessionHandle *, curl_lock_data);
55 #endif /* __CURL_SHARE_H */