home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / bts314b4 / snserver.h < prev    next >
C/C++ Source or Header  |  1991-07-03  |  583b  |  28 lines

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