Recently while workig on a project I had to parse the config from a .ini file. I found inih on github, a library for parsing .ini file in c which is very easy to use. It contains just two files one is a .c file and the other one is a .h file. So it can be easily put into a project (as it does not have any other depencancy apart from c standard library).