mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
refactor(core): move Encode/Decode to core
ironrdp-pdu contains lots of code that we don’t actually need in other crates such as the virtual channels. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
ab5760d47b
commit
402ffd56c9
197 changed files with 575 additions and 457 deletions
|
@ -17,11 +17,11 @@ use std::marker::PhantomData;
|
|||
|
||||
use bitflags::bitflags;
|
||||
use ironrdp_core::{assert_obj_safe, DecodeResult, EncodeResult, ReadCursor, WriteBuf, WriteCursor};
|
||||
use ironrdp_core::{decode_cursor, encode_buf, Encode};
|
||||
use ironrdp_pdu::gcc::{ChannelName, ChannelOptions};
|
||||
use ironrdp_pdu::{decode_err, mcs, PduResult};
|
||||
use pdu::gcc::ChannelDef;
|
||||
use pdu::rdp::vc::ChannelControlFlags;
|
||||
use pdu::{decode_cursor, encode_buf, Encode};
|
||||
|
||||
/// The integer type representing a static virtual channel ID.
|
||||
pub type StaticChannelId = u16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue