OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
gzio.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Armin Burgmeier
3  */
4 
5 #ifndef C4_GZIO_H
6 #define C4_GZIO_H
7 
8 #include <zlib.h>
9 
10 extern "C"
11 {
12 
13 gzFile ZEXPORT c4_gzopen (const char* path, const char* mode);
14 gzFile ZEXPORT c4_gzdopen (int fd, const char* mode);
15 int ZEXPORT c4_gzsetparams (gzFile file, int level, int strategy);
16 int ZEXPORT c4_gzread (gzFile file, voidp buf, unsigned len);
17 int ZEXPORT c4_gzgetc(gzFile file);
18 int ZEXPORT c4_gzungetc(int c, gzFile file);
19 char * ZEXPORT c4_gzgets(gzFile file, char* buf, int len);
20 int ZEXPORT c4_gzwrite (gzFile file, voidpc buf, unsigned len);
21 int ZEXPORTVA c4_gzprintf (gzFile file, const char *format, /* args */ ...);
22 int ZEXPORT c4_gzputc(gzFile file, int c);
23 int ZEXPORT c4_gzputs(gzFile file, const char* s);
24 int ZEXPORT c4_gzflush (gzFile file, int flush);
25 z_off_t ZEXPORT c4_gzseek (gzFile file, z_off_t offset, int whence);
26 int ZEXPORT c4_gzrewind (gzFile file);
27 z_off_t ZEXPORT c4_gztell (gzFile file);
28 int ZEXPORT c4_gzeof (gzFile file);
29 int ZEXPORT c4_gzdirect (gzFile file);
30 int ZEXPORT c4_gzclose (gzFile file);
31 void ZEXPORT c4_gzclearerr (gzFile file);
32 
33 }
34 
35 #endif // C4_GZIO_H
int ZEXPORT c4_gzrewind(gzFile file)
Definition: gzio.c:868
int ZEXPORT c4_gzsetparams(gzFile file, int level, int strategy)
Definition: gzio.c:243
int ZEXPORT c4_gzungetc(int c, gzFile file)
Definition: gzio.c:526
int ZEXPORTVA c4_gzprintf(gzFile file, const char *format,...)
int ZEXPORT c4_gzclose(gzFile file)
Definition: gzio.c:964
z_off_t ZEXPORT c4_gztell(gzFile file)
Definition: gzio.c:892
int ZEXPORT c4_gzdirect(gzFile file)
Definition: gzio.c:919
gzFile ZEXPORT c4_gzdopen(int fd, const char *mode)
Definition: gzio.c:228
void ZEXPORT c4_gzclearerr(gzFile file)
Definition: gzio.c:1030
int ZEXPORT c4_gzread(gzFile file, voidp buf, unsigned len)
Definition: gzio.c:405
z_off_t ZEXPORT c4_gzseek(gzFile file, z_off_t offset, int whence)
Definition: gzio.c:778
int ZEXPORT c4_gzwrite(gzFile file, voidpc buf, unsigned len)
Definition: gzio.c:570
gzFile ZEXPORT c4_gzopen(const char *path, const char *mode)
int ZEXPORT c4_gzputs(gzFile file, const char *s)
Definition: gzio.c:704
int ZEXPORT c4_gzeof(gzFile file)
Definition: gzio.c:902
char *ZEXPORT c4_gzgets(gzFile file, char *buf, int len)
Definition: gzio.c:551
int ZEXPORT c4_gzgetc(gzFile file)
Definition: gzio.c:514
int ZEXPORT c4_gzflush(gzFile file, int flush)
Definition: gzio.c:757
#define s
int ZEXPORT c4_gzputc(gzFile file, int c)
Definition: gzio.c:689