Diff for /np2/macosx/commng.h between versions 1.1 and 1.2

version 1.1, 2003/10/16 17:59:37 version 1.2, 2003/10/25 09:08:24
Line 18  enum { Line 18  enum {
   
 enum {  enum {
         COMMSG_MIDIRESET                = 0,          COMMSG_MIDIRESET                = 0,
           COMMSG_SETFLAG,
           COMMSG_GETFLAG,
         COMMSG_USER          COMMSG_USER
 };  };
   
Line 30  struct _commng { Line 32  struct _commng {
         UINT    (*read)(COMMNG self, BYTE *data);          UINT    (*read)(COMMNG self, BYTE *data);
         UINT    (*write)(COMMNG self, BYTE data);          UINT    (*write)(COMMNG self, BYTE data);
         BYTE    (*getstat)(COMMNG self);          BYTE    (*getstat)(COMMNG self);
         UINT    (*msg)(COMMNG self, UINT msg, long param);          long    (*msg)(COMMNG self, UINT msg, long param);
         void    (*release)(COMMNG self);          void    (*release)(COMMNG self);
 };  };
   
   typedef struct {
           UINT32  size;
           UINT32  sig;
           UINT32  ver;
           UINT32  param;
   } _COMFLAG, *COMFLAG;
   
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
Line 46  void commng_destroy(COMMNG hdl); Line 55  void commng_destroy(COMMNG hdl);
 }  }
 #endif  #endif
   
   
   // ----
   
   void commng_initialize(void);
   

Removed from v.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>