Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/bridge_template.ini @ 364:312ca6f9d84a
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
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 18 Jun 2011 16:22:50 +0200 |
parents | e6047415868d |
children | efbfccfed623 |
comparison
equal
deleted
inserted
replaced
363:54c77a56b22f | 364:312ca6f9d84a |
---|---|
318 doc=Send subscription request/answer to a contact | 318 doc=Send subscription request/answer to a contact |
319 doc_param_0=sub_type: as for [subscribe] | 319 doc_param_0=sub_type: as for [subscribe] |
320 doc_param_1=entity: as for [subscribe] | 320 doc_param_1=entity: as for [subscribe] |
321 doc_param_2=%(doc_profile_key)s | 321 doc_param_2=%(doc_profile_key)s |
322 | 322 |
323 [getConfig] | |
324 type=method | |
325 category=communication | |
326 sig_in=sss | |
327 sig_out=s | |
328 param_2_default='@DEFAULT@' | |
329 doc=get main configuration option | |
330 doc_param_0=section: section of the configuration file (empty string for DEFAULT) | |
331 doc_param_1=name: name of the option | |
332 doc_param_2=%(doc_profile_key)s | |
333 | |
323 [setParam] | 334 [setParam] |
324 type=method | 335 type=method |
325 category=communication | 336 category=communication |
326 sig_in=ssss | 337 sig_in=ssss |
327 sig_out= | 338 sig_out= |