/*****************************************************************************/
/*									     */
/*				   ICCONST.H				     */
/*									     */
/* (C) 1997	Ullrich von Bassewitz					     */
/*		Wacholderweg 14						     */
/*		D-70597 Stuttgart					     */
/* EMail:	uz@ibb.schwaben.com					     */
/*									     */
/*****************************************************************************/



// $Id$
//
// $Log$
//
//



#ifndef _ICCONST_H
#define _ICCONST_H



/*****************************************************************************/
/*				     Data				     */
/*****************************************************************************/



/* Somes values for returning success and failure from functions. Use this
 * values instead of 0/1, -1/0 or similar. The values are designed to be
 * interchangeable, so you may use whatever fits best in the given context.
 * It is explicitly allowed to test a function result stated as SUCCESS/FAILURE
 * against OK, if this is more readable in the given situation.
 */
#define SUCCESS		1
#define FAILURE		0

#define TRUE		SUCCESS
#define FALSE		FAILURE

#define OK		SUCCESS
#define ERROR		FAILURE

#define YES		SUCCESS
#define NO		FAILURE



// End of ICCONST.H

#endif

