txtconf is designed to be complementation for getopt(3), using very similar ways for defining configuration file structure (template).
The idea is to implement universal, easy and efficient way to read and save configuration from/to human-readable text files.

Features

  • Easily created configuration templates.
  • Almost *everything* is configurable, including keywords, delimiters, etc.
  • Configuration options are organized in scopes - aka "namespaces".
  • Scopes can be configured as multi-instance or as single-instance type, where multiple occurance of the scope is considered to be an error.
  • Options can have defined default values, what allows to either create initial config files or just use them as default settings.
  • Options can be configured as mandatory or as optional.
  • Options and scopes can be referenced by name or by custom IDs.
  • Automatic verification of type-correctness of values.
  • Smart verifiaction of saved cfg, which allows to detect whether the file was modified. (i.e. the *resulting* cfg is checked - f.e. a new/changed comment in a cfg file is ignored)
  • Man-page included.
  • Tests included.

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow txtconf

txtconf Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of txtconf!

Additional Project Details

Operating Systems

Linux

Intended Audience

Developers

Programming Language

C

Related Categories

C Software Development Software, C Libraries

Registered

2013-05-01