/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:stddefs.h 12.0$ */
/* $ACIS:stddefs.h 12.0$ */
/* $Source: /ibm/acis/usr/src/ibm/fdb_ca/lib/h/RCS/stddefs.h,v $ */

#if !defined(lint) && !defined(LOCORE)  && defined(RCS_HDRS)
static char *rcsidstddefs = "$Header:stddefs.h 12.0$";
#endif

/*
 * stddefs.h - Standard definitions, constants, and types.
 */

/* the following prevents duplicate definitions */
#ifndef _STDdefs
#define _STDdefs

/* machine parameters */
#define MaxShort	0x3fff
#define MinShort	0x8000
#define MaxInt		0x3fffffff
#define MinInt		0x80000000
#define MaxLong 	0x3fffffff
#define MinLong 	0x80000000
#define MaxByte 	0xff
#define MaxSNatural	0xffff
#define MaxNatural	0xffffffff
#define MaxLNatural	0xffffffff

/*-------------------------Standard types---------------------------------*/

/*--------------------------unsigned types--------------------------------*/
typedef unsigned char byte;
typedef unsigned short int snatural;
typedef unsigned int natural;
typedef unsigned long int lnatural;

/*-----------------------character and strings----------------------------*/
typedef int character;	  /* character variables that might include EOF */
typedef char *string;		  /* a zero terminated char string */
typedef byte *bstring;		  /* a zero terminated byte string */

/*---------------------Standard constants---------------------------------*/
#define Null 0
#define True 1
#define False 0
/*----------------------comments for parameters---------------------------*/
#define in
#define out
#define inout
#endif _STDdefs
