Giter Club home page Giter Club logo

ezini's Introduction

DESCRIPTION
-----------
This archive contains an ANSI C library implementing INI file reading and
writing.  This library is intended to be easy to use and build upon.  It is
small in size, thus not as feature complete as other libraries, but should
be sufficient to meet most requirements.

FILES
-----
COPYING         - GNU General Public License v3
COPYING.LESSER  - GNU Lesser General Public License v3
ezini.c         - Library implementing INI parsing and writing functions
ezini.h         - Function and type definitions for the ezini library
Makefile        - makefile for this project (assumes gcc compiler and GNU make)
README          - this file
sample.c        - Program demonstrating how to use the ezini library
strtest.c       - Program to test handling of INI line formats
test_strs.ini   - INI file testing formats

BUILDING
--------
To build these files with GNU make and gcc, simply enter "make" from the
command line.

USAGE
-----
sample.c demonstrates usage of ezini functions.

(section, key, value) triples are stored in entry structures (ini_entry_t) and
multiple entry structures may be linked together in an entry list
(ini_entry_list_t).

Read an INI file by calling GetEntryFromFile until it returns 0.

Write an INI file by using AddEntryToList to build an entry list, then call
MakeINIFile to make a file from the entry list.  Call FreeList when you are
done.

DOCUMENTATION
-------------
See https://michaeldipperstein.github.io/ezini/

HISTORY
-------
12/20/15 - Initial release
03/06/16 - Changed function that gets INI entries to be more like getopt
           instead of using callback functions
         - Use open FILE pointer instead of full path to INI file
05/15/16 - Added functions to add and delete entries from INI file
         - Made function names consistent
08/14/16 - Reformatted comments for Doxygen documentation
09/12/19 - Restructured list of (section, value, key) entries
         - Passing NULL pointer to MakeINIFile will print to stdout
         - Updated e-mail address
         - Fixed doxygen errors

TODO
----
- Add option to MakeINI not to overwrite existing INI file

AUTHOR
------
Michael Dipperstein ([email protected])

ezini's People

Contributors

michaeldipperstein avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.