|
static void | lmdb_sdata_free (struct LmdbStoreData **ptr) |
| Free Lmdb Store Data.
|
|
static struct LmdbStoreData * | lmdb_sdata_new (void) |
| Create new Lmdb Store Data.
|
|
static int | lmdb_get_read_txn (struct LmdbStoreData *sdata) |
| Get an LMDB read transaction.
|
|
static int | lmdb_get_write_txn (struct LmdbStoreData *sdata) |
| Get an LMDB write transaction.
|
|
static StoreHandle * | store_lmdb_open (const char *path, bool create) |
| Open a connection to a Store - Implements StoreOps::open() -.
|
|
static void * | store_lmdb_fetch (StoreHandle *store, const char *key, size_t klen, size_t *vlen) |
| Fetch a Value from the Store - Implements StoreOps::fetch() -.
|
|
static void | store_lmdb_free (StoreHandle *store, void **ptr) |
| Free a Value returned by fetch() - Implements StoreOps::free() -.
|
|
static int | store_lmdb_store (StoreHandle *store, const char *key, size_t klen, void *value, size_t vlen) |
| Write a Value to the Store - Implements StoreOps::store() -.
|
|
static int | store_lmdb_delete_record (StoreHandle *store, const char *key, size_t klen) |
| Delete a record from the Store - Implements StoreOps::delete_record() -.
|
|
static void | store_lmdb_close (StoreHandle **ptr) |
| Close a Store connection - Implements StoreOps::close() -.
|
|
static const char * | store_lmdb_version (void) |
| Get a Store version string - Implements StoreOps::version() -.
|
|
Lightning Memory-Mapped Database (LMDB) backend for the key/value Store.
- Authors
- Pietro Cerutti
- Richard Russon
- Ian Zimmerman
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file lmdb.c.