NeoMutt  2024-04-25-1-g3de005
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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:45
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:57
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:79
bool check_for_mailing_list_addr(struct AddressList *al, char *buf, int buflen)
Check an address list for a mailing list.
Definition: maillist.c:103
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:125
An email address.
Definition: address.h:36