NeoMutt  2023-11-03-107-g582dc1
Teaching an old dog new tricks
No Matches
StoreOps Struct Reference

#include "lib.h"

Data Fields

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

Detailed Description

Definition at line 68 of file lib.h.

Field Documentation

◆ name

const char* StoreOps::name

Store name.

Definition at line 70 of file lib.h.

◆ open

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

Definition at line 85 of file lib.h.

◆ fetch

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

Definition at line 99 of file lib.h.

◆ free

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

Definition at line 109 of file lib.h.

◆ store

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

Definition at line 124 of file lib.h.

◆ delete_record

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

Definition at line 137 of file lib.h.

◆ close

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

Definition at line 146 of file lib.h.

◆ version

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

Definition at line 155 of file lib.h.

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