On 07/03/14 12:00, Dimitry Sibiryakov wrote:
> Hello, All.
>
> Is subj possible?
> If I write in database.conf something like this:
>
> MyDB=MyDB
> {
> Foo=Bar
> }
>
> Which interface a plugin can use to get "Bar" for "Foo" when it is loaded
> for this
> database?
IFirebirdConf. Pointer to it's correct instance should be received from
IPluginConfig::getFirebirdConf, where instance of IPluginConfig is
passed as a parameter to plugin's factory. You may find an example of
getting correct SecurityDatabase in
src/auth/SecureRemotePassword/server/SrpServer.cpp.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel