i have implemented a little wrapper around sqlite to have a priority and timestamp sorted persistent queue.
The code is only some small C files and should compile on many OS. It is under LGPL (free for private or commercial use).
The sqlite based persistent queue is hidden behind an interface (a struct) to allow changing the implementation later for a RAM based queue plugin or a CACHE based queue plugin combining the RAM and the SQLite queue.
Here is the API:
http://www.xmlblaster.org/xmlBlaster/src/c/util/queue/QueueInterface.h.html
and the implementation:
http://www.xmlblaster.org/xmlBlaster/src/c/util/queue/SQLiteQueue.c.html
and the test suite:
http://www.xmlblaster.org/xmlBlaster/testsuite/src/c/TestQueue.c.html
showing how to use it.
Probably this is useful for some of you,
regards,
Marcel
-- http://www.xmlBlaster.org
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]