diff options
author | Simon Tatham <anakin@pobox.com> | 2019-01-04 09:51:44 +0300 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2019-01-04 11:04:39 +0300 |
commit | 35690040fd4d4fd901f5e9bc6e7712104904ced2 (patch) | |
tree | 849007c3ca20841597ea218d45b72c34457eda16 /defs.h | |
parent | abebfdf0dd42467efb9b6bc50dcc0ec306cbf4e8 (diff) |
Remove a lot of pointless 'struct' keywords.
This is the commit that f3295e0fb _should_ have been. Yesterday I just
added some typedefs so that I didn't have to wear out my fingers
typing 'struct' in new code, but what I ought to have done is to move
all the typedefs into defs.h with the rest, and then go through
cleaning up the legacy 'struct's all through the existing code.
But I was mostly trying to concentrate on getting the test suite
finished, so I just did the minimum. Now it's time to come back and do
it better.
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -36,7 +36,7 @@ typedef struct bufchain_tag bufchain; typedef struct strbuf strbuf; -struct RSAKey; +typedef struct RSAKey RSAKey; typedef struct BinarySink BinarySink; typedef struct BinarySource BinarySource; @@ -90,6 +90,26 @@ typedef struct PortFwdManager PortFwdManager; typedef struct PortFwdRecord PortFwdRecord; typedef struct ConnectionLayer ConnectionLayer; +typedef struct ssh_hashalg ssh_hashalg; +typedef struct ssh_hash ssh_hash; +typedef struct ssh_kex ssh_kex; +typedef struct ssh_kexes ssh_kexes; +typedef struct ssh_keyalg ssh_keyalg; +typedef struct ssh_key ssh_key; +typedef struct ssh_compressor ssh_compressor; +typedef struct ssh_decompressor ssh_decompressor; +typedef struct ssh_compression_alg ssh_compression_alg; +typedef struct ssh2_userkey ssh2_userkey; +typedef struct ssh2_macalg ssh2_macalg; +typedef struct ssh2_mac ssh2_mac; +typedef struct ssh2_cipheralg ssh2_cipheralg; +typedef struct ssh2_cipher ssh2_cipher; +typedef struct ssh2_ciphers ssh2_ciphers; +typedef struct ssh1_cipheralg ssh1_cipheralg; +typedef struct ssh1_cipher ssh1_cipher; +typedef struct dh_ctx dh_ctx; +typedef struct ecdh_key ecdh_key; + typedef struct dlgparam dlgparam; typedef struct settings_w settings_w; |