#include <linux/rbtree.h>
#include <stdbool.h>
#include "rblist.h"
Go to the source code of this file.
#define strlist__for_each |
( |
|
pos, |
|
|
|
self |
|
) |
| for (pos = strlist__first(self); pos; pos = strlist__next(pos)) |
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 64 of file strlist.h.
#define strlist__for_each_safe |
( |
|
pos, |
|
|
|
n, |
|
|
|
self |
|
) |
| |
Value:for (
pos = strlist__first(
self),
n = strlist__next(
pos);
pos;\
pos =
n,
n = strlist__next(n))
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 74 of file strlist.h.