Annotation of rsaref/source/global.h, revision 1.1.1.1

1.1       root        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 */
                     20: typedef unsigned char *POINTER;
                     21: 
                     22: /* UINT2 defines a two byte word */
                     23: typedef unsigned short int UINT2;
                     24: 
                     25: /* UINT4 defines a four byte word */
                     26: typedef 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_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.