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