1.1.41
by LaMont Jones
Import upstream version 2.11.0 |
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 |
extern unsigned int dict_lmdb_max_readers; |
|
31 |
||
32 |
/* LICENSE
|
|
33 |
/* .ad
|
|
34 |
/* .fi
|
|
35 |
/* The Secure Mailer license must be distributed with this software.
|
|
36 |
/* AUTHOR(S)
|
|
37 |
/* Howard Chu
|
|
38 |
/* Symas Corporation
|
|
39 |
/*--*/
|
|
40 |
||
41 |
#endif
|