mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-19 03:09:24 +01:00
little changes in the fs_defs.h
This commit is contained in:
parent
179ad3581e
commit
ee80a47e47
14
fs_defs.h
14
fs_defs.h
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user