summaryrefslogtreecommitdiff
path: root/lib9p
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-16 19:42:08 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-16 21:52:32 -0600
commit3cd39827ec2d2aa8d69762de8fbf72322ca85038 (patch)
tree4a92d5736df1c620413f656b2ea6771aec94cf98 /lib9p
parentc60b3a96cf9bfedbfc402a50e0b85f22d231d67b (diff)
copyright statements
Diffstat (limited to 'lib9p')
-rw-r--r--lib9p/.editorconfig5
-rw-r--r--lib9p/CMakeLists.txt2
-rw-r--r--lib9p/idl/0000-README.md5
-rwxr-xr-xlib9p/include/lib9p/linux-errno.h.gen4
-rw-r--r--lib9p/include/lib9p/srv.h6
-rw-r--r--lib9p/srv.c6
6 files changed, 26 insertions, 2 deletions
diff --git a/lib9p/.editorconfig b/lib9p/.editorconfig
index 5243d26..e3ef174 100644
--- a/lib9p/.editorconfig
+++ b/lib9p/.editorconfig
@@ -1,3 +1,8 @@
+# lib9p/.editorconfig - How Python scripts should be formatted
+#
+# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+# SPDX-Licence-Identifier: AGPL-3.0-or-later
+
[{idl.gen,linux-errno.h.gen}]
indent_style = space
indent_size = 4
diff --git a/lib9p/CMakeLists.txt b/lib9p/CMakeLists.txt
index 63469d9..784397b 100644
--- a/lib9p/CMakeLists.txt
+++ b/lib9p/CMakeLists.txt
@@ -1,4 +1,4 @@
-# libcr/CMakeLists.txt - TODO
+# lib9p/CMakeLists.txt - TODO
#
# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-Licence-Identifier: AGPL-3.0-or-later
diff --git a/lib9p/idl/0000-README.md b/lib9p/idl/0000-README.md
index f53acf9..be63943 100644
--- a/lib9p/idl/0000-README.md
+++ b/lib9p/idl/0000-README.md
@@ -1,9 +1,12 @@
-# 9P protocol definitions
<!--
+ 0000-README.md - Overview of 9P protocol definitions
+
Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
SPDX-Licence-Identifier: AGPL-3.0-or-later
-->
+# 9P protocol definitions
+
This directory contains several `*.9p` files, each of which describes
a 9P protocol variant.
diff --git a/lib9p/include/lib9p/linux-errno.h.gen b/lib9p/include/lib9p/linux-errno.h.gen
index 7f0f67c..c757dcc 100755
--- a/lib9p/include/lib9p/linux-errno.h.gen
+++ b/lib9p/include/lib9p/linux-errno.h.gen
@@ -1,4 +1,8 @@
#!/usr/bin/env python
+# lib9p/linux-errno.h.gen - Generate a C header from a list of errno numbers
+#
+# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+# SPDX-Licence-Identifier: AGPL-3.0-or-later
import sys
diff --git a/lib9p/include/lib9p/srv.h b/lib9p/include/lib9p/srv.h
index 284888f..91663e7 100644
--- a/lib9p/include/lib9p/srv.h
+++ b/lib9p/include/lib9p/srv.h
@@ -1,3 +1,9 @@
+/* lib9p/srv.h - 9P server
+ *
+ * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * SPDX-Licence-Identifier: AGPL-3.0-or-later
+ */
+
#ifndef _LIB9P_SRV_H_
#define _LIB9P_SRV_H_
diff --git a/lib9p/srv.c b/lib9p/srv.c
index 282cd68..90791f3 100644
--- a/lib9p/srv.c
+++ b/lib9p/srv.c
@@ -1,3 +1,9 @@
+/* lib9p/srv.c - 9P server
+ *
+ * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * SPDX-Licence-Identifier: AGPL-3.0-or-later
+ */
+
#include <assert.h>
#include <alloca.h>
#include <inttypes.h> /* for PRI* */