Go to the source code of this file.
Functions | |
void | dlinkAdd (void *data, dlink_node *m, dlink_list *list) |
void | dlinkAddAfter (void *data, dlink_node *m, dlink_node *n, dlink_list *list) |
void | dlinkAddTail (void *data, dlink_node *m, dlink_list *list) |
void | dlinkDelete (dlink_node *m, dlink_list *list) |
Function Documentation
◆ dlinkAdd()
void dlinkAdd | ( | void * | data, |
dlink_node * | m, | ||
dlink_list * | list | ||
) |
Definition at line 16 of file test_tools.cc.
References dlink_node::data, dlink_list::head, dlink_node::next, dlink_node::prev, and dlink_list::tail.
◆ dlinkAddAfter()
void dlinkAddAfter | ( | void * | data, |
dlink_node * | m, | ||
dlink_node * | n, | ||
dlink_list * | list | ||
) |
Definition at line 32 of file test_tools.cc.
References assert, dlink_node::data, dlink_node::next, dlink_node::prev, and dlink_list::tail.
◆ dlinkAddTail()
void dlinkAddTail | ( | void * | data, |
dlink_node * | m, | ||
dlink_list * | list | ||
) |
Definition at line 49 of file test_tools.cc.
References dlink_node::data, dlink_list::head, dlink_node::next, dlink_node::prev, and dlink_list::tail.
◆ dlinkDelete()
void dlinkDelete | ( | dlink_node * | m, |
dlink_list * | list | ||
) |
Definition at line 65 of file test_tools.cc.
References dlink_list::head, dlink_node::next, dlink_node::prev, and dlink_list::tail.