diff options
author | red031000 <rubenru09@aol.com> | 2020-05-25 15:04:21 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-05-25 15:04:21 +0100 |
commit | 00f7b96e44ef644ec2b5382eda87e3f47c06b436 (patch) | |
tree | 8302c15297a5f7da23494bfbb7d0ddaebcf057f9 /arm9/lib/include/FS_command_default.h | |
parent | 933dc9d738e830e797e16f056b49a3c79bcd8352 (diff) |
almost at the end
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 |