diff options
Diffstat (limited to 'lib9p/core_tables.h')
-rw-r--r-- | lib9p/core_tables.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib9p/core_tables.h b/lib9p/core_tables.h index 2c5f745..da2027a 100644 --- a/lib9p/core_tables.h +++ b/lib9p/core_tables.h @@ -13,7 +13,8 @@ struct _lib9p_ver_tentry { const char *name; - uint32_t min_msg_size; + uint32_t min_Rerror_size; + uint32_t min_Rread_size; }; extern const struct _lib9p_ver_tentry _lib9p_table_ver[LIB9P_VER_NUM]; @@ -52,8 +53,10 @@ extern const struct _lib9p_send_tentry _lib9p_table_Rmsg_send[LIB9P_VER_NUM][0x8 /* stat ***********************************************************************/ +#if _LIB9P_ENABLE_stat ssize_t _lib9p_stat_validate(struct lib9p_ctx *ctx, uint32_t net_size, uint8_t *net_bytes, uint32_t *ret_net_size); void _lib9p_stat_unmarshal(struct lib9p_ctx *ctx, uint8_t *net_bytes, void *out); bool _lib9p_stat_marshal(struct lib9p_ctx *ctx, struct lib9p_stat *val, struct _marshal_ret *ret); +#endif #endif /* _LIB9P_CORE_TABLES_H_ */ |