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