10#ifndef __UTILS_HASH_H__
11#define __UTILS_HASH_H__
23typedef enum HashAlgorithm
26 HASH_ALGORITHM_XXH3_64,
30hash_get_from_file (
const char * filepath, HashAlgorithm algo);
33hash_get_from_file_simple (
const char * filepath);
36hash_create_state (
void);
39hash_free_state (
void * in_state);
42hash_get_for_struct_full (
43 XXH32_state_t * state,
44 const void *
const obj,
48hash_get_for_struct (
const void *
const obj,
size_t size);