Searched refs:free_cb (Results 1 – 3 of 3) sorted by relevance
68 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free() argument73 if (free_cb) in fixed_queue_free()76 free_cb(list_node(node)); in fixed_queue_free()85 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush() argument90 if (free_cb != NULL) { in fixed_queue_flush()91 free_cb(data); in fixed_queue_flush()
16 list_free_cb free_cb; member30 list->free_cb = callback; in list_new_internal()210 if (list->free_cb) list->free_cb(node->data); in list_free_node_()
44 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb);49 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb);