home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / GUSI / include / GUSIPPC_P.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-07  |  819 b   |  31 lines  |  [TEXT/MPS ]

  1. /*********************************************************************
  2. Project    :    GUSI                -    Grand Unified Socket Interface
  3. File        :    GUSIPPC_P.h        -    Common definitions for PPC Sockets
  4. Author    :    Matthias Neeracher
  5. Started    :    07Nov93                                Language    :    MPW C++
  6. Modified    :    07Nov93    MN    Extracted from GUSIPPC.cp
  7. Last        :    07Nov93
  8. *********************************************************************/
  9.  
  10. #include "GUSI_P.h"
  11. #include <PPCToolBox.h>
  12.  
  13. #include <sys/types.h>
  14.  
  15. class PPCSocketDomain : public SocketDomain {
  16.     Boolean    ppcInit;
  17. public:
  18.     PPCSocketDomain();
  19.     
  20.     virtual    Socket *     socket(int type, short protocol);
  21.     virtual     int             choose(
  22.                                     int         type, 
  23.                                     char *     prompt, 
  24.                                     void *     constraint,        
  25.                                     int         flags,
  26.                                     void *     name, 
  27.                                     int *     namelen);
  28. };
  29.  
  30. extern PPCSocketDomain    PPCSockets;
  31.