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

Config used by libncrypt. More...

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

Go to the source code of this file.


bool config_init_ncrypt (struct ConfigSet *cs)
 Register ncrypt config variables - Implements module_init_config_t -. More...


const struct Mapping SortKeyMethods []
 Sort methods for encryption keys. More...
static struct ConfigDef NcryptVars []
static struct ConfigDef NcryptVarsGpgme []
static struct ConfigDef NcryptVarsPgp []
static struct ConfigDef NcryptVarsSmime []

Detailed Description

Config used by libncrypt.

  • 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

◆ SortKeyMethods

const struct Mapping SortKeyMethods[]
Initial value:
= {
{ "address", SORT_ADDRESS },
{ "date", SORT_DATE },
{ "keyid", SORT_KEYID },
{ "trust", SORT_TRUST },
{ NULL, 0 },
Sort by encryption key's trust level.
Definition: sort2.h:56
Sort by the encryption key's ID.
Definition: sort2.h:55
Sort by the date the email was sent.
Definition: sort2.h:43
Sort by email address.
Definition: sort2.h:54

Sort methods for encryption keys.

Definition at line 38 of file config.c.

◆ NcryptVars

struct ConfigDef NcryptVars[]

Definition at line 48 of file config.c.

◆ NcryptVarsGpgme

struct ConfigDef NcryptVarsGpgme[]
Initial value:
= {
{ "crypt_use_gpgme", DT_BOOL, true, 0, NULL,
"Use GPGME crypto backend"
{ "crypt_use_pka", DT_BOOL, false, 0, NULL,
"Use GPGME to use PKA (lookup PGP keys using DNS)"
{ NULL },
#define DT_BOOL
boolean option
Definition: types.h:30

Definition at line 150 of file config.c.

◆ NcryptVarsPgp

struct ConfigDef NcryptVarsPgp[]

Definition at line 164 of file config.c.

◆ NcryptVarsSmime

struct ConfigDef NcryptVarsSmime[]

Definition at line 231 of file config.c.