use u8, u32, u64 in fs_defs.h

This commit is contained in:
admin 2017-09-17 00:02:00 +02:00
parent 501fa6a404
commit 18f241d53c

View File

@ -44,17 +44,17 @@ typedef struct FSCmdBlock_ {
typedef struct typedef struct
{ {
uint32_t flag; u32 flag;
uint32_t permission; u32 permission;
uint32_t owner_id; u32 owner_id;
uint32_t group_id; u32 group_id;
uint32_t size; u32 size;
uint32_t alloc_size; u32 alloc_size;
uint64_t quota_size; u64 quota_size;
uint32_t ent_id; u32 ent_id;
uint64_t ctime; u64 ctime;
uint64_t mtime; u64 mtime;
uint8_t attributes[48]; u8 attributes[48];
} __attribute__((packed)) FSStat; } __attribute__((packed)) FSStat;
typedef struct typedef struct
@ -63,7 +63,7 @@ typedef struct
char name[FS_MAX_ENTNAME_SIZE]; char name[FS_MAX_ENTNAME_SIZE];
} FSDirEntry; } 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 typedef struct
{ {
FSAsyncCallback userCallback; FSAsyncCallback userCallback;