24#ifndef MUTT_ADDRESS_GROUP_H
25#define MUTT_ADDRESS_GROUP_H
40 struct AddressList
al;
Representation of an email address.
int grouplist_add_regex(struct GroupList *gl, const char *str, uint16_t flags, struct Buffer *err)
Add matching Addresses to a GroupList.
int groups_remove_addrlist(struct HashTable *groups, struct GroupList *gl, struct AddressList *al)
Remove an AddressList from a GroupList.
bool group_match(struct Group *g, const char *str)
Does a string match an entry in a Group?
void groups_remove_grouplist(struct HashTable *groups, struct GroupList *gl)
Clear a GroupList.
int groups_remove_regex(struct HashTable *groups, struct GroupList *gl, const char *str)
Remove matching addresses from a GroupList.
struct Group * groups_get_group(struct HashTable *groups, const char *name)
Get a Group by its name.
void grouplist_add_addrlist(struct GroupList *gl, struct AddressList *al)
Add Address list to a GroupList.
void grouplist_add_group(struct GroupList *gl, struct Group *g)
Add a Group to a GroupList.
struct HashTable * groups_new(void)
Create a HashTable for the Address Groups.
void groups_free(struct HashTable **pptr)
Free Address Groups HashTable.
void grouplist_destroy(struct GroupList *gl)
Free a GroupList.
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.