NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
StoreOps Struct Reference

#include "lib.h"

Data Fields

const char * name
 Store name.
 
StoreHandle *(* open )(const char *path, bool create)
 
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, bool create)

Definition at line 86 of file lib.h.

◆ fetch

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

Definition at line 100 of file lib.h.

◆ free

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

Definition at line 110 of file lib.h.

◆ store

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

Definition at line 125 of file lib.h.

◆ delete_record

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

Definition at line 138 of file lib.h.

◆ close

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

Definition at line 147 of file lib.h.

◆ version

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

Definition at line 156 of file lib.h.


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