doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
share.h
Go to the documentation of this file.
1 #ifndef __CURL_SHARE_H
2 #define __CURL_SHARE_H
3 
4 /***************************************************************************
5  * _ _ ____ _
6  * Project ___| | | | _ \| |
7  * / __| | | | |_) | |
8  * | (__| |_| | _ <| |___
9  * \___|\___/|_| \_\_____|
10  *
11  * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
12  *
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.
16  *
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.
20  *
21  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22  * KIND, either express or implied.
23  *
24  * $Id: share.h,v 1.9 2004/01/07 09:19:35 bagder Exp $
25  ***************************************************************************/
26 
27 #include "setup.h"
28 #include <curl/curl.h>
29 #include "cookie.h"
30 
31 /* this struct is libcurl-private, don't export details */
32 struct Curl_share {
33  unsigned int specifier;
34  volatile unsigned int dirty;
35 
38  void *clientdata;
39 
42 };
43 
45  struct SessionHandle *,
48  );
49 
51  struct SessionHandle *,
53  );
54 
55 #endif /* __CURL_SHARE_H */
curl_hash * hostcache
Definition: share.h:40
curl_lock_function lockfunc
Definition: share.h:36
void(* curl_lock_function)(CURL *handle, curl_lock_data data, curl_lock_access locktype, void *userptr)
Definition: curl.h:1185
volatile unsigned int dirty
Definition: share.h:34
CURLSHcode Curl_share_lock(struct SessionHandle *, curl_lock_data, curl_lock_access)
Definition: share.c:180
unsigned int specifier
Definition: share.h:33
void(* curl_unlock_function)(CURL *handle, curl_lock_data data, void *userptr)
Definition: curl.h:1189
void * clientdata
Definition: share.h:38
CURLSHcode Curl_share_unlock(struct SessionHandle *, curl_lock_data)
Definition: share.c:198
CURLSHcode
Definition: curl.h:1195
curl_lock_access
Definition: curl.h:1178
struct CookieInfo * cookies
Definition: share.h:41
curl_lock_data
Definition: curl.h:1163
curl_unlock_function unlockfunc
Definition: share.h:37