about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRen Kararou <[email protected]>2024-12-19 00:45:44 -0600
committerRen Kararou <[email protected]>2024-12-19 00:45:44 -0600
commit91033b583a9b4adede6866a6baf23304edf28871 (patch)
treedb03ca4bb66b3b8ff1f98791062dd87b2d38561b
downloadnbtpd-91033b583a9b4adede6866a6baf23304edf28871.tar.gz
nbtpd-91033b583a9b4adede6866a6baf23304edf28871.tar.bz2
nbtpd-91033b583a9b4adede6866a6baf23304edf28871.zip
initial commit
-rw-r--r--.gitignore12
-rw-r--r--LICENSE7
-rw-r--r--README.md6
-rw-r--r--inc/placeholder.h5
-rw-r--r--makefile0
-rw-r--r--src/main.c4
6 files changed, 34 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..50e3436
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,12 @@
+# editor ignores
+*~
+*.swp
+*.swo
+\#*\#
+.\#*
+
+# artefacts
+bin/
+*.o
+*.so
+nbtpd
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..d95ffa3
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,7 @@
+Copyright 2024 Ren Kararou
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d7a0960
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+# netboot transfer protocol daemon
+
+A TFTP server written in C for funsies.
+
+[nbd project page](https://sr.ht/~spicywolf/nbd)
+
diff --git a/inc/placeholder.h b/inc/placeholder.h
new file mode 100644
index 0000000..106cd4e
--- /dev/null
+++ b/inc/placeholder.h
@@ -0,0 +1,5 @@
+// This file is a placeholder so git keeps the inc/ folder.
+#ifndef NBTPD_PLACEHOLDER_H
+#define NBTPD_PLACEHOLDER_H
+
+#endif
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/makefile
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..15d3008
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,4 @@
+
+int main() {
+	return 0;
+}