| 1 |
|
| 2 |
/* GLOBAL.H - RSAREF types and constants |
| 3 |
*/ |
| 4 |
|
| 5 |
/* PROTOTYPES should be set to one if and only if the compiler supports |
| 6 |
function argument prototyping. |
| 7 |
The following makes PROTOTYPES default to 0 if it has not already |
| 8 |
been defined with C compiler flags. |
| 9 |
*/ |
| 10 |
#ifndef PROTOTYPES |
| 11 |
#define PROTOTYPES 1 |
| 12 |
#endif |
| 13 |
|
| 14 |
/* POINTER defines a generic pointer type */ |
| 15 |
typedef unsigned char *POINTER; |
| 16 |
|
| 17 |
/* UINT2 defines a two byte word */ |
| 18 |
typedef unsigned short int UINT2; |
| 19 |
|
| 20 |
/* UINT4 defines a four byte word */ |
| 21 |
typedef unsigned long int UINT4; |
| 22 |
|
| 23 |
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above. |
| 24 |
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it |
| 25 |
returns an empty list. |
| 26 |
*/ |
| 27 |
#if PROTOTYPES |
| 28 |
#define PROTO_LIST(list) list |
| 29 |
#else |
| 30 |
#define PROTO_LIST(list) () |
| 31 |
#endif |