GRPC C++
1.39.1
|
vtable for the AVL tree The optional user_data is propagated from the top level grpc_avl_XXX API. More...
#include <avl.h>
Data Fields | |
void(* | destroy_key )(void *key, void *user_data) |
destroy a key More... | |
void *(* | copy_key )(void *key, void *user_data) |
copy a key, returning new value More... | |
long(* | compare_keys )(void *key1, void *key2, void *user_data) |
compare key1, key2; return <0 if key1 < key2, >0 if key1 > key2, 0 if key1 == key2 More... | |
void(* | destroy_value )(void *value, void *user_data) |
destroy a value More... | |
void *(* | copy_value )(void *value, void *user_data) |
copy a value More... | |
vtable for the AVL tree The optional user_data is propagated from the top level grpc_avl_XXX API.
From the same API call, multiple vtable functions may be called multiple times.
long(* grpc_avl_vtable::compare_keys) (void *key1, void *key2, void *user_data) |
compare key1, key2; return <0 if key1 < key2, >0 if key1 > key2, 0 if key1 == key2
void*(* grpc_avl_vtable::copy_key) (void *key, void *user_data) |
copy a key, returning new value
void*(* grpc_avl_vtable::copy_value) (void *value, void *user_data) |
copy a value
void(* grpc_avl_vtable::destroy_key) (void *key, void *user_data) |
destroy a key
void(* grpc_avl_vtable::destroy_value) (void *value, void *user_data) |
destroy a value