summaryrefslogtreecommitdiff
path: root/src/routing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/routing.h')
-rw-r--r--src/routing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/routing.h b/src/routing.h
index bbb4c24..a435a94 100644
--- a/src/routing.h
+++ b/src/routing.h
@@ -46,3 +46,6 @@ void routing_status(int* filled, int* size, double* load_factor, size_t load_fac
struct entry* routing_get(struct nodeid* id);
void routing_remove(struct nodeid* self);
+
+struct nodeid rand_nodeid_in_bucket(struct nodeid *self, struct nodeid *other);
+uint8_t prefix(struct nodeid* a, struct nodeid* b);