Lines Matching refs:node
26 /* Initialize a new head node */
33 /* Initialize a list node */
34 void ares__init_list_node(struct list_node* node, void* d) {
35 node->prev = NULL;
36 node->next = NULL;
37 node->data = d;
54 /* Removes the node from the list it's in, if any */
55 void ares__remove_from_list(struct list_node* node) {
56 if (node->next != NULL) {
57 node->prev->next = node->next;
58 node->next->prev = node->prev;
59 node->prev = NULL;
60 node->next = NULL;