aboutsummaryrefslogtreecommitdiff
path: root/src/include/akfs.h
blob: 1a574affd8f22887ee06e4d4a21672242e5f5425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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