diff options
Diffstat (limited to 'Build/source/libs/zziplib/zziplib-0.13.59/zzip/zzip32.h')
-rw-r--r-- | Build/source/libs/zziplib/zziplib-0.13.59/zzip/zzip32.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Build/source/libs/zziplib/zziplib-0.13.59/zzip/zzip32.h b/Build/source/libs/zziplib/zziplib-0.13.59/zzip/zzip32.h new file mode 100644 index 00000000000..04802507c17 --- /dev/null +++ b/Build/source/libs/zziplib/zziplib-0.13.59/zzip/zzip32.h @@ -0,0 +1,51 @@ +/* + * Author: + * Guido Draheim <guidod@gmx.de> + * + * Copyright (c) 2010 Guido Draheim + * All rights reserved, + * usage allowed under the restrictions of the + * Lesser GNU General Public License + * or alternatively the restrictions + * of the Mozilla Public License 1.1 + * + * The compat32 headers is targeted towards those poor souls who can + * not compile their application or library with _LARGEFILE_SOURCE but + * they may still need to access a libzzip compiled in largefile mode. + * In that case they can change back to calling these suffix32 functions + * which are ensured to use "long" as the parameter type - just as it used + * to be before off_t was defined as an alias for it. + */ + +#ifndef _ZZIP_ZZIP32_H +#define _ZZIP_ZZIP32_H + +#include <zzip/lib.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Scanning files in zip archive. + * Implemented in zzip/dir.c + */ +_zzip_export +long zzip_telldir32(ZZIP_DIR * dir); +_zzip_export +void zzip_seekdir32(ZZIP_DIR * dir, long offset); + +/* + * seek and tell functions. + * Implemented in zzip/file.c + */ +_zzip_export +long zzip_seek32(ZZIP_FILE * fp, long offset, int whence); +_zzip_export +long zzip_tell32(ZZIP_FILE * fp); + +#ifdef __cplusplus +} +#endif + +#endif |