Alternate address handling. More...
Include dependency graph for alternates.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Enumerations | |
| enum | NotifyAlternates { NT_ALTERN_ADD = 1 , NT_ALTERN_DELETE , NT_ALTERN_DELETE_ALL } |
| Alternates command notification types. More... | |
Functions | |
| void | alternates_init (void) |
| Set up the alternates lists. | |
| void | alternates_cleanup (void) |
| Free the alternates lists. | |
| enum CommandResult | parse_alternates (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'alternates' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unalternates (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'unalternates' command - Implements Command::parse() -. | |
| bool | mutt_alternates_match (const char *addr) |
| Compare an Address to the Un/Alternates lists. | |
| void | mutt_alternates_reset (struct MailboxView *mv) |
| Clear the recipient valid flag of all emails. | |
Alternate address handling.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file alternates.h.
| enum NotifyAlternates |
Alternates command notification types.
Observers of NT_ALTERN will not be passed any Event data.
| Enumerator | |
|---|---|
| NT_ALTERN_ADD | Alternate address has been added. |
| NT_ALTERN_DELETE | Alternate address has been deleted. |
| NT_ALTERN_DELETE_ALL | All Alternate addresses have been deleted. |
Definition at line 40 of file alternates.h.
| void alternates_init | ( | void | ) |
Set up the alternates lists.
Definition at line 60 of file alternates.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void alternates_cleanup | ( | void | ) |
Free the alternates lists.
Definition at line 49 of file alternates.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool mutt_alternates_match | ( | const char * | addr | ) |
Compare an Address to the Un/Alternates lists.
| addr | Address to check |
| true | Address matches |
Definition at line 155 of file alternates.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_alternates_reset | ( | struct MailboxView * | mv | ) |
Clear the recipient valid flag of all emails.
| mv | Mailbox view |
Definition at line 73 of file alternates.c.
Here is the caller graph for this function: