diff --git a/README.md b/README.md index 107d3b9..1fc8dce 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +# inih (INI Not Invented Here) + +[![TravisCI Build](https://travis-ci.org/benhoyt/inih.svg)](https://travis-ci.org/benhoyt/inih) + **inih (INI Not Invented Here)** is a simple [.INI file](http://en.wikipedia.org/wiki/INI_file) parser written in C. It's only a couple of pages of code, and it was designed to be _small and simple_, so it's good for embedded systems. It's also more or less compatible with Python's [ConfigParser](http://docs.python.org/library/configparser.html) style of .INI files, including RFC 822-style multi-line syntax and `name: value` entries. To use it, just give `ini_parse()` an INI file, and it will call a callback for every `name=value` pair parsed, giving you strings for the section, name, and value. It's done this way ("SAX style") because it works well on low-memory embedded systems, but also because it makes for a KISS implementation. diff --git a/tests/baseline_multi.txt b/tests/baseline_multi.txt index 7732202..7dcd049 100644 --- a/tests/baseline_multi.txt +++ b/tests/baseline_multi.txt @@ -1,4 +1,4 @@ -TSTno_file.ini: e=-1 user=0 +no_file.ini: e=-1 user=0 ... [section1] ... one=This is a test; ... two=1234;