~ruther/CTU-FEE-B0B35APO-Semestral-project

ref: f9cc39006acbc2a7ea5bac86e175d021de92daca CTU-FEE-B0B35APO-Semestral-project/file-browser/include/local_file_access.h -rw-r--r-- 1.0 KiB
f9cc3900 — František Boháček feat: add gui list commands for scrolling and clicking items 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __LOCAL_FILE_ACCESS_H__
#define __LOCAL_FILE_ACCESS_H__

#include "file_access.h"

fileaccess_state_t local_fileaccess_init_state(void *data);
bool local_fileaccess_deinit_state(fileaccess_state_t state);

directory_or_error_t local_fileaccess_directory_list(fileaccess_state_t state, char *path);
directory_or_error_t local_fileaccess_root_list(fileaccess_state_t state);

directory_or_error_t local_fileaccess_directory_create(fileaccess_state_t state, char *path);
file_operation_error_t local_fileaccess_directory_delete(fileaccess_state_t state, char *path);

file_operation_error_t local_fileaccess_directory_close(fileaccess_state_t state, directory_t *directory);

file_operation_error_t local_fileaccess_file_get_mime_type(fileaccess_state_t state, file_t *file, char *mime);
executing_file_or_error_t local_fileaccess_file_execute(fileaccess_state_t state, file_t *file, char *args);
file_operation_error_t local_fileaccess_file_delete(fileaccess_state_t state, char *path);

#endif // __LOCAL_FILE_ACCESS_H__
Do not follow this link