beta-0.89.2
[luatex.git] / source / libs / zziplib / zziplib-0.13.62 / zzip / zzip32.h
blob04802507c174ba3dbe09ab0a27434904fefeef65
1 /*
2 * Author:
3 * Guido Draheim <guidod@gmx.de>
5 * Copyright (c) 2010 Guido Draheim
6 * All rights reserved,
7 * usage allowed under the restrictions of the
8 * Lesser GNU General Public License
9 * or alternatively the restrictions
10 * of the Mozilla Public License 1.1
12 * The compat32 headers is targeted towards those poor souls who can
13 * not compile their application or library with _LARGEFILE_SOURCE but
14 * they may still need to access a libzzip compiled in largefile mode.
15 * In that case they can change back to calling these suffix32 functions
16 * which are ensured to use "long" as the parameter type - just as it used
17 * to be before off_t was defined as an alias for it.
20 #ifndef _ZZIP_ZZIP32_H
21 #define _ZZIP_ZZIP32_H
23 #include <zzip/lib.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
30 * Scanning files in zip archive.
31 * Implemented in zzip/dir.c
33 _zzip_export
34 long zzip_telldir32(ZZIP_DIR * dir);
35 _zzip_export
36 void zzip_seekdir32(ZZIP_DIR * dir, long offset);
39 * seek and tell functions.
40 * Implemented in zzip/file.c
42 _zzip_export
43 long zzip_seek32(ZZIP_FILE * fp, long offset, int whence);
44 _zzip_export
45 long zzip_tell32(ZZIP_FILE * fp);
47 #ifdef __cplusplus
49 #endif
51 #endif