home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / unshar.zoo / unshar.h < prev   
Text File  |  1989-12-21  |  853b  |  49 lines

  1. /*
  2.  * Unshar - extract files from shell archive
  3.  *
  4.  * Written by Warren Toomey. Nov, 1989.
  5.  * You may freely copy or give away this source as
  6.  * long as this notice remains intact.
  7.  *
  8.  * Definitions used by unshar
  9.  */
  10.  
  11.     /* Methods of unsharing */
  12.  
  13. #define UNKNOWN    0
  14. #define BRUTAL    1
  15.  
  16.  
  17.     /* Whitespace indicators */
  18.  
  19. #define WHITE    0
  20. #define NOWHITE 1
  21.  
  22.  
  23.     /* Leading character indicators */
  24.  
  25. #define NOX    0
  26. #define YESX    1
  27.  
  28.  
  29.     /* Emulation types available */
  30.  
  31. #define NUMTOKS    4        /* Must change NUMTOKS to equal the */
  32. /* define UNKNOWN  0 */        /* number of emulation types */
  33. #define SED       1
  34. #define GRES        2
  35. #define CAT       3
  36.  
  37. static char *token[NUMTOKS] =    /* The list of emulation types! */
  38.     { "",
  39.       "sed",
  40.       "gres",
  41.       "cat"
  42.     };
  43.  
  44.  
  45.  
  46.     /* Misc. constants */
  47.  
  48. #define BUFSIZE    256        /* Size of line buffer */
  49.