diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-01 03:59:07 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-01 03:59:07 +0300 |
commit | ff2f210d6662c7231547f04d04b5a9c8fb2cf706 (patch) | |
tree | 0c71177c69a2dca8eb0b2edf2e938b58c6a8cb7c /src/include | |
parent | 6741ef52b72a164fcbc9ba4ebe4057e2de869a37 (diff) | |
download | arching-kaos-tools-ff2f210d6662c7231547f04d04b5a9c8fb2cf706.tar.gz arching-kaos-tools-ff2f210d6662c7231547f04d04b5a9c8fb2cf706.tar.bz2 arching-kaos-tools-ff2f210d6662c7231547f04d04b5a9c8fb2cf706.zip |
Introducing the first test and library implementations for the _ak_fs in C
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/akfs.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/akfs.h b/src/include/akfs.h new file mode 100644 index 0000000..1a574af --- /dev/null +++ b/src/include/akfs.h @@ -0,0 +1,25 @@ +#ifndef AKFS +#define AKFS + +#include <stdbool.h> + +typedef struct { + long unsigned int sum[8]; +} sha512sum; + +//typedef char[64] sha512sum_as_string; + +char* ak_fs_return_hash_path(char*); + +char* ak_fs_return_hash_dir(char*); + +bool ak_fs_verify_input_is_hash(char*); + +int ak_fs_create_dir_for_hash(char*); + +sha512sum ak_fs_sha512sum_string_to_struct(char*); + +char* ak_fs_sha512sum_struct_to_string(sha512sum); + +#endif // AKFS + |