NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
maillist.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_ADDRESS_MAILLIST_H
24#define MUTT_ADDRESS_MAILLIST_H
25
26#include <stdbool.h>
27
28struct Address;
29struct AddressList;
30struct Buffer;
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 (struct AddressList *al, struct Buffer *buf);
35bool mutt_is_mail_list (const struct Address *addr);
36bool mutt_is_subscribed_list (const struct Address *addr);
37
38#endif /* MUTT_ADDRESS_MAILLIST_H */
bool mutt_is_mail_list(const struct Address *addr)
Is this the email address of a mailing list?
Definition maillist.c:45
bool mutt_is_subscribed_list(const struct Address *addr)
Is this the email address of a user-subscribed mailing list?
Definition maillist.c:60
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:85
bool check_for_mailing_list_addr(struct AddressList *al, char *buf, int buflen)
Check an address list for a mailing list.
Definition maillist.c:109
bool first_mailing_list(struct AddressList *al, struct Buffer *buf)
Get the first mailing list in the list of addresses.
Definition maillist.c:130
An email address.
Definition address.h:35
String manipulation buffer.
Definition buffer.h:36