ajout du file explorer
reste à fix le get_file_info, ajouter le download/upload/delete
This commit is contained in:
@@ -7,12 +7,18 @@
|
||||
#include <sys/stat.h>
|
||||
#include "resolve_apis.h"
|
||||
|
||||
#define BUFFER_SIZE 4096
|
||||
|
||||
// Define the maximum number of drives that we can handle
|
||||
#define MAX_DRIVES 26
|
||||
|
||||
extern API Api;
|
||||
|
||||
int delete_file(char* path);
|
||||
int delete_dir(char* path);
|
||||
int get_object_info(char* path, struct stat* fileinfo);
|
||||
char** get_file_list(const char* dirPath, int* numFiles);
|
||||
int get_drives_list(char* buf);
|
||||
char* get_file_list(const char* dirPath, int* numFiles);
|
||||
void download_file();
|
||||
void download_folder();
|
||||
void upload_file();
|
||||
Reference in New Issue
Block a user