2016-10-27 01:34:10 +01:00
|
|
|
#ifndef __FS_UTILS_H_
|
|
|
|
#define __FS_UTILS_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-10-29 02:56:40 +01:00
|
|
|
//#include <gctypes.h>
|
|
|
|
#include <wut_types.h>
|
2016-10-27 01:34:10 +01:00
|
|
|
|
|
|
|
int MountFS(void *pClient, void *pCmd, char **mount_path);
|
|
|
|
int UmountFS(void *pClient, void *pCmd, const char *mountPath);
|
|
|
|
|
|
|
|
int LoadFileToMem(const char *filepath, u8 **inbuffer, u32 *size);
|
|
|
|
|
|
|
|
//! todo: C++ class
|
|
|
|
int CreateSubfolder(const char * fullpath);
|
|
|
|
int CheckFile(const char * filepath);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // __FS_UTILS_H_
|