mupdf
Loading...
Searching...
No Matches
fz_store_type Struct Reference

#include <store.h>

Public Attributes

const char * name
int(* make_hash_key )(fz_context *ctx, fz_store_hash *hash, void *key)
void *(* keep_key )(fz_context *ctx, void *key)
void(* drop_key )(fz_context *ctx, void *key)
int(* cmp_key )(fz_context *ctx, void *a, void *b)
void(* format_key )(fz_context *ctx, char *buf, size_t size, void *key)
int(* needs_reap )(fz_context *ctx, void *key)

Detailed Description

Every type of object to be placed into the store defines an fz_store_type. This contains the pointers to functions to make hashes, manipulate keys, and check for needing reaping.

Member Data Documentation

◆ cmp_key

int(* fz_store_type::cmp_key) (fz_context *ctx, void *a, void *b)

◆ drop_key

void(* fz_store_type::drop_key) (fz_context *ctx, void *key)

◆ format_key

void(* fz_store_type::format_key) (fz_context *ctx, char *buf, size_t size, void *key)

◆ keep_key

void *(* fz_store_type::keep_key) (fz_context *ctx, void *key)

◆ make_hash_key

int(* fz_store_type::make_hash_key) (fz_context *ctx, fz_store_hash *hash, void *key)

◆ name

const char* fz_store_type::name

◆ needs_reap

int(* fz_store_type::needs_reap) (fz_context *ctx, void *key)

The documentation for this struct was generated from the following file:
  • /build/mupdf-1.28.0+ds1/include/mupdf/fitz/store.h