home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
packer
/
shar
/
unshar.h
< prev
next >
Wrap
Text File
|
1994-02-03
|
853b
|
49 lines
/*
* Unshar - extract files from shell archive
*
* Written by Warren Toomey. Nov, 1989.
* You may freely copy or give away this source as
* long as this notice remains intact.
*
* Definitions used by unshar
*/
/* Methods of unsharing */
#define UNKNOWN 0
#define BRUTAL 1
/* Whitespace indicators */
#define WHITE 0
#define NOWHITE 1
/* Leading character indicators */
#define NOX 0
#define YESX 1
/* Emulation types available */
#define NUMTOKS 4 /* Must change NUMTOKS to equal the */
/* define UNKNOWN 0 */ /* number of emulation types */
#define SED 1
#define GRES 2
#define CAT 3
static char *token[NUMTOKS] = /* The list of emulation types! */
{ "",
"sed",
"gres",
"cat"
};
/* Misc. constants */
#define BUFSIZE 256 /* Size of line buffer */