mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
refactor(pdu): add X224 newtype
This allows to implement external Encode/Decode traits in following change. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
fda9530ef6
commit
ab5760d47b
17 changed files with 152 additions and 82 deletions
|
@ -16,11 +16,12 @@ pub fn pdu_decode(data: &[u8]) {
|
|||
use ironrdp_pdu::mcs::*;
|
||||
use ironrdp_pdu::nego::*;
|
||||
use ironrdp_pdu::rdp::*;
|
||||
use ironrdp_pdu::x224::*;
|
||||
use ironrdp_pdu::*;
|
||||
|
||||
let _ = decode::<ConnectionRequest>(data);
|
||||
let _ = decode::<ConnectionConfirm>(data);
|
||||
let _ = decode::<McsMessage<'_>>(data);
|
||||
let _ = decode::<X224<ConnectionRequest>>(data);
|
||||
let _ = decode::<X224<ConnectionConfirm>>(data);
|
||||
let _ = decode::<X224<McsMessage<'_>>>(data);
|
||||
let _ = decode::<ConnectInitial>(data);
|
||||
let _ = decode::<ConnectResponse>(data);
|
||||
let _ = decode::<ClientInfoPdu>(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue