about summary refs log tree commit diff stats
path: root/filehash.h
diff options
context:
space:
mode:
authorDacav <dacav@tilde.institute>2020-08-28 11:47:33 +0200
committerDacav <dacav@tilde.institute>2020-08-28 11:47:33 +0200
commitb71bf6f6a95f49b1d2b53a2f673d5d93836b4fc1 (patch)
tree678cdb8ffcc855322744f10dc276b87378c09696 /filehash.h
downloadforg-b71bf6f6a95f49b1d2b53a2f673d5d93836b4fc1.tar.gz
init
Diffstat (limited to 'filehash.h')
-rw-r--r--filehash.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/filehash.h b/filehash.h
new file mode 100644
index 0000000..4f99b0e
--- /dev/null
+++ b/filehash.h
@@ -0,0 +1,7 @@
+#pragma once
+
+typedef struct filehash_t filehash_t;
+
+filehash_t *filehash_new(const char *hash_program, unsigned max_per_invocation);
+
+void filehash_free(filehash_t *);