]> git.meshlink.io Git - meshlink/blobdiff - TODO
Fix declaration of meshlink_set_channel_receive_cb().
[meshlink] / TODO
diff --git a/TODO b/TODO
index 001cf665adf14cc56f4f077c8ca7409f9e97ea3a..cba438b68d0256f0b9415a8cc4b05817b7243efb 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,25 +1,12 @@
 TODO list for MeshLink
 ----------------------
 
-* Check for remaining global variables and get rid of them.
-
-* Write code for all the functions in meshlink.c (some can be moved from libmeshlink.c)
-  Current stubs that need implementation:
-  - meshlink_export()
-  - meshlink_import()
-  - meshlink_blacklist()
-
-* Implement a simple single producer, single consumer queue for communication
-  between the application and library threads. It is possible to do this without locks.
-
-* Provide thread-safety to functions that return pointers to meshlink_node_t.
-  - The mesh->nodes tree can be updated by the library thread at any time,
-    so it must be protected by a mutex or rwlock.
-  - Individial node_t's must never be freed or moved except in meshlink_close().
+* Speed up start: immediately do outgoing connections instead of waiting 5 seconds.
 
 * meshlink_join():
   - add checks that we only join another mesh if we did not connect to any other node before.
   - only allow meshlink_join() when the library thread is not running.
+  - remove old host config file if the invitation gave the node a different name.
 
 * Allow meshlink_open() to be called with a NULL name, in anticipation of meshlink_join().
   - Do not allow meshlink_start() if no Name is set.
@@ -31,10 +18,6 @@ TODO list for MeshLink
 
 * Fill in mesh->errno whenever an error happens (= when a function returns false or NULL).
 
-* Make the headers work correctly in a C++ environment.
-
-* Add a header-only C++ wrapper API.
-
 * Add autoconf/automake stuff to call Doxygen.
 
 * Write a test suite for the library.
@@ -49,3 +32,29 @@ TODO list for MeshLink
     - pipe() to signal an event loop of the application's choice
     - whatever equivalent(s) there are on Windows
 
+* Add a "channel" library to MeshLink.
+  - Support multiple TCP- and UDP-like streams between two nodes.
+
+Mostly done:
+------------
+
+* Check for remaining global variables and get rid of them.
+
+* Write code for all the functions in meshlink.c (some can be moved from libmeshlink.c)
+  Current stubs that need implementation:
+  - meshlink_export()
+  - meshlink_import()
+  - meshlink_blacklist()
+
+* Implement a simple single producer, single consumer queue for communication
+  between the application and library threads. It is possible to do this without locks.
+
+* Provide thread-safety to functions that return pointers to meshlink_node_t.
+  - The mesh->nodes tree can be updated by the library thread at any time,
+    so it must be protected by a mutex or rwlock.
+  - Individial node_t's must never be freed or moved except in meshlink_close().
+
+* Make the headers work correctly in a C++ environment.
+
+* Add a header-only C++ wrapper API.
+