Debian Codegraph @

libs/zziplib/zziplib-src/zzip/info.h

raw
1 /*
2 * Author:
3 * Guido Draheim <[email protected]>
4 *
5 * Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
6 */
7
8 #ifdef ZZIP_USE_INTERNAL
9 /* do not make these public, they are for internal use only */
10
11 #define ZZIP_error(__dir) __dir->errcode
12 #define ZZIP_seterror(__dir, __code) __dir->errcode = __code
13 #define ZZIP_dirhandle(__fp) __fp->dir
14 #define ZZIP_dirfd(__dir) __dir->fd
15 #define ZZIP_dir_real(__dir) __dir->realdir != 0
16 #define ZZIP_file_real(__fp) __fp->dir == 0
17 #define ZZIP_realdir(__dir) __dir->realdir
18 #define ZZIP_reafd(__fp) __fp->fd
19
20 #endif