/***********************************************************************1* *2* This software is part of the zlib package *3* Copyright (c) 1996-1999 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* Julian R Seward *46* *47***********************************************************************/48#pragma prototyped4950/*51* sfio bzip discipline interface52*/5354#ifndef _SFDCBZIP_H55#define _SFDCBZIP_H5657#include <sfdisc.h>5859#define SFBZ_VERIFY 0x00106061#define SFBZ_HANDLE SFDCEVENT('B','Z',1)62#define SFBZ_GETPOS SFDCEVENT('B','Z',2)63#define SFBZ_SETPOS SFDCEVENT('B','Z',3)6465#if _BLD_bz && defined(__EXPORT__)66#define extern __EXPORT__67#endif6869extern int sfdcbzip(Sfio_t*, int);7071#undef extern7273#endif747576