Modules subscribe to configuration sections they are interested in by name and provide a callback function. After parsing the configuration file, ConfigFile will iterate through the top level tree and invoke all subscribed callbacks for each section it comes across. ConfigFile has no concept of the specific tags or structure of the file other than there being a single root tag (not a specific name) under which all sections fall. refs: #1120 Change-Id: Ic06fbdc85a9ac9740d46a6c2457ff5a9bd38e8a5
9 lines
56 B
Plaintext
9 lines
56 B
Plaintext
a
|
|
{
|
|
akey "avalue"
|
|
}
|
|
|
|
b
|
|
{
|
|
bkey "bvalue"
|
|
} |