mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-16 20:40:11 +01:00
81 lines
1.7 KiB
C++
81 lines
1.7 KiB
C++
|
/**************** BEGIN GUSI CONFIGURATION ****************************
|
||
|
*
|
||
|
* GUSI Configuration section generated by GUSI Configurator
|
||
|
* last modified: Wed Oct 25 23:18:04 2000
|
||
|
*
|
||
|
* 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
|
||
|
GUSIwithMTInetSockets();
|
||
|
GUSIwithPPCSockets();
|
||
|
#ifdef GUSISetupFactories_EndHook
|
||
|
GUSISetupFactories_EndHook
|
||
|
#endif
|
||
|
}
|
||
|
|
||
|
/* Declarations of File Devices */
|
||
|
|
||
|
__BEGIN_DECLS
|
||
|
void GUSIwithDConSockets();
|
||
|
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->ConfigureSuffices(
|
||
|
sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
|
||
|
}
|
||
|
|
||
|
/**************** END GUSI CONFIGURATION *************************/
|