NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
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
28
struct
Address
;
29
struct
AddressList;
30
struct
Buffer
;
31
32
bool
check_for_mailing_list
(
struct
AddressList *al,
const
char
*pfx,
char
*buf,
int
buflen);
33
bool
check_for_mailing_list_addr
(
struct
AddressList *al,
char
*buf,
int
buflen);
34
bool
first_mailing_list
(
struct
AddressList *al,
struct
Buffer
*buf);
35
bool
mutt_is_mail_list
(
const
struct
Address
*addr);
36
bool
mutt_is_subscribed_list
(
const
struct
Address
*addr);
37
38
#endif
/* MUTT_ADDRESS_MAILLIST_H */
mutt_is_mail_list
bool mutt_is_mail_list(const struct Address *addr)
Is this the email address of a mailing list?
Definition
maillist.c:46
mutt_is_subscribed_list
bool mutt_is_subscribed_list(const struct Address *addr)
Is this the email address of a user-subscribed mailing list?
Definition
maillist.c:61
check_for_mailing_list
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:86
check_for_mailing_list_addr
bool check_for_mailing_list_addr(struct AddressList *al, char *buf, int buflen)
Check an address list for a mailing list.
Definition
maillist.c:110
first_mailing_list
bool first_mailing_list(struct AddressList *al, struct Buffer *buf)
Get the first mailing list in the list of addresses.
Definition
maillist.c:131
Address
An email address.
Definition
address.h:35
Buffer
String manipulation buffer.
Definition
buffer.h:36