home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 373.lha / Sim_v4.2 / extdevcom / sim_msg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-02-12  |  905 b   |  41 lines

  1.  
  2.  
  3. /***************************************************************************
  4. *
  5. *        Programm:   Sim,
  6. *        Modul:      sim_msg.h
  7. *        Funktion:   Headerfile für externe Bausteindefinitionen
  8. *
  9. *        Datum:            03.05.89
  10. *        letzte Änderung:  24.09.89
  11. *
  12. ***************************************************************************/
  13.  
  14.  
  15. #include <libraries/dosextens.h>
  16. #include <workbench/startup.h>
  17.  
  18. #define SIM_VERSION   4
  19. #define SIM_REVISION  1
  20.  
  21.  
  22. struct sim_msg {
  23.    struct Message msg;
  24.    int            version;
  25.    int            revision;
  26.    USHORT         in_count;
  27.    USHORT         out_count;
  28.    USHORT         state_count;
  29.    struct device  **running;
  30.    void           (*device)();
  31.    void           (*dev_init)();
  32. };
  33.  
  34.  
  35. struct extern_device {
  36.    struct extern_device *next;
  37.    char                 *name;
  38.    BPTR                 seg;
  39.    struct MsgPort       *msgport;
  40. };
  41.