Christian Thaeter
bb9f81c08d
fixed code to do whats specified, but needs refactoring
...
even in case of an configuration error the returned value is primed
with the default. The error condition needs still be cleared!
Broken defaults would be unnoticed in case of a double error!
2008-08-10 12:26:19 +02:00
Christian Thaeter
962bceec72
high level getter for 'number' type
...
WIP: doesn't register the default yet, no configfiles yet
just returning env overrides or defaults
2008-08-10 12:26:19 +02:00
Christian Thaeter
418231219a
cosmetics
2008-08-10 12:26:18 +02:00
Christian Thaeter
9a329e0340
basic config value retrieval, just env override, no configfiles yet
2008-08-10 12:26:18 +02:00
Christian Thaeter
116c0e8125
more nobug flags for config, add a rwlock for the config, init/destroy
2008-08-10 12:26:18 +02:00
Christian Thaeter
b691a9d7bb
Simple config init/destroy, beginning of a config-testsuite
2008-08-10 12:26:18 +02:00
Christian Thaeter
c8210708fa
skeleton for the config struct
2008-08-10 12:26:18 +02:00
Christian Thaeter
9444fb0267
use 'int' as return values rather than lumiera_err
2008-08-10 12:26:18 +02:00
Christian Thaeter
85e789742f
first skeleton for the config loader
2008-08-10 12:26:15 +02:00