picoquic/picosplay.c
void picosplay_init_tree(picosplay_tree_t* tree, picosplay_comparator comp, picosplay_create create, picosplay_delete_node delete_node, picosplay_node_value node_value) {
    tree->comp = comp;
    tree->create = create;
    tree->delete_node = delete_node;
    tree->node_value = node_value;
    tree->root = NULL;
    tree->size = 0;
}
/* Initialize an empty tree, storing the picosplay_comparator. */
Initialize an empty tree, storing the picosplay_comparator.
Initialize an empty tree storing the picosplay_comparator .
void picosplay_init_tree(picosplay_tree_t* tree, picosplay_comparator comp, picosplay_create create, picosplay_delete_node delete_node, picosplay_node_value node_value) {
    tree->comp = comp;
    tree->create = create;
    tree->delete_node = delete_node;
    tree->node_value = node_value;
    tree->root = NULL;
    tree->size = 0;
}
void picosplay_init_tree ( picosplay_tree_t * tree , picosplay_comparator comp , picosplay_create create , picosplay_delete_node delete_node , picosplay_node_value node_value ) { tree -> comp = comp ; tree -> create = create ; tree -> delete_node = delete_node ; tree -> node_value = node_value ; tree -> root = NULL ; tree -> size = 0 ; }
Initialize an empty tree, storing the picosplay_comparator.
Initialize an empty tree storing the picosplay_comparator .