Parse Alternate Commands. More...
#include "config.h"#include <stdbool.h>#include <stdio.h>#include "mutt/lib.h"#include "address/lib.h"#include "email/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "alternates.h"#include "parse/lib.h"#include "module_data.h"
Include dependency graph for alternates.c:Go to the source code of this file.
Functions | |
| void | mutt_alternates_reset (struct MailboxView *mv) |
| Clear the recipient valid flag of all emails. | |
| 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. | |
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.c.
| 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:| 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: