curl_GUSIConfig.cpp
Go to the documentation of this file.
00001 /**************** BEGIN GUSI CONFIGURATION ****************************
00002  *
00003  * GUSI Configuration section generated by GUSI Configurator
00004  * last modified: Mon Oct 29 15:41:51 2001
00005  *
00006  * This section will be overwritten by the next run of Configurator.
00007  */
00008 
00009 #define GUSI_SOURCE
00010 #include <GUSIConfig.h>
00011 #include <sys/cdefs.h>
00012 
00013 /* Declarations of Socket Factories */
00014 
00015 __BEGIN_DECLS
00016 void GUSIwithInetSockets();
00017 void GUSIwithLocalSockets();
00018 void GUSIwithMTInetSockets();
00019 void GUSIwithMTTcpSockets();
00020 void GUSIwithMTUdpSockets();
00021 void GUSIwithOTInetSockets();
00022 void GUSIwithOTTcpSockets();
00023 void GUSIwithOTUdpSockets();
00024 void GUSIwithPPCSockets();
00025 void GUSISetupFactories();
00026 __END_DECLS
00027 
00028 /* Configure Socket Factories */
00029 
00030 void GUSISetupFactories()
00031 {
00032 #ifdef GUSISetupFactories_BeginHook
00033         GUSISetupFactories_BeginHook
00034 #endif
00035         GUSIwithInetSockets();
00036 #ifdef GUSISetupFactories_EndHook
00037         GUSISetupFactories_EndHook
00038 #endif
00039 }
00040 
00041 /* Declarations of File Devices */
00042 
00043 __BEGIN_DECLS
00044 void GUSIwithNullSockets();
00045 void GUSISetupDevices();
00046 __END_DECLS
00047 
00048 /* Configure File Devices */
00049 
00050 void GUSISetupDevices()
00051 {
00052 #ifdef GUSISetupDevices_BeginHook
00053         GUSISetupDevices_BeginHook
00054 #endif
00055         GUSIwithNullSockets();
00056 #ifdef GUSISetupDevices_EndHook
00057         GUSISetupDevices_EndHook
00058 #endif
00059 }
00060 
00061 #ifndef __cplusplus
00062 #error GUSISetupConfig() needs to be written in C++
00063 #endif
00064 
00065 GUSIConfiguration::FileSuffix   sSuffices[] = {
00066         "", '????', '????'
00067 };
00068 
00069 extern "C" void GUSISetupConfig()
00070 {
00071         GUSIConfiguration * config =
00072                 GUSIConfiguration::CreateInstance(GUSIConfiguration::kNoResource);
00073 
00074         config->ConfigureDefaultTypeCreator('TEXT', 'CWIE');
00075         config->ConfigureSuffices(
00076                 sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
00077 }
00078 
00079 /**************** END GUSI CONFIGURATION *************************/


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:02