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