summaryrefslogtreecommitdiff
path: root/9p/9p.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-24 09:51:37 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-24 09:51:37 -0600
commitd559c50a98e65ce889411b46ab108b392907e0f0 (patch)
treee38f83c11ae43f48aadead70f180be30df2bab78 /9p/9p.h
parentfbd945a03f2d706bb4d62aab6a607c1694d6d77a (diff)
wip 9p
Diffstat (limited to '9p/9p.h')
-rw-r--r--9p/9p.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/9p/9p.h b/9p/9p.h
new file mode 100644
index 0000000..63fbd04
--- /dev/null
+++ b/9p/9p.h
@@ -0,0 +1,15 @@
+/* 9p/9p.h - TODO
+ *
+ * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * SPDX-Licence-Identifier: AGPL-3.0-or-later
+ */
+
+#include "9p/linux-errno.h"
+#include "9p/defs.h"
+#include "9p/defs-9P2000.h"
+/*#include "9p/defs-9P2000.u.h"*/
+
+#define P9_TYPECODE_FOR_CTYPE(msg) _Generic((in_msg) \
+ _P9_TYPECODE_FOR_CTYPE_9P2000(msg) \
+ /* _P9_TYPECODE_FOR_CTYPE_9P2000u(msg) */ \
+ )