Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
example Fix Makefile configuration by env var support Apr 8, 2016
html Update doc index.html Jun 12, 2016
src make strstrip() static (again) Sep 25, 2016
test Merge branch 'master' into custom_errback Aug 29, 2016
.gitignore
.travis.yml
AUTHORS Switched to version 3.0 Mar 3, 2011
FAQ-en.md Added entry about C++ Mar 29, 2017
FAQ-zhcn.md add FAQ-zhcn.md Mar 29, 2017
INSTALL Switched to version 3.0 Mar 3, 2011
LICENSE
Makefile
README.md
iniparser.pc

README.md

Build Status

Iniparser 4

I - Overview

This modules offers parsing of ini files from the C level. See a complete documentation in HTML format, from this directory open the file html/index.html with any HTML-capable browser.

Key features :

  • Small : around 1500 sloc inside 4 files (2 .c and 2 .h)
  • Portable : no dependancies, written in -ansi -pedantic C89
  • Fully reintrant : easy to make it thread-safe (just surround library calls by mutex)

II - Building project

A simple make at the root of the project should be enough to get the static (i.e. libiniparser.a) and shared (i.e. libiniparser.so.0) libraries compiled.

You should consider trying the following rules too :

  • make check : run the unitary tests
  • make example : compile the example, run it with ./example/iniexample

III - License

This software is released under MIT License. See LICENSE for full informations

IV - Versions

Current version is 4.1. Version 4.0 introduces breaking changes in the api. Older versions 3.1 and 3.2 with the legacy api are available as tags.

V - FAQ

See FAQ-en.md in this directory for answers to Frequently Asked Questions.

还有简化中国翻译在FAQ-zhcn.md.

You can’t perform that action at this time.