|
|
1.1 root 1: /* GLOBAL.H - RSAREF types and constants
2: */
3:
1.1.1.2 ! root 4: /****************************************************************
! 5: NOTE:
! 6: This copy has been modified for compilation on DEC OSF/1 on Alpha
! 7: AXP. See the definition of UINT4 below.
! 8: John Kohl, <[email protected]>, 1994/June/16
! 9: ****************************************************************/
1.1 root 10: /* Copyright (C) 1991-2 RSA Laboratories, a division of RSA Data
11: Security, Inc. All rights reserved.
12: */
13:
14: /* PROTOTYPES should be set to one if and only if the compiler supports
15: function argument prototyping.
16: The following makes PROTOTYPES default to 0 if it has not already been
17: defined with C compiler flags.
18: */
19: #ifndef PROTOTYPES
20: #define PROTOTYPES 0
21: #endif
22:
23: /* POINTER defines a generic pointer type */
24: typedef unsigned char *POINTER;
25:
26: /* UINT2 defines a two byte word */
27: typedef unsigned short int UINT2;
28:
29: /* UINT4 defines a four byte word */
1.1.1.2 ! root 30: #ifdef __alpha
! 31: typedef unsigned int UINT4;
! 32: #else
1.1 root 33: typedef unsigned long int UINT4;
1.1.1.2 ! root 34: #endif
1.1 root 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:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.