GNUnet 0.29.1-12-g57a93edc3
 
Loading...
Searching...
No Matches
HeapSlot Struct Reference

One position of the heap array. More...

Collaboration diagram for HeapSlot:
[legend]

Data Fields

GNUNET_CONTAINER_HeapCostType key
 Cost of the node, transformed by key_mask() for the heap's order.
 
struct GNUNET_CONTAINER_HeapNode * node
 Node stored in this slot.
 

Detailed Description

One position of the heap array.

The key is stored here, not in the node, so that comparisons while restoring the heap order do not have to follow a pointer for every key.

Definition at line 106 of file container_heap.c.

Field Documentation

◆ key

◆ node


The documentation for this struct was generated from the following file: