updated source code boilerplate/header
[platform/upstream/curl.git] / lib / share.h
1 #ifndef __CURL_SHARE_H
2 #define __CURL_SHARE_H
3
4 /***************************************************************************
5  *                                  _   _ ____  _     
6  *  Project                     ___| | | |  _ \| |    
7  *                             / __| | | | |_) | |    
8  *                            | (__| |_| |  _ <| |___ 
9  *                             \___|\___/|_| \_\_____|
10  *
11  * Copyright (C) 1998 - 2002, 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$
25  ***************************************************************************/
26
27 #include "setup.h"
28 #include <curl/curl.h>
29
30 typedef enum {
31   SHARE_ERROR_OK = 0,
32   SHARE_ERROR_INVALID, 
33   SHARE_ERROR_NOT_REGISTERED,
34   SHARE_ERROR_LAST
35 } Curl_share_error;
36
37 Curl_share_error Curl_share_aquire_lock (CURL *, curl_lock_type);
38 Curl_share_error Curl_share_release_lock (CURL *, curl_lock_type);
39
40 #endif /* __CURL_SHARE_H */
41
42 /*
43  * local variables:
44  * eval: (load-file "../curl-mode.el")
45  * end:
46  * vim600: fdm=marker
47  * vim: et sw=2 ts=2 sts=2 tw=78
48  */