NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
maillist.h
Go to the documentation of this file.
1
23#ifndef MUTT_MAILLIST_H
24#define MUTT_MAILLIST_H
25
26#include <stddef.h>
27#include <stdbool.h>
28
29struct Address;
30struct AddressList;
31
32bool check_for_mailing_list (struct AddressList *al, const char *pfx, char *buf, int buflen);
33bool check_for_mailing_list_addr(struct AddressList *al, char *buf, int buflen);
34bool first_mailing_list (char *buf, size_t buflen, struct AddressList *al);
35bool mutt_is_mail_list (const struct Address *addr);
36bool mutt_is_subscribed_list (const struct Address *addr);
37
38#endif /* MUTT_MAILLIST_H */
bool mutt_is_mail_list(const struct Address *addr)
Is this the email address of a mailing list? - Implements addr_predicate_t -.
Definition: maillist.c:44
bool mutt_is_subscribed_list(const struct Address *addr)
Is this the email address of a user-subscribed mailing list? - Implements addr_predicate_t -.
Definition: maillist.c:56
bool check_for_mailing_list(struct AddressList *al, const char *pfx, char *buf, int buflen)
Search list of addresses for a mailing list.
Definition: maillist.c:78
bool check_for_mailing_list_addr(struct AddressList *al, char *buf, int buflen)
Check an address list for a mailing list.
Definition: maillist.c:102
bool first_mailing_list(char *buf, size_t buflen, struct AddressList *al)
Get the first mailing list in the list of addresses.
Definition: maillist.c:124
An email address.
Definition: address.h:36