NeoMutt  2022-04-29-178-g3b62e6
Teaching an old dog new tricks
config.c File Reference

Config used by libhistory. More...

#include "config.h"
#include <stddef.h>
#include <config/lib.h>
#include <stdbool.h>
+ Include dependency graph for config.c:

Go to the source code of this file.


bool config_init_history (struct ConfigSet *cs)
 Register history config variables - Implements module_init_config_t -. More...


static struct ConfigDef HistoryVars []

Detailed Description

Config used by libhistory.

  • Richard Russon

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

Definition in file config.c.

Variable Documentation

◆ HistoryVars

struct ConfigDef HistoryVars[]
Initial value:
= {
{ "history", DT_NUMBER|DT_NOT_NEGATIVE, 10, 0, NULL,
"Number of history entries to keep in memory per category"
{ "history_file", DT_PATH|DT_PATH_FILE, IP "~/.mutthistory", 0, NULL,
"File to save history in"
{ "history_remove_dups", DT_BOOL, false, 0, NULL,
"Remove duplicate entries from the history"
{ "save_history", DT_NUMBER|DT_NOT_NEGATIVE, 0, 0, NULL,
"Number of history entries to save per category"
{ NULL },
#define IP
Definition: set.h:54
#define DT_BOOL
boolean option
Definition: types.h:30
#define DT_PATH_FILE
Path is a file.
Definition: types.h:54
#define DT_PATH
a path to a file/directory
Definition: types.h:36
Negative numbers are not allowed.
Definition: types.h:47
#define DT_NUMBER
a number
Definition: types.h:35

Definition at line 34 of file config.c.