NeoMutt  2023-05-17-33-gce4425
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 65 of file lib.h.

Field Documentation

◆ name

const char* StoreOps::name

Store name.

Definition at line 67 of file lib.h.

◆ open

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

Definition at line 82 of file lib.h.

◆ fetch

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

Definition at line 96 of file lib.h.

◆ free

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

Definition at line 106 of file lib.h.

◆ store

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

Definition at line 121 of file lib.h.

◆ delete_record

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

Definition at line 134 of file lib.h.

◆ close

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

Definition at line 143 of file lib.h.

◆ version

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

Definition at line 152 of file lib.h.

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