aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorDavid Brodski <david@brodski.eu>2011-04-12 23:32:17 +0000
committerDavid Brodski <david@brodski.eu>2011-04-12 23:32:17 +0000
commitd8cd4422e9d88a0c8180976179662ae2e890db6d (patch)
tree39bae110bd2dc618212207ac6a6c9ab382207c9b /src/include
parentd1012f124a152d33d686487d16c0d2cb64121927 (diff)
downloadgnunet-d8cd4422e9d88a0c8180976179662ae2e890db6d.tar.gz
gnunet-d8cd4422e9d88a0c8180976179662ae2e890db6d.zip
Added GNUNET_CONTAINER_node_get_cost
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_container_lib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h
index 2aa7e020a..3d1a2c97a 100644
--- a/src/include/gnunet_container_lib.h
+++ b/src/include/gnunet_container_lib.h
@@ -919,6 +919,15 @@ GNUNET_CONTAINER_heap_get_size (const struct GNUNET_CONTAINER_Heap *heap);
919 919
920 920
921/** 921/**
922 * Get the current cost of the node
923 *
924 * @param node the node to get the cost of
925 * @return cost of the node
926 */
927GNUNET_CONTAINER_HeapCostType
928GNUNET_CONTAINER_node_get_cost (const struct GNUNET_CONTAINER_HeapNode *node);
929
930/**
922 * Iterator for heap 931 * Iterator for heap
923 * 932 *
924 * @param cls closure 933 * @param cls closure