home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff229.lzh / Sim / extdevcom / sim_msg.h next >
C/C++ Source or Header  |  1989-07-20  |  905b  |  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:  03.06.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  0
  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.