8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 19:23:03 +01:00

New config options.

This commit is contained in:
dimitr 2003-03-11 14:57:08 +00:00
parent 8a4a177603
commit b082df8ff7
3 changed files with 28 additions and 2 deletions

View File

@ -95,7 +95,9 @@ const ConfigImpl::ConfigEntry ConfigImpl::entries[] =
#endif
{TYPE_INTEGER, "ProcessPriorityLevel", (ConfigValue) 0},
{TYPE_BOOLEAN, "CreateInternalWindow", (ConfigValue) true},
{TYPE_BOOLEAN, "CompleteBooleanEvaluation",(ConfigValue) false}
{TYPE_BOOLEAN, "CompleteBooleanEvaluation",(ConfigValue) false},
{TYPE_INTEGER, "RemoteAuxPort", (ConfigValue) 0},
{TYPE_STRING, "RemoteBindAddress", (ConfigValue) 0}
};
/******************************************************************************
@ -407,3 +409,13 @@ bool Config::getCompleteBooleanEvaluation()
{
return (bool) sysConfig.values[KEY_COMPLETE_BOOLEAN_EVALUATION];
}
int Config::getRemoteAuxPort()
{
return (int) sysConfig.values[KEY_REMOTE_AUX_PORT];
}
const char *Config::getRemoteBindAddress()
{
return (const char*) sysConfig.values[KEY_REMOTE_BIND_ADDRESS];
}

View File

@ -98,7 +98,9 @@ class Config
KEY_MAX_UNFLUSHED_WRITE_TIME, // 31
KEY_PROCESS_PRIORITY_LEVEL, // 32
KEY_CREATE_INTERNAL_WINDOW, // 33
KEY_COMPLETE_BOOLEAN_EVALUATION // 34
KEY_COMPLETE_BOOLEAN_EVALUATION, // 34
KEY_REMOTE_AUX_PORT, // 35
KEY_REMOTE_BIND_ADDRESS // 36
};
public:
@ -277,6 +279,16 @@ public:
Complete boolean evaluation
*/
static bool getCompleteBooleanEvaluation();
/*
Port for event processing
*/
static int getRemoteAuxPort();
/*
Server binding NIC address
*/
static const char *getRemoteBindAddress();
};
#endif // CONFIG_H

View File

@ -82,8 +82,10 @@
# ----------------------------
# Transport protocols object names
#RemoteBindAddress =
#RemoteServiceName = gds_db
#RemoteServicePort = 3050
#RemoteAuxPort = 0
#RemotePipeName = interbas
#IpcName = FirebirdIPI