Config
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.1.4" ) ]
public Config (string plugin, string? source)
[ Version ( since = "0.1.4" ) ]
public Config (string plugin, string? source)
Creates a new data config object that will be associated with a plugin (if source
is NULL), or a specific source spawned from a
plugin (if source
is not NULL).
The latter may be useful for plugins spawning various sources, each one needing a different configuration.
Parameters:
plugin |
plugin id for this configuration |
source |
source id for this configuration |
Returns:
a newly-allocated data config. The data config associated with the plugin should not be freed until the plugin has been unloaded. |