23#ifndef MUTT_CONFIG_DUMP_H
24#define MUTT_CONFIG_DUMP_H
size_t escape_string(struct Buffer *buf, const char *src)
Write a string to a buffer, escaping special characters.
size_t pretty_var(const char *str, struct Buffer *buf)
Escape and stringify a config item value.
ConfigDumpFlag
Flags for dump_config(), e.g.
@ CS_DUMP_HIDE_NAME
Do not print the name of the config item.
@ CS_DUMP_SHOW_DOCS
Show one-liner documentation for the config item.
@ CS_DUMP_SHOW_DISABLED
Show disabled config items, too.
@ CS_DUMP_NONE
No flags are set.
@ CS_DUMP_LINK_DOCS
Link to the online docs.
@ CS_DUMP_ONLY_CHANGED
Only show config that the user has changed.
@ CS_DUMP_SHOW_DEPRECATED
Show config items that aren't used any more.
@ CS_DUMP_SHOW_DEFAULTS
Show the default value for the config item.
@ CS_DUMP_HIDE_SENSITIVE
Obscure sensitive information like passwords.
@ CS_DUMP_HIDE_VALUE
Do not print the value of the config item.
@ CS_DUMP_SHOW_SYNONYMS
Show synonyms and the config items they're linked to.
@ CS_DUMP_NO_ESCAPING
Do not escape special chars, or quote the string.
bool dump_config(struct ConfigSet *cs, struct HashElemArray *hea, ConfigDumpFlags flags, FILE *fp)
Write all the config to a file.
void dump_config_neo(struct ConfigSet *cs, struct HashElem *he, struct Buffer *value, struct Buffer *initial, ConfigDumpFlags flags, FILE *fp)
Dump the config in the style of NeoMutt.
String manipulation buffer.
Container for lots of config items.
The item stored in a Hash Table.