From 9c7f19c46d8fb58b6bcfe0d1d026c05657ffba96 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 7 Oct 2024 18:04:03 -0600 Subject: wip --- cmd/srv9p/static.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cmd/srv9p/static.h') diff --git a/cmd/srv9p/static.h b/cmd/srv9p/static.h index 90bad4b..afb5a3f 100644 --- a/cmd/srv9p/static.h +++ b/cmd/srv9p/static.h @@ -3,7 +3,11 @@ #include -struct static_dir_data { +extern struct lib9p_srv_file_vtable static_dir_vtable; + +struct static_dir { + struct lib9p_srv_file header; + char *u_name; uint32_t u_num; char *g_name; @@ -20,8 +24,6 @@ struct static_dir_data { struct lib9p_srv_file *members[]; }; -extern struct lib9p_srv_file_vtable static_dir_vtable; - //extern struct lib9p_srv_io_dir_vtable static_dir_io_vtable; #endif /* _STATIC_H_ */ -- cgit v1.2.3-2-g168b