[Dovecot] [PATCH] Split sql drivers from lib-sql to plugins
Timo Sirainen
tss at iki.fi
Mon Apr 2 08:07:05 EEST 2007
On Fri, 2007-03-30 at 18:05 +0200, Tomas Janousek wrote:
> > But for now, wouldn't it simply work if you did like
> > http://wiki.dovecot.org/CompilingSource (last section) shows? It's a bit
> > dirty though.
>
> Does that really work? It doesn't work here unless I symlink those files to
> the sql subdir and apply the part of my patch that loads the modules. There's
> simply no code in dovecot-auth that would load the modules.
Yea, I forgot about that. Although it does load modules from
auth/password/ directory. I think dovecot-auth's plugin handling could
use some changes.
Anyway these should be removed:
+void sql_mysql_plugin_init(void)
+{
+ driver_mysql_init();
+}
Either change the plugin name to libdriver_mysql.so or rename
driver_mysql_init() to sql_mysql_plugin_init().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070402/afc2e35f/attachment.pgp
More information about the dovecot
mailing list