From 4610d008632410166e8ff5f1fd38f96ab352c14d Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 29 Apr 2025 05:27:06 +0300 Subject: Documentation --- c_implementation/include/libakfs.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/c_implementation/include/libakfs.h b/c_implementation/include/libakfs.h index 31dd35e..f223c28 100644 --- a/c_implementation/include/libakfs.h +++ b/c_implementation/include/libakfs.h @@ -402,10 +402,32 @@ int ak_fs_ls(); */ int ak_fs_main(int, char**); +/** + * Compares an mt_branch with a NULL one + * @param mt_branch* + * @return boolean + */ bool ak_fs_mt_branch_is_null(mt_branch*); + +/** + * Compares two mt_branch between them + * @param mt_branch* + * @return boolean + */ bool ak_fs_mt_branch_compare(mt_branch*, mt_branch*); -int ak_fs_mt_branch_resolve(mt_branch *); + +/** + * Concatenates a file from a root hash. + * @param sha512sum* + * @return int status + */ int ak_fs_cat_file_from_root_hash(sha512sum*); + +/** + * Concatenates a file from a akfs_map_v3 map + * @param akfs_map_v3* + * @return int status + */ int ak_fs_cfm(akfs_map_v3*); #endif // AKFS -- cgit v1.2.3