carta
cfg_opt_t(3)

cfg_opt_t3

Data structure holding information about an option.

Usage

Data Fields

const char * name

Optional comment/annotation. cfg_type_t type

Flags. cfg_opt_t * subopts

Suboptions (only applies to sections) cfg_defvalue_t def

Pointer to user-specified variable to store simple values (created with the CFG_SIMPLE_* initializers) cfg_callback_t parsecb

print callback function

Detailed Description

Data structure holding information about an option.

The value(s) are stored as an array of fundamental values (strings, numbers, etc).

Examples ftpconf.c, reread.c, and simple.c.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy) to Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch) to Debian 3.1 (Sarge)

Author

Generated automatically by Doxygen for confuse from the source code.

From libconfuse-doc 3.3-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.