2 * this is an internal header file - the structure contains two off_t
3 * atleast making it LARGEFILE_SENSITIVE on linux2 and solaris systems
4 * whereas about all functions just return a ZZIP_FILE* in zzip/zzip.h
6 * and so, this structure should be handled version-specific and
7 * subject to change - it had been kept binary-compatible for quite
8 * a while now so perhaps some program sources have errnously taken
9 * advantage of this file.
12 * Guido Draheim <guidod@gmx.de>
13 * Tomi Ollila <Tomi.Ollila@tfi.net>
15 * Copyright (c) 1999,2000,2001,2002 Guido Draheim
16 * All rights reserved,
17 * use under the restrictions of the
18 * Lesser GNU General Public License
19 * or alternatively the restrictions
20 * of the Mozilla Public License 1.1
23 #ifndef _ZZIP_FILE_H /* zzip-file.h */
24 #define _ZZIP_FILE_H 1
28 /* include zzip/lib.h beforehand in order to suppress the following warning */
29 #warning zzip/file.h is an internal header, do not use it freely
36 #ifdef ZZIP_HAVE_UNISTD_H
40 # ifdef ZZIP_HAVE_SYS_TYPES_H
41 # include <sys/types.h>
45 #ifdef ZZIP_HAVE_SYS_PARAM_H
46 #include <sys/param.h> /* PATH_MAX */
50 # ifdef MAX_PATH /* windows */
51 # define PATH_MAX MAX_PATH
57 * ZZIP_FILE structure... currently no need to unionize, since structure needed
58 * for inflate is superset of structure needed for unstore.
60 * Don't make this public. Instead, create methods for needed operations.
72 /* added dataoffset member - data offset from start of zipfile*/
73 zzip_off_t dataoffset
;
75 zzip_off_t offset
; /* offset from the start of zipfile... */
80 #endif /* _ZZIP_FILE_H */