#ifndef DATASET_HASH_H #define DATASET_HASH_H #include #include #ifdef __cplusplus extern "C" { #endif // Hash a directory and return combined digest // dir: path to directory // out_hash: output parameter, receives allocated hex string (caller must free with fh_free_string) // Returns: 0 on success, -1 on error int fh_hash_directory_combined(const char* dir, char** out_hash); // Free a string previously returned by FFI functions void fh_free_string(char* s); // Get metrics in Prometheus format // Returns: allocated string with metrics (caller must free with fh_free_string) char* fh_get_metrics(void); #ifdef __cplusplus } #endif #endif // DATASET_HASH_H