Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libconfuse/libconfuse
Small configuration file parser library for C.
https://github.com/libconfuse/libconfuse
config configuration-files
Last synced: 16 days ago
JSON representation
Small configuration file parser library for C.
- Host: GitHub
- URL: https://github.com/libconfuse/libconfuse
- Owner: libconfuse
- License: isc
- Created: 2014-01-10T06:34:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-02-17T18:52:42.000Z (9 months ago)
- Last Synced: 2024-05-01T19:34:06.500Z (6 months ago)
- Topics: config, configuration-files
- Language: C
- Homepage: https://www.nongnu.org/confuse/manual/
- Size: 881 KB
- Stars: 462
- Watchers: 23
- Forks: 106
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE-OF-CONDUCT.md
- Authors: AUTHORS
Awesome Lists containing this project
README
libConfuse
==========
[![Badge][]][ISC] [![GitHub Status][]][GitHub] [![Coverity Status][]][Coverity Scan]* [Introduction](#introduction)
* [Documentation](#documentation)
* [Examples](#examples)
* [Build & Install](#build--install)
* [Origin & References](#origin--references)Introduction
------------libConfuse is a configuration file parser library written in C. It
supports sections and (lists of) values, as well as other features such
as single/double quoted strings, environment variable expansion,
functions and nested include statements. Values can be strings,
integers, floats, booleans, and sections.The goal is not to be _the_ configuration file parser library with a
gazillion of features. Instead, it aims to be easy to use and quick to
integrate with your code.> Please ensure you download a versioned archive from:
>Documentation
-------------* [API reference manual](http://www.nongnu.org/confuse/manual/)
* [Tutorial](http://www.nongnu.org/confuse/tutorial-html/)Examples
--------* [simple.c](examples/simple.c) and [simple.conf](examples/simple.conf)
shows how to use the "simple" versions of options
* [cfgtest.c](examples/cfgtest.c) and [test.conf](examples/test.conf)
show most of the features of confuse, including lists and functionsBuild & Install
---------------libConfuse employs the GNU configure and build system. To list available
build options, start by unpacking the tarball:tar xf confuse-3.2.2.tar.xz
cd confuse-3.2.2/
./configure --helpFor most users the following commands configures, builds and installs the
library to `/usr/local/`:./configure && make -j9
sudo make install
sudo ldconfigSee the INSTALL file for the full installation instructions.
When checking out the code from GitHub, use ./autogen.sh to
generate a `configure` script. This means you also need the following
tools:* autoconf
* automake
* libtool
* gettext
* autopoint
* flexTo build the documentation you also need the following tools:
* doxygen
* xmltoThis is an optional step, so you must build it explicitly from
its directory:cd doc/
make documentationOrigin & References
-------------------libConfuse was created by Martin Hedenfalk and released as open source
software under the terms of the [ISC license][1]. It was previously
called libcfg, but the name was changed to not confuse with other
similar libraries. It is currently developed and maintained at GitHub.
Please use the [issue tracker][2] to report bugs and feature requests.[1]: http://en.wikipedia.org/wiki/ISC_license
[2]: https://github.com/libconfuse/libconfuse/issues
[ISC]: https://en.wikipedia.org/wiki/ISC_license
[Badge]: https://img.shields.io/badge/License-ISC-blue.svg
[GitHub]: https://github.com/libconfuse/libconfuse/actions/workflows/build.yml/
[GitHub Status]: https://github.com/libconfuse/libconfuse/actions/workflows/build.yml/badge.svg
[Coverity Scan]: https://scan.coverity.com/projects/6674
[Coverity Status]: https://scan.coverity.com/projects/6674/badge.svg