|
| STAILQ_HEAD (ListHead, ListNode) |
|
void | mutt_list_clear (struct ListHead *h) |
| Free a list, but NOT its strings. More...
|
|
bool | mutt_list_compare (const struct ListHead *ah, const struct ListHead *bh) |
| Compare two string lists. More...
|
|
struct ListNode * | mutt_list_find (const struct ListHead *h, const char *data) |
| Find a string in a List. More...
|
|
void | mutt_list_free (struct ListHead *h) |
| Free a List AND its strings. More...
|
|
void | mutt_list_free_type (struct ListHead *h, list_free_t fn) |
| Free a List of type. More...
|
|
struct ListNode * | mutt_list_insert_after (struct ListHead *h, struct ListNode *n, char *s) |
| Insert a string after a given ListNode. More...
|
|
struct ListNode * | mutt_list_insert_head (struct ListHead *h, char *s) |
| Insert a string at the beginning of a List. More...
|
|
struct ListNode * | mutt_list_insert_tail (struct ListHead *h, char *s) |
| Append a string to the end of a List. More...
|
|
bool | mutt_list_match (const char *s, struct ListHead *h) |
| Is the string in the list (see notes) More...
|
|
size_t | mutt_list_str_split (struct ListHead *head, const char *src, char sep) |
| Split a string into a list using a separator char. More...
|
|
Singly-linked list type
- Authors
- Richard Russon
- Pietro Cerutti
- 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 list.h.