Main Page | Class List | Directories | File List | Class Members | File Members

lzw.c File Reference

#include <config.h>
#include "tailor.h"
#include "gzip.h"
#include "lzw.h"

Go to the source code of this file.

Functions

int lzw (int in, int out)

Variables

static int msg_done = 0


Function Documentation

int lzw int  in,
int  out
 

Definition at line 17 of file lzw.c.

References ERROR, exit_code, and msg_done.

Referenced by main().

00019 {
00020     if (msg_done) return ERROR;
00021     msg_done = 1;
00022     fprintf(stderr,"output in compress .Z format not supported\n");
00023     if (in != out) { /* avoid warnings on unused variables */
00024         exit_code = ERROR;
00025     }
00026     return ERROR;
00027 }


Variable Documentation

int msg_done = 0 [static]
 

Definition at line 14 of file lzw.c.

Referenced by lzw().


© sourcejam.com 2005-2008