1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 18:17:32 -05:00

Make Socket and Plug into structs.

I think that means that _every_ one of my traitoids is now a struct
containing a vtable pointer as one of its fields (albeit sometimes the
only field), and never just a bare pointer.
This commit is contained in:
Simon Tatham
2018-10-05 07:24:16 +01:00
parent b798230844
commit 884a7df94b
20 changed files with 222 additions and 209 deletions

View File

@ -87,8 +87,8 @@ struct ProxySocket {
int chap_current_attribute;
int chap_current_datalen;
const SocketVtable *sockvt;
const PlugVtable *plugvt;
Socket sock;
Plug plugimpl;
};
extern void proxy_activate (ProxySocket *);