xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/dict_lmdb.h (revision 9616dacfef448e70e3fbbd865bddf60d54b656c5)
1 /*	$NetBSD: dict_lmdb.h,v 1.1.1.1 2014/07/06 19:27:58 tron Exp $	*/
2 
3 #ifndef _DICT_LMDB_H_INCLUDED_
4 #define _DICT_LMDB_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	dict_lmdb 3h
9 /* SUMMARY
10 /*	dictionary manager interface to OpenLDAP LMDB files
11 /* SYNOPSIS
12 /*	#include <dict_lmdb.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <dict.h>
20 
21  /*
22   * External interface.
23   */
24 #define DICT_TYPE_LMDB	"lmdb"
25 
26 extern DICT *dict_lmdb_open(const char *, int, int);
27 
28  /*
29   * XXX Should be part of the DICT interface.
30   */
31 extern size_t dict_lmdb_map_size;
32 extern unsigned int dict_lmdb_max_readers;
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
44