#include <sys/types.h>#include <fcntl.h>#include <stdlib.h>#include <unistd.h>Include dependency graph for decomp16.c:

Go to the source code of this file.
Defines | |
| #define | BUFSZ 1024 |
| #define | BUFSZ_2 (BUFSZ/2) |
| #define | DICTSZ (unsigned)13056 |
| #define | EOF_INDEX (unsigned short)0xFFFF |
| #define | FALSE 0 |
| #define | TRUE ~FALSE |
Functions | |
| _PROTOTYPE (int main,(int argc, char **argv)) | |
| _PROTOTYPE (void ffork,(void)) | |
| _PROTOTYPE (void die,(char *s)) | |
| _PROTOTYPE (void myputc,(unsigned c)) | |
| _PROTOTYPE (unsigned mygetc,(void)) | |
| _PROTOTYPE (void putpipe,(unsigned u, int flag)) | |
| int | main (int argc, char **argv) |
| void | ffork () |
| void | die (char *s) |
| void | myputc (unsigned c) |
| unsigned | mygetc () |
| void | getbits () |
| void | getpipe () |
| void | putpipe (unsigned u, int flag) |
Variables | |
| int | fdin |
| int | fdout |
| int | fderr |
| int | ibufstart |
| int | obufind |
| int | ibufend |
| int | ipbufind = BUFSZ_2 |
| int | opbufind = 0 |
| int | pnum = -1 |
| unsigned short | ipbuf [BUFSZ_2] |
| unsigned short | opbuf [BUFSZ_2] |
| unsigned char * | ibuf = (unsigned char *) ipbuf |
| unsigned char * | obuf = (unsigned char *) opbuf |
| unsigned short | dindex [DICTSZ] |
| unsigned short | dchar [DICTSZ] |
| unsigned | iindex |
| unsigned | tindex |
| unsigned | tindex2 |
| unsigned | base |
| unsigned | tbase |
| unsigned | locend |
| unsigned | curend = 256 |
| unsigned | maxend |
| int | dcharp |
| int | curbits |
| int | maxbits |
| int | clearflg |
| int | inmod |
|
|
Definition at line 82 of file decomp16.c. |
|
|
Definition at line 83 of file decomp16.c. |
|
|
Definition at line 84 of file decomp16.c. |
|
|
Definition at line 85 of file decomp16.c. |
|
|
Definition at line 86 of file decomp16.c. |
|
|
Definition at line 87 of file decomp16.c. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 298 of file decomp16.c. References EOF_INDEX, exit(), fderr, fdout, NULL, obuf, obufind, opbufind, putpipe(), and write. |
|
|
Definition at line 275 of file decomp16.c. |
|
|
Definition at line 359 of file decomp16.c. |
|
|
Definition at line 382 of file decomp16.c. References base, BUFSZ, BUFSZ_2, curend, die, dindex, EOF_INDEX, fdin, flags, iindex, ipbuf, ipbufind, n, NULL, putpipe(), read, and TRUE. |
|
||||||||||||
|
Definition at line 122 of file decomp16.c. |
|
|
Definition at line 340 of file decomp16.c. References BUFSZ, die, fdin, ibuf, ibufend, ibufstart, NULL, and read. Referenced by getbits(). |
|
|
Definition at line 324 of file decomp16.c. References BUFSZ, die, fdout, obuf, obufind, and write. Referenced by putpipe(). |
|
||||||||||||
|
Definition at line 417 of file decomp16.c. References BUFSZ, BUFSZ_2, die, fdout, flags, myputc(), n, opbuf, opbufind, and write. |
|
|
Definition at line 102 of file decomp16.c. |
|
|
Definition at line 110 of file decomp16.c. |
|
|
Definition at line 108 of file decomp16.c. Referenced by getbits(). |
|
|
Definition at line 105 of file decomp16.c. Referenced by getpipe(). |
|
|
Definition at line 100 of file decomp16.c. |
|
|
Definition at line 107 of file decomp16.c. |
|
|
Definition at line 99 of file decomp16.c. Referenced by getpipe(). |
|
|
Definition at line 89 of file decomp16.c. Referenced by die(). |
|
|
Definition at line 89 of file decomp16.c. |
|
|
Definition at line 89 of file decomp16.c. |
|
|
Definition at line 96 of file decomp16.c. |
|
|
Definition at line 90 of file decomp16.c. Referenced by mygetc(). |
|
|
Definition at line 90 of file decomp16.c. Referenced by mygetc(). |
|
|
Definition at line 101 of file decomp16.c. |
|
|
Definition at line 111 of file decomp16.c. Referenced by getbits(). |
|
|
Definition at line 94 of file decomp16.c. Referenced by getpipe(). |
|
|
Definition at line 91 of file decomp16.c. Referenced by getpipe(). |
|
|
Definition at line 104 of file decomp16.c. |
|
|
Definition at line 109 of file decomp16.c. |
|
|
Definition at line 106 of file decomp16.c. |
|
|
Definition at line 97 of file decomp16.c. |
|
|
Definition at line 90 of file decomp16.c. |
|
|
Definition at line 95 of file decomp16.c. Referenced by putpipe(). |
|
|
Definition at line 92 of file decomp16.c. |
|
|
Definition at line 93 of file decomp16.c. Referenced by main(). |
|
|
Definition at line 103 of file decomp16.c. |
|
|
Definition at line 101 of file decomp16.c. |
|
|
Definition at line 101 of file decomp16.c. |
1.4.6