Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

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