summaryrefslogtreecommitdiffstats
path: root/src/lib-fs/fs-sis-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib-fs/fs-sis-common.h')
-rw-r--r--src/lib-fs/fs-sis-common.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib-fs/fs-sis-common.h b/src/lib-fs/fs-sis-common.h
new file mode 100644
index 0000000..5156ca6
--- /dev/null
+++ b/src/lib-fs/fs-sis-common.h
@@ -0,0 +1,14 @@
+#ifndef FS_SIS_COMMON_H
+#define FS_SIS_COMMON_H
+
+#include "fs-api-private.h"
+
+#define HASH_DIR_NAME "hashes"
+
+int fs_sis_path_parse(struct fs_file *file, const char *path,
+ const char **dir_r, const char **hash_r);
+void fs_sis_try_unlink_hash_file(struct fs_file *sis_file,
+ struct fs_file *super_file);
+
+#endif
+