Added heartbeat to rdpRdp struct and added calls to heartbeat constructor and destructor
This commit is contained in:
parent
ac8fe6ad61
commit
63f6947872
@ -1088,6 +1088,7 @@ rdpRdp* rdp_new(rdpContext* context)
|
|||||||
rdp->mcs = mcs_new(rdp->transport);
|
rdp->mcs = mcs_new(rdp->transport);
|
||||||
rdp->redirection = redirection_new();
|
rdp->redirection = redirection_new();
|
||||||
rdp->autodetect = autodetect_new();
|
rdp->autodetect = autodetect_new();
|
||||||
|
rdp->heartbeat = heartbeat_new();
|
||||||
rdp->multitransport = multitransport_new();
|
rdp->multitransport = multitransport_new();
|
||||||
rdp->mppc_dec = mppc_dec_new();
|
rdp->mppc_dec = mppc_dec_new();
|
||||||
rdp->mppc_enc = mppc_enc_new(PROTO_RDP_50);
|
rdp->mppc_enc = mppc_enc_new(PROTO_RDP_50);
|
||||||
@ -1162,6 +1163,7 @@ void rdp_free(rdpRdp* rdp)
|
|||||||
mcs_free(rdp->mcs);
|
mcs_free(rdp->mcs);
|
||||||
redirection_free(rdp->redirection);
|
redirection_free(rdp->redirection);
|
||||||
autodetect_free(rdp->autodetect);
|
autodetect_free(rdp->autodetect);
|
||||||
|
heartbeat_free(rdp->heartbeat);
|
||||||
multitransport_free(rdp->multitransport);
|
multitransport_free(rdp->multitransport);
|
||||||
mppc_dec_free(rdp->mppc_dec);
|
mppc_dec_free(rdp->mppc_dec);
|
||||||
mppc_enc_free(rdp->mppc_enc);
|
mppc_enc_free(rdp->mppc_enc);
|
||||||
|
@ -140,6 +140,7 @@ struct rdp_rdp
|
|||||||
rdpTransport* transport;
|
rdpTransport* transport;
|
||||||
rdpExtension* extension;
|
rdpExtension* extension;
|
||||||
rdpAutoDetect* autodetect;
|
rdpAutoDetect* autodetect;
|
||||||
|
rdpHeartbeat* heartbeat;
|
||||||
rdpMultitransport* multitransport;
|
rdpMultitransport* multitransport;
|
||||||
struct rdp_mppc_dec* mppc_dec;
|
struct rdp_mppc_dec* mppc_dec;
|
||||||
struct rdp_mppc_enc* mppc_enc;
|
struct rdp_mppc_enc* mppc_enc;
|
||||||
|
Loading…
Reference in New Issue
Block a user