core: configuration file

SàT's main options can now be put in a configuration file which can be in different locations
Bridge: new getConfig option
This commit is contained in:
Goffi 2011-06-18 16:22:50 +02:00
commit 1da78d1301

View file

@ -320,6 +320,17 @@ doc_param_0=sub_type: as for [subscribe]
doc_param_1=entity: as for [subscribe]
doc_param_2=%(doc_profile_key)s
[getConfig]
type=method
category=communication
sig_in=sss
sig_out=s
param_2_default='@DEFAULT@'
doc=get main configuration option
doc_param_0=section: section of the configuration file (empty string for DEFAULT)
doc_param_1=name: name of the option
doc_param_2=%(doc_profile_key)s
[setParam]
type=method
category=communication