/* GLOBAL.H - RSAREF types and constants

/* Copyright (C) RSA Laboratories, a division of RSA Data Security,
     Inc., created 1991. All rights reserved.
 */

#ifndef _GLOBAL_H_
#define _GLOBAL_H_ 1

#include <sys/types.h>
#include <sys/cdefs.h>

/* POINTER defines a generic pointer type */
typedef caddr_t POINTER;

/* UINT2 defines a two byte word */
typedef u_int16_t UINT2;

/* UINT4 defines a four byte word */
typedef u_int32_t UINT4;

#ifndef NULL_PTR
#define NULL_PTR ((POINTER)0)
#endif

#ifndef UNUSED_ARG
#define UNUSED_ARG(x) x = *(&x);
#endif

#define PROTO_LIST(x) __P(x)

#endif /* end _GLOBAL_H_ */
