Comment explaining back->sendok() semantics from Simon.
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 0dfb42c..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);
@@ -432,6 +434,7 @@ struct config_tag {
     Filename keyfile;
     int sshprot;                      /* use v1 or v2 when both available */
     int ssh2_des_cbc;                 /* "des-cbc" unrecommended SSH-2 cipher */
+    int ssh_no_userauth;              /* bypass "ssh-userauth" (SSH-2 only) */
     int try_tis_auth;
     int try_ki_auth;
     int ssh_subsys;                   /* run a subsystem rather than a command */