~ubuntu-branches/ubuntu/edgy/curl/edgy

« back to all changes in this revision

Viewing changes to lib/share.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060629150424-pn00qumt9sml8p4m
Tags: 7.15.4-1ubuntu1
Synchronize to Debian. Only change left: Removal of stunnel and
libdb4.2-dev build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22
22
 * KIND, either express or implied.
23
23
 *
24
 
 * $Id: share.h,v 1.10 2005/01/25 00:06:29 bagder Exp $
 
24
 * $Id: share.h,v 1.11 2006-04-26 17:11:05 giva Exp $
25
25
 ***************************************************************************/
26
26
 
27
27
#include "setup.h"
28
28
#include <curl/curl.h>
29
29
#include "cookie.h"
30
30
 
 
31
/* SalfordC says "A structure member may not be volatile". Hence:
 
32
 */
 
33
#ifdef __SALFORDC__
 
34
#define CURL_VOLATILE
 
35
#else
 
36
#define CURL_VOLATILE volatile
 
37
#endif
 
38
 
31
39
/* this struct is libcurl-private, don't export details */
32
40
struct Curl_share {
33
41
  unsigned int specifier;
34
 
  volatile unsigned int dirty;
 
42
  CURL_VOLATILE unsigned int dirty;
35
43
 
36
44
  curl_lock_function lockfunc;
37
45
  curl_unlock_function unlockfunc;