Added heartbeat to rdpRdp struct and added calls to heartbeat constructor and destructor

This commit is contained in:
Mike McDonald 2014-01-24 08:38:28 -05:00
parent ac8fe6ad61
commit 63f6947872
2 changed files with 3 additions and 0 deletions

View File

@ -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);

View File

@ -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;