dev-libs/
libconfig

Libconfig is a simple library for manipulating structured configuration files

http://www.hyperrealm.com/libconfig/libconfig.html