Branch: Tag:

1997-02-11

1997-02-11 08:40:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

files moved for new module system

Rev: src/modules/Gz/.cvsignore:1.1
Rev: src/modules/Gz/Makefile.in:1.1
Rev: src/modules/Gz/configure.in:1.1
Rev: src/modules/Gz/doc/gz_deflate:1.1
Rev: src/modules/Gz/doc/gz_inflate:1.1
Rev: src/modules/Gz/testsuite.in:1.1
Rev: src/modules/Gz/zlib_machine.h.in:1.1
Rev: src/modules/Gz/zlibmod.c:1.1
Rev: src/modules/Image/.cvsignore:1.1
Rev: src/modules/Image/Makefile.in:1.1
Rev: src/modules/Image/blit.c:1.1
Rev: src/modules/Image/config.h.in:1.1
Rev: src/modules/Image/configure.in:1.1
Rev: src/modules/Image/dct.c:1.1
Rev: src/modules/Image/doc.txt:1.1
Rev: src/modules/Image/doc/image.html:1.1
Rev: src/modules/Image/font.c:1.1
Rev: src/modules/Image/image.c:1.1
Rev: src/modules/Image/image.h:1.1
Rev: src/modules/Image/lzw.c:1.1
Rev: src/modules/Image/lzw.h:1.1
Rev: src/modules/Image/matrix.c:1.1
Rev: src/modules/Image/operator.c:1.1
Rev: src/modules/Image/pattern.c:1.1
Rev: src/modules/Image/pnm.c:1.1
Rev: src/modules/Image/quant.c:1.1
Rev: src/modules/Image/testfont:1.1
Rev: src/modules/Image/testsuite.in:1.1
Rev: src/modules/Image/togif.c:1.1
Rev: src/modules/Mysql/.cvsignore:1.1
Rev: src/modules/Mysql/Makefile.in:1.1
Rev: src/modules/Mysql/acconfig.h:1.1
Rev: src/modules/Mysql/configure.in:1.1
Rev: src/modules/Mysql/doc/mysql:1.1
Rev: src/modules/Mysql/doc/mysql_result:1.1
Rev: src/modules/Mysql/mysql.c:1.1
Rev: src/modules/Mysql/precompiled_mysql.h:1.1
Rev: src/modules/Mysql/result.c:1.1
Rev: src/modules/Pipe/.cvsignore:1.1
Rev: src/modules/Pipe/Makefile.in:1.1
Rev: src/modules/Pipe/config.h.in:1.1
Rev: src/modules/Pipe/configure.in:1.1
Rev: src/modules/Pipe/pipe.c:1.1
Rev: src/modules/Pipe/testsuite.in:1.1
Rev: src/modules/Regexp/.cvsignore:1.1
Rev: src/modules/Regexp/Makefile.in:1.1
Rev: src/modules/Regexp/configure.in:1.1
Rev: src/modules/Regexp/doc/regexp:1.1
Rev: src/modules/Regexp/glue.c:1.1
Rev: src/modules/Regexp/pike_regexp.c:1.1
Rev: src/modules/Regexp/pike_regexp.h:1.1
Rev: src/modules/Regexp/testsuite.in:1.1
Rev: src/modules/Ssleay/.cvsignore:1.1
Rev: src/modules/Ssleay/Makefile.in:1.1
Rev: src/modules/Ssleay/configure.in:1.1
Rev: src/modules/Ssleay/ssleay.c:1.1
Rev: src/modules/call_out/call_out.c:1.7
Rev: src/modules/files/testsuite.in:1.4
Rev: src/modules/readline/.cvsignore:1.1
Rev: src/modules/readline/Makefile.in:1.1
Rev: src/modules/readline/configure.in:1.1
Rev: src/modules/readline/doc/readline:1.1
Rev: src/modules/readline/readline_machine.h.in:1.1
Rev: src/modules/readline/readlinemod.c:1.1
Rev: src/modules/readline/testsuite.in:1.1

1: + /* $Id: lzw.h,v 1.1 1997/02/11 08:35:44 hubbe Exp $ */    -  + #define GIF_LZW +  + #ifdef GIF_LZW + typedef unsigned short lzwcode_t; /* no more than 12 bits used */ + #else + typedef unsigned long lzwcode_t; + #endif +  + struct lzw + { +  unsigned long codes; +  unsigned long bits; /* initial encoding bits */ +  unsigned long codebits; /* current encoding bits */ +  unsigned long outlen,outpos,outbit; +  unsigned char *out,lastout; +  struct lzwc +  { +  unsigned char c; +  lzwcode_t firstchild; +  lzwcode_t next; +  } *code; +  lzwcode_t current,firstfree; + #ifndef GIF_LZW +  unsigned long alloced; + #endif + }; +  + #define LZWCNULL ((lzwcode_t)(~0)) +  + void lzw_add(struct lzw *lzw,int c); + void lzw_quit(struct lzw *lzw); + void lzw_init(struct lzw *lzw,int bits); + unsigned long lzw_unpack(unsigned char *dest,unsigned long destlen, +  unsigned char *src,unsigned long srclen, +  int bits); +  +  +    Newline at end of file added.