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