1 /* GLOBAL.H - RSAREF types and constants */
3 /* Copyright (C) RSA Laboratories, a division of RSA Data Security,
4 Inc., created 1991. All rights reserved.
8 * Note: the modifications are necessary for little-endian machines
10 #include "ntp_types.h" /* local modification */
15 /* PROTOTYPES should be set to one if and only if the compiler supports
16 function argument prototyping.
17 The following makes PROTOTYPES default to 1 if it has not already been
18 defined as 0 with C compiler flags.
20 #ifdef HAVE_PROTOTYPES
24 /* POINTER defines a generic pointer type */
25 typedef unsigned char *POINTER;
27 /* UINT2 defines a two byte word */
28 typedef unsigned short int UINT2;
30 /* UINT4 defines a four byte word */
31 typedef u_int32 UINT4; /* local modification */
33 /* BYTE defines a unsigned character */
34 typedef unsigned char BYTE; /* local modification for RSAEuro */
37 #define NULL_PTR ((POINTER)0)
41 #define UNUSED_ARG(x) x = *(&x);
44 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
45 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
46 returns an empty list.
49 #define PROTO_LIST(list) list
51 #define PROTO_LIST(list) ()
54 #endif /* end _GLOBAL_H_ */