summaryrefslogtreecommitdiff
path: root/lib9p_util/tests/demo_server.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-07-08 19:34:36 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-07-08 19:34:36 -0600
commit8ab5b63e6954929d49a61173dee8d2dcbf6d73bf (patch)
tree5537200e3709cb5c15ccf19fd25fb57826f5b4d0 /lib9p_util/tests/demo_server.c
parent72b9036dc961d9fe7e0e9deb12e87f121a4d0ccf (diff)
parentf6e6d7ccdc63a48988b1ada14718be2a033902b7 (diff)
Merge branch 'lukeshu/proc'HEADmain
Diffstat (limited to 'lib9p_util/tests/demo_server.c')
-rw-r--r--lib9p_util/tests/demo_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib9p_util/tests/demo_server.c b/lib9p_util/tests/demo_server.c
index cb6d5ee..28530f9 100644
--- a/lib9p_util/tests/demo_server.c
+++ b/lib9p_util/tests/demo_server.c
@@ -20,6 +20,7 @@
#include <libhw/host_net.h>
#include <libmisc/macro.h>
+#include <util9p/coroutine.h>
#include <util9p/static.h>
#include <util9p/uptime.h>
#include <util9p/whoami.h>
@@ -77,6 +78,7 @@ static struct lib9p_srv_file root =
API_FILE(4, "uptime.txt", uptime),
API_FILE(5, "video.nut", nut,
.framebuffer = globals.framebuffer),
+ API_FILE(6, "proc.txt", coroutine),
);
static lib9p_srv_file_or_error get_root(struct lib9p_srv_ctx *LM_UNUSED(ctx), struct lib9p_s LM_UNUSED(treename)) {