2013-09-19 01:55:06 -04:00
|
|
|
#ifndef __RETCODE_H__
|
|
|
|
#define __RETCODE_H__
|
|
|
|
|
|
|
|
#ifdef FALSE
|
2016-05-19 02:02:43 -04:00
|
|
|
#error "FALSE shouldn't be defined"
|
2013-09-19 01:55:06 -04:00
|
|
|
#undef FALSE
|
|
|
|
#endif
|
|
|
|
#ifdef TRUE
|
2016-05-19 02:02:43 -04:00
|
|
|
#error "TRUE shouldn't be defined"
|
2013-09-19 01:55:06 -04:00
|
|
|
#undef TRUE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef enum {
|
2016-05-19 02:02:43 -04:00
|
|
|
FALSE, /* 0, false, no, bad, etc. */
|
|
|
|
TRUE /* 1, true, yes, good, etc. */
|
2013-09-19 01:55:06 -04:00
|
|
|
} boolean ;
|
|
|
|
|
2016-05-19 02:02:43 -04:00
|
|
|
#define ABORT 2 /* 2, death, ^G, abort, etc. */
|
2013-09-19 01:55:06 -04:00
|
|
|
|
|
|
|
#endif
|