Most configuration file formats require parsing the file, filling some
generic structures with the data contained therein and then processing
these structures in order to find the values associated with what you'd
Check this stackoverflow link for more information on utilising a
configuration parsing library for XML:
Parser for C
Your best bet would be to use INI, XML or JSON files, so another avenue
of investigation is to look for parsers for those in C.