Hi!

I just tried to update cxxtools 1.4.4 for newer version (1.4.5) and found that 
old ini_file implementation has been replaced with IniFile. And now I have 
two problems with new class:

1)  rereading ini-file if it's changed.
I'm storing config file mtime in my program and using read() function 
from "ini_file" to reread data if mtime was changed. Is there any way to do 
it now?

2) ini files overlapping
Let's say, I have several ini-files where some keys could be overridden  I.E.: 
per-directory ini files where some of keys could be overridden in 
sub-directory. 
Again, I used the same read() function to read data into the same map from 
ini_file object, before. but for the moment it seems to be more complicated.

Did I miss something? :)

PS: in 2) I want to use mtime check also.

Thank you!

-- 
Best wishes!
Const. d'Ribin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to