/***********************************************************************1* *2* This software is part of the zlib package *3* Copyright (c) 1995-1998 Jean-loup Gailly and Mark Adler *4* *5* This software is provided 'as-is', without any express or implied *6* warranty. In no event will the authors be held liable for any *7* damages arising from the use of this software. *8* *9* Permission is granted to anyone to use this software for any *10* purpose, including commercial applications, and to alter it and *11* redistribute it freely, subject to the following restrictions: *12* *13* 1. The origin of this software must not be misrepresented; *14* you must not claim that you wrote the original software. If *15* you use this software in a product, an acknowledgment in the *16* product documentation would be appreciated but is not *17* required. *18* *19* 2. Altered source versions must be plainly marked as such, *20* and must not be misrepresented as being the original *21* software. *22* *23* 3. This notice may not be removed or altered from any source *24* distribution. *25* *26* This software is provided "as-is", without any express or implied *27* warranty. In no event will the authors be held liable for any damages*28* arising from the use of this software. *29* *30* Permission is granted to anyone to use this software for any purpose,*31* including commercial applications, and to alter it and redistribute i*32* freely, subject to the following restrictions: *33* *34* 1. The origin of this software must not be misrepresented; you must n*35* claim that you wrote the original software. If you use this softwa*36* in a product, an acknowledgment in the product documentation would*37* be appreciated but is not required. *38* *39* 2. Altered source versions must be plainly marked as such, and must n*40* be misrepresented as being the original software. *41* *42* 3. This notice may not be removed or altered from any source *43* distribution. *44* *45* Jean-loup Gailly *46* Mark Adler *47* *48***********************************************************************/49#pragma prototyped5051/*52* sfio gzip discipline interface53*/5455#ifndef _SFDCGZIP_H56#define _SFDCGZIP_H5758#include <sfdisc.h>5960#define SFGZ_VERIFY 0x001061#define SFGZ_NOCRC 0x00206263#define SFGZ_HANDLE SFDCEVENT('G','Z',1)64#define SFGZ_GETPOS SFDCEVENT('G','Z',2)65#define SFGZ_SETPOS SFDCEVENT('G','Z',3)6667#if _BLD_z && defined(__EXPORT__)68#define extern __EXPORT__69#endif7071extern int sfdcgzip(Sfio_t*, int);72extern int sfdclzw(Sfio_t*, int);7374#undef extern7576#endif777879