On Dec 2, 2009, at 12:27 PM, Dave McGuire wrote: >> I also started writing developers documentation to >> http://wiki.dovecot.org/Design. Comments welcome. Some things I had planned >> next: >> >> - istream internals >> - lib-storage API docs >> - ..? > > This is great news, thanks! One thing in particular that I'd like to see is > something on writing plugins. I have several ideas of plugins I'd like to > write but have hesitated to get started due to not wanting to basically dig > through tons of source to figure out how to interface to Dovecot's internals.
The plugin API itself is really really simple. Basically Dovecot just calls plugin_name_init() and you'll go on from there. What would you want your plugin to do? Probably what you need is lib-storage API docs. There are a couple of hooks that only plugins use, but those still belong to lib-storage API category I think.