]> git.meshlink.io Git - meshlink-tiny/blobdiff - src/node.h
Remove all support for channels.
[meshlink-tiny] / src / node.h
index 7384f17ca94d3a6848bbf488f116c778a5be3ce1..90e0c29bc09a6814579605fc15b54a95b2c2f175 100644 (file)
@@ -24,7 +24,6 @@
 #include "meshlink_internal.h"
 #include "sockaddr.h"
 #include "sptps.h"
-#include "utcp.h"
 
 typedef struct node_status_t {
        uint16_t validkey: 1;               /* 1 if we currently have a valid key for him */
@@ -51,17 +50,11 @@ typedef struct node_t {
        node_status_t status;
        dev_class_t devclass;
 
-       // Used for packet I/O
        uint32_t session_id;                    /* Unique ID for this node's currently running process */
-       sptps_t sptps;
-
-       struct utcp *utcp;
 
        // Used for meta-connection I/O, timeouts
        struct meshlink_handle *mesh;           /* The mesh this node belongs to */
 
-       time_t last_req_key;
-
        struct ecdsa *ecdsa;                    /* His public ECDSA key */
 
        struct connection_t *connection;        /* Connection associated with this node (if a direct connection exists) */