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