NeoMutt  2023-05-17-56-ga67199
Teaching an old dog new tricks
DOXYGEN
config.c File Reference

Config used by libpattern. 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.

Functions

bool config_init_pattern (struct ConfigSet *cs)
 Register pattern config variables - Implements module_init_config_t -. More...
 

Variables

static struct ConfigDef PatternVars []
 Config definitions for the pattern library. More...
 

Detailed Description

Config used by libpattern.

Authors
  • 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 http://www.gnu.org/licenses/.

Definition in file config.c.

Variable Documentation

◆ PatternVars

struct ConfigDef PatternVars[]
static
Initial value:
= {
{ "external_search_command", DT_STRING|DT_COMMAND, 0, 0, NULL,
"External search command"
},
{ "pattern_format", DT_STRING, IP "%2n %-15e %d", 0, NULL,
"printf-like format string for the pattern completion menu"
},
{ "thorough_search", DT_BOOL, true, 0, NULL,
"Decode headers and messages before searching them"
},
{ NULL },
}
#define IP
Definition: set.h:54
#define DT_BOOL
boolean option
Definition: types.h:30
#define DT_STRING
a string
Definition: types.h:41
#define DT_COMMAND
A command.
Definition: types.h:53

Config definitions for the pattern library.

Definition at line 37 of file config.c.