updates.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 27 May 2007 19:13:46 +0000 (19:13 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 27 May 2007 19:13:46 +0000 (19:13 +0000)
TODO

diff --git a/TODO b/TODO
index d1af63a35d4ac8d5b17937c51a91fee52e26d2af..734a026a4fbe97f7e834d2f8826edf4d5f441e46 100644 (file)
--- a/TODO
+++ b/TODO
@@ -132,7 +132,11 @@ Runtime library, lib/silcutil/
 
    Problems: Events would be SilcSchedule specific, and would not work on 
    multi-thread/multi-scheduler system.  The events should be copyable 
-   between schedulers.
+   between schedulers.  Another problem is the signal delivery.  Do we
+   deliver them synchronously possibly from any thread to any other thread
+   or do we deliver them through the target schedulers.  If we use the
+   schedulers then signalling would be asynchronous (data must be 
+   duplicated and later freed) which is not very nice.
 
  o If the event signals are added, the SILC_PARAM_* stuff needs to be
    moved from silcbuffmt.h to silctypes.h or something similar.
@@ -153,6 +157,10 @@ Runtime library, lib/silcutil/
                                   SilcSchedule parent);
    SilcSchedule silc_schedule_get_parent(SilcSchedule schedule);
 
+ o Additional scheduler changes: optimize silc_schedule_wakeup.  Wakeup 
+   only if the scheduler is actually waiting something.  If it is 
+   delivering tasks wakeup is not needed.
+
  o Structured log messages to Log API.  Allows machine readable log
    messages.  Would allow sending of any kind of data in a log message.
 
@@ -431,6 +439,7 @@ SILC Accelerator Library
      const SilcDHObject *dh;           /* Accelerated Diffie-Hellmans */
      const SilcCipherObject *cipher;   /* Accelerated ciphers */
      const SilcHashObject *hash;       /* Accelerated hashes */
+     const SilcHmacObject *hmac;       /* Accelerated HMACs */
      const SilcRngObject *rng;         /* Accelerated RNG's */
    } *SilcAccelerator, SilcAcceleratorStruct;
 
@@ -492,8 +501,14 @@ lib/silcmath
 SILC XML Library, lib/silcxml/
 ==============================
 
- o SILC XML API (wrapper to expat).  The SILC XML API should follow and 
-   resemble Simple API for XML (SAX).
+ o SILC XML API (wrapper to expat).  Look at the expat API and simplify
+   it.  The SILC XML API should have at most 8-10 API functions.  It should 
+   be possible to create full XML parser with only one function.  And, it 
+   should be possible to have a function that is able to parse an entire
+   XML document.  It should also have a parser function to be able to
+   parse a stream of XML data (SilcStream).  It MUST NOT have operations
+   that require multiple function calls to be able to execute that one
+   operation (like creating parser).
 
 
 lib/silcske/silcske.[ch]