summaryrefslogtreecommitdiff
path: root/lib9p/core_tables.h
diff options
context:
space:
mode:
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);