core/config

configuration file support library

Dependency Graph

core/config: Library Dependencies

View the full-size SVG (svg) or PDF (pdf) image or graphviz source (dot)

View color source code (raw) for this file

View reStructuredText (rst) source code for this page

Library

core_config_lib_init

Other libs use config_init, so use lib_init.

Configuration file support

config_filename

Prints system configuration filename (in $confdir)

config_user_filename

Prints user configuration filename (in $user_confdir)

config_pkg_filename

Prints package configuration filename (in $srcdir)

Public Functions

config_init()

Initializes all library and tool settings, prior to

loading any configuration files.

TODO: fix config_check callbacks to permit checking here

config_check()

Ensures all configuration settings are valid

config_read()

Reads a single configuration file

  • $1 filename

config_read_files()

Reads a list of configuration files

Configuration File Loading

config_load()

Reads all known configuration files

config_load_kind()

Reads configuration files of the given type ($1).

See $config_types for available types.

Config CLI


View the Script Reference Index


Generated on Tue Apr 25 21:22:37 PDT 2017 by mcsh i7 v0.18.0.