diff --git a/src/common/config/config.cpp b/src/common/config/config.cpp index 3aee4fe78c..6f3528640f 100644 --- a/src/common/config/config.cpp +++ b/src/common/config/config.cpp @@ -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]; +} diff --git a/src/common/config/config.h b/src/common/config/config.h index 8b0bdac184..b348f8198a 100644 --- a/src/common/config/config.h +++ b/src/common/config/config.h @@ -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 diff --git a/src/install/misc/firebird.conf b/src/install/misc/firebird.conf index 75b3604395..3593ccaefd 100755 --- a/src/install/misc/firebird.conf +++ b/src/install/misc/firebird.conf @@ -82,8 +82,10 @@ # ---------------------------- # Transport protocols object names +#RemoteBindAddress = #RemoteServiceName = gds_db #RemoteServicePort = 3050 +#RemoteAuxPort = 0 #RemotePipeName = interbas #IpcName = FirebirdIPI