summaryrefslogtreecommitdiff
path: root/Build/source/libs/zziplib/zziplib-0.13.62/zzip/info.h
blob: 0ab6edab561cc9fa85b8aa2f32f4b39a04490672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Author: 
 *      Guido Draheim <guidod@gmx.de>
 *
 * Copyright (c) 2000,2001,2002,2003 Guido Draheim
 *          All rights reserved,
 *          use under the restrictions of the
 *          Lesser GNU General Public License
 *          or alternatively the restrictions 
 *          of the Mozilla Public License 1.1
 */

#ifdef ZZIP_USE_INTERNAL
/* do not make these public, they are for internal use only */

#define ZZIP_error(__dir) __dir->errcode
#define ZZIP_seterror(__dir, __code) __dir->errcode = __code
#define ZZIP_dirhandle(__fp) __fp->dir
#define ZZIP_dirfd(__dir) __dir->fd
#define ZZIP_dir_real(__dir) __dir->realdir != 0
#define ZZIP_file_real(__fp) __fp->dir == 0
#define ZZIP_realdir(__dir) __dir->realdir
#define ZZIP_reafd(__fp) __fp->fd

#endif