[core,transport] reserve space in rdpTransportIo

For better ABI compatibility reserve some extra space in this public
struct.
This commit is contained in:
akallabeth 2024-02-22 14:59:07 +01:00 committed by Martin Fleisz
parent a2b220f828
commit 2de926e172

View File

@ -33,8 +33,6 @@ extern "C"
{
#endif
typedef struct rdp_transport_io rdpTransportIo;
typedef int (*pTCPConnect)(rdpContext* context, rdpSettings* settings, const char* hostname,
int port, DWORD timeout);
typedef BOOL (*pTransportFkt)(rdpTransport* transport);
@ -57,6 +55,7 @@ extern "C"
pTransportRead ReadBytes; /* Reads up to a requested amount of bytes from the transport */
pTransportGetPublicKey GetPublicKey;
pTransportSetBlockingMode SetBlockingMode;
UINT64 reserved[54]; /* Reserve some space for ABI compatibility */
};
typedef struct rdp_transport_io rdpTransportIo;