/* * Author: * Guido Draheim * * 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 #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