Git init
[external/curl.git] / src / macos / src / curl_GUSIConfig.cpp
1 /**************** BEGIN GUSI CONFIGURATION ****************************\r *\r * GUSI Configuration section generated by GUSI Configurator\r * last modified: Mon Oct 29 15:41:51 2001\r *\r * This section will be overwritten by the next run of Configurator.\r */\r\r#define GUSI_SOURCE\r#include <GUSIConfig.h>\r#include <sys/cdefs.h>\r\r/* Declarations of Socket Factories */\r\r__BEGIN_DECLS\rvoid GUSIwithInetSockets();\rvoid GUSIwithLocalSockets();\rvoid GUSIwithMTInetSockets();\rvoid GUSIwithMTTcpSockets();\rvoid GUSIwithMTUdpSockets();\rvoid GUSIwithOTInetSockets();\rvoid GUSIwithOTTcpSockets();\rvoid GUSIwithOTUdpSockets();\rvoid GUSIwithPPCSockets();\rvoid GUSISetupFactories();\r__END_DECLS\r\r/* Configure Socket Factories */\r\rvoid GUSISetupFactories()\r{\r#ifdef GUSISetupFactories_BeginHook\r        GUSISetupFactories_BeginHook\r#endif\r    GUSIwithInetSockets();\r#ifdef GUSISetupFactories_EndHook\r       GUSISetupFactories_EndHook\r#endif\r}\r\r/* Declarations of File Devices */\r\r__BEGIN_DECLS\rvoid GUSIwithNullSockets();\rvoid GUSISetupDevices();\r__END_DECLS\r\r/* Configure File Devices */\r\rvoid GUSISetupDevices()\r{\r#ifdef GUSISetupDevices_BeginHook\r     GUSISetupDevices_BeginHook\r#endif\r      GUSIwithNullSockets();\r#ifdef GUSISetupDevices_EndHook\r GUSISetupDevices_EndHook\r#endif\r}\r\r#ifndef __cplusplus\r#error GUSISetupConfig() needs to be written in C++\r#endif\r\rGUSIConfiguration::FileSuffix        sSuffices[] = {\r        "", '????', '????'\r};\r\rextern "C" void GUSISetupConfig()\r{\r     GUSIConfiguration * config =\r           GUSIConfiguration::CreateInstance(GUSIConfiguration::kNoResource);\r\r    config->ConfigureDefaultTypeCreator('TEXT', 'CWIE');\r   config->ConfigureSuffices(\r             sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);\r}\r\r/**************** END GUSI CONFIGURATION *************************/\r