little changes in the fs_defs.h

This commit is contained in:
Maschell 2017-08-27 14:02:16 +02:00
parent 179ad3581e
commit ee80a47e47

View File

@ -33,13 +33,13 @@ extern "C" {
#define FS_CLIENT_SIZE 0x1700 #define FS_CLIENT_SIZE 0x1700
#define FS_CMD_BLOCK_SIZE 0xA80 #define FS_CMD_BLOCK_SIZE 0xA80
struct FSClient { typedef struct FSClient_ {
u8 buffer[FS_CLIENT_SIZE]; u8 buffer[FS_CLIENT_SIZE];
}; }FSClient;
struct FSCmdBlock { typedef struct FSCmdBlock_ {
u8 buffer[FS_CMD_BLOCK_SIZE]; u8 buffer[FS_CMD_BLOCK_SIZE];
}; } FSCmdBlock;
typedef struct typedef struct
{ {
@ -62,7 +62,7 @@ typedef struct
char name[FS_MAX_ENTNAME_SIZE]; char name[FS_MAX_ENTNAME_SIZE];
} FSDirEntry; } FSDirEntry;
typedef void (*FSAsyncCallback)(void *pClient, void *pCmd, int result, void *context); typedef void (*FSAsyncCallback)(FSClient * pClient, FSCmdBlock * pCmd, int result, void *context);
typedef struct typedef struct
{ {
FSAsyncCallback userCallback; FSAsyncCallback userCallback;
@ -81,8 +81,8 @@ typedef struct FSAsyncResult_{
FSAsyncParams userParams; FSAsyncParams userParams;
FSMessage ioMsg; FSMessage ioMsg;
struct FSClient * client; FSClient * client;
struct FSCmdBlock * block; FSCmdBlock * block;
u32 result; u32 result;
} FSAsyncResult; } FSAsyncResult;