]> andersk Git - moira.git/blame - util/rsaref/global.h
Command line printer manipulation client, and build goo.
[moira.git] / util / rsaref / global.h
CommitLineData
bd940221 1/* GLOBAL.H - RSAREF types and constants
2
3/* Copyright (C) RSA Laboratories, a division of RSA Data Security,
4 Inc., created 1991. All rights reserved.
5 */
6
7#ifndef _GLOBAL_H_
8#define _GLOBAL_H_ 1
9
10/* PROTOTYPES should be set to one if and only if the compiler supports
11 function argument prototyping.
12 The following makes PROTOTYPES default to 1 if it has not already been
13 defined as 0 with C compiler flags.
14 */
15#ifndef PROTOTYPES
16#define PROTOTYPES 1
17#endif
18
19/* POINTER defines a generic pointer type */
20typedef unsigned char *POINTER;
21
22/* UINT2 defines a two byte word */
23typedef unsigned short int UINT2;
24
25/* UINT4 defines a four byte word */
26typedef unsigned long int UINT4;
27
28#ifndef NULL_PTR
29#define NULL_PTR ((POINTER)0)
30#endif
31
32#ifndef UNUSED_ARG
33#define UNUSED_ARG(x) x = *(&x);
34#endif
35
36/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
37 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
38 returns an empty list.
39 */
40#if PROTOTYPES
41#define PROTO_LIST(list) list
42#else
43#define PROTO_LIST(list) ()
44#endif
45
46#endif /* end _GLOBAL_H_ */
This page took 0.250913 seconds and 5 git commands to generate.