mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-20 05:52:41 +01:00

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 |