void dglHeapFree(dglHeap_s *pheap, dglHeapCancelItem_fn pfnCancelItem)
union _dglHeapData dglHeapData_u
void dglHeapInit(dglHeap_s *pheap)
struct _dglHeapNode dglHeapNode_s
void(* dglHeapCancelItem_fn)(dglHeap_s *pheap, dglHeapNode_s *pitem)
int dglHeapInsertMax(dglHeap_s *pheap, long key, unsigned char flags, dglHeapData_u value)
struct _dglHeap dglHeap_s
int dglHeapInsertMin(dglHeap_s *pheap, long key, unsigned char flags, dglHeapData_u value)
int dglHeapExtractMin(dglHeap_s *pheap, dglHeapNode_s *pnoderet)
int dglHeapExtractMax(dglHeap_s *pheap, dglHeapNode_s *pnoderet)