summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-11-30 17:56:49 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-11-30 17:56:49 +0000
commitb091790622dfe923cfc45a79eb4089e917634510 (patch)
tree91e183bddcb919212a9a45551b1d15688ca0a2ec /TODO
parenta352570e9fee02ad50ce627dc1e9b0b5a82bc8f1 (diff)
+.
Diffstat (limited to 'TODO')
-rw-r--r--TODO12
1 files changed, 11 insertions, 1 deletions
diff --git a/TODO b/TODO
index a65688f9..21d8d7d8 100644
--- a/TODO
+++ b/TODO
@@ -128,4 +128,14 @@
and return a value to say whether clients need to be checked for dead
sessions? sort of like session_detach now but more so. or some other scheme
to make it simpler and clearer? also would be nice to remove/rename
- server-fn.c.
+ server-fn.c
+
+- more readable way to work out the various things commands need to know about
+ the client, notably:
+ - is this the config file? (cmdq->c == NULL)
+ - is this a command client? (cmdq->c != NULL && cmdq->c->session == NULL)
+ - is this a control client?
+ - can i do stdin or stdout to this client?
+ or even guarantee that cmdq->c != NULL and provide a better way to tell when
+ in the config file - then we use cmdq->c if we need a client w/o a session
+ else cmd_current_client