aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ws.h
diff options
context:
space:
mode:
authorOmar Rizwan <omar.rizwan@gmail.com>2019-02-25 13:02:25 -0800
committerOmar Rizwan <omar.rizwan@gmail.com>2019-02-25 13:02:25 -0800
commit784ec83696d9ecedc10ede022a035e671dd21607 (patch)
treea459ee535e22ce53c344dc53452050d511428a67 /fs/ws.h
parent90181466bd12553abef43f165b7b8a2c7ad2f1c3 (diff)
Rewrite and refactor C half. No more shared memory! It's fast!
Three C modules: - tabfs (main thread; talks to FUSE) - common (tabfs<->ws communication helpers) - ws (side thread; talks to browser over WebSocket) It's single-threaded, but I don't think that matters anyway.
Diffstat (limited to 'fs/ws.h')
-rw-r--r--fs/ws.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ws.h b/fs/ws.h
new file mode 100644
index 0000000..fad2c63
--- /dev/null
+++ b/fs/ws.h
@@ -0,0 +1,6 @@
+#ifndef WS_H
+#define WS_H
+
+void *websocket_main(void *threadid);
+
+#endif