NeoMutt  2023-05-17-56-ga67199
Teaching an old dog new tricks
HeaderCache Struct Reference

Header cache structure. More...

#include "lib.h"

Data Fields

char * folder
 Folder name. More...
unsigned int crc
 CRC of the cache entry. More...
void * ctx
 Store context (handle) More...
void * cctx
 Compression context (handle) More...

Detailed Description

Header cache structure.

This struct holds both the backend-agnostic and the backend-specific parts of the header cache. Backend code MUST initialize the fetch, store, delete and close function pointers in hcache_open, and MAY store backend-specific context in the ctx pointer.

Definition at line 87 of file lib.h.

Field Documentation

◆ folder

char* HeaderCache::folder

Folder name.

Definition at line 89 of file lib.h.

◆ crc

unsigned int HeaderCache::crc

CRC of the cache entry.

Definition at line 90 of file lib.h.

◆ ctx

void* HeaderCache::ctx

Store context (handle)

Definition at line 91 of file lib.h.

◆ cctx

void* HeaderCache::cctx

Compression context (handle)

Definition at line 92 of file lib.h.

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