ref: cc84e45d9e3aab0b442e5e7a09a642bb49898de5
parent: ac8357cd7d1798635ba95091029d9d3188743db6
author: Michael Misch <michaelmisch1985@gmail.com>
date: Mon Jun 17 02:00:16 EDT 2024
Update TODO and remove reference to command output for now
--- a/TODO
+++ b/TODO
@@ -1,6 +1,5 @@
-## Client
-### Brief overview
+## Listeners Documentation
```
#!/bin/rc
@@ -10,27 +9,10 @@
exec /bin/exportfs -r /mnt/irc
```
-Connects with aname = desired buffer, or gets just whichever is first (usually a `server`, but just in added-order)
- - if no buffers exist, exit error. We don't support hung states!
+## Client
-### TODO:
-
- Add in command to toggle markup
- Blocking reads for feed, potentially a cb to clear out unread counts
-
-## Service
-
-### Brief overview
-
-- service reads from /mnt/alt/clone to get n
-- service will write the service name to `/mnt/alt/n/ctl`
- - If a service exists in /srv by that name, an error will be returned. rm the service first!
- - If the name is not valid filechars, an error will be returned (this is used in /srv, after all)
- - the service reads and writes to the returned fd until it closes, signalling completion
-
-### TODO
-
-- Add a stats/info file to root of /mnt/alt
## Notifications:
--- a/client.c
+++ b/client.c
@@ -294,7 +294,6 @@
} else {snprint(path, sizeof(path), "%s %s", t, s);
send(root->cmds, path);
- // TODO: We will rcv a response
respond(r, nil);
}
return;
--- a/service.c
+++ b/service.c
@@ -78,7 +78,6 @@
svc = &service[i];
svc->ref++;
- // TODO: Eventually create send and receive for return a string from commands
// NOTE: If you're sending more commands than this before they are processed, up this number
// But also it might be time to question your design, because commands really should not be taking long
svc->cmds = chancreate(1024, 16);
--
⑨