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

Config type representing an email address.

  • Backed by struct Address
  • Empty address is stored as NULL
  • Validator is passed struct Address *, which may be NULL
  • Data is freed when ConfigSet is freed
  • Implementation: cst_address
Function Description
address_destroy - Destroy an Address object() Implements ConfigSetType::destroy() -
address_dup() Create a copy of an Address object
address_free() Free an Address object
address_native_get - Get an Address object from an Address config item() Implements ConfigSetType::native_get() -
address_native_set - Set an Address config item by Address object() Implements ConfigSetType::native_set() -
address_new() Create an Address from a string
address_reset - Reset an Address to its initial value() Implements ConfigSetType::reset() -
address_string_get - Get an Address as a string() Implements ConfigSetType::string_get() -
address_string_set - Set an Address by string() Implements ConfigSetType::string_set() -
cst_address() Config type representing an Email Addresss