summaryrefslogtreecommitdiff
path: root/lib9p/internal.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-10 21:48:16 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-10 21:48:16 -0600
commit2145808d29f495cf872d9b3ffe05420ff9fc5be6 (patch)
tree78ec87bcb6bdf9a19bd6f5a2cb6cb3f8333bfdbc /lib9p/internal.h
parentdb92bd35807305e6daec5ec40bd67cbc43fe88ee (diff)
implement dread
Diffstat (limited to 'lib9p/internal.h')
-rw-r--r--lib9p/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib9p/internal.h b/lib9p/internal.h
index 2b5f8f3..013024e 100644
--- a/lib9p/internal.h
+++ b/lib9p/internal.h
@@ -90,6 +90,10 @@ struct _vtable_version {
extern struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM];
+bool _lib9p_validate_stat(struct _validate_ctx *ctx);
+void _lib9p_unmarshal_stat(struct _unmarshal_ctx *ctx, struct lib9p_stat *out);
+bool _lib9p_marshal_stat(struct _marshal_ctx *ctx, struct lib9p_stat *val);
+
/* unmarshal utilities ********************************************************/
static ALWAYS_INLINE uint8_t decode_u8le(uint8_t *in) {