NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
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...
 

Macros

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

Functions

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.

Authors
  • 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 http://www.gnu.org/licenses/.

Definition in file rocksdb.c.

Macro Definition Documentation

◆ RDBVER

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