blob: 59cf0c054e053ecf644bc0686ef6a1ad371cf3e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-av,v 1.3 2008/10/16 09:45:12 martti Exp $
Support for sqlite.
--- src/global/mail_dict.c.orig 2008-01-08 22:07:47.000000000 +0100
+++ src/global/mail_dict.c
@@ -36,6 +36,7 @@
#include <dict_ldap.h>
#include <dict_mysql.h>
#include <dict_pgsql.h>
+#include <dict_sqlite.h>
#include <mail_dict.h>
typedef struct {
@@ -54,6 +55,9 @@ static const DICT_OPEN_INFO dict_open_in
#ifdef HAS_PGSQL
DICT_TYPE_PGSQL, dict_pgsql_open,
#endif
+#ifdef HAS_SQLITE
+ DICT_TYPE_SQLITE, dict_sqlite_open,
+#endif
0,
};
|