home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / BTMTSRC3.ZIP / SNSERVER.H < prev    next >
C/C++ Source or Header  |  1990-07-05  |  516b  |  24 lines

  1.  
  2. #ifndef APIENTRY
  3. #include <os2def.h>
  4. #endif
  5.  
  6. #ifndef CALLBACK
  7. #define CALLBACK pascal far _loadds _export
  8. #endif
  9.  
  10. typedef SEL  HSNOOP;
  11. typedef PSEL PHSNOOP;
  12. typedef int   (pascal far  *PFNSN)(int flag, char far *str);
  13.  
  14.  
  15. USHORT CALLBACK SnoopOpen(PSZ pszPipeName,
  16.                           PHSNOOP phSnoop,
  17.                           PSZ pszAppName,
  18.                           PFNSN NotifyFunc);
  19.  
  20.  
  21. USHORT CALLBACK SnoopWrite(HSNOOP hsn, PSZ pszMessage);
  22.  
  23. USHORT CALLBACK SnoopClose(HSNOOP hsn);
  24.