pike.git/src/modules/Image/lzw.h:1:
- /* $Id: lzw.h,v 1.1 1997/02/11 08:35:44 hubbe Exp $ */
+ /* $Id: lzw.h,v 1.2 1997/05/14 00:40:58 per 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
pike.git/src/modules/Image/lzw.h:25: Inside #if undefined(GIF_LZW)
#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);
+ void lzw_write_last(struct lzw *lzw);
unsigned long lzw_unpack(unsigned char *dest,unsigned long destlen,
unsigned char *src,unsigned long srclen,
int bits);