]>
git.proxmox.com Git - mirror_qemu.git/blob - fsdev/9p-marshal.h
1 #ifndef QEMU_9P_MARSHAL_H
2 #define QEMU_9P_MARSHAL_H
4 typedef struct V9fsString
10 typedef struct V9fsQID
17 typedef struct V9fsStat
38 typedef struct V9fsIattr
51 typedef struct V9fsStatDotl
{
52 uint64_t st_result_mask
;
62 uint64_t st_atime_sec
;
63 uint64_t st_atime_nsec
;
64 uint64_t st_mtime_sec
;
65 uint64_t st_mtime_nsec
;
66 uint64_t st_ctime_sec
;
67 uint64_t st_ctime_nsec
;
68 uint64_t st_btime_sec
;
69 uint64_t st_btime_nsec
;
71 uint64_t st_data_version
;
74 static inline void v9fs_string_init(V9fsString
*str
)
79 void v9fs_string_free(V9fsString
*str
);
80 void v9fs_string_sprintf(V9fsString
*str
, const char *fmt
, ...);
81 void v9fs_string_copy(V9fsString
*lhs
, V9fsString
*rhs
);