summaryrefslogtreecommitdiff
path: root/src/routing.h
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2025-05-07 23:01:47 +0200
committerJesper Jensen <jesper@jnsn.dev>2025-05-07 23:01:47 +0200
commitd230c01c0609529332eb72ae1b65f0ddddd515a0 (patch)
tree446a0f79335da46150f1e82ab3080bf5e8ed94fc /src/routing.h
parentddc816a34861a0e090ea84fc945842593c34f45a (diff)
Transfer the id after loading it
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 aee2c8e..2d53b80 100644
--- a/src/routing.h
+++ b/src/routing.h
@@ -37,6 +37,7 @@ extern struct entry *table;
extern int table_size;
void routing_init(struct nodeid* myid);
+void routing_setid(struct nodeid *id);
void routing_update_metrics();
void routing_flush();
bool routing_interested(struct nodeid* id);