From: sirjofri <sirjofri+ml-9front@sirjofri.de>
To: 9front@9front.org
Subject: [9front] Introducing libini
Date: Sun, 26 Feb 2023 23:43:20 +0100 (GMT+01:00) [thread overview]
Message-ID: <222a5bcb-f632-4c9e-9ddb-a0752d4a1eb7@sirjofri.de> (raw)
Good evening,
some people like it, some hate it, but for configuration purposes some really prefer using the ini file format.
Hereby I introduce libini, which provides ini parsing functionality as a library. You can parse ini files manually by providing your own parse function, or use the builtin management solution to provide a catalogue of all settings.
Libini supports the simple standard file format, as well as array-like structures (using +key=value pairs). key=value pairs without sections are also supported.
Libini should also support loading multiple ini files, though I didn't properly test that.
There are very likely a few errors, patches are like always welcome.
Here's the URL for the repository: http://shithub.us/sirjofri/libini/HEAD/info.html . The repo contains a test program.
sirjofri
next reply other threads:[~2023-02-26 22:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-26 22:43 sirjofri [this message]
2023-02-27 1:21 ` Nick Owens
2023-02-28 11:59 ` sirjofri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=222a5bcb-f632-4c9e-9ddb-a0752d4a1eb7@sirjofri.de \
--to=sirjofri+ml-9front@sirjofri.de \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).