3 * Guido Draheim <guidod@gmx.de>
5 * Copyright (c) 2000,2001,2002,2003 Guido Draheim
7 * use under the restrictions of the
8 * Lesser GNU General Public License
9 * or alternatively the restrictions
10 * of the Mozilla Public License 1.1
13 #ifdef ZZIP_USE_INTERNAL
14 /* do not make these public, they are for internal use only */
16 #define ZZIP_error(__dir) __dir->errcode
17 #define ZZIP_seterror(__dir, __code) __dir->errcode = __code
18 #define ZZIP_dirhandle(__fp) __fp->dir
19 #define ZZIP_dirfd(__dir) __dir->fd
20 #define ZZIP_dir_real(__dir) __dir->realdir != 0
21 #define ZZIP_file_real(__fp) __fp->dir == 0
22 #define ZZIP_realdir(__dir) __dir->realdir
23 #define ZZIP_reafd(__fp) __fp->fd