home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / MIDICOM.LZH / MC_UTILS / MC_XFS / MCXFS.H < prev    next >
C/C++ Source or Header  |  1993-06-07  |  3KB  |  142 lines

  1. /* header file for dealing with the cookie jar */
  2.  
  3. #ifndef _COOKIE_H
  4. #define _COOKIE_H
  5.  
  6. union clong {
  7.     char    aschar[4];
  8.     long    aslong;
  9. };
  10.  
  11. struct cookie {
  12.     union clong tag;
  13.     long value;
  14. };
  15.  
  16. typedef struct cookie COOKIE;
  17.  
  18. #define CJAR    ((COOKIE **) 0x5a0L)
  19.  
  20. #endif /* _COOKIE_H */
  21.  
  22. typedef struct
  23. {
  24.     unsigned long   b_free;
  25.     unsigned long   b_total;
  26.     unsigned long   b_secsiz;
  27.     unsigned long   b_clsiz;
  28. } DISKINFO;
  29.  
  30. #define diskinfo DISKINFO
  31.  
  32. typedef struct BASEPAGE
  33. {
  34.    long            p_lowtpa;
  35.    long            p_hitpa ;
  36.    long            p_tbase ;
  37.    long            p_tlen  ;
  38.    long            p_dbase ;
  39.    long            p_dlen  ;
  40.    long            p_bbase ;
  41.    long            p_blen  ;
  42.    long            p_dta   ;
  43.    long            p_parent;
  44.    int                 p_env[3];
  45.    int                 fill[105];
  46. }basepage;
  47.  
  48.  
  49. typedef   struct F78
  50.             {
  51.              char     *PFAD;
  52.              int      ATTR;
  53.              DTA    *dta;
  54.              } f78;
  55. typedef  struct F75
  56.             {
  57.               char  *expfad;
  58.               basepage *bpage;
  59.             }f75;
  60.  
  61. typedef    struct F86
  62.             {
  63.              char  *pf1;
  64.              char  *pf2;
  65.             }f86;
  66. typedef struct F54
  67.            {
  68.              diskinfo *info;
  69.              int  drv;
  70.            }f54;
  71.  
  72. typedef  struct F71
  73.            {
  74.            char       *buf;
  75.            int  drive;
  76.            }f71;
  77. typedef struct F63
  78.            {
  79.             int        handle;
  80.             long    count;
  81.             char    *buffer;
  82.            }f63;
  83. typedef struct F66
  84.            {
  85.             long offs;
  86.             int   hndl;
  87.             int   skmod;
  88.            }f66;
  89.  
  90. typedef struct F67
  91.            {
  92.             int  fattr;
  93.             int   wflag;
  94.             char    *fnm;
  95.            }f67;
  96.  
  97. typedef struct F87
  98.            {
  99.             int  wf;
  100.             int   handl;
  101.             long *dostme;
  102.            }f87;
  103.  
  104. typedef struct PARA
  105. {
  106.   long    retcode;
  107.   int    fktn;
  108.    union
  109.       {
  110.          int    zeichen;
  111.          f78    fu78;
  112.          char    *dspfad;
  113.          f75    fu75;
  114.          f86    fu86;
  115.          f54    fu54;
  116.          f71    fu71;
  117.          int    LEER;
  118.          DTA    *dta;
  119.          f63    fu63;
  120.          f66    fu66;
  121.          f67    fu67;
  122.          f87    fu87;
  123.       } mix;
  124. }para;
  125.  
  126. typedef struct MSG_TYP
  127. {
  128.   int        what;
  129.   int        size;
  130.   char        *ptr;
  131.   char        *name;
  132.   int        an;
  133.   int        fill;
  134. }msg_typ;
  135.  
  136. typedef struct cinfo {
  137.         para    *params;
  138. struct    kerinfo *kernel;
  139.         int        LW;
  140. long    (*mygemdos)(msg_typ *pars);
  141. }CINFO;
  142.