[dovecot-cvs] dovecot/src/pop3 Makefile.am, 1.11, 1.12 main.c, 1.36, 1.37

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


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

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/pop3/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile.am	6 Jan 2005 17:05:13 -0000	1.11
+++ Makefile.am	30 Dec 2005 22:16:36 -0000	1.12
@@ -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
 

Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- main.c	30 Dec 2005 22:13:42 -0000	1.36
+++ main.c	30 Dec 2005 22:16:36 -0000	1.37
@@ -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();



More information about the dovecot-cvs mailing list