-
Notifications
You must be signed in to change notification settings - Fork 8
ezini - an ANSI C library providing INI file reading and writing utilities
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
MichaelDipperstein/ezini
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 01/30/21 - Fixed memory leak identified by Rob Smith <rob@smithoffice.net> TODO ---- - Add option to MakeINI not to overwrite existing INI file AUTHOR ------ Michael Dipperstein (mdipperstein@gmail.com)
About
ezini - an ANSI C library providing INI file reading and writing utilities
Resources
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published