From 0ed6ef2567a8355013e2cd61a1a31df6be67ae01 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Fri, 24 Mar 2017 14:05:40 +0100 Subject: ipcpd: normal: Fill in forwarding table The routing now takes the results of the routing table to fill in the forwarding table, by going through the neighbors and filling in the right fd. --- include/ouroboros/hashtable.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ouroboros/hashtable.h b/include/ouroboros/hashtable.h index 81fbcc1a..5e1ff4b1 100644 --- a/include/ouroboros/hashtable.h +++ b/include/ouroboros/hashtable.h @@ -34,7 +34,9 @@ struct htable; struct htable * htable_create(uint64_t buckets, bool hash_key); -int htable_destroy(struct htable * table); +void htable_destroy(struct htable * table); + +void htable_flush(struct htable * table); /* Passes ownership of the block of memory */ int htable_insert(struct htable * table, -- cgit v1.2.3