1/**************** BEGIN GUSI CONFIGURATION ****************************
2 *
3 * GUSI Configuration section generated by GUSI Configurator
4 * last modified: Wed Oct 31 17:07:45 2001
5 *
6 * This section will be overwritten by the next run of Configurator.
7 */
8
9#define GUSI_SOURCE
10#include <GUSIConfig.h>
11#include <sys/cdefs.h>
12
13/* Declarations of Socket Factories */
14
15__BEGIN_DECLS
16void GUSIwithInetSockets();
17void GUSIwithLocalSockets();
18void GUSIwithMTInetSockets();
19void GUSIwithMTTcpSockets();
20void GUSIwithMTUdpSockets();
21void GUSIwithOTInetSockets();
22void GUSIwithOTTcpSockets();
23void GUSIwithOTUdpSockets();
24void GUSIwithPPCSockets();
25void GUSISetupFactories();
26__END_DECLS
27
28/* Configure Socket Factories */
29
30void GUSISetupFactories()
31{
32#ifdef GUSISetupFactories_BeginHook
33	GUSISetupFactories_BeginHook
34#endif
35	GUSIwithInetSockets();
36#ifdef GUSISetupFactories_EndHook
37	GUSISetupFactories_EndHook
38#endif
39}
40
41/* Declarations of File Devices */
42
43__BEGIN_DECLS
44void GUSIwithNullSockets();
45void GUSISetupDevices();
46__END_DECLS
47
48/* Configure File Devices */
49
50void GUSISetupDevices()
51{
52#ifdef GUSISetupDevices_BeginHook
53	GUSISetupDevices_BeginHook
54#endif
55	GUSIwithNullSockets();
56#ifdef GUSISetupDevices_EndHook
57	GUSISetupDevices_EndHook
58#endif
59}
60
61#ifndef __cplusplus
62#error GUSISetupConfig() needs to be written in C++
63#endif
64
65GUSIConfiguration::FileSuffix	sSuffices[] = {
66	"", '????', '????'
67};
68
69extern "C" void GUSISetupConfig()
70{
71	GUSIConfiguration * config =
72		GUSIConfiguration::CreateInstance(GUSIConfiguration::kNoResource);
73
74	config->ConfigureDefaultTypeCreator('TEXT', 'CWIE');
75	config->ConfigureSuffices(
76		sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
77}
78
79/**************** END GUSI CONFIGURATION *************************/
80