INI file parser written in C (old code)