iniParser: stand-alone ini parser library in ANSI C

iniparser is a free stand-alone ini file parsing library.
It is written in portable ANSI C and should compile anywhere.
iniparser is distributed under an MIT license.

Downloads

file sha1 comment
iniparser-2.17.tar.gz 87d38f8f36bfeca55d0e797e5af22ec0068c10fa For archeological purposes only
iniparser-3.0.tar.gz 57ee1259d32d9fa67f2818d998191b890d45947c 3.0 released 02 Mar 2011
iniparser-3.1.tar.gz 41eae7b414cad9cd42ae2c2a64394c10d7ab655e 3.1 released 08 Apr 2012

You can also get iniparser from github:

git clone http://github.com/ndevilla/iniparser.git

If you want to contribute code and ideas, best it to use github. Fork the project, bring your modifications, submit a pull request and let us have a discussion there. If your modifications are not included into the trunk version, nothing prevents you from distributing your own modified iniparser.

Official releases of iniparser can either be obtained from this web site or cloned from github. There are still some active developments on github so be prepared to live with a moving target until things settle.

Documentation

Full library documentation

Notes

Date: 08 Apr 2012
iniparser 3.1 has just been released.

Changes with respect to 3.0:
- Const'ified input string arguments (thanks to A. Mazo)
- Removed CVS tags from source. Version control now handled by git

Copyright (c) 2000-2012 by Nicolas Devillard.
MIT License

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.