summaryrefslogtreecommitdiff
path: root/lib9p/core_tables.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-15 15:55:12 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-15 15:55:12 -0600
commit18ddce6270391e5c1924394f8b5d8079ad73289e (patch)
tree6b647d225665cd4fb2733a57bdfa5f0e96692995 /lib9p/core_tables.h
parent811d9700e1414dae3357361b3ca565f673f63b08 (diff)
parente38a2d29292ad3fad64729ef958ff07e3bca02cf (diff)
Merge branch 'lukeshu/simple-call-graph'
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);