libcfg+(3) libcfg+ 0.6.2 libcfg+(3)NAME
libcfg+ - command line and configuration file parsing library
DESCRIPTION
libcfg+ is a C library that features multi- command line and configura‐
tion file parsing. It is possible to set up various special properties
such as quoting characters, deliminator strings, file comment prefixes,
multi-line postfixes, and more. It supports many data types such as
booleans, integers, decimal numbers, strings with many additional data
type flags (such as multiple values for a single option).
TABLE OF CONTENTS
For simplicity of access and usage, libcfg+ manpages documentation has
been split up into several sections. Second column defines keywords,
which can be used for accessing particular section.
Section (described issue) API functions / structures
---------------------------------------------------
Properties cfg_add_property
cfg_clear_property
cfg_remove_property
Context manipulation cfg_context
cfg_get_context
cfg_get_cmdline_context
cfg_get_cfgfile_context
cfg_set_cmdline_context
cfg_set_cfgfile_context
cfg_reset_context
cfg_free_context
Options set cfg_option
Parsing cfg_parse
cfg_get_next_opt
cfg_get_cur_opt
cfg_get_cur_arg
cfg_get_cur_idx
Error handling cfg_print_error
cfg_fprint_error
cfg_get_error_str
Context flags cfg_set_context_flag
cfg_clear_context_flag
cfg_get_context_flag
cfg_set_context_flags
cfg_get_context_flags
FILES
Header files and appropriate symbolic links, typically installed into
/usr/include/ directory:
platon/cfg+.h file
platon/cfg.h symbolic link
cfg+.h symbolic link
cfg.h symbolic link
Library files typically installed into /usr/lib/ directory:
libcfg+.a static library
libcfg+-0.6.2.so shared library
libcfg+.so symbolic link to shared library
AUTHORS
Developed by Ondrej Jombik <nepto@platon.sk> and Lubomir Host
<rajo@platon.sk>
Copyright (c) 2001-2004 Platon SDG, http://platon.sk/
Comments, suggestions, bug reports and patches are always welcome.
Please e-mail them to the following <platon@pobox.sk> e-mail address
and write `libcfg+' keyword in the Subject line.
This manpage was manually written by Ondrej Jombik in 14th September
2002. Other libcfg+ manpages are generated from SGML sources, so they
are automatically kept in sync with official documentation.
HOMEPAGE
The official libcfg+ homepage is:
http://platon.sk/projects/libcfg+/
⟨⟩
The libcfg+ project management page is:
http://platon.sk/projects/main_page.php?project_id=3
⟨⟩
Use libcfg+ project management page to submit bugs, feature requests,
suggestions for improvements or improved code. There is also online
documentation browser, download central and discussion forum available
for asking support questions.
LICENSE
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with this library; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
SEE ALSOgetopt(3), popt(3)
For full information, such as installation notes, API description,
examples of usage and others, refer to documentation located in
doc/html/ or doc/man/ directories of source tarball package.
libcfg+ 0.6.2 17th February 2004 libcfg+(3)