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