head 4.4; access ; symbols ; locks oasisa:4.4; strict; comment @ * @; 4.4 date 2001.06.19.12.13.03; author oasisa; state Exp; branches ; next ; desc @New Repository; 6/19/2001 (klh) @ 4.4 log @New Repository; 6/19/2001 (klh) @ text @/************************************************************************/ /* Copyright 1991 MBARI */ /************************************************************************/ /* Summary : Include file of defined constants */ /* Filename : const.h */ /* Author : Andrew Pearce, Robert Herlien */ /* Project : OASIS Mooring */ /* $Revision: 1.1 $ */ /* Created : 02/06/91 */ /* */ /* MBARI provides this documentation and code "as is", with no warranty, */ /* express or implied, of its quality or consistency. It is provided without*/ /* support and without obligation on the part of the Monterey Bay Aquarium */ /* Research Institute to assist in its use, correction, modification, or */ /* enhancement. This information should not be published or distributed to */ /* third parties without specific written permission from MBARI. */ /* */ /************************************************************************/ /* Modification History: */ /* 06feb91 rah - created from Andy's const.h (rah) */ /************************************************************************/ #ifndef INCconsth #define INCconsth 1 #ifndef FALSE #define FALSE 0 #endif #ifndef TRUE #define TRUE ~FALSE #endif #define ON TRUE #define OFF FALSE #define OK 0 #define SUCCESS 0 #define ERROR -1 #define min(a,b) ((a) < (b) ? (a) : (b)) #define max(a,b) ((a) > (b) ? (a) : (b)) #define NAT16_MAX 0xffff #define INT16_MAX 32767 #define INT16_MIN (-32767) #endif /* INCconsth */ @