izqdos.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. Copyright (c) 1990-2000 Info-ZIP. All rights reserved.
  3. See the accompanying file LICENSE, version 2000-Apr-09 or later
  4. (the contents of which are also included in unzip.h) for terms of use.
  5. If, for some reason, all these files are missing, the Info-ZIP license
  6. also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
  7. */
  8. #ifndef _IZQDOS_H
  9. #define _IZQDOS_H
  10. #include <qdos.h>
  11. typedef struct
  12. {
  13. unsigned short shortid;
  14. struct
  15. {
  16. unsigned char lo;
  17. unsigned char hi;
  18. } len;
  19. char longid[8];
  20. struct qdirect header;
  21. } qdosextra;
  22. typedef struct
  23. {
  24. unsigned short shortid;
  25. struct
  26. {
  27. unsigned char lo;
  28. unsigned char hi;
  29. } len;
  30. char longid[4];
  31. struct qdirect header;
  32. } jbextra;
  33. #define SHORTID 0x4afb
  34. #define JBSHORTID 0x4afb
  35. #define LONGID "QDOS02"
  36. #define JBLONGID "QZHD"
  37. #define EXTRALEN (sizeof(qdosextra) - 2 * sizeof(char) - sizeof(short))
  38. #define JBEXTRALEN (sizeof(jbextra) - 2 * sizeof(char) - sizeof(short))
  39. extern short qlflag;
  40. extern short qlwait;
  41. #endif