summaryrefslogtreecommitdiff
path: root/lib9p/core_tables.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-14 16:37:27 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-15 14:56:35 -0600
commit9c0338b1b4495457659157e1e9f47d422dcefc2e (patch)
tree9102ac3a979f082e1c39f9d4223df5f98a7be0c2 /lib9p/core_tables.h
parent67cec6d2770aa14a13c89247612f16c628ebd54c (diff)
lib9p: Remove uses of printf
Diffstat (limited to 'lib9p/core_tables.h')
-rw-r--r--lib9p/core_tables.h6
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);