K2.6 patches and update.
[tomato.git] / release / src-rt / wl / nas / global.h
blob10dfd2ea2a72826b706359957b6eb6b512e3951a
1 /* GLOBAL.H - RSAREF types and constants
2 */
4 /* Copyright (C) RSA Laboratories, a division of RSA Data Security,
5 Inc., created 1991. All rights reserved.
6 */
8 #ifndef _GLOBAL_H_
9 #define _GLOBAL_H_ 1
11 /* FILE-CSTYLED */
12 /* PROTOTYPES should be set to one if and only if the compiler supports
13 function argument prototyping.
14 The following makes PROTOTYPES default to 1 if it has not already been
15 defined as 0 with C compiler flags.
17 #ifndef PROTOTYPES
18 #define PROTOTYPES 1
19 #endif
21 /* POINTER defines a generic pointer type */
22 typedef unsigned char *POINTER;
24 /* UINT2 defines a two byte word */
25 typedef unsigned short int UINT2;
27 /* UINT4 defines a four byte word */
28 typedef unsigned long int UINT4;
30 #ifndef NULL_PTR
31 #define NULL_PTR ((POINTER)0)
32 #endif
34 #ifndef UNUSED_ARG
35 #define UNUSED_ARG(x) x = *(&x);
36 #endif
38 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
39 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
40 returns an empty list.
42 #if PROTOTYPES
43 #define PROTO_LIST(list) list
44 #else
45 #define PROTO_LIST(list) ()
46 #endif
48 #endif /* end _GLOBAL_H_ */