Merge branch 'merges' of git://repo.or.cz/unleashed into merges
[unleashed.git] / usr / src / lib / libsasl / include / md5global.h
blob5266bbb218e616fe9258812041296002431375fa
1 #pragma ident "%Z%%M% %I% %E% SMI"
3 /* md5global.h - RSAREF types and constants
4 */
5 #ifndef MD5GLOBAL_H
6 #define MD5GLOBAL_H
8 /* PROTOTYPES should be set to one if and only if the compiler supports
9 function argument prototyping.
10 The following makes PROTOTYPES default to 0 if it has not already
11 been defined with C compiler flags.
13 #ifndef PROTOTYPES
14 #define PROTOTYPES 0
15 #endif
17 /* POINTER defines a generic pointer type */
18 typedef unsigned char *POINTER;
20 typedef signed char INT1; /* 8 bits */
21 typedef short INT2; /* 16 bits */
22 typedef int INT4; /* 32 bits */
23 /* There is no 64 bit type */
24 typedef unsigned char UINT1; /* 8 bits */
25 typedef unsigned short UINT2; /* 16 bits */
26 typedef unsigned int UINT4; /* 32 bits */
27 /* There is no 64 bit type */
29 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
30 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
31 returns an empty list.
33 #if PROTOTYPES
34 #define PROTO_LIST(list) list
35 #else
36 #define PROTO_LIST(list) ()
37 #endif
39 #endif /* MD5GLOBAL_H */