summaryrefslogtreecommitdiff
path: root/lib9p/core.gen
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-13 22:13:43 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-14 00:05:05 -0600
commit1e4ad99311611a7fbb5cdfe4b1b79202381dc717 (patch)
tree9ac29b2ba82c3cd95eb86715f4bdc4ca8a72ce4b /lib9p/core.gen
parentb1fcc4ac2f244dddd869054db5dc6753c099a3e0 (diff)
Split lib9p into lib9p_core and lib9p_srv
Diffstat (limited to 'lib9p/core.gen')
-rwxr-xr-xlib9p/core.gen15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib9p/core.gen b/lib9p/core.gen
new file mode 100755
index 0000000..b30ec31
--- /dev/null
+++ b/lib9p/core.gen
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# lib9p/core.gen - Generate C marshalers/unmarshalers for .9p files
+# defining 9P protocol variants.
+#
+# Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+import os.path
+import sys
+
+sys.path.insert(0, os.path.normpath(os.path.join(__file__, "..")))
+import core_gen # pylint: disable=wrong-import-position
+
+if __name__ == "__main__":
+ core_gen.main()