diff options
author | red031000 <rubenru09@aol.com> | 2020-05-26 01:54:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 01:54:32 +0100 |
commit | 227da51c377f621f542ffdb52ef56bfb807f29ab (patch) | |
tree | 31ec68ffd57f0d43df60f6885636cc12de782306 /arm9/lib/include/FS_command_default.h | |
parent | 895b0ad8b9c09a0b6b1de59de76ed4a258076f87 (diff) | |
parent | 0985659425ab1a9035d85512e330cdc247b24e6b (diff) |
Merge pull request #109 from red031000/master
OS_protectionUnit.c + warning fixes
Diffstat (limited to 'arm9/lib/include/FS_command_default.h')
-rw-r--r-- | arm9/lib/include/FS_command_default.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arm9/lib/include/FS_command_default.h b/arm9/lib/include/FS_command_default.h new file mode 100644 index 00000000..1984aeb0 --- /dev/null +++ b/arm9/lib/include/FS_command_default.h @@ -0,0 +1,27 @@ +#ifndef POKEDIAMOND_FS_COMMAND_DEFAULT_H +#define POKEDIAMOND_FS_COMMAND_DEFAULT_H + +#include "types.h" +#include "FS_archive.h" + +typedef struct +{ + FSArchive *arc; + u32 pos; +} FSiSyncReadParam; + + +u32 FSi_StrNICmp(const char * str1, const char * str2, u32 len); +FSResult FSi_ReadTable(FSiSyncReadParam * p, void * dst, u32 len); +FSResult FSi_SeekDirDirect(FSFile * p_dir, u32 id); +FSResult FSi_ReadFileCommand(FSFile * p_file); +FSResult FSi_WriteFileCommand(FSFile * p_file); +FSResult FSi_SeekDirCommand(FSFile * p_dir); +FSResult FSi_ReadDirCommand(FSFile *p_dir); +FSResult FSi_FindPathCommand(FSFile *p_dir); +FSResult FSi_GetPathCommand(FSFile *p_file); +FSResult FSi_OpenFileFastCommand(FSFile * p_file); +FSResult FSi_OpenFileDirectCommand(FSFile * p_file); +FSResult FSi_CloseFileCommand(FSFile * p_file); + +#endif //POKEDIAMOND_FS_COMMAND_DEFAULT_H |