1 /**************** BEGIN GUSI CONFIGURATION ****************************
3 * GUSI Configuration section generated by GUSI Configurator
4 * last modified: Mon Oct 29 15:41:51 2001
6 * This section will be overwritten by the next run of Configurator.
10 #include <GUSIConfig.h>
11 #include <sys/cdefs.h>
13 /* Declarations of Socket Factories */
16 void GUSIwithInetSockets();
17 void GUSIwithLocalSockets();
18 void GUSIwithMTInetSockets();
19 void GUSIwithMTTcpSockets();
20 void GUSIwithMTUdpSockets();
21 void GUSIwithOTInetSockets();
22 void GUSIwithOTTcpSockets();
23 void GUSIwithOTUdpSockets();
24 void GUSIwithPPCSockets();
25 void GUSISetupFactories();
28 /* Configure Socket Factories */
30 void GUSISetupFactories()
32 #ifdef GUSISetupFactories_BeginHook
33 GUSISetupFactories_BeginHook
35 GUSIwithInetSockets();
36 #ifdef GUSISetupFactories_EndHook
37 GUSISetupFactories_EndHook
41 /* Declarations of File Devices */
44 void GUSIwithNullSockets();
45 void GUSISetupDevices();
48 /* Configure File Devices */
50 void GUSISetupDevices()
52 #ifdef GUSISetupDevices_BeginHook
53 GUSISetupDevices_BeginHook
55 GUSIwithNullSockets();
56 #ifdef GUSISetupDevices_EndHook
57 GUSISetupDevices_EndHook
62 #error GUSISetupConfig() needs to be written in C++
65 GUSIConfiguration::FileSuffix sSuffices[] = {
69 extern "C" void GUSISetupConfig()
71 GUSIConfiguration * config =
72 GUSIConfiguration::CreateInstance(GUSIConfiguration::kNoResource);
74 config->ConfigureDefaultTypeCreator('TEXT', 'CWIE');
75 config->ConfigureSuffices(
76 sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
79 /**************** END GUSI CONFIGURATION *************************/