2 ldb database library using mdb back end - transaction operations
4 Copyright (C) Jakub Hrozek 2015
5 Copyright (C) Catalyst.Net Ltd 2017
7 ** NOTE! The following LGPL license applies to the ldb
8 ** library. This does NOT imply that all of Samba is released
11 This library is free software; you can redistribute it and/or
12 modify it under the terms of the GNU Lesser General Public
13 License as published by the Free Software Foundation; either
14 version 3 of the License, or (at your option) any later version.
16 This library is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 Lesser General Public License for more details.
21 You should have received a copy of the GNU Lesser General Public
22 License along with this library; if not, see <http://www.gnu.org/licenses/>.
28 #include "ldb_private.h"
32 struct ldb_context *ldb;
35 struct lmdb_trans *txlist;
37 struct ldb_mdb_metadata {
38 struct ldb_message *attributes;
47 struct lmdb_trans *next;
48 struct lmdb_trans *prev;
53 int ldb_mdb_err_map(int lmdb_err);
54 int lmdb_connect(struct ldb_context *ldb, const char *url,
55 unsigned int flags, const char *options[],
56 struct ldb_module **_module);
58 #endif /* _LDB_MDB_H_ */