1 /* GLOBAL.H - RSAREF types and constants 2 */ 3 4 /* 5 $Id$ 6 */ 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 /* UINT2 defines a two byte word */ 21 typedef unsigned short int UINT2; 22 23 /* UINT4 defines a four byte word */ 24 typedef unsigned long int UINT4; 25 26 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above. 27 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it 28 returns an empty list. 29 */ 30 #if PROTOTYPES 31 #define PROTO_LIST(list) list 32 #else 33 #define PROTO_LIST(list) () 34 #endif 35