diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-14 16:37:27 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-15 14:56:35 -0600 |
commit | 9c0338b1b4495457659157e1e9f47d422dcefc2e (patch) | |
tree | 9102ac3a979f082e1c39f9d4223df5f98a7be0c2 /lib9p/core_tables.h | |
parent | 67cec6d2770aa14a13c89247612f16c628ebd54c (diff) |
lib9p: Remove uses of printf
Diffstat (limited to 'lib9p/core_tables.h')
-rw-r--r-- | lib9p/core_tables.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib9p/core_tables.h b/lib9p/core_tables.h index da2027a..e3dc8f4 100644 --- a/lib9p/core_tables.h +++ b/lib9p/core_tables.h @@ -21,10 +21,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); +typedef void (*_print_fn_t)(lo_interface fmt_dest, struct lib9p_ctx *, void *); struct _lib9p_msg_tentry { - const char *name; - _box_as_fmt_formatter_fn_t box_as_fmt_formatter; + const char *name; + _print_fn_t print; }; typedef ssize_t (*_validate_fn_t)(struct lib9p_ctx *ctx, uint32_t net_size, uint8_t *net_bytes); |