home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Libraries / GUSI 1.4.1 / GUSI / GUSICfg.c < prev    next >
Encoding:
Text File  |  1994-02-25  |  979 b   |  48 lines  |  [TEXT/MPS ]

  1. /*********************************************************************
  2. Project    :    GUSI                -    Grand Unified Socket Interface
  3. File        :    GUSICfg.c        -    List of socket types we want
  4. Author    :    Matthias Neeracher
  5. Language    :    MPW C/C++
  6.  
  7. $Log: GUSICfg.c,v $
  8. Revision 1.1  1994/02/25  02:38:48  neeri
  9. Initial revision
  10.  
  11. *********************************************************************/
  12.  
  13. void GUSIwithUnixSockets();
  14. void GUSIwithAppleTalkSockets();
  15. void GUSIwithInternetSockets();
  16. void GUSIwithPPCSockets();
  17. void GUSIwithPAPSockets();
  18.  
  19. #ifdef GUSI_Everything
  20. #define GUSI_Appletalk
  21. #define GUSI_Internet
  22. #define GUSI_PPC
  23. #define GUSI_PAP
  24. #define GUSI_Unix
  25. #endif
  26.  
  27. #pragma force_active on
  28.  
  29. typedef void (*CfgProc)();
  30.  
  31. static void cfg() {
  32. #ifdef GUSI_Appletalk
  33.     GUSIwithAppleTalkSockets();
  34. #endif
  35. #ifdef GUSI_Internet
  36.     GUSIwithInternetSockets();
  37. #endif
  38. #ifdef GUSI_PPC
  39.     GUSIwithPPCSockets();
  40. #endif
  41. #ifdef GUSI_PAP
  42.     GUSIwithPAPSockets();
  43. #endif
  44. #ifdef GUSI_Unix
  45.     GUSIwithUnixSockets();
  46. #endif
  47. }
  48.