blob: 0639c251e58b273aa0d4466b3ced6a19dce1f26b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#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 *);
|