summaryrefslogtreecommitdiff
path: root/src/routing.h
diff options
context:
space:
mode:
authorJesper Jensen <jesper@slashwin.dk>2021-10-05 22:48:37 +0200
committerJesper Jensen <jesper@slashwin.dk>2021-10-05 22:48:37 +0200
commit6e6829ad209550fbac0e363f9421c1fba78915b5 (patch)
treea769fdc053e5cd8dabbebe9048725bdc9b6500cc /src/routing.h
parente3eb0d2eda0bb8c4decf9bc56b025157e70387c2 (diff)
Add getclient timeout
Diffstat (limited to 'src/routing.h')
-rw-r--r--src/routing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routing.h b/src/routing.h
index 3972afa..a7cd8c6 100644
--- a/src/routing.h
+++ b/src/routing.h
@@ -31,6 +31,7 @@ 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);
+void routing_status(int* filled, int* size, double* load_factor, size_t load_factor_len);
struct entry* routing_get(struct nodeid* id);
void routing_remove(struct nodeid* self);