X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/6d60c7915f26898fb4468096ffbf9ddc843db73a..7374c7790ee32f36855e4257eb15d2fe43e277ea:/windows/winhelp.h diff --git a/windows/winhelp.h b/windows/winhelp.h index 88338d3a..c9d05b03 100644 --- a/windows/winhelp.h +++ b/windows/winhelp.h @@ -1,8 +1,13 @@ /* - * 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. */ +/* Maximum length for WINHELP_CTX_foo strings */ +#define WINHELP_CTX_MAXLEN 80 + +/* 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 +71,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" @@ -81,14 +87,19 @@ #define WINHELP_CTX_telnet_newline "telnet.newline" #define WINHELP_CTX_rlogin_localuser "rlogin.localuser" #define WINHELP_CTX_ssh_nopty "ssh.nopty" +#define WINHELP_CTX_ssh_ttymodes "ssh.ttymodes" #define WINHELP_CTX_ssh_noshell "ssh.noshell" #define WINHELP_CTX_ssh_ciphers "ssh.ciphers" #define WINHELP_CTX_ssh_protocol "ssh.protocol" #define WINHELP_CTX_ssh_command "ssh.command" #define WINHELP_CTX_ssh_compress "ssh.compress" +#define WINHELP_CTX_ssh_kexlist "ssh.kex.order" +#define WINHELP_CTX_ssh_kex_repeat "ssh.kex.repeat" +#define WINHELP_CTX_ssh_auth_bypass "ssh.auth.bypass" #define WINHELP_CTX_ssh_auth_privkey "ssh.auth.privkey" #define WINHELP_CTX_ssh_auth_agentfwd "ssh.auth.agentfwd" #define WINHELP_CTX_ssh_auth_changeuser "ssh.auth.changeuser" +#define WINHELP_CTX_ssh_auth_pageant "ssh.auth.pageant" #define WINHELP_CTX_ssh_auth_tis "ssh.auth.tis" #define WINHELP_CTX_ssh_auth_ki "ssh.auth.ki" #define WINHELP_CTX_selection_buttons "selection.buttons" @@ -104,17 +115,42 @@ #define WINHELP_CTX_colours_logpal "colours.logpal" #define WINHELP_CTX_colours_config "colours.config" #define WINHELP_CTX_translation_codepage "translation.codepage" +#define WINHELP_CTX_translation_cjk_ambig_wide "translation.cjkambigwide" #define WINHELP_CTX_translation_cyrillic "translation.cyrillic" #define WINHELP_CTX_translation_linedraw "translation.linedraw" #define WINHELP_CTX_ssh_tunnels_x11 "ssh.tunnels.x11" #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" #define WINHELP_CTX_ssh_bugs_hmac2 "ssh.bugs.hmac2" #define WINHELP_CTX_ssh_bugs_derivekey2 "ssh.bugs.derivekey2" #define WINHELP_CTX_ssh_bugs_rsapad2 "ssh.bugs.rsapad2" -#define WINHELP_CTX_ssh_bugs_dhgex2 "ssh.bugs.dhgex2" #define WINHELP_CTX_ssh_bugs_pksessid2 "ssh.bugs.pksessid2" +#define WINHELP_CTX_ssh_bugs_rekey2 "ssh.bugs.rekey2" +#define WINHELP_CTX_serial_line "serial.line" +#define WINHELP_CTX_serial_speed "serial.speed" +#define WINHELP_CTX_serial_databits "serial.databits" +#define WINHELP_CTX_serial_stopbits "serial.stopbits" +#define WINHELP_CTX_serial_parity "serial.parity" +#define WINHELP_CTX_serial_flow "serial.flow" + +/* 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_CTXID_no_help 0 +#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 +#define WINHELP_CTX_errors_cantloadkey "errors.cantloadkey" +#define WINHELP_CTXID_errors_cantloadkey 3 +#define WINHELP_CTX_option_cleanup "options.cleanup" +#define WINHELP_CTXID_option_cleanup 4 +#define WINHELP_CTX_pgp_fingerprints "pgpfingerprints" +#define WINHELP_CTXID_pgp_fingerprints 5