NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
Type: Path

Config type representing a path.

  • Backed by char *
  • Empty path is stored as NULL
  • Validator is passed char *, which may be NULL
  • Data is freed when ConfigSet is freed
  • Implementation: cst_path
Function Description
cst_path() Config type representing a path
path_destroy - Destroy a Path() Implements ConfigSetType::destroy() -
path_native_get - Get a string from a Path config item() Implements ConfigSetType::native_get() -
path_native_set - Set a Path config item by string() Implements ConfigSetType::native_set() -
path_reset - Reset a Path to its initial value() Implements ConfigSetType::reset() -
path_string_get - Get a Path as a string() Implements ConfigSetType::string_get() -
path_string_set - Set a Path by string() Implements ConfigSetType::string_set() -
path_tidy() Tidy a path for storage