Subject | New API Configuration Calls |
---|---|
Author | Jim Starkey |
Post date | 2005-10-13T18:06:41Z |
I have just added the following two calls to the Vulcan public API:
ISC_STATUS ISC_EXPORT fb_config_text (ISC_STATUS* userStatus,
const char *configText);
ISC_STATUS ISC_EXPORT fb_config_file (ISC_STATUS* userStatus,
const char *configFilename);
The first specifies explicit configuration text (which can containing
include statements); the second an initial configuration file.
For the time being, the calls are effective only if called before the
first lookup call to the configuration system, so it can't be used to
change the configuration in mid-stream. We may want to change that
later, but for now, it is sufficient for the purpose intended.
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376
ISC_STATUS ISC_EXPORT fb_config_text (ISC_STATUS* userStatus,
const char *configText);
ISC_STATUS ISC_EXPORT fb_config_file (ISC_STATUS* userStatus,
const char *configFilename);
The first specifies explicit configuration text (which can containing
include statements); the second an initial configuration file.
For the time being, the calls are effective only if called before the
first lookup call to the configuration system, so it can't be used to
change the configuration in mid-stream. We may want to change that
later, but for now, it is sufficient for the purpose intended.
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376