89 #ifndef MUTT_AUTOCRYPT_LIB_H 90 #define MUTT_AUTOCRYPT_LIB_H AutocryptRec
Recommendation.
Container for lots of config items.
The envelope/body of an email.
Autocrypt should be used.
int mutt_autocrypt_init(bool can_create)
Initialise Autocrypt.
int mutt_autocrypt_generate_gossip_list(struct Email *e)
Create the gossip list headers.
bool C_AutocryptReply
Config: Replying to an autocrypt email automatically enables autocrypt in the reply.
bool C_Autocrypt
Config: Enables the Autocrypt feature.
sqlite3_int64 gossip_timestamp
sqlite3_int64 autocrypt_timestamp
char * AutocryptSignAs
Autocrypt Key id to sign as.
bool prefer_encrypt
false = nopref, true = mutual
Autocrypt gossip history.
int mutt_autocrypt_write_autocrypt_header(struct Envelope *env, FILE *fp)
Write the Autocrypt header to a file.
enum AutocryptRec mutt_autocrypt_ui_recommendation(struct Email *e, char **keylist)
Get the recommended action for an Email.
Prefer not to use Autocrypt.
char * C_AutocryptDir
Config: Location of autocrypt files, including the GPG keyring and SQLite database.
bool prefer_encrypt
false = nopref, true = mutual
int mutt_autocrypt_write_gossip_headers(struct Envelope *env, FILE *fp)
Write the Autocrypt gossip headers to a file.
int mutt_autocrypt_set_sign_as_default_key(struct Email *e)
Set the Autocrypt default key for signing.
void dlg_select_autocrypt_account(void)
Display the Autocrypt account Menu.
int mutt_autocrypt_process_autocrypt_header(struct Email *e, struct Envelope *env)
Parse an Autocrypt email header.
char * C_AutocryptAcctFormat
Config: Format of the autocrypt account menu.
char * AutocryptDefaultKey
Autocrypt default key id (used for postponing messages)
void mutt_autocrypt_cleanup(void)
Shutdown Autocrypt.
int mutt_autocrypt_process_gossip_header(struct Email *e, struct Envelope *prot_headers)
Parse an Autocrypt email gossip header.