Here's the situation.
It got several configuration files in an application with same schema.
Each configuration file instruct a serious of actions the program has
to
finish.
But I find it's impossible to make a list of parse results to the
files.
The program simply add all results in one cfg_t.
For example,
File 1:
sec "1" {
a = 1
b = 2
}
File 2:
sec "4" {
a = 5
b = 6
}
acfg = cfg_init( schema, 0 );
cfg_parse( file1 );
bcfg = cfg_init( schema, 0 );
cfg_parse( file2 );
then acfg and bcfg both have two secions, "1" and "4"
However, acfg and bcfg are different pointers.
What should I do to resolve the problem?
_______________________________________________
Confuse-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/confuse-devel