24#ifndef MUTT_ADDRESS_GROUP_H
25#define MUTT_ADDRESS_GROUP_H
40 struct AddressList
al;
Representation of an email address.
void mutt_grouplist_add(struct GroupList *gl, struct Group *group)
Add a Group to a GroupList.
bool mutt_group_match(struct Group *g, const char *s)
Does a string match an entry in a Group?
int mutt_grouplist_add_regex(struct GroupList *gl, const char *s, uint16_t flags, struct Buffer *err)
Add matching Addresses to a GroupList.
int mutt_grouplist_remove_addrlist(struct GroupList *gl, struct AddressList *a)
Remove an AddressList from a GroupList.
struct Group * mutt_pattern_group(const char *pat)
Match a pattern to a Group.
void mutt_grouplist_add_addrlist(struct GroupList *gl, struct AddressList *a)
Add Address list to a GroupList.
int mutt_grouplist_remove_regex(struct GroupList *gl, const char *s)
Remove matching addresses from a GroupList.
void mutt_grouplist_init(void)
Initialize the GroupList singleton.
void mutt_grouplist_destroy(struct GroupList *gl)
Free a GroupList.
void mutt_grouplist_clear(struct GroupList *gl)
Clear a GroupList.
void mutt_grouplist_cleanup(void)
Free GroupList singleton resource.
Convenience wrapper for the library headers.
#define STAILQ_HEAD(name, type)
String manipulation buffer.
An element in a GroupList.
STAILQ_ENTRY(GroupNode) entries
Linked list.
struct Group * group
Address Group.
A set of email addresses.
char * name
Name of Group.
struct AddressList al
List of Addresses.
struct RegexList rs
Group Regex patterns.