Bump to libzio 1.02
[platform/upstream/libzio.git] / zio.h.in
1 /*
2  * zio.h        Provide an streamable interface to gziped/bzip2ed/LZW/LZMA files
3  *
4  * Copyright 2004 Werner Fink, 2004 SuSE LINUX AG, Germany.
5  * Copyright 2013 Werner Fink, 2013 SuSE LINUX AG, Germany.
6  *
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. 
10  *
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.
15  *
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.
19  *
20  * Author:      Werner Fink <werner@suse.de>
21  */
22
23 #ifndef _ZIO_H
24 #define _ZIO_H
25
26 #include <stdio.h>
27 #define ZIO_VERSION @@VERSION@@
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 /*
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').
34  */
35 extern FILE *fzopen __P((__const char *__restrict, __const char *__restrict));
36 extern FILE *fdzopen __P((int, __const char *__restrict mode, __const char *__restrict));
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif /* _ZIO_H */