]> git.meshlink.io Git - meshlink/blobdiff - src/node.h
Move node_tree to mesh->nodes.
[meshlink] / src / node.h
index 68f6578ccee5c4056718bafbd87e01cecee5fc80..f6415a1d075f0191ff60abe819b9e567dbdd01d8 100644 (file)
@@ -49,7 +49,7 @@ typedef struct node_t {
        time_t last_state_change;
        time_t last_req_key;
 
-       struct ecdsa_t *ecdsa;                         /* His public ECDSA key */
+       struct ecdsa *ecdsa;                    /* His public ECDSA key */
        sptps_t sptps;
 
        int incompression;                      /* Compressionlevel, 0 = no compression */
@@ -88,9 +88,6 @@ typedef struct node_t {
        uint64_t out_bytes;
 } node_t;
 
-extern struct node_t *myself;
-extern struct splay_tree_t *node_tree;
-
 extern void init_nodes(void);
 extern void exit_nodes(void);
 extern node_t *new_node(void) __attribute__ ((__malloc__));