X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/d57f70afa40c24426e5f936c86f7640801d43f7a..1e87cce57fa5ba8819ba5b11fdbabefc6d8dab9e:/windows/winhelp.h diff --git a/windows/winhelp.h b/windows/winhelp.h index cb0afed9..e2876da6 100644 --- a/windows/winhelp.h +++ b/windows/winhelp.h @@ -1,8 +1,10 @@ /* - * winhelp.h - define Windows Help context names for the controls - * in the PuTTY config box. + * winhelp.h - define Windows Help context names. These match up with + * the \cfg{winhelp-topic} directives in the Halibut source. */ +/* These are used in the cross-platform configuration dialog code. */ + #define HELPCTX(x) P(WINHELP_CTX_ ## x) #define WINHELP_CTX_no_help NULL @@ -66,6 +68,7 @@ #define WINHELP_CTX_connection_username "connection.username" #define WINHELP_CTX_connection_keepalive "connection.keepalive" #define WINHELP_CTX_connection_nodelay "connection.nodelay" +#define WINHELP_CTX_connection_ipversion "connection.ipversion" #define WINHELP_CTX_connection_tcpkeepalive "connection.tcpkeepalive" #define WINHELP_CTX_proxy_type "proxy.type" #define WINHELP_CTX_proxy_main "proxy.main" @@ -112,6 +115,7 @@ #define WINHELP_CTX_ssh_tunnels_x11auth "ssh.tunnels.x11auth" #define WINHELP_CTX_ssh_tunnels_portfwd "ssh.tunnels.portfwd" #define WINHELP_CTX_ssh_tunnels_portfwd_localhost "ssh.tunnels.portfwd.localhost" +#define WINHELP_CTX_ssh_tunnels_portfwd_ipversion "ssh.tunnels.portfwd.ipversion" #define WINHELP_CTX_ssh_bugs_ignore1 "ssh.bugs.ignore1" #define WINHELP_CTX_ssh_bugs_plainpw1 "ssh.bugs.plainpw1" #define WINHELP_CTX_ssh_bugs_rsa1 "ssh.bugs.rsa1" @@ -119,3 +123,14 @@ #define WINHELP_CTX_ssh_bugs_derivekey2 "ssh.bugs.derivekey2" #define WINHELP_CTX_ssh_bugs_rsapad2 "ssh.bugs.rsapad2" #define WINHELP_CTX_ssh_bugs_pksessid2 "ssh.bugs.pksessid2" +#define WINHELP_CTX_ssh_bugs_rekey2 "ssh.bugs.rekey2" + +/* These are used in Windows-specific bits of the frontend. + * We (ab)use "help context identifiers" (dwContextId) to identify them. */ + +#define HELPCTXID(x) WINHELP_CTXID_ ## x + +#define WINHELP_CTX_errors_hostkey_absent "errors.hostkey.absent" +#define WINHELP_CTXID_errors_hostkey_absent 1 +#define WINHELP_CTX_errors_hostkey_changed "errors.hostkey.changed" +#define WINHELP_CTXID_errors_hostkey_changed 2