about summary refs log tree commit diff stats
path: root/src/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers.c')
-rw-r--r--src/handlers.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/handlers.c b/src/handlers.c
new file mode 100644
index 0000000..4162926
--- /dev/null
+++ b/src/handlers.c
@@ -0,0 +1,26 @@
+#include <sys/socket.h>
+#include "handlers.h"
+
+void read_req_resp(nbd_nbtpd_args args) {
+	if (args.path[0] == 0) {
+		nbd_nbtpd_resp_error(args);
+		return;
+	}
+	return;
+}
+
+void write_req_resp(nbd_nbtpd_args args) {
+	if (args.path[0] == 0) {
+		nbd_nbtpd_resp_error(args);
+		return;
+	}
+	return;
+}
+
+void nbd_nbtpd_resp_error(nbd_nbtpd_args args) {
+	if (args.path[0] == 0) {
+		return;
+	}
+	return;
+}
+