Definitions of config variables. More...
#include "config.h"
#include <stddef.h>
#include <stdbool.h>
#include "mutt/lib.h"
#include "address/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "alias/lib.h"
#include "gui/lib.h"
#include "bcache/lib.h"
#include "compose/lib.h"
#include "browser.h"
#include "commands.h"
#include "handler.h"
#include "hdrline.h"
#include "hook.h"
#include "index.h"
#include "init.h"
#include "mailcap.h"
#include "main.h"
#include "mutt_globals.h"
#include "mutt_logging.h"
#include "mutt_mailbox.h"
#include "mutt_menu.h"
#include "mutt_thread.h"
#include "muttlib.h"
#include "mx.h"
#include "pager.h"
#include "progress.h"
#include "recvattach.h"
#include "recvcmd.h"
#include "remailer.h"
#include "rfc3676.h"
#include "score.h"
#include "sort.h"
#include "status.h"
Go to the source code of this file.
Macros | |
#define | CONFIG_INIT_TYPE(CS, NAME) |
#define | CONFIG_INIT_VARS(CS, NAME) |
Functions | |
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() More... | |
int | pager_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Check for config variables that can't be set from the pager - Implements ConfigDef::validator() More... | |
int | reply_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Validate the "reply_regex" config variable - Implements ConfigDef::validator() More... | |
static bool | config_init_main (struct ConfigSet *cs) |
Register main config variables - Implements module_init_config_t. More... | |
static void | init_types (struct ConfigSet *cs) |
Create the config types. More... | |
static void | init_variables (struct ConfigSet *cs) |
Define the config variables. More... | |
struct ConfigSet * | init_config (size_t size) |
Initialise the config system. More... | |
Variables | |
char * | C_Escape = NULL |
bool | C_IgnoreLinearWhiteSpace = false |
const struct Mapping | SortAuxMethods [] |
Sort methods for '$sort_aux' for the index. More... | |
const struct Mapping | SortMethods [] |
Sort methods for '$sort' for the index. More... | |
const struct Mapping | SortBrowserMethods [] |
Sort methods for the folder/dir browser. More... | |
struct ConfigDef | MainVars [] |
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 68 of file mutt_config.c.
#define CONFIG_INIT_VARS | ( | CS, | |
NAME | |||
) |
Definition at line 72 of file mutt_config.c.
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()
Definition at line 144 of file mutt_config.c.
int pager_validator | ( | const struct ConfigSet * | cs, |
const struct ConfigDef * | cdef, | ||
intptr_t | value, | ||
struct Buffer * | err | ||
) |
Check for config variables that can't be set from the pager - Implements ConfigDef::validator()
Definition at line 162 of file mutt_config.c.
int reply_validator | ( | const struct ConfigSet * | cs, |
const struct ConfigDef * | cdef, | ||
intptr_t | value, | ||
struct Buffer * | err | ||
) |
Validate the "reply_regex" config variable - Implements ConfigDef::validator()
Definition at line 178 of file mutt_config.c.
|
static |
Register main config variables - Implements module_init_config_t.
Definition at line 781 of file mutt_config.c.
|
static |
Create the config types.
cs | Config items |
Define the config types, e.g. DT_STRING.
Definition at line 792 of file mutt_config.c.
|
static |
Define the config variables.
cs | Config items |
Definition at line 812 of file mutt_config.c.
struct ConfigSet* init_config | ( | size_t | size | ) |
Initialise the config system.
size | Size for Config Hash Table |
ptr | New Config Set |
Definition at line 854 of file mutt_config.c.
char* C_Escape = NULL |
Definition at line 77 of file mutt_config.c.
bool C_IgnoreLinearWhiteSpace = false |
Definition at line 78 of file mutt_config.c.
const struct Mapping SortAuxMethods[] |
Sort methods for '$sort_aux' for the index.
Definition at line 83 of file mutt_config.c.
const struct Mapping SortMethods[] |
Sort methods for '$sort' for the index.
Definition at line 105 of file mutt_config.c.
const struct Mapping SortBrowserMethods[] |
Sort methods for the folder/dir browser.
Definition at line 127 of file mutt_config.c.
struct ConfigDef MainVars[] |
Definition at line 192 of file mutt_config.c.