IMAP extensions

Michael Leupold <[email protected]> Tue, 11 Apr 2006 12:40:24 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hi,

during the last few days I've been extending libetpan with the annotatemore 
imap-extension. With the current low-level imap-stuff I had to plug it into 
the mailimap-files directly which makes them quite cluttered (adding to 
structs and the parser).
The problem mostly arouses when you have to extend one of the tokens the 
parser already knows. Eg. annotatemore extends response-data /= 
annotate-data. If you add it you have to change at least 
mailimap_reponse_data_parse, struct mailimap_response_data and 
resp_data_store).
So I thought it might be nice to have some api to add extensions without 
changing the core of mailimap for every extension you code while being able 
to keep extensions separate from the "clean" imaprev1 code.

What do you think about that?

Regards,
Michael


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642