NeoMutt  2023-03-22-27-g3cb248
Teaching an old dog new tricks
DOXYGEN
config.c File Reference

Config used by libautocrypt. 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_autocrypt (struct ConfigSet *cs)
 Register autocrypt config variables - Implements module_init_config_t -. More...
 

Variables

char * AutocryptSignAs
 Autocrypt Key id to sign as. More...
 
char * AutocryptDefaultKey
 Autocrypt default key id (used for postponing messages) More...
 
static struct ConfigDef AutocryptVars []
 Config definitions for the autocrypt library. More...
 

Detailed Description

Config used by libautocrypt.

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

◆ AutocryptSignAs

char* AutocryptSignAs

Autocrypt Key id to sign as.

Definition at line 35 of file config.c.

◆ AutocryptDefaultKey

char* AutocryptDefaultKey

Autocrypt default key id (used for postponing messages)

Definition at line 36 of file config.c.

◆ AutocryptVars

struct ConfigDef AutocryptVars[]
static
Initial value:
= {
{ "autocrypt", DT_BOOL, false, 0, NULL,
"Enables the Autocrypt feature"
},
{ "autocrypt_acct_format", DT_STRING, IP "%4n %-30a %20p %10s", 0, NULL,
"Format of the autocrypt account menu"
},
{ "autocrypt_dir", DT_PATH|DT_PATH_DIR, IP "~/.mutt/autocrypt", 0, NULL,
"Location of autocrypt files, including the GPG keyring and SQLite database"
},
{ "autocrypt_reply", DT_BOOL, true, 0, NULL,
"Replying to an autocrypt email automatically enables autocrypt in the reply"
},
{ NULL },
}
#define IP
Definition: set.h:54
#define DT_BOOL
boolean option
Definition: types.h:30
#define DT_PATH_DIR
Path is a directory.
Definition: types.h:55
#define DT_PATH
a path to a file/directory
Definition: types.h:36
#define DT_STRING
a string
Definition: types.h:41

Config definitions for the autocrypt library.

Definition at line 42 of file config.c.