Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
hash.h File Reference

Hash utils. More...

#include <stdint.h>
#include <xxhash.h>
Include dependency graph for hash.h:

Go to the source code of this file.

Enumerations

enum  HashAlgorithm { HASH_ALGORITHM_XXH32 , HASH_ALGORITHM_XXH3_64 }
 

Functions

char * hash_get_from_file (const char *filepath, HashAlgorithm algo)
 
uint32_t hash_get_from_file_simple (const char *filepath)
 
void * hash_create_state (void)
 
void hash_free_state (void *in_state)
 
uint32_t hash_get_for_struct_full (XXH32_state_t *state, const void *const obj, size_t size)
 
uint32_t hash_get_for_struct (const void *const obj, size_t size)
 

Detailed Description

Hash utils.

Definition in file hash.h.