home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-06-08 | 962 b | 45 lines | [TEXT/MPS ] |
- /*********************************************************************
- Project : GUSI - Grand Unified Socket Interface
- File : GUSICfg.c - List of socket types we want
- Author : Matthias Neeracher
- Started : 07Feb93 Language : MPW C/C++
- Modified : 07Feb93 MN
- Last : 07Feb93
- *********************************************************************/
-
- void GUSIwithUnixSockets();
- void GUSIwithAppleTalkSockets();
- void GUSIwithInternetSockets();
- void GUSIwithPPCSockets();
- void GUSIwithPAPSockets();
-
- #ifdef GUSI_Everything
- #define GUSI_Appletalk
- #define GUSI_Internet
- #define GUSI_PPC
- #define GUSI_PAP
- #define GUSI_Unix
- #endif
-
- #pragma force_active on
-
- typedef void (*CfgProc)();
-
- static void cfg() {
- #ifdef GUSI_Appletalk
- GUSIwithAppleTalkSockets();
- #endif
- #ifdef GUSI_Internet
- GUSIwithInternetSockets();
- #endif
- #ifdef GUSI_PPC
- GUSIwithPPCSockets();
- #endif
- #ifdef GUSI_PAP
- GUSIwithPAPSockets();
- #endif
- #ifdef GUSI_Unix
- GUSIwithUnixSockets();
- #endif
- }
-