NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
StoreOps Struct Reference

#include "lib.h"

Data Fields

const char * name
 Store name. More...
void *(* open )(const char *path)
void *(* fetch )(void *store, const char *key, size_t klen, size_t *vlen)
void(* free )(void *store, void **ptr)
int(* store )(void *store, const char *key, size_t klen, void *value, size_t vlen)
int(* delete_record )(void *store, const char *key, size_t klen)
void(* close )(void **ptr)
const char *(* version )(void)

Detailed Description

Definition at line 63 of file lib.h.

Field Documentation

◆ name

const char* StoreOps::name

Store name.

Definition at line 65 of file lib.h.

◆ open

void*(* StoreOps::open) (const char *path)

Definition at line 80 of file lib.h.

◆ fetch

void*(* StoreOps::fetch) (void *store, const char *key, size_t klen, size_t *vlen)

Definition at line 94 of file lib.h.

◆ free

void(* StoreOps::free) (void *store, void **ptr)

Definition at line 104 of file lib.h.

◆ store

int(* StoreOps::store) (void *store, const char *key, size_t klen, void *value, size_t vlen)

Definition at line 119 of file lib.h.

◆ delete_record

int(* StoreOps::delete_record) (void *store, const char *key, size_t klen)

Definition at line 132 of file lib.h.

◆ close

void(* StoreOps::close) (void **ptr)

Definition at line 141 of file lib.h.

◆ version

const char*(* StoreOps::version) (void)

Definition at line 150 of file lib.h.

The documentation for this struct was generated from the following file: