aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-28 11:08:13 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-04-28 11:08:13 +0300
commit29e4b3da0990aca9db232dc3ce0a57722ccf1cac (patch)
tree54dce1039191f354ab364021aeb7028e80578246 /TODO
parent625a9abc1f7810ed5b4babb6b112add9a1413cf7 (diff)
downloadtagr-29e4b3da0990aca9db232dc3ce0a57722ccf1cac.tar.gz
tagr-29e4b3da0990aca9db232dc3ce0a57722ccf1cac.tar.bz2
Move network code into a separate file. Introduce a proof-of-concept stream server.
* src/server.c: New file * src/Makefile.am (tagr_SOURCES): Add server.c * TODO: Update. * etc/upgrade.awk: Update. * gnulib.modules: Add strtoumax. * src/main.c (listen_sockaddr, recv_buffer): Remove. (decode_buffer): Remove (see server.c) (get_port): Remove. (tagr_idle): New function. (main): Remove select loop. Use server functions instead. * src/readconfig.c: New configuration file statement "server". * src/tagr.h (listen_sockaddr, rateup) (port, progname): Remove. (tagr_server_type): New enum. (register_server, open_servers, close_servers) (server_loop, tagr_idle): New protos.
Diffstat (limited to 'TODO')
-rw-r--r--TODO10
1 files changed, 9 insertions, 1 deletions
diff --git a/TODO b/TODO
index 0871b7e..9a8e27f 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,14 @@
-Tagr TODO list. 2009-04-27
+Tagr TODO list. 2009-04-28
Copyright (C) 2009 Sergey Poznyakoff
+* Stream-based protocol
+
+S: +OK tagr ready
+C: SAMPLE id 1240903636 12345 3456
+S: +OK accepted
+C: QUIT
+S: +OK bye
+
* Zero-unknown option and interrupted data feeds
Decide what to do if a data feed gets interrupted.

Return to:

Send suggestions and report system problems to the System administrator.