blob: 0639c251e58b273aa0d4466b3ced6a19dce1f26b (
plain) (
tree)
|
|
#pragma once
typedef struct filehash_t filehash_t;
typedef enum {
fhs_accepts,
fhs_failure,
fhs_full,
fhs_rejected,
} filehash_state_t;
filehash_t *
filehash_new(const char *hash_program, unsigned max_per_invocation);
filehash_state_t filehash_send(filehash_t *, const char *file_name);
void
filehash_free(filehash_t *);
|