mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03:00
Pack the csync_file_stat structure.
This commit is contained in:
parent
d0888ffba8
commit
1c52b90fa4
1 changed files with 13 additions and 13 deletions
|
@ -155,19 +155,19 @@ enum csync_instructions_e {
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct csync_file_stat_s {
|
typedef struct csync_file_stat_s {
|
||||||
ino_t inode;
|
uint64_t phash; /* u64 */
|
||||||
uid_t uid;
|
time_t modtime; /* u64 */
|
||||||
gid_t gid;
|
off_t size; /* u64 */
|
||||||
mode_t mode;
|
size_t pathlen; /* u64 */
|
||||||
off_t size;
|
ino_t inode; /* u64 */
|
||||||
int nlink;
|
uid_t uid; /* u32 */
|
||||||
time_t modtime;
|
gid_t gid; /* u32 */
|
||||||
int type;
|
mode_t mode; /* u32 */
|
||||||
enum csync_instructions_e instruction;
|
int nlink; /* u32 */
|
||||||
uint64_t phash;
|
int type; /* u32 */
|
||||||
size_t pathlen;
|
enum csync_instructions_e instruction; /* u32 */
|
||||||
char path[1];
|
char path[1]; /* u8 */
|
||||||
} csync_file_stat_t;
|
} csync_file_stat_t __attribute__ ((packed));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* }@
|
* }@
|
||||||
|
|
Loading…
Reference in a new issue