A patch which I had still lying around from the Akonadi meeting. - First code to add entries (not tested at all though) - Fix readEntry to stop at the end of file when reading the last message in the file (Doh!). Now we can at least properly list the contents of a mbox file in Akonadi console.
svn path=/trunk/KDE/kdepim/akonadi/resources/mbox/libmbox/; revision=976872