X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=TODO;h=6a51375cd83353cbfae3ed66762318b7b32fb23e;hp=4c4938e177b3a7478583abaf5cc60898819a142e;hb=963c5055505f2fc117cd5efa06eaa02c9b2bf85d;hpb=9e81a6ab5f50df4f5ca36d5303b91a8d5a0e753e diff --git a/TODO b/TODO index 4c4938e1..6a51375c 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,41 @@ -TODO LIST +TODO list for MeshLink +---------------------- -* Stop using UDP source address as the identifier of the remote tinc daemon. - Use a unique number sent along with ANS_KEY. +* 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. + - how to handle nodes that are part of one mesh and want to join another? -* Efficient multicast support. +* meshlink_leave()? + - leaving a mesh is basically starting all over again, with new private keys? -* Check if caches using hash tables speed up route.c. +* 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. -* Streamline the meta protocol. Use a binary format? +* Add autoconf/automake stuff to call Doxygen. -* Add (hooks for) a (graphical) frontend, like Pokey. +* Write a manual + - Add introduction and walkthrough how to use MeshLink in an application to + the doxygen manual. + - Explain what MeshLink does and how it should be used in the application + - Import examples into the manual? + - List possible ways of synchronisation between application and library threads + - simple polling + - pthread_cond? + - pipe() to signal an event loop of the application's choice + - whatever equivalent(s) there are on Windows -* Implement future goals as mentioned on the website. +Not finished but being worked on: +--------------------------------- + +* 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(). + - Check all public API functions. + +* Write a test suite for the library. + +* Add a "channel" library to MeshLink. + - Support multiple TCP- and UDP-like streams between two nodes.