2016-10-27 01:34:10 +01:00
|
|
|
#ifndef __FS_UTILS_H_
|
|
|
|
#define __FS_UTILS_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-01-23 15:59:44 +01:00
|
|
|
#include <wiiu/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);
|
|
|
|
|
2018-01-05 13:09:05 +01:00
|
|
|
/* TODO/FIXME: C++ class */
|
2016-10-27 01:34:10 +01:00
|
|
|
int CreateSubfolder(const char * fullpath);
|
|
|
|
int CheckFile(const char * filepath);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2018-01-05 13:09:05 +01:00
|
|
|
#endif /* __FS_UTILS_H_ */
|