Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3789:0120998fb2d9 HEAD
Register proxy dictionary support and link libdict. Currently it's used only
by quota plugin, but later it'll be useful for more things..
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 31 Dec 2005 00:16:35 +0200 |
parents | b412da0eb27c |
children | 70a9d66adc97 |
files | src/imap/Makefile.am src/imap/main.c src/pop3/Makefile.am src/pop3/main.c |
diffstat | 4 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/Makefile.am Sat Dec 31 00:13:42 2005 +0200 +++ b/src/imap/Makefile.am Sat Dec 31 00:16:35 2005 +0200 @@ -4,6 +4,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/lib-dict \ -I$(top_srcdir)/src/lib-mail \ -I$(top_srcdir)/src/lib-imap \ -I$(top_srcdir)/src/lib-storage @@ -15,6 +16,7 @@ ../lib-storage/subscription-file/libstorage_subscription_file.a \ ../lib-imap/libimap.a \ ../lib-mail/libmail.a \ + ../lib-dict/libdict.a \ ../lib-charset/libcharset.a \ ../lib/liblib.a
--- a/src/imap/main.c Sat Dec 31 00:13:42 2005 +0200 +++ b/src/imap/main.c Sat Dec 31 00:16:35 2005 +0200 @@ -11,6 +11,7 @@ #include "process-title.h" #include "randgen.h" #include "module-dir.h" +#include "dict-client.h" #include "mail-storage.h" #include "commands.h" #include "namespace.h" @@ -158,6 +159,7 @@ capability_string = str_new(default_pool, sizeof(CAPABILITY_STRING)+32); str_append(capability_string, CAPABILITY_STRING); + dict_client_register(); mail_storage_init(); mail_storage_register_all(); clients_init(); @@ -201,6 +203,7 @@ commands_deinit(); clients_deinit(); mail_storage_deinit(); + dict_client_unregister(); random_deinit(); pool_unref(namespace_pool);
--- a/src/pop3/Makefile.am Sat Dec 31 00:13:42 2005 +0200 +++ b/src/pop3/Makefile.am Sat Dec 31 00:16:35 2005 +0200 @@ -4,6 +4,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/lib-dict \ -I$(top_srcdir)/src/lib-mail \ -I$(top_srcdir)/src/lib-storage @@ -14,6 +15,7 @@ ../lib-storage/subscription-file/libstorage_subscription_file.a \ ../lib-imap/libimap.a \ ../lib-mail/libmail.a \ + ../lib-dict/libdict.a \ ../lib-charset/libcharset.a \ ../lib/liblib.a
--- a/src/pop3/main.c Sat Dec 31 00:13:42 2005 +0200 +++ b/src/pop3/main.c Sat Dec 31 00:16:35 2005 +0200 @@ -10,6 +10,7 @@ #include "randgen.h" #include "module-dir.h" #include "var-expand.h" +#include "dict-client.h" #include "mail-storage.h" #include <stdio.h> @@ -167,6 +168,7 @@ dec2str(geteuid()), dec2str(getegid())); } + dict_client_register(); mail_storage_init(); mail_storage_register_all(); clients_init(); @@ -253,6 +255,7 @@ clients_deinit(); mail_storage_deinit(); + dict_client_unregister(); random_deinit(); lib_signals_deinit();