| #ifndef __CMPH_BRZ_STRUCTS_H__ |
| #define __CMPH_BRZ_STRUCTS_H__ |
|
|
| #include "hash_state.h" |
|
|
| struct __brz_data_t |
| { |
| CMPH_ALGO algo; |
| cmph_uint32 m; |
| double c; |
| cmph_uint8 *size; |
| cmph_uint32 *offset; |
| cmph_uint8 **g; |
| cmph_uint32 k; |
| hash_state_t **h1; |
| hash_state_t **h2; |
| hash_state_t * h0; |
| }; |
|
|
| struct __brz_config_data_t |
| { |
| CMPH_HASH hashfuncs[3]; |
| CMPH_ALGO algo; |
| double c; |
| cmph_uint32 m; |
| cmph_uint8 *size; |
| cmph_uint32 *offset; |
| cmph_uint8 **g; |
| cmph_uint8 b; |
| cmph_uint32 k; |
| hash_state_t **h1; |
| hash_state_t **h2; |
| hash_state_t * h0; |
| cmph_uint32 memory_availability; |
| cmph_uint8 * tmp_dir; |
| FILE * mphf_fd; |
| }; |
|
|
| #endif |
|
|