-
- Downloads
Get rid of lots of implicit pointer types.
All the main backend structures - Ssh, Telnet, Pty, Serial etc - now describe structure types themselves rather than pointers to them. The same goes for the codebase-wide trait types Socket and Plug, and the supporting types SockAddr and Pinger. All those things that were typedefed as pointers are older types; the newer ones have the explicit * at the point of use, because that's what I now seem to be preferring. But whichever one of those is better, inconsistently using a mixture of the two styles is worse, so let's make everything consistent. A few types are still implicitly pointers, such as Bignum and some of the GSSAPI types; generally this is either because they have to be void *, or because they're typedefed differently on different platforms and aren't always pointers at all. Can't be helped. But I've got rid of the main ones, at least.
Showing
- be_misc.c 2 additions, 2 deletionsbe_misc.c
- contrib/cygtermd/main.c 1 addition, 1 deletioncontrib/cygtermd/main.c
- contrib/cygtermd/telnet.c 16 additions, 16 deletionscontrib/cygtermd/telnet.c
- contrib/cygtermd/telnet.h 6 additions, 6 deletionscontrib/cygtermd/telnet.h
- defs.h 4 additions, 10 deletionsdefs.h
- errsock.c 7 additions, 7 deletionserrsock.c
- network.h 49 additions, 49 deletionsnetwork.h
- noshare.c 1 addition, 1 deletionnoshare.c
- nullplug.c 5 additions, 5 deletionsnullplug.c
- pageant.c 9 additions, 9 deletionspageant.c
- pageant.h 2 additions, 2 deletionspageant.h
- pinger.c 8 additions, 8 deletionspinger.c
- portfwd.c 12 additions, 12 deletionsportfwd.c
- pproxy.c 4 additions, 4 deletionspproxy.c
- proxy.c 25 additions, 25 deletionsproxy.c
- proxy.h 4 additions, 4 deletionsproxy.h
- putty.h 4 additions, 4 deletionsputty.h
- raw.c 24 additions, 23 deletionsraw.c
- rlogin.c 26 additions, 25 deletionsrlogin.c
- ssh.c 53 additions, 53 deletionsssh.c
Loading
Please register or sign in to comment