home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume20 / rc / part04 / rc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-22  |  603 b   |  33 lines

  1. #include "stddef.h"
  2. #include "stdlib.h"
  3. #include "string.h"
  4. #include "unistd.h"
  5.  
  6. #include "node.h"
  7.  
  8. /* braindamaged IBM header files #define true and false */
  9. #undef FALSE
  10. #undef TRUE
  11.  
  12. enum bool { FALSE, TRUE };
  13.  
  14. typedef enum bool boolean;
  15. typedef struct Rq Rq;
  16. typedef struct Block Block;
  17. typedef struct List List;
  18.  
  19. struct List {
  20.     char *w;
  21.     char *m;
  22.     List *n;
  23. };
  24.  
  25. extern char *prompt, *prompt2;
  26. extern Rq *redirq;
  27. extern boolean dashdee, dashee, dashvee, dashex, dashell, dasheye, interactive;
  28. extern int rc_pid;
  29. extern int lineno;
  30. extern List *fifoq;
  31.  
  32. #define arraysize(a) ((int)sizeof(a)/sizeof(*a))
  33.