xref: /illumos-gate/usr/src/lib/libsasl/include/md5global.h (revision 20a7641f9918de8574b8b3b47dbe35c4bfc78df1)
1 /* md5global.h - RSAREF types and constants
2  */
3 #ifndef MD5GLOBAL_H
4 #define MD5GLOBAL_H
5 
6 /* PROTOTYPES should be set to one if and only if the compiler supports
7   function argument prototyping.
8 The following makes PROTOTYPES default to 0 if it has not already
9   been defined with C compiler flags.
10  */
11 #ifndef PROTOTYPES
12 #define PROTOTYPES 0
13 #endif
14 
15 /* POINTER defines a generic pointer type */
16 typedef unsigned char *POINTER;
17 
18 typedef signed char INT1;		/*  8 bits */
19 typedef short INT2;			/* 16 bits */
20 typedef int INT4;			/* 32 bits */
21 /* There is no 64 bit type */
22 typedef unsigned char UINT1;		/*  8 bits */
23 typedef unsigned short UINT2;		/* 16 bits */
24 typedef unsigned int UINT4;		/* 32 bits */
25 /* There is no 64 bit type */
26 
27 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
28 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
29 returns an empty list.
30 */
31 #if PROTOTYPES
32 #define PROTO_LIST(list) list
33 #else
34 #define PROTO_LIST(list) ()
35 #endif
36 
37 #endif /* MD5GLOBAL_H */
38 
39