Anticipated Frequently Asked Questions
- What is Conf4C?
- What do I need to install Conf4C?
- Is there a mailing list?
- Where do I get Conf4C?
- How do I install Conf4C?
- How do I include Conf4C in my app without installing it as a library?
- How do I test Conf4C?
- How do I get started using Conf4C?
- What is Conf4C?
- Conf4C is a library for reading configuration files. It is meant to provide simple and direct access to configuration file values so that you, the developer, can read your configuration file with just a few lines of code, allowing you to concentrate on your application's code and not on parsing your configuration file.
- What do I need to install Conf4C?
- Absolutely nothing; well except for GCC and a working installation of LibC. But these two things are pretty much a given on just about any Linux or BSD system.
- Is there a mailing list?
- No not yet, however feel free to email jpbarto at freeshell.org with any questions.
- Where do I get Conf4C?
- For latest packages see the download page.
- How do I install Conf4C?
-
The usual
./configure && make && make install
should do it. If you encounter problems however feel free to email me: jpbarto at freeshell.org. - How do I include Conf4C in my app without installing it as a library?
- Conf4C is licensed under the GNU GPL meaning it's source code is free, as in speech. So feel free to drop it right into your source directory tree and add it to any Makefiles you may have.
- How do I test Conf4C?
-
From the top source directory execute
cd tests; make
. This will create in several binaries all of which are packaged with 'expected' output. Simply execute a binary and capture its output. For example:./testconfreader > output.txt
then using 'diff' or some other comparison utility compare it to the expected output file 'testconfreader.output'. If differences occurred then it is a good chance that errors occurred. - How do I get started using Conf4C?
- Every source package comes with testing software which can be used as example code. Also the entire library is documented and is available for download as well as online reading on the documentation page. The page includes both an API reference as well as a brief overview and tutorial of the library.