From: Guido Draheim Date: Fri, 12 Dec 2003 03:27:40 +0000 (+0000) Subject: This commit was generated by cvs2svn to compensate for changes in r126, X-Git-Tag: v0.13.36~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0143d05fde3b845754359e4f4b2adec50bd10b3b;p=zziplib This commit was generated by cvs2svn to compensate for changes in r126, which included commits to RCS files with non-trunk default branches. --- diff --git a/zzip/info.h b/zzip/info.h new file mode 100644 index 0000000..0ab6eda --- /dev/null +++ b/zzip/info.h @@ -0,0 +1,25 @@ +/* + * Author: + * Guido Draheim + * + * 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