Chapter 5. plugins.conf
The file plugins.conf contains the configuration for various plugins to Firebird.
The file has two types of configuration items with scoped values:
|
Registration of a plugin | |
|
Configuration of a plugin |
5.1. Plugin
The Plugin item contains the registration information of a plugin.
Syntax
Plugin = plugin-name
{
[ Module = module-name ]
[ RegisterName = register-name ]
[ Config = config-name ]
[ ConfigFile = config-filename ]
}
| Parameter | Description |
|---|---|
plugin-name | Name of the plugin used by Firebird to look up — or, load — the plugin. |
module-name | Name of the dynamic library containing the plugin. If not specified, plugin-name is used. |
register-name | Name of the plugin in the dynamic library. If not specified, plugin-name is used. |
config-name | Name of the Section 5.2, “ |
config-filename | Name of the configuration file with the plugin-specific configuration.
The file should use simple key-value syntax as used by |
If both Config and ConfigFile are specified, Config will be used.
If neither Config nor ConfigFile are specified, the configuration will be resolved as follows:
If a file
module-name.confexists, that will be used asConfigFileOtherwise,
Configis set to plugin-name.
These rules also apply to implicitly loaded plugins.
plugins.conf is optionalFor simple cases, the presence of the plugin library in the plugins folder is sufficient for a plugin to work.
Those plugins are defined implicitly.
Registration in plugins.conf is only necessary when:
The plugin has a different name than the module/library name.
This can be used if you want to use a different name than the original name, or the module contains multiple plugins with different names.
For example, in the default
plugins.confthis is used for theChaCha64plugin, which is part of theChaChamodule.The plugin requires additional configuration.
For example, in the default
plugins.confthis is used to configure thepathconfiguration item of theUDRplugin.You have multiple plugins with the same name; you need to give them different names so Firebird can distinguish between them.