home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / Ph 1.1.1 / PhClient / mtcp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-24  |  968 b   |  32 lines  |  [TEXT/MPS ]

  1. /*______________________________________________________________________
  2.  
  3.     mtcp.h - MacTCP Interface.
  4. _____________________________________________________________________*/
  5.  
  6.  
  7. #ifndef __mtcp__
  8. #define __mtcp__
  9.  
  10. /*_____________________________________________________________________
  11.  
  12.     Defines.
  13. _____________________________________________________________________*/
  14.  
  15. #define mtcpCancel        17000            /* Operation canceled by user */
  16.  
  17. /*_____________________________________________________________________
  18.  
  19.     Functions.
  20. _____________________________________________________________________*/
  21.  
  22. extern void mtcp_BeginTransaction (void);
  23. extern void mtcp_CancelTransaction (void);
  24. extern OSErr mtcp_Initialize (void);
  25. extern OSErr mtcp_Terminate (void);
  26. extern OSErr mtcp_OpenConnection (char *host);
  27. extern OSErr mtcp_CloseConnection (void);
  28. extern OSErr mtcp_AbortConnection (void);
  29. extern OSErr mtcp_PhCommand (Handle command, Handle response, 
  30.     Boolean *truncated);
  31.  
  32. #endif