diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2023-07-23 12:15:34 +0200 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2025-04-12 10:21:20 +0200 |
| commit | 47d4780eb448f839fc6b0644135395f879080ba4 (patch) | |
| tree | 2c9a84bf45a4b8af5411331db50173fc5a34f630 /src/routing.h | |
| parent | 3515701479fe04f73e9194ee3074457bb85030f6 (diff) | |
I don't remember
Diffstat (limited to 'src/routing.h')
| -rw-r--r-- | src/routing.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/routing.h b/src/routing.h index f4164fe..bbb4c24 100644 --- a/src/routing.h +++ b/src/routing.h @@ -27,10 +27,15 @@ struct nodeid { struct entry { bool set; struct nodeid id; - time_t expire; struct addr addr; + + time_t expire; }; +extern struct nodeid myID; +extern struct entry table[]; +extern int table_size; + void routing_init(struct nodeid* myid); void routing_flush(); bool routing_interested(struct nodeid* id); |
