X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=TODO;h=1eb11239cc1deec53c47085a6b8d74154c72742f;hb=refs%2Fheads%2Fapp2libraryqueue;hp=6800c03885a2410cb73938248743cd88dea6d2f6;hpb=d3f889c8076dff9c00ebfe1459cb36425f8da41d;p=meshlink diff --git a/TODO b/TODO index 6800c038..1eb11239 100644 --- a/TODO +++ b/TODO @@ -1,23 +1,53 @@ -TODO LIST +TODO list for MeshLink +---------------------- -Goals for 1.0 release: +* Check for remaining global variables and get rid of them. -* Check Solaris port -* Check different linux architectures (x86, alpha and sparc32 done) -* Store private key in a separate file (done, 1 dec 2000) -* Sanity checks on configuration directory (mostly done) -* Use efficient tree algorithms instead of linked lists (done) -* Reenable queues for delayed packets (done) -* Merge documentation files (SECURITY, INSTALL, PROTOCOL) into tinc.texi +* 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. -Goals for future releases: +* 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(). -* Compression -* Routing by MAC/switching (allows for more than only IPv4) -* Broadcast/multicast -* Windowing, chaffing, scattering, background noise -* ABC protocol (superscalabilty) -* Proxy ARP -* Eazy setup scripts (graphical?) -* Threading +* 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. + +* 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. + +* Add a logging callback. + - One in a meshlink_handle_t for everything that happens after meshlink_open(). + - Add a global one for library calls that don't involve a valid meshlink_handle_t *. + - Get rid of "priority". + +* 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. + +* Write a manual + - Document API + - Explain what MeshLink does and how it should be used in the application + - Write simple examples for common operations + - 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 + +* Add a "channel" library to MeshLink. + - Support multiple TCP- and UDP-like streams between two nodes.