xref: /titanic_41/usr/src/lib/libsasl/include/md5global.h (revision 9e39c5ba00a55fa05777cc94b148296af305e135)
1 #pragma ident	"%Z%%M%	%I%	%E% SMI"
2 
3 /* md5global.h - RSAREF types and constants
4  */
5 #ifndef MD5GLOBAL_H
6 #define MD5GLOBAL_H
7 
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.
12  */
13 #ifndef PROTOTYPES
14 #define PROTOTYPES 0
15 #endif
16 
17 /* POINTER defines a generic pointer type */
18 typedef unsigned char *POINTER;
19 
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 */
28 
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.
32 */
33 #if PROTOTYPES
34 #define PROTO_LIST(list) list
35 #else
36 #define PROTO_LIST(list) ()
37 #endif
38 
39 #endif /* MD5GLOBAL_H */
40 
41