/src/zziplib/zzip/info.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 25 lines · 10 code · 3 blank · 12 comment · 2 complexity · 24b6368aea96a97c0edcfdefdfec0911 MD5 · raw file

  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. #ifdef ZZIP_USE_INTERNAL
  13. /* do not make these public, they are for internal use only */
  14. #define ZZIP_error(__dir) __dir->errcode
  15. #define ZZIP_seterror(__dir, __code) __dir->errcode = __code
  16. #define ZZIP_dirhandle(__fp) __fp->dir
  17. #define ZZIP_dirfd(__dir) __dir->fd
  18. #define ZZIP_dir_real(__dir) __dir->realdir != 0
  19. #define ZZIP_file_real(__fp) __fp->dir == 0
  20. #define ZZIP_realdir(__dir) __dir->realdir
  21. #define ZZIP_reafd(__fp) __fp->fd
  22. #endif