Definitions of config variables. More...
#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "attach/lib.h"
#include "expando/lib.h"
#include "index/lib.h"
#include "menu/lib.h"
#include "init.h"
#include "mutt_logging.h"
#include "mutt_thread.h"
#include "mx.h"
Go to the source code of this file.
Macros | |
#define | CONFIG_INIT_TYPE(CS, NAME) |
#define | CONFIG_INIT_VARS(CS, NAME) |
Functions | |
static int | multipart_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Validate the "show_multipart_alternative" config variable - Implements ConfigDef::validator() -. | |
struct ExpandoNode * | parse_index_date_recv_local (const char *str, const char **parsed_until, int did, int uid, ExpandoParserFlags flags, struct ExpandoParseError *error) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_index_date_local (const char *str, const char **parsed_until, int did, int uid, ExpandoParserFlags flags, struct ExpandoParseError *error) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_index_date (const char *str, const char **parsed_until, int did, int uid, ExpandoParserFlags flags, struct ExpandoParseError *error) |
Parse a Date Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_index_hook (const char *str, const char **parsed_until, int did, int uid, ExpandoParserFlags flags, struct ExpandoParseError *error) |
Parse an index-hook - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_tags_transformed (const char *str, const char **parsed_until, int did, int uid, ExpandoParserFlags flags, struct ExpandoParseError *error) |
Parse a Tags-Transformed Expando - Implements ExpandoDefinition::parse() -. | |
struct ExpandoNode * | parse_subject (const char *str, const char **parsed_until, int did, int uid, ExpandoParserFlags flags, struct ExpandoParseError *error) |
Parse a Subject Expando - Implements ExpandoDefinition::parse() -. | |
static bool | config_init_main (struct ConfigSet *cs) |
Register main config variables - Implements module_init_config_t -. | |
static void | init_types (struct ConfigSet *cs) |
Create the config types. | |
static void | init_variables (struct ConfigSet *cs) |
Define the config variables. | |
void | init_config (struct ConfigSet *cs) |
Initialise the config system. | |
Variables | |
const struct ExpandoDefinition | IndexFormatDef [] |
Expando definitions. | |
static const struct Mapping | SortAuxMethods [] |
Sort methods for '$sort_aux' for the index. | |
const struct Mapping | SortMethods [] |
Sort methods for '$sort' for the index. | |
static const struct ExpandoDefinition | AttachFormatDef [] |
Expando definitions. | |
static const struct ExpandoDefinition *const | IndexFormatDefNoPadding = &(IndexFormatDef[3]) |
IndexFormatDefNoPadding - Index format definitions, without padding. | |
static const struct ExpandoDefinition | StatusFormatDef [] |
Expando definitions. | |
const struct ExpandoDefinition *const | StatusFormatDefNoPadding = &(StatusFormatDef[3]) |
StatusFormatDefNoPadding - Status format definitions, without padding. | |
static struct ConfigDef | MainVars [] |
General Config definitions for NeoMutt. | |
static struct ConfigDef | MainVarsIdn [] |
IDN Config definitions. | |
Definitions of config variables.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file mutt_config.c.
#define CONFIG_INIT_TYPE | ( | CS, | |
NAME | |||
) |
Definition at line 55 of file mutt_config.c.
#define CONFIG_INIT_VARS | ( | CS, | |
NAME | |||
) |
Definition at line 59 of file mutt_config.c.
|
static |
Create the config types.
cs | Config items |
Define the config types, e.g. DT_STRING.
Definition at line 955 of file mutt_config.c.
|
static |
Define the config variables.
cs | Config items |
Definition at line 977 of file mutt_config.c.
void init_config | ( | struct ConfigSet * | cs | ) |
Initialise the config system.
cs | Config items |
Definition at line 1015 of file mutt_config.c.
const struct ExpandoDefinition IndexFormatDef[] |
Expando definitions.
Config:
Definition at line 295 of file mutt_config.c.
|
static |
Sort methods for '$sort_aux' for the index.
Definition at line 66 of file mutt_config.c.
const struct Mapping SortMethods[] |
Sort methods for '$sort' for the index.
Definition at line 88 of file mutt_config.c.
|
static |
Expando definitions.
Config:
Definition at line 131 of file mutt_config.c.
|
static |
IndexFormatDefNoPadding - Index format definitions, without padding.
Definition at line 356 of file mutt_config.c.
|
static |
Expando definitions.
Config:
Definition at line 367 of file mutt_config.c.
const struct ExpandoDefinition* const StatusFormatDefNoPadding = &(StatusFormatDef[3]) |
StatusFormatDefNoPadding - Status format definitions, without padding.
Definition at line 400 of file mutt_config.c.
|
static |
General Config definitions for NeoMutt.
Definition at line 405 of file mutt_config.c.
|
static |
IDN Config definitions.
Definition at line 922 of file mutt_config.c.