diff options
Diffstat (limited to 'src/routing.h')
| -rw-r--r-- | src/routing.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/routing.h b/src/routing.h index 5c98f13..7f1d19e 100644 --- a/src/routing.h +++ b/src/routing.h @@ -29,4 +29,7 @@ void routing_init(struct nodeid* myid); void routing_flush(); bool routing_interested(struct nodeid* id); bool routing_offer(struct nodeid* id, struct entry **dest); +void routing_oldest(struct entry** dest); size_t routing_closest(struct nodeid* needle, size_t n, struct entry** res); + +struct entry* routing_get(struct nodeid* id); |
