NeoMutt  2022-04-29-145-g9b6a0e
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 
41 struct Buffer;
42 struct Email;
43 struct Mailbox;
44 
45 struct Email *dlg_select_postponed_email(struct Mailbox *m);
46 int mutt_get_postponed (struct Mailbox *m_cur, struct Email *hdr, struct Email **cur, struct Buffer *fcc);
47 int mutt_num_postponed (struct Mailbox *m, bool force);
48 SecurityFlags mutt_parse_crypt_hdr (const char *p, bool set_empty_signas, SecurityFlags crypt_app);
49 int mutt_prepare_template (FILE *fp, struct Mailbox *m, struct Email *e_new, struct Email *e, bool resend);
50 void mutt_update_num_postponed (void);
51 
52 #endif /* MUTT_POSTPONE_LIB_H */
API for encryption/signing of emails.
uint16_t SecurityFlags
Flags, e.g. SEC_ENCRYPT.
Definition: lib.h:74
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
struct Email * dlg_select_postponed_email(struct Mailbox *m)
Create a Menu to select a postponed message.
Definition: dlg_postpone.c:166
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