00001 #ifndef GLOBAL_H 00002 #define GLOBAL_H 00003 00004 /* GLOBAL.H - RSAREF types and constants 00005 */ 00006 00007 /* PROTOTYPES should be set to one if and only if the compiler 00008 supports function argument prototyping. 00009 00010 The following makes PROTOTYPES default to 0 if it has not already 00011 been defined with C compiler flags. 00012 */ 00013 #ifndef PROTOTYPES 00014 #define PROTOTYPES 1 00015 #endif 00016 00017 /* POINTER defines a generic pointer type */ 00018 typedef unsigned char *POINTER; 00019 00020 /* UINT2 defines a two byte word */ 00021 typedef unsigned short int UINT2; 00022 00023 /* UINT4 defines a four byte word */ 00024 typedef unsigned long int UINT4; 00025 00026 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above. 00027 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it 00028 returns an empty list. 00029 */ 00030 #if PROTOTYPES 00031 #define PROTO_LIST(list) list 00032 #else 00033 #define PROTO_LIST(list) () 00034 #endif 00035 00036 #endif