]> mj.ucw.cz Git - eval.git/blobdiff - submit/commands.c
Documented the protocol.
[eval.git] / submit / commands.c
index 49440993d73b8975accfa299899b3c8b65a8b1f6..687e2721add4d520eeebe16fd3c4c9602211aa6e 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "submitd.h"
 
+/*** REQUESTS AND REPLIES ***/
+
 static void NONRET
 read_error_cb(struct obj_read_state *st UNUSED, byte *msg)
 {
@@ -77,6 +79,8 @@ write_reply(struct conn *c)
   bflush(&c->tx_fb);
 }
 
+/*** COMMAND MUX ***/
+
 static void
 execute_command(struct conn *c)
 {
@@ -101,6 +105,8 @@ process_command(struct conn *c)
   return 1;
 }
 
+/*** INITIAL HANDSHAKE ***/
+
 static int
 user_exists_p(byte *user)
 {