fsautoproc
Basic file transformation automation management utility
|
xxHash64 file hashing functions. More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | xxreq_s |
File hash request structure for processing file hash changes. More... | |
Macros | |
#define | XXBUFSZE 65536 |
Size of the buffer used for reading files to hash. | |
Functions | |
uint64_t | xxupdate (const struct xxreq_s *req) |
Processes a file hash request. If the file's last modified time or size differ from the previous stat info pst , the file is re-hashed and the current hash value is returned. Otherwise the previous pxx hash value is returned indicating no change. | |
xxHash64 file hashing functions.
#define XXBUFSZE 65536 |
Size of the buffer used for reading files to hash.
uint64_t xxupdate | ( | const struct xxreq_s * | req | ) |
Processes a file hash request. If the file's last modified time or size differ from the previous stat info pst
, the file is re-hashed and the current hash value is returned. Otherwise the previous pxx
hash value is returned indicating no change.
req | The file hash request structure containing the filepath, previous and current stat info, and previous hash value (if known). |