Wed Aug 18 22:34:37 2010

Asterisk developer's documentation


ast_heap Struct Reference


Data Fields

size_t avail_len
ast_heap_cmp_fn cmp_fn
size_t cur_len
void ** heap
ssize_t index_offset
ast_rwlock_t lock

Detailed Description

Definition at line 34 of file heap.c.


Field Documentation

size_t avail_len

Definition at line 39 of file heap.c.

Referenced by ast_heap_push(), and grow_heap().

ast_heap_cmp_fn cmp_fn

Definition at line 36 of file heap.c.

Referenced by ast_heap_verify(), bubble_up(), and max_heapify().

size_t cur_len

Definition at line 38 of file heap.c.

Referenced by _ast_heap_remove(), ast_heap_peek(), ast_heap_push(), ast_heap_size(), ast_heap_verify(), grow_heap(), and max_heapify().

void** heap

Definition at line 40 of file heap.c.

Referenced by ast_heap_destroy(), grow_heap(), heap_get(), and heap_set().

ssize_t index_offset

Definition at line 37 of file heap.c.

Referenced by get_index(), and heap_set().

ast_rwlock_t lock

Definition at line 35 of file heap.c.

Referenced by ast_heap_destroy(), ast_heap_rdlock(), ast_heap_unlock(), and ast_heap_wrlock().


The documentation for this struct was generated from the following file:
Generated on Wed Aug 18 22:34:37 2010 for Asterisk - the Open Source PBX by  doxygen 1.4.7