diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-07 18:04:03 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-07 18:04:03 -0600 |
commit | 9c7f19c46d8fb58b6bcfe0d1d026c05657ffba96 (patch) | |
tree | 70c52d35473757bc2c72ecc5295ff90c9c05067d /cmd/srv9p/static.h | |
parent | 62e8081e0ac4a4c170bc536303f7a9bd3e91fd7b (diff) |
wip
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_ */ |