NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
lib.h
Go to the documentation of this file.
1
35#ifndef MUTT_POSTPONE_LIB_H
36#define MUTT_POSTPONE_LIB_H
37
38#include <stdbool.h>
39#include "ncrypt/lib.h"
40
41struct Buffer;
42struct Email;
43struct Mailbox;
44
46int mutt_get_postponed (struct Mailbox *m_cur, struct Email *hdr, struct Email **cur, struct Buffer *fcc);
47int mutt_num_postponed (struct Mailbox *m, bool force);
48SecurityFlags mutt_parse_crypt_hdr (const char *p, bool set_empty_signas, SecurityFlags crypt_app);
49int mutt_prepare_template (FILE *fp, struct Mailbox *m, struct Email *e_new, struct Email *e, bool resend);
51
52#endif /* MUTT_POSTPONE_LIB_H */
API for encryption/signing of emails.
uint16_t SecurityFlags
Flags, e.g. SEC_ENCRYPT.
Definition: lib.h:76
struct Email * dlg_select_postponed_email(struct Mailbox *m)
Create a Menu to select a postponed message.
Definition: dlg_postpone.c:169
SecurityFlags mutt_parse_crypt_hdr(const char *p, bool set_empty_signas, SecurityFlags crypt_app)
Parse a crypto header string.
Definition: postpone.c:210
int mutt_num_postponed(struct Mailbox *m, bool force)
Return the number of postponed messages.
Definition: postpone.c:69
void mutt_update_num_postponed(void)
Force the update of the number of postponed messages.
Definition: postpone.c:183
int mutt_get_postponed(struct Mailbox *m_cur, struct Email *hdr, struct Email **cur, struct Buffer *fcc)
Recall a postponed message.
Definition: postpone.c:667
int mutt_prepare_template(FILE *fp, struct Mailbox *m, struct Email *e_new, struct Email *e, bool resend)
Prepare a message template.
Definition: postpone.c:503
String manipulation buffer.
Definition: buffer.h:34
The envelope/body of an email.
Definition: email.h:37
A mailbox.
Definition: mailbox.h:79