dict_lmdb.h revision 1.2
1/* $NetBSD: dict_lmdb.h,v 1.2 2017/02/14 01:16:49 christos 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 26extern DICT *dict_lmdb_open(const char *, int, int); 27 28 /* 29 * XXX Should be part of the DICT interface. 30 */ 31extern size_t dict_lmdb_map_size; 32 33 /* Minimum size without SIGSEGV. */ 34#define DEFINE_DICT_LMDB_MAP_SIZE size_t dict_lmdb_map_size = 8192 35 36/* LICENSE 37/* .ad 38/* .fi 39/* The Secure Mailer license must be distributed with this software. 40/* AUTHOR(S) 41/* Howard Chu 42/* Symas Corporation 43/*--*/ 44 45#endif 46