Postfix3.3.1
dict_lmdb.h
[詳解]
1 #ifndef _DICT_LMDB_H_INCLUDED_
2 #define _DICT_LMDB_H_INCLUDED_
3 
4 /*++
5 /* NAME
6 /* dict_lmdb 3h
7 /* SUMMARY
8 /* dictionary manager interface to OpenLDAP LMDB files
9 /* SYNOPSIS
10 /* #include <dict_lmdb.h>
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * Utility library.
16  */
17 #include <dict.h>
18 
19  /*
20  * External interface.
21  */
22 #define DICT_TYPE_LMDB "lmdb"
23 
24 extern DICT *dict_lmdb_open(const char *, int, int);
25 
26  /*
27  * XXX Should be part of the DICT interface.
28  */
29 extern size_t dict_lmdb_map_size;
30 
31  /* Minimum size without SIGSEGV. */
32 #define DEFINE_DICT_LMDB_MAP_SIZE size_t dict_lmdb_map_size = 8192
33 
34 /* LICENSE
35 /* .ad
36 /* .fi
37 /* The Secure Mailer license must be distributed with this software.
38 /* AUTHOR(S)
39 /* Howard Chu
40 /* Symas Corporation
41 /*--*/
42 
43 #endif
size_t dict_lmdb_map_size
Definition: dict.h:78
DICT * dict_lmdb_open(const char *, int, int)