Flappy-Bird_GX2/src/fs/fs_utils.h

24 lines
460 B
C
Raw Normal View History

2016-10-05 16:03:29 +02:00
#ifndef __FS_UTILS_H_
#define __FS_UTILS_H_
#ifdef __cplusplus
extern "C" {
#endif
2017-01-04 20:19:26 +01:00
#include "common/types.h"
2016-10-05 16:03:29 +02: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_