NeoMutt  2025-12-11-694-ga89709
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches

Get a Store version string. More...

+ Collaboration diagram for version():

Functions

static const char * store_gdbm_version (void)
 Get a Store version string - Implements StoreOps::version() -.
 
static const char * store_lmdb_version (void)
 Get a Store version string - Implements StoreOps::version() -.
 
static const char * store_rocksdb_version (void)
 Get a Store version string - Implements StoreOps::version() -.
 
static const char * store_tdb_version (void)
 Get a Store version string - Implements StoreOps::version() -.
 

Detailed Description

Get a Store version string.

Return values
ptrString describing the currently used Store

Function Documentation

◆ store_gdbm_version()

static const char * store_gdbm_version ( void )
static

Get a Store version string - Implements StoreOps::version() -.

Definition at line 151 of file gdbm.c.

152{
153 return gdbm_version;
154}

◆ store_lmdb_version()

static const char * store_lmdb_version ( void )
static

Get a Store version string - Implements StoreOps::version() -.

Definition at line 357 of file lmdb.c.

358{
359 return "lmdb " MDB_VERSION_STRING;
360}

◆ store_rocksdb_version()

static const char * store_rocksdb_version ( void )
static

Get a Store version string - Implements StoreOps::version() -.

Definition at line 219 of file rocksdb.c.

220{
221/* return sth. like "RocksDB 6.7.3" */
222#define RDBVER(major, minor, patch) #major "." #minor "." #patch
223 return "RocksDB " RDBVER(ROCKSDB_MAJOR, ROCKSDB_MINOR, ROCKSDB_PATCH);
224}
#define RDBVER(major, minor, patch)

◆ store_tdb_version()

static const char * store_tdb_version ( void )
static

Get a Store version string - Implements StoreOps::version() -.

Definition at line 148 of file tdb.c.

149{
150 // TDB doesn't supply any version info
151 return "tdb";
152}