PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/src/zziplib/zzip/zzip32.h

https://bitbucket.org/cabalistic/ogredeps/
C++ Header | 51 lines | 18 code | 7 blank | 26 comment | 0 complexity | 5c97d8783ea8e9e9bcde26cd54435836 MD5 | raw file
 1/*
 2 * Author:
 3 *      Guido Draheim <guidod@gmx.de>
 4 *
 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
11 *
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.
18 */
19
20#ifndef _ZZIP_ZZIP32_H
21#define _ZZIP_ZZIP32_H
22
23#include <zzip/lib.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/*
30 * Scanning files in zip archive.
31 * Implemented in zzip/dir.c
32 */
33_zzip_export
34long zzip_telldir32(ZZIP_DIR * dir);
35_zzip_export
36void zzip_seekdir32(ZZIP_DIR * dir, long offset);
37
38/*
39 *  seek and tell functions.
40 *  Implemented in zzip/file.c
41 */
42_zzip_export
43long      zzip_seek32(ZZIP_FILE * fp, long offset, int whence);
44_zzip_export
45long      zzip_tell32(ZZIP_FILE * fp);
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif