diff options
Diffstat (limited to 'cmd/srv9p/static.h')
-rw-r--r-- | cmd/srv9p/static.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <lib9p/srv.h> -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_ */ |