Commit 35421065 authored by Daniel Salzman's avatar Daniel Salzman

namedb: add LMDB specific flag NAMEDB_LMDB_NOTLS

parent f9af77fc
......@@ -30,6 +30,8 @@
#define LMDB_DIR_MODE 0770
#define LMDB_FILE_MODE 0660
const unsigned NAMEDB_LMDB_NOTLS = MDB_NOTLS;
struct lmdb_env
{
bool shared;
......
......@@ -18,9 +18,12 @@
#include "libknot/internal/namedb/namedb.h"
/* Defines */
/* Defines. */
#define NAMEDB_LMDB_MAPSIZE (100 * 1024 * 1024)
/* LMDB specific flags. */
extern const unsigned NAMEDB_LMDB_NOTLS;
/* Native options. */
struct namedb_lmdb_opts {
const char *path; /*!< Database environment path. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment