From 3aa66dc10ef926d48559ca2a9cdf10ee51e0a67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Fri, 25 Jun 2021 16:50:17 +0200 Subject: [PATCH] docs: add device mount documentation --- file-browser/include/device_mount.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/file-browser/include/device_mount.h b/file-browser/include/device_mount.h index 86b64e3251ef8487d4e1b458dcb550ae1f28a7a0..5cdeff75da466e5d01711235876fb63b0902fc99 100644 --- a/file-browser/include/device_mount.h +++ b/file-browser/include/device_mount.h @@ -4,9 +4,22 @@ #include #include "file_access.h" +/** + * @brief Mount device to target path + * + * @param device device to be mounted + * @param target folder to mount device to + * @return file_operation_error_t + */ file_operation_error_t device_mount(char *device, char *target); -file_operation_error_t device_umount(char *device, char *target); -char *device_mount_get_filesystem(char *device); +/** + * @brief Unmount device from target path + * + * @param device device to be unmounted + * @param target folder device is mounted to + * @return file_operation_error_t + */ +file_operation_error_t device_umount(char *device, char *target); #endif // __MOUNT_UTILS_H__