mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-19 03:09:24 +01:00
use u8, u32, u64 in fs_defs.h
This commit is contained in:
parent
501fa6a404
commit
18f241d53c
24
fs_defs.h
24
fs_defs.h
@ -44,17 +44,17 @@ typedef struct FSCmdBlock_ {
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t flag;
|
||||
uint32_t permission;
|
||||
uint32_t owner_id;
|
||||
uint32_t group_id;
|
||||
uint32_t size;
|
||||
uint32_t alloc_size;
|
||||
uint64_t quota_size;
|
||||
uint32_t ent_id;
|
||||
uint64_t ctime;
|
||||
uint64_t mtime;
|
||||
uint8_t attributes[48];
|
||||
u32 flag;
|
||||
u32 permission;
|
||||
u32 owner_id;
|
||||
u32 group_id;
|
||||
u32 size;
|
||||
u32 alloc_size;
|
||||
u64 quota_size;
|
||||
u32 ent_id;
|
||||
u64 ctime;
|
||||
u64 mtime;
|
||||
u8 attributes[48];
|
||||
} __attribute__((packed)) FSStat;
|
||||
|
||||
typedef struct
|
||||
@ -63,7 +63,7 @@ typedef struct
|
||||
char name[FS_MAX_ENTNAME_SIZE];
|
||||
} FSDirEntry;
|
||||
|
||||
typedef void (*FSAsyncCallback)(FSClient * pClient, FSCmdBlock * pCmd, int result, void *context);
|
||||
typedef void (*FSAsyncCallback)(FSClient * pClient, FSCmdBlock * pCmd, s32 result, void *context);
|
||||
typedef struct
|
||||
{
|
||||
FSAsyncCallback userCallback;
|
||||
|
Loading…
Reference in New Issue
Block a user