diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-02 20:44:59 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-02 20:44:59 -0600 |
commit | ff88c4cc9bfdc91c3af390ab6a7588f5a8ade40a (patch) | |
tree | ae18e6d4576fa594be94e8278877fbdedfa1d4ba /lib9p/tables.h | |
parent | 13b8cafb7e28784f037ecd24876c225ddcf48d76 (diff) | |
parent | 8cc87f8c1f25c9d3fec00561237891650a91b47a (diff) |
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); |