Edit

kc3-lang/libxml2/macos/src/libxml2_GUSIConfig.cp

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2001-12-05 12:03:33
    Hash : d3b08826
    Message : integrated Eric Lavigne (sp???) contribution to build libxml2 on MacOS * configure.in libxml.h parser.c testThreads.c macos/: integrated Eric Lavigne (sp???) contribution to build libxml2 on MacOS using CodeWarrior. Daniel

  • macos/src/libxml2_GUSIConfig.cp
  • /**************** BEGIN GUSI CONFIGURATION ****************************
     *
     * GUSI Configuration section generated by GUSI Configurator
     * last modified: Wed Oct 31 17:07:45 2001
     *
     * This section will be overwritten by the next run of Configurator.
     */
    
    #define GUSI_SOURCE
    #include <GUSIConfig.h>
    #include <sys/cdefs.h>
    
    /* Declarations of Socket Factories */
    
    __BEGIN_DECLS
    void GUSIwithInetSockets();
    void GUSIwithLocalSockets();
    void GUSIwithMTInetSockets();
    void GUSIwithMTTcpSockets();
    void GUSIwithMTUdpSockets();
    void GUSIwithOTInetSockets();
    void GUSIwithOTTcpSockets();
    void GUSIwithOTUdpSockets();
    void GUSIwithPPCSockets();
    void GUSISetupFactories();
    __END_DECLS
    
    /* Configure Socket Factories */
    
    void GUSISetupFactories()
    {
    #ifdef GUSISetupFactories_BeginHook
    	GUSISetupFactories_BeginHook
    #endif
    	GUSIwithInetSockets();
    #ifdef GUSISetupFactories_EndHook
    	GUSISetupFactories_EndHook
    #endif
    }
    
    /* Declarations of File Devices */
    
    __BEGIN_DECLS
    void GUSIwithNullSockets();
    void GUSISetupDevices();
    __END_DECLS
    
    /* Configure File Devices */
    
    void GUSISetupDevices()
    {
    #ifdef GUSISetupDevices_BeginHook
    	GUSISetupDevices_BeginHook
    #endif
    	GUSIwithNullSockets();
    #ifdef GUSISetupDevices_EndHook
    	GUSISetupDevices_EndHook
    #endif
    }
    
    #ifndef __cplusplus
    #error GUSISetupConfig() needs to be written in C++
    #endif
    
    GUSIConfiguration::FileSuffix	sSuffices[] = {
    	"", '????', '????'
    };
    
    extern "C" void GUSISetupConfig()
    {
    	GUSIConfiguration * config =
    		GUSIConfiguration::CreateInstance(GUSIConfiguration::kNoResource);
    
    	config->ConfigureDefaultTypeCreator('TEXT', 'CWIE');
    	config->ConfigureSuffices(
    		sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
    }
    
    /**************** END GUSI CONFIGURATION *************************/