|
| static void | group_free (struct Group **ptr) |
| | Free an Address Group.
|
| static struct Group * | group_new (const char *name) |
| | Create a new Address Group.
|
| static void | group_hash_free (int type, void *obj, intptr_t data) |
| | Free our hash table data - Implements hash_hdata_free_t -.
|
| static void | group_remove (struct HashTable *groups, struct Group *g) |
| | Remove a Group from the Hash Table.
|
| static bool | group_is_empty (struct Group *g) |
| | Is a Group empty?
|
| static void | group_add_addrlist (struct Group *g, const struct AddressList *al) |
| | Add an Address List to a Group.
|
| static int | group_add_regex (struct Group *g, const char *str, uint16_t flags, struct Buffer *err) |
| | Add a Regex to a Group.
|
| static int | group_remove_regex (struct Group *g, const char *str) |
| | Remove a Regex from a Group.
|
| bool | group_match (struct Group *g, const char *str) |
| | Does a string match an entry in a Group?
|
| void | grouplist_add_group (struct GroupList *gl, struct Group *g) |
| | Add a Group to a GroupList.
|
| void | grouplist_destroy (struct GroupList *gl) |
| | Free a GroupList.
|
| void | grouplist_add_addrlist (struct GroupList *gl, struct AddressList *al) |
| | Add Address list to a GroupList.
|
| int | grouplist_add_regex (struct GroupList *gl, const char *str, uint16_t flags, struct Buffer *err) |
| | Add matching Addresses 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.
|
| struct Group * | groups_get_group (struct HashTable *groups, const char *name) |
| | Get a Group by its name.
|
| void | groups_remove_grouplist (struct HashTable *groups, struct GroupList *gl) |
| | Clear a GroupList.
|
| int | groups_remove_addrlist (struct HashTable *groups, struct GroupList *gl, struct AddressList *al) |
| | Remove an AddressList from a GroupList.
|
| int | groups_remove_regex (struct HashTable *groups, struct GroupList *gl, const char *str) |
| | Remove matching addresses from a GroupList.
|
Handling for email address groups.
- Authors
- Richard Russon
- Bo Yu
- Pietro Cerutti
- Federico Kircheis
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file group.c.