hamsterdb API Documentation
ham_file_filter_t Struct Reference
#include <hamsterdb_int.h>
Detailed Description
A handle for file-level filteringFile-level filters can modify the page data before some data is written to disk, and immediately after it's read from disk.
File-level filters can be used for example for writing encryption filters. See ham_env_enable_encryption() to create a filter for AES-based encryption.
Each of the three callback functions can be NULL.
Before this structure is used, it has to be initialized with zeroes.
Definition at line 109 of file hamsterdb_int.h.
Field Documentation
The user data
Definition at line 112 of file hamsterdb_int.h.
The function which is called before the page is written
Definition at line 115 of file hamsterdb_int.h.
The function which is called after the page is read
Definition at line 118 of file hamsterdb_int.h.
The function which is when the Database is closed
Definition at line 121 of file hamsterdb_int.h.
For internal use
Definition at line 124 of file hamsterdb_int.h.
For internal use
Definition at line 127 of file hamsterdb_int.h.
Definition at line 127 of file hamsterdb_int.h.
The documentation for this struct was generated from the following file:
- include/ham/hamsterdb_int.h