*/
#include "platform.h"
-#include "gnunet_common.h"
-#include "gnunet_container_lib.h"
+#include "gnunet_util_lib.h"
static int
-iterator_callback (void *cls,
- struct GNUNET_CONTAINER_HeapNode *node,
+iterator_callback (void *cls, struct GNUNET_CONTAINER_HeapNode *node,
void *element, GNUNET_CONTAINER_HeapCostType cost)
{
return GNUNET_OK;
n1 = GNUNET_CONTAINER_heap_peek (myHeap);
GNUNET_assert (NULL == n1);
- // GNUNET_CONTAINER_heap_walk_get_next: heap empty, taking if-branch
+ // GNUNET_CONTAINER_heap_walk_get_next: heap empty, taking if-branch
n1 = GNUNET_CONTAINER_heap_walk_get_next (myHeap);
GNUNET_assert (NULL == n1);
GNUNET_assert (NULL != n1);
- // GNUNET_CONTAINER_heap_peek not empty, taking if-branch
+ // GNUNET_CONTAINER_heap_peek not empty, taking if-branch
n2 = NULL;
n2 = GNUNET_CONTAINER_heap_peek (myHeap);
GNUNET_assert (NULL != n2);
GNUNET_CONTAINER_heap_destroy (myHeap);
- // My additions to a complete testcase
+ // My additions to a complete testcase
// Testing a GNUNET_CONTAINER_HEAP_ORDER_MIN
// Testing remove_node