1995-01-31 06:29:58 +00:00
|
|
|
/*
|
|
|
|
* Written by Toshiharu OHNO (tony-o@iij.ad.jp)
|
|
|
|
*
|
|
|
|
* Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms are permitted
|
|
|
|
* provided that the above copyright notice and this paragraph are
|
|
|
|
* duplicated in all such forms and that any documentation,
|
|
|
|
* advertising materials, and other materials related to such
|
|
|
|
* distribution and use acknowledge that the software was developed
|
|
|
|
* by the Internet Initiative Japan. The name of the
|
|
|
|
* IIJ may not be used to endorse or promote products derived
|
|
|
|
* from this software without specific prior written permission.
|
|
|
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
|
|
|
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|
|
|
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
*
|
|
|
|
* $Id:$
|
|
|
|
*
|
|
|
|
* TODO:
|
|
|
|
*/
|
|
|
|
|
1995-02-26 12:18:08 +00:00
|
|
|
/*
|
|
|
|
* GLOBAL.H - RSAREF types and constants
|
|
|
|
*/
|
|
|
|
|
1995-01-31 06:29:58 +00:00
|
|
|
/* PROTOTYPES should be set to one if and only if the compiler supports
|
1995-02-26 12:18:08 +00:00
|
|
|
function argument prototyping.
|
|
|
|
The following makes PROTOTYPES default to 0 if it has not already
|
|
|
|
been defined with C compiler flags.
|
1995-01-31 06:29:58 +00:00
|
|
|
*/
|
|
|
|
#ifndef PROTOTYPES
|
|
|
|
#define PROTOTYPES 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* POINTER defines a generic pointer type */
|
|
|
|
typedef unsigned char *POINTER;
|
|
|
|
|
|
|
|
/* UINT2 defines a two byte word */
|
|
|
|
typedef unsigned short int UINT2;
|
|
|
|
|
|
|
|
/* UINT4 defines a four byte word */
|
|
|
|
typedef unsigned long int UINT4;
|
|
|
|
|
|
|
|
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
|
|
|
|
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
|
|
|
|
returns an empty list.
|
|
|
|
*/
|
|
|
|
#if PROTOTYPES
|
|
|
|
#define PROTO_LIST(list) list
|
|
|
|
#else
|
|
|
|
#define PROTO_LIST(list) ()
|
|
|
|
#endif
|