From bc10650887822d214a178a16fe7948d0977aa81c Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sun, 20 Jun 2021 20:39:46 +0200 Subject: Add tests for routing --- src/routing.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/routing.h') diff --git a/src/routing.h b/src/routing.h index dc40aa9..b0e9922 100644 --- a/src/routing.h +++ b/src/routing.h @@ -35,5 +35,6 @@ struct entry { }; void routing_init(struct nodeid* myid); +void routing_flush(); bool routing_offer(struct nodeid* id, struct entry **dest); -size_t rounting_closest(struct nodeid* needle, size_t n, struct entry** res); +size_t routing_closest(struct nodeid* needle, size_t n, struct entry** res); -- cgit v1.2.3