mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 09:05:06 +01:00
fcf9d344f7
be faster now thanks to threaded copy by stfour, also fixed codedumps when copying from ntfs to sd, everything should work now
23 lines
614 B
C
23 lines
614 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_DirExist (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);
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |