Asterisk - The Open Source Telephony Project GIT-master-0644429
|
Generic container type. More...
#include <astobj2_container_private.h>
Data Fields | |
ao2_callback_fn * | cmp_fn |
unsigned int | destroying:1 |
TRUE if the container is being destroyed. More... | |
int | elements |
uint32_t | options |
ao2_sort_fn * | sort_fn |
const struct ao2_container_methods * | v_table |
Generic container type.
This is the base container type that contains values common to all container types.
Definition at line 270 of file astobj2_container_private.h.
ao2_callback_fn* cmp_fn |
Container traversal matching function for ao2_find.
Definition at line 276 of file astobj2_container_private.h.
Referenced by __ao2_container_alloc_list(), hash_ao2_alloc_empty_clone(), hash_ao2_container_init(), rb_ao2_alloc_empty_clone(), and rb_ao2_container_init().
unsigned int destroying |
TRUE if the container is being destroyed.
Definition at line 297 of file astobj2_container_private.h.
Referenced by hash_ao2_node_destructor(), rb_ao2_find_first(), rb_ao2_node_destructor(), and rb_delete_node().
int elements |
Number of elements in the container.
Definition at line 280 of file astobj2_container_private.h.
Referenced by __ao2_link(), __container_unlink_node_debug(), and ao2_container_stats().
uint32_t options |
The container option flags
Definition at line 278 of file astobj2_container_private.h.
Referenced by hash_ao2_alloc_empty_clone(), hash_ao2_container_init(), hash_ao2_insert_node(), rb_ao2_alloc_empty_clone(), rb_ao2_container_init(), rb_ao2_find_first(), and rb_ao2_insert_node().
ao2_sort_fn* sort_fn |
Container sort function if the container is sorted.
Definition at line 274 of file astobj2_container_private.h.
Referenced by __ao2_container_alloc_list(), get_container(), hash_ao2_alloc_empty_clone(), hash_ao2_container_init(), hash_ao2_find_first(), hash_ao2_insert_node(), rb_ao2_alloc_empty_clone(), rb_ao2_container_init(), rb_ao2_find_first(), rb_ao2_insert_node(), and rb_find_initial().
const struct ao2_container_methods* v_table |
Container virtual method table.
Definition at line 272 of file astobj2_container_private.h.
Referenced by __ao2_container_clone(), __ao2_iterator_next(), __ao2_link(), __container_unlink_node_debug(), ao2_container_check(), ao2_container_dump(), ao2_container_stats(), hash_ao2_container_init(), internal_ao2_traverse(), and rb_ao2_container_init().