Parse Alternate Commands. 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 | |
| enum CommandResult | parse_alternates (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'alternates' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unalternates (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| 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. | |
Parse Alternate Commands.
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 41 of file alternates.h.
| 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 163 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 45 of file alternates.c.
Here is the caller graph for this function: