You really should have a look into XML. I see only advantages for you:
* it's existing, you don't have to code it yourself
* it does all the extra functionality you want plus some more you may like
* it's a standard and xml-libs exists for almost any language
Don't get me wrong, I was a real .ini-fanboy but switched completly to XML as it gives me more functionality with less pain.
Search this forum for MAXML and give it a try...
Jake
PS: Yes, LibXML exists as well, but IMHO Maxml is easier to use.
* it's existing, you don't have to code it yourself
* it does all the extra functionality you want plus some more you may like
* it's a standard and xml-libs exists for almost any language
Don't get me wrong, I was a real .ini-fanboy but switched completly to XML as it gives me more functionality with less pain.
Search this forum for MAXML and give it a try...
Jake
PS: Yes, LibXML exists as well, but IMHO Maxml is easier to use.