C callable key-value configuration file parser