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

Config type representing a string.

  • Backed by char *
  • Empty string is stored as NULL
  • Validator is passed char *, which may be NULL
  • Data is freed when ConfigSet is freed
  • Implementation: cst_string
Function Description
cst_string() Config type representing a string
string_destroy - Destroy a String() Implements ConfigSetType::destroy() -
string_native_get - Get a string from a String config item() Implements ConfigSetType::native_get() -
string_native_set - Set a String config item by string() Implements ConfigSetType::native_set() -
string_reset - Reset a String to its initial value() Implements ConfigSetType::reset() -
string_string_get - Get a String as a string() Implements ConfigSetType::string_get() -
string_string_plus_equals - Concat String to a string() Implements ConfigSetType::string_plus_equals() -
string_string_set - Set a String by string() Implements ConfigSetType::string_set() -