NeoMutt  2022-04-29-215-gc12b98
Teaching an old dog new tricks
rocksdb.c File Reference

RocksDB backend for the key/value Store. More...

#include "config.h"
#include <stddef.h>
#include <rocksdb/c.h>
#include "mutt/lib.h"
#include "lib.h"
+ Include dependency graph for rocksdb.c:

Go to the source code of this file.

Data Structures

struct  RocksDbCtx
 Berkeley DB context. More...


#define RDBVER(major, minor, patch)   #major "." #minor "." #patch


static void * store_rocksdb_open (const char *path)
 Implements StoreOps::open() -. More...
static void * store_rocksdb_fetch (void *store, const char *key, size_t klen, size_t *vlen)
 Implements StoreOps::fetch() -. More...
static void store_rocksdb_free (void *store, void **ptr)
 Implements StoreOps::free() -. More...
static int store_rocksdb_store (void *store, const char *key, size_t klen, void *value, size_t vlen)
 Implements StoreOps::store() -. More...
static int store_rocksdb_delete_record (void *store, const char *key, size_t klen)
 Implements StoreOps::delete_record() -. More...
static void store_rocksdb_close (void **ptr)
 Implements StoreOps::close() -. More...
static const char * store_rocksdb_version (void)
 Implements StoreOps::version() -. More...

Detailed Description

RocksDB backend for the key/value Store.

  • Tino Reichardt

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

Definition in file rocksdb.c.

Macro Definition Documentation


#define RDBVER (   major,
)    #major "." #minor "." #patch