X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=common%2Fzlib.h;h=01d1a5dd210b9c6b51db85751d6caa33d4f5d9cc;hp=5896d9015e3db8cdbce49929a49538ca63084303;hb=9ad11d4b9e99a8f338080897e30e62608e2bdbba;hpb=d52dafe297c89f1247bbfee1061baeb3b2b301fd diff --git a/common/zlib.h b/common/zlib.h index 5896d90..01d1a5d 100644 --- a/common/zlib.h +++ b/common/zlib.h @@ -1,4 +1,4 @@ -/* $Id: zlib.h,v 1.2 1996/04/04 02:43:58 paulus Exp $ */ +/* $Id: zlib.h,v 1.5 1997/04/30 05:41:20 paulus Exp $ */ /* * This file is derived from zlib.h and zconf.h from the zlib-0.95 @@ -7,6 +7,13 @@ * decompression for PPP packets. */ +/* + * ==FILEVERSION 970421== + * + * This marker is used by the Linux installation script to determine + * whether an up-to-date version of this file is already installed. + */ + /* zlib.h -- interface of the 'zlib' general purpose compression library version 0.95, Aug 16th, 1995. @@ -169,6 +176,7 @@ typedef struct z_stream_s { struct internal_state FAR *state; /* not visible by applications */ alloc_func zalloc; /* used to allocate the internal state */ + alloc_func zalloc_init; /* used to allocate the internal state during initialization */ free_func zfree; /* used to free the internal state */ voidp opaque; /* private data object passed to zalloc and zfree */ @@ -370,6 +378,10 @@ extern int inflateInit OF((z_stream *strm)); */ +#if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL)) +#define inflate inflate_ppp /* FreeBSD already has an inflate :-( */ +#endif + extern int inflate OF((z_stream *strm, int flush)); /* Performs one or both of the following actions: