#include <linux/rbtree.h>
#include <stdbool.h>
#include "rblist.h"
Go to the source code of this file.
◆ strlist__for_each_entry
strlist_for_each - iterate over a strlist : the &struct str_node to use as a loop cursor. : the &struct strlist for loop.
Definition at line 77 of file strlist.h.
◆ strlist__for_each_entry_safe
#define strlist__for_each_entry_safe |
( |
|
pos, |
|
|
|
n, |
|
|
|
slist |
|
) |
| |
Value:static struct str_node * strlist__first(struct strlist *slist)
static struct str_node * strlist__next(struct str_node *sn)
strlist_for_each_safe - iterate over a strlist safe against removal of str_node : the &struct str_node to use as a loop cursor.
: another &struct str_node to use as temporary storage. : the &struct strlist for loop.
Definition at line 87 of file strlist.h.
◆ strlist__add()
int strlist__add |
( |
struct strlist * |
slist, |
|
|
const char * |
str |
|
) |
| |
◆ strlist__delete()
void strlist__delete |
( |
struct strlist * |
slist | ) |
|
◆ strlist__empty()
static bool strlist__empty |
( |
const struct strlist * |
slist | ) |
|
|
inlinestatic |
◆ strlist__entry()
struct str_node* strlist__entry |
( |
const struct strlist * |
slist, |
|
|
unsigned int |
idx |
|
) |
| |
◆ strlist__find()
struct str_node* strlist__find |
( |
struct strlist * |
slist, |
|
|
const char * |
entry |
|
) |
| |
◆ strlist__first()
◆ strlist__has_entry()
static bool strlist__has_entry |
( |
struct strlist * |
slist, |
|
|
const char * |
entry |
|
) |
| |
|
inlinestatic |
◆ strlist__load()
int strlist__load |
( |
struct strlist * |
slist, |
|
|
const char * |
filename |
|
) |
| |
◆ strlist__new()
◆ strlist__next()
◆ strlist__nr_entries()
static unsigned int strlist__nr_entries |
( |
const struct strlist * |
slist | ) |
|
|
inlinestatic |
◆ strlist__remove()