58 if (!ev_c->
name || !ev_c->
he)
const char * cs_subset_string(const struct ConfigSubset *sub, const char *name)
Get a string config item by name.
const struct Slist * cs_subset_slist(const struct ConfigSubset *sub, const char *name)
Get a string-list config item by name.
Convenience wrapper for the config headers.
const char * cc_charset(void)
Get the cached value of $charset.
const char * cc_maildir_field_delimiter(void)
Get the cached value of $maildir_field_delimiter.
static const char * CachedMaildirFieldDelimiter
Cached value of $maildir_field_delimiter.
static void cache_setup(void)
Setup a cache of some config variables.
void config_cache_cleanup(void)
Cleanup the cache of charset config variables.
static const struct Slist * CachedAssumedCharset
Cached value of $assumed_charset.
const struct Slist * cc_assumed_charset(void)
Get the cached value of $assumed_charset.
static const char * CachedCharset
Cached value of $charset.
static bool CacheActive
Is the cache enabled?
Cache of config variables.
#define mutt_debug(LEVEL,...)
static int cc_config_observer(struct NotifyCallback *nc)
Notification that a Config Variable has changed - Implements observer_t -.
@ LL_DEBUG5
Log at debug level 5.
Convenience wrapper for the library headers.
bool notify_observer_remove(struct Notify *notify, const observer_t callback, const void *global_data)
Remove an observer from an object.
bool notify_observer_add(struct Notify *notify, enum NotifyType type, observer_t callback, void *global_data)
Add an observer to an object.
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
Container for Accounts, Notifications.
@ NT_CONFIG
Config has changed, NotifyConfig, EventConfig.
struct Notify * notify
Notifications: NotifyConfig, EventConfig.
const struct ConfigSubset * sub
Config Subset.
const char * name
Name of config item that changed.
struct HashElem * he
Config item that changed.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
Data passed to a notification function.
void * event_data
Data from notify_send()
enum NotifyType event_type
Send: Event type, e.g. NT_ACCOUNT.
intptr_t cs_subset_he_native_get(const struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err)
Natively get the value of a HashElem config item.