NeoMutt  2023-05-17-56-ga67199
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;
44struct MuttWindow;
45
47int mutt_get_postponed (struct Mailbox *m_cur, struct Email *hdr, struct Email **cur, struct Buffer *fcc);
48int mutt_num_postponed (struct Mailbox *m, bool force);
49SecurityFlags mutt_parse_crypt_hdr (const char *p, bool set_empty_signas, SecurityFlags crypt_app);
50int mutt_prepare_template (FILE *fp, struct Mailbox *m, struct Email *e_new, struct Email *e, bool resend);
53
54#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:195
SecurityFlags mutt_parse_crypt_hdr(const char *p, bool set_empty_signas, SecurityFlags crypt_app)
Parse a crypto header string.
Definition: postpone.c:212
int mutt_num_postponed(struct Mailbox *m, bool force)
Return the number of postponed messages.
Definition: postpone.c:70
struct MailboxView * postponed_get_mailbox_view(struct MuttWindow *dlg)
Extract the Mailbox from the Postponed Dialog.
Definition: functions.c:170
void mutt_update_num_postponed(void)
Force the update of the number of postponed messages.
Definition: postpone.c:185
int mutt_get_postponed(struct Mailbox *m_cur, struct Email *hdr, struct Email **cur, struct Buffer *fcc)
Recall a postponed message.
Definition: postpone.c:665
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:491
String manipulation buffer.
Definition: buffer.h:34
The envelope/body of an email.
Definition: email.h:37
View of a Mailbox.
Definition: mview.h:39
A mailbox.
Definition: mailbox.h:79