mirror of
https://github.com/reactos/ccache.git
synced 2025-01-09 21:10:24 +00:00
17 lines
282 B
C
17 lines
282 B
C
#ifndef HASHUTIL_H
|
|
#define HASHUTIL_H
|
|
|
|
#include <inttypes.h>
|
|
|
|
struct file_hash
|
|
{
|
|
uint8_t hash[16];
|
|
uint32_t size;
|
|
};
|
|
|
|
unsigned int hash_from_string(void *str);
|
|
int strings_equal(void *str1, void *str2);
|
|
int file_hashes_equal(struct file_hash *fh1, struct file_hash *fh2);
|
|
|
|
#endif
|