NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
alternates.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_ALTERNATES_H
24 #define MUTT_ALTERNATES_H
25 
26 #include <stdbool.h>
27 #include <stdint.h>
28 #include "mutt_commands.h"
29 
30 struct Buffer;
31 struct Mailbox;
32 
39 {
43 };
44 
45 void alternates_init(void);
46 void alternates_free(void);
47 
48 enum CommandResult parse_alternates (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err);
49 enum CommandResult parse_unalternates(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err);
50 
51 bool mutt_alternates_match(const char *addr);
52 void mutt_alternates_reset(struct Mailbox *m);
53 
54 #endif /* MUTT_ALTERNATES_H */
Alternate address has been added.
Definition: alternates.h:40
CommandResult
Error codes for command_t parse functions.
Definition: mutt_commands.h:34
NotifyAlternates
Alternates command notification types.
Definition: alternates.h:38
String manipulation buffer.
Definition: buffer.h:33
Alternate address has been deleted.
Definition: alternates.h:41
void mutt_alternates_reset(struct Mailbox *m)
Clear the recipient valid flag of all emails.
Definition: alternates.c:73
bool mutt_alternates_match(const char *addr)
Compare an Address to the Un/Alternates lists.
Definition: alternates.c:153
All Alternate addresses have been deleted.
Definition: alternates.h:42
A mailbox.
Definition: mailbox.h:81
Definitions of NeoMutt commands.
void alternates_free(void)
Free the alternates lists.
Definition: alternates.c:50
void alternates_init(void)
Set up the alternates lists.
Definition: alternates.c:61
enum CommandResult parse_unalternates(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the &#39;unalternates&#39; command - Implements Command::parse() -.
Definition: alternates.c:126
enum CommandResult parse_alternates(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the &#39;alternates&#39; command - Implements Command::parse() -.
Definition: alternates.c:90