X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeshlink_internal.h;h=7c3a7d4c9734faff9a7e7684857f66c41f5a5270;hb=e3cb560a6d22dbe111447039098960cb353402ec;hp=8604acb64051ff928a5a7deb13d242b24e6956cb;hpb=9ba6a16d3c748d026f88b9cd96f908e95ef25521;p=meshlink diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index 8604acb6..7c3a7d4c 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -49,6 +49,12 @@ typedef enum proxytype_t { PROXY_EXEC, } proxytype_t; +typedef struct outpacketqueue { + meshlink_node_t *destination; + const void *data; + unsigned int len; +} outpacketqueue_t; + /// A handle for an instance of MeshLink. struct meshlink_handle { char *confbase; @@ -79,6 +85,9 @@ struct meshlink_handle { struct list_t *outpacketqueue; + struct splay_tree_t *past_request_tree; + timeout_t past_request_timeout; + int contradicting_add_edge; int contradicting_del_edge; int sleeptime;