|
mupdf
|
#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) |
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.
| int(* fz_store_type::cmp_key) (fz_context *ctx, void *a, void *b) |
| void(* fz_store_type::drop_key) (fz_context *ctx, void *key) |
| void(* fz_store_type::format_key) (fz_context *ctx, char *buf, size_t size, void *key) |
| void *(* fz_store_type::keep_key) (fz_context *ctx, void *key) |
| int(* fz_store_type::make_hash_key) (fz_context *ctx, fz_store_hash *hash, void *key) |
| const char* fz_store_type::name |
| int(* fz_store_type::needs_reap) (fz_context *ctx, void *key) |