2 * zio.h Provide an streamable interface to gziped/bzip2ed/LZW/LZMA files
4 * Copyright 2004 Werner Fink, 2004 SuSE LINUX AG, Germany.
5 * Copyright 2013 Werner Fink, 2013 SuSE LINUX AG, Germany.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 * Author: Werner Fink <werner@suse.de>
27 #define ZIO_VERSION @@VERSION@@
32 * This function can open a gziped file for reading OR writing, but
33 * NOT both (not `+' possible) NOR can it open for appending (no `a').
35 extern FILE *fzopen __P((__const char *__restrict, __const char *__restrict));
36 extern FILE *fdzopen __P((int, __const char *__restrict mode, __const char *__restrict));