Pristine Ack-5.5
[Ack-5.5.git] / util / led / const.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: const.h,v 3.4 1996/11/21 10:14:24 ceriel Exp $ */
6
7 typedef int             bool;
8
9 #define FALSE           0
10 #define TRUE            1
11
12 #define WIDTH           8               /* Number of bits in a byte.    */
13 #define BYTEMASK        0xFF            /* Mask to get low order byte.  */
14
15 #define RFLAG           0x01            /* -r flag given.               */
16 #define SFLAG           0x02            /* -s flag given.               */
17 #define CFLAG           0x04            /* -c flag given.               */
18 #define NFLAG           0x08            /* -n flag given.               */
19
20 #define PLAIN           0               /* Input file is a normal file. */
21 #define ARCHIVE         1               /* Input file is an archive.    */
22
23 #define FIRST           1               /* Pass number.                 */
24 #define SECOND          2               /* Idem.                        */
25
26 #define BADOFF          ((ind_t)-1)