1 #ifndef QEMU_9P_MARSHAL_H
2 #define QEMU_9P_MARSHAL_H
4 typedef struct V9fsString
{
9 typedef struct V9fsQID
{
15 typedef struct V9fsStat
{
35 typedef struct V9fsIattr
{
47 typedef struct V9fsStatDotl
{
48 uint64_t st_result_mask
;
58 uint64_t st_atime_sec
;
59 uint64_t st_atime_nsec
;
60 uint64_t st_mtime_sec
;
61 uint64_t st_mtime_nsec
;
62 uint64_t st_ctime_sec
;
63 uint64_t st_ctime_nsec
;
64 uint64_t st_btime_sec
;
65 uint64_t st_btime_nsec
;
67 uint64_t st_data_version
;
70 static inline void v9fs_string_init(V9fsString
*str
)
75 void v9fs_string_free(V9fsString
*str
);
76 void v9fs_string_sprintf(V9fsString
*str
, const char *fmt
, ...);
77 void v9fs_string_copy(V9fsString
*lhs
, V9fsString
*rhs
);