[dovecot-cvs] dovecot/src/imap Makefile.am, 1.28, 1.29 main.c, 1.68, 1.69

cras at dovecot.org cras at dovecot.org
Sat Dec 31 00:16:39 EET 2005


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv7859/imap

Modified Files:
	Makefile.am main.c 
Log Message:
Register proxy dictionary support and link libdict. Currently it's used only
by quota plugin, but later it'll be useful for more things..



Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Makefile.am	20 Oct 2004 23:05:54 -0000	1.28
+++ Makefile.am	30 Dec 2005 22:16:35 -0000	1.29
@@ -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
 

Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- main.c	30 Dec 2005 22:13:43 -0000	1.68
+++ main.c	30 Dec 2005 22:16:35 -0000	1.69
@@ -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);
 



More information about the dovecot-cvs mailing list