~ubuntu-branches/ubuntu/hardy/openvpn/hardy-proposed

« back to all changes in this revision

Viewing changes to common.h

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2006-07-22 20:44:52 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060722204452-2v2ccy5rqx9qh8ch
Tags: 2.0.7-1
* The 'Translators, translators, translators' release.
* New upstream version.
* Added Dutch debconf translation. (Closes: #370073)
  Thanks Kurt De Bree
* Updated Danish debconf translation. (Closes: #369772, #376704)
  Thanks Claus Hindsgaul
* Updated French debconf translation. (Closes: #373191)
  Thanks Michel Grentzinger

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#define COMMON_H
27
27
 
28
28
/*
29
 
 * Statistics counters.
 
29
 * Statistics counters and associated printf formats.
30
30
 */
31
 
typedef unsigned long long int counter_type;
 
31
#ifdef USE_64_BIT_COUNTERS
 
32
  typedef unsigned long long int counter_type;
 
33
# ifdef WIN32
 
34
#  define counter_format  "%I64u"
 
35
# else
 
36
#  define counter_format  "%llu"
 
37
# endif
 
38
#else
 
39
  typedef unsigned int counter_type;
 
40
# define counter_format   "%u"
 
41
#endif
32
42
 
33
43
/*
34
44
 * Time intervals
43
53
/*
44
54
 * Printf formats for special types
45
55
 */
46
 
#define counter_format          "%llu"
47
56
#define ptr_format              "0x%08lx"
48
57
#define time_format             "%lu"
49
58
#define fragment_header_format  "0x%08x"