diff options
Diffstat (limited to 'lib9p/tables.h')
-rw-r--r-- | lib9p/tables.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib9p/tables.h b/lib9p/tables.h index 0b642eb..edb402a 100644 --- a/lib9p/tables.h +++ b/lib9p/tables.h @@ -20,8 +20,10 @@ extern const struct _lib9p_ver_tentry _lib9p_table_ver[LIB9P_VER_NUM]; /* message ********************************************************************/ +typedef lo_interface fmt_formatter (*_box_as_fmt_formatter_fn_t)(void *host_val); struct _lib9p_msg_tentry { - const char *name; + const char *name; + _box_as_fmt_formatter_fn_t box_as_fmt_formatter; }; typedef ssize_t (*_validate_fn_t)(struct lib9p_ctx *ctx, uint32_t net_size, uint8_t *net_bytes); |