Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/risc-os-community/libezini
This is a RISC OS port of EzINI a small and easy to use ANSI C library implementing INI file reading and writing.
https://github.com/risc-os-community/libezini
arm beagleboard c gcc hacktoberfest imx6 ini iyonix library omap4 omap5 pandaboard raspberry-pi risc-os riscos riscpc rool-dde wandboard
Last synced: about 1 month ago
JSON representation
This is a RISC OS port of EzINI a small and easy to use ANSI C library implementing INI file reading and writing.
- Host: GitHub
- URL: https://github.com/risc-os-community/libezini
- Owner: RISC-OS-Community
- License: lgpl-3.0
- Created: 2021-05-09T16:38:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T22:27:57.000Z (over 1 year ago)
- Last Synced: 2023-05-19T23:24:43.757Z (over 1 year ago)
- Topics: arm, beagleboard, c, gcc, hacktoberfest, imx6, ini, iyonix, library, omap4, omap5, pandaboard, raspberry-pi, risc-os, riscos, riscpc, rool-dde, wandboard
- Language: HTML
- Homepage:
- Size: 355 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# LibEzINI
This is a RISC OS port of EzINI a small and easy to use 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.## Build the lib
To build from the source just git clone this repo and then go to LibEzINI -> src directory.### Using GCC
To build these files with GNU make and gcc, simply double click on the file called MkGCC, before you do that make sure that your RISC OS device Filer has seen where your copy of !GCC is (usually in Apps.Development).### Using ROOL DDE
To build these files with ROOL DDE, simply click on the file called MkDDE, before you do that please make sure your RISC OS device Filer has executed the !SetPaths from DDE which should be placed in AcornC/C++ directory.## Using LibEzINI in your code
Have a look at the file called sample in src.c, it demonstrates the usage of LibEzINI 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.## Feedback
Feedback is always welcome!### In case of problems
For any issue you may encounter please use the Issues option here on GitHub. You can find it at the top of the page. Please do not try to contact us directly, the RISC OS Community handles all the communications here on GitHub.### Requesting new features
As for the problems reporting please use the Issues option here on GitHub also to request new features.### Contributing
We welcome improvements and new ideas, before you submit your changes please have a look at the Contributing Guidelines [here](../CONTRIBUTING.md)## Official EzINI Documentation
See https://michaeldipperstein.github.io/ezini/## License
The original EzINI is released under LGPLv3, so is LibEzINI port here.## Contributors
[![Michael](https://avatars2.githubusercontent.com/u/30029592?s=42&v=4)](https://github.com/MichaelDipperstein) - The EzINI original author[![Paolo](https://avatars2.githubusercontent.com/u/8824337?s=42&v=4)](https://github.com/pzaino) - RISC OS Porting