]> granicus.if.org Git - zziplib/blob - zzip/info.h
remove msvc6 warnings about difference of signedness of pointer target types
[zziplib] / zzip / info.h
1 /*
2  * Author: 
3  *      Guido Draheim <guidod@gmx.de>
4  *
5  * Copyright (c) 2000,2001,2002,2003 Guido Draheim
6  *          All rights reserved,
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
11  */
12
13 #ifdef ZZIP_USE_INTERNAL
14 /* do not make these public, they are for internal use only */
15
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
24
25 #endif