X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=common%2Fzlib.h;h=01d1a5dd210b9c6b51db85751d6caa33d4f5d9cc;hb=db9f704015acbaa6b320233da249b5faf26c5605;hp=9ce824fd8fcc19db12def2375b6e282669005b3a;hpb=5b7f8c26cdb0ae73278f68cbd47bcb225bfd5803;p=ppp.git diff --git a/common/zlib.h b/common/zlib.h index 9ce824f..01d1a5d 100644 --- a/common/zlib.h +++ b/common/zlib.h @@ -1,4 +1,4 @@ -/* $Id: zlib.h,v 1.3 1996/09/26 06:29:53 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 @@ -8,7 +8,7 @@ */ /* - * ==FILEVERSION 960122== + * ==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. @@ -176,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 */ @@ -377,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: