home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SATAN11.ZIP / SRC / MISC / GLOBAL.H next >
Encoding:
C/C++ Source or Header  |  1995-02-14  |  871 b   |  35 lines

  1. /* GLOBAL.H - RSAREF types and constants
  2.  */
  3.  
  4. /* PROTOTYPES should be set to one if and only if the compiler supports
  5.   function argument prototyping.
  6. The following makes PROTOTYPES default to 0 if it has not already
  7.   been defined with C compiler flags.
  8.  */
  9. #ifndef PROTOTYPES
  10. #define PROTOTYPES 0
  11. #endif
  12.  
  13. /* POINTER defines a generic pointer type */
  14. typedef unsigned char *POINTER;
  15.  
  16. /* UINT2 defines a two byte word */
  17. typedef unsigned short int UINT2;
  18.  
  19. /* UINT4 defines a four byte word */
  20. #ifdef __alpha
  21. typedef unsigned int UINT4;
  22. #else
  23. typedef unsigned long int UINT4;
  24. #endif
  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.