#include <string>
#include <list>
Go to the source code of this file.
Typedefs | |
typedef list< string > | list_string |
typedef list< string >::const_iterator | list_string_iter |
typedef void *(* | list_string_cb )(const char *string, void *user_data) |
Functions | |
void | list_string_delete (list_string *l) |
void | list_string_iter_delete (list_string_iter *l) |
int | list_string_size (const list_string *l) |
list_string_iter * | list_string_begin (const list_string *l) |
list_string_iter * | list_string_end (const list_string *l) |
const char * | list_string_iter_get (const list_string_iter *l) |
void | list_string_iter_next (list_string_iter *l) |
int | list_string_iter_equal (const list_string_iter *l1, const list_string_iter *l2) |
void * | list_string_foreach (const list_string *list, list_string_cb func, void *user_data) |
char * | list_string_concat (const list_string *list) |
char * | list_string_concat_delim (const list_string *list, const char *delim) |
|
|
|
Callback function for list_string_foreach. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Traverses the list, calling the callback function 'func' on each list element. Traversal will stop when 'func' returns a non-NULL value, and the routine will return with that value. Otherwise the routine will return NULL.
|
|
|
|
|
|
|
|
|
|
|