Would HDF libs be suitable to build a QUEUE?

Hi there,

I have looked into products like Oracle's Berkeley DB etc to find a good match for building an open source "message queue".....and I need to be able to store "variable length buffers".

Normally file based message queues have an INDEX file that points to certain message offsets in a DAT file.

I really like the idea of HDF, and am pretty sure one could build a great queue using it somehow. I was excited to see the "variable length packet table" but not sure if that is still around.

Any other ideas on which HDF C API's I could possibly *combine* to build a message queue? Ideally I would like to PUT, GET, GET_BY_KEY, PEEK_BY_KEY etc.....

Any ideas?