summaryrefslogtreecommitdiff
path: root/lib9p/include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-01-23 12:21:17 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-01-23 18:43:02 -0700
commit990dcf244fc4bc09d1395f2a0415a22517db72b7 (patch)
treee19cf1b6eaa406f695084aca1fd513d0082e28ad /lib9p/include
parent6e60a6d4cc69b0f03c31b9cf4cd042422e49e2f6 (diff)
lib9p: idl.gen: Validate that member types exist
Diffstat (limited to 'lib9p/include')
-rw-r--r--lib9p/include/lib9p/9p.generated.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib9p/include/lib9p/9p.generated.h b/lib9p/include/lib9p/9p.generated.h
index fa70897..1c3c2b6 100644
--- a/lib9p/include/lib9p/9p.generated.h
+++ b/lib9p/include/lib9p/9p.generated.h
@@ -148,16 +148,12 @@ typedef uint16_t lib9p_tag_t;
typedef uint32_t lib9p_fid_t;
#define LIB9P_FID_NOFID ((lib9p_fid_t)UINT32_C(~0))
-#endif /* CONFIG_9P_ENABLE_9P2000 || CONFIG_9P_ENABLE_9P2000_L || CONFIG_9P_ENABLE_9P2000_e || CONFIG_9P_ENABLE_9P2000_u */
-#if CONFIG_9P_ENABLE_9P2000 || CONFIG_9P_ENABLE_9P2000_e || CONFIG_9P_ENABLE_9P2000_u
/* min_size = 4 ; max_size = 2,147,483,651 */
struct lib9p_d {
uint32_t len;
[[gnu::nonstring]] char *dat;
};
-#endif /* CONFIG_9P_ENABLE_9P2000 || CONFIG_9P_ENABLE_9P2000_e || CONFIG_9P_ENABLE_9P2000_u */
-#if CONFIG_9P_ENABLE_9P2000 || CONFIG_9P_ENABLE_9P2000_L || CONFIG_9P_ENABLE_9P2000_e || CONFIG_9P_ENABLE_9P2000_u
/* min_size = 2 ; max_size = 65,537 */
struct lib9p_s {
uint16_t len;
@@ -618,19 +614,13 @@ struct lib9p_msg_Tfsync {
#endif /* CONFIG_9P_ENABLE_9P2000_L */
#if CONFIG_9P_ENABLE_9P2000 || CONFIG_9P_ENABLE_9P2000_L || CONFIG_9P_ENABLE_9P2000_e || CONFIG_9P_ENABLE_9P2000_u
-/* LIB9P_VER_9P2000 : min_size = 11 ; max_size = 2,147,483,658 */
-/* LIB9P_VER_9P2000_L: size = 7 */
-/* LIB9P_VER_9P2000_e: min_size = 11 ; max_size = 2,147,483,658 */
-/* LIB9P_VER_9P2000_u: min_size = 11 ; max_size = 2,147,483,658 */
+/* min_size = 11 ; max_size = 2,147,483,658 */
struct lib9p_msg_Rread {
lib9p_tag_t tag;
struct lib9p_d data;
};
-/* LIB9P_VER_9P2000 : min_size = 23 ; max_size = 2,147,483,670 */
-/* LIB9P_VER_9P2000_L: size = 19 */
-/* LIB9P_VER_9P2000_e: min_size = 23 ; max_size = 2,147,483,670 */
-/* LIB9P_VER_9P2000_u: min_size = 23 ; max_size = 2,147,483,670 */
+/* min_size = 23 ; max_size = 2,147,483,670 */
struct lib9p_msg_Twrite {
lib9p_tag_t tag;
lib9p_fid_t fid;