mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 23:24:18 +01:00
757fb1e80c
-help file size can now be as long as you want to, it will be allocated dynamically now -only create folders if they doesnt exist, otherwise it spams our debug messages :P -updated danish.ini and added danish help file (thanks nibb)
27 lines
756 B
C
27 lines
756 B
C
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#ifndef _FILEOPS
|
|
#define _FILEOPS
|
|
|
|
typedef void (*progress_callback_t)(int status,int total,void *user_data);
|
|
|
|
bool fsop_GetFileSizeBytes(char *path, size_t *filesize);
|
|
u64 fsop_GetFolderBytes(char *source);
|
|
u32 fsop_GetFolderKb(char *source);
|
|
u32 fsop_GetFreeSpaceKb(char *path);
|
|
bool fsop_FileExist(const char *fn);
|
|
bool fsop_DirExist(char *path);
|
|
void fsop_MakeFolder(char *path);
|
|
bool fsop_CopyFile(char *source, char *target, progress_callback_t spinner, void *spinner_data);
|
|
bool fsop_CopyFolder(char *source, char *target, progress_callback_t spinner, void *spinner_data);
|
|
void fsop_deleteFile(char *source);
|
|
void fsop_deleteFolder(char *source);
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |