SHUTDOWN
[oweals/gnunet.git] / src / include / gnunet_container_lib.h
index 2aa7e020af693c0be5caff695aab7337bc6072a2..26579809dd6659ce33214410f4daa5d1bb3e31e4 100644 (file)
@@ -918,6 +918,15 @@ unsigned int
 GNUNET_CONTAINER_heap_get_size (const struct GNUNET_CONTAINER_Heap *heap);
 
 
+/**
+ * Get the current cost of the node
+ *
+ * @param node the node to get the cost of
+ * @return cost of the node
+ */
+GNUNET_CONTAINER_HeapCostType
+GNUNET_CONTAINER_heap_node_get_cost (const struct GNUNET_CONTAINER_HeapNode *node);
+
 /**
  * Iterator for heap
  *