NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
tdb.c File Reference

Trivial DataBase (TDB) backend for the key/value Store. More...

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

Go to the source code of this file.

Functions

static void * store_tdb_open (const char *path)
 Implements StoreOps::open() -. More...
 
static void * store_tdb_fetch (void *store, const char *key, size_t klen, size_t *vlen)
 Implements StoreOps::fetch() -. More...
 
static void store_tdb_free (void *store, void **ptr)
 Implements StoreOps::free() -. More...
 
static int store_tdb_store (void *store, const char *key, size_t klen, void *value, size_t vlen)
 Implements StoreOps::store() -. More...
 
static int store_tdb_delete_record (void *store, const char *key, size_t klen)
 Implements StoreOps::delete_record() -. More...
 
static void store_tdb_close (void **ptr)
 Implements StoreOps::close() -. More...
 
static const char * store_tdb_version (void)
 Implements StoreOps::version() -. More...
 

Detailed Description

Trivial DataBase (TDB) 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 tdb.c.