Alternate address handling. More...
#include "config.h"#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include "mutt/lib.h"#include "address/lib.h"#include "email/lib.h"#include "core/lib.h"#include "alternates.h"#include "parse/lib.h"#include "commands.h"#include "mview.h"
Include dependency graph for alternates.c:Go to the source code of this file.
Functions | |
| void | alternates_cleanup (void) |
| Free the alternates lists. | |
| void | alternates_init (void) |
| Set up the alternates lists. | |
| void | mutt_alternates_reset (struct MailboxView *mv) |
| Clear the recipient valid flag of all emails. | |
| 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. | |
Variables | |
| static struct RegexList | Alternates = STAILQ_HEAD_INITIALIZER(Alternates) |
| List of regexes to match the user's alternate email addresses. | |
| static struct RegexList | UnAlternates = STAILQ_HEAD_INITIALIZER(UnAlternates) |
| List of regexes to exclude false matches in Alternates. | |
| static struct Notify * | AlternatesNotify = NULL |
| Notifications: NotifyAlternates. | |
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.c.
| 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:| 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 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:| 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:
|
static |
List of regexes to match the user's alternate email addresses.
Definition at line 42 of file alternates.c.
|
static |
List of regexes to exclude false matches in Alternates.
Definition at line 43 of file alternates.c.
|
static |
Notifications: NotifyAlternates.
Definition at line 44 of file alternates.c.