Comment explaining back->sendok() semantics from Simon.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 26 Oct 2005 20:58:01 +0000 (20:58 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 26 Oct 2005 20:58:01 +0000 (20:58 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@6428 cda61777-01e9-0310-a592-d414129be87e

putty.h

diff --git a/putty.h b/putty.h
index d8a778e..b6284d5 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -353,6 +353,8 @@ struct backend_tag {
     const struct telnet_special *(*get_specials) (void *handle);
     Socket(*socket) (void *handle);
     int (*exitcode) (void *handle);
+    /* If back->sendok() returns FALSE, data sent to it from the frontend
+     * may be lost. */
     int (*sendok) (void *handle);
     int (*ldisc) (void *handle, int);
     void (*provide_ldisc) (void *handle, void *ldisc);