aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/sasl/include/md5global.h
blob: 034d9fa2d471c451a89d77731b703205f54cdc56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* GLOBAL.H - RSAREF types and constants
 */
#ifndef MD5GLOBAL_H
#define MD5GLOBAL_H

/* PROTOTYPES should be set to one if and only if the compiler supports
  function argument prototyping.
The following makes PROTOTYPES default to 0 if it has not already
  been defined with C compiler flags.
 */
#ifndef PROTOTYPES
#define PROTOTYPES 0
#endif

/* POINTER defines a generic pointer type */
typedef unsigned char *POINTER;

typedef signed char SASL_INT1;		/*  8 bits */
typedef short SASL_INT2;			/* 16 bits */
typedef int SASL_INT4;			/* 32 bits */
typedef long SASL_INT8;			/* 64 bits */
typedef unsigned char SASL_UINT1;		/*  8 bits */
typedef unsigned short SASL_UINT2;		/* 16 bits */
typedef unsigned int SASL_UINT4;		/* 32 bits */
typedef unsigned long SASL_UINT8;		/* 64 bits */

/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
returns an empty list.
*/
#if PROTOTYPES
#define PROTO_LIST(list) list
#else
#define PROTO_LIST(list) ()
#endif

#endif /* MD5GLOBAL_H */