mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
feat(acceptor): add {io,user}_channel_id in AcceptorResult
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
1c516e0026
commit
ad20697051
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,8 @@ pub struct AcceptorResult {
|
|||
pub channels: Vec<(u16, gcc::ChannelDef)>,
|
||||
pub capabilities: Vec<CapabilitySet>,
|
||||
pub input_events: Vec<Vec<u8>>,
|
||||
pub user_channel_id: u16,
|
||||
pub io_channel_id: u16,
|
||||
}
|
||||
|
||||
impl Acceptor {
|
||||
|
@ -59,6 +61,8 @@ impl Acceptor {
|
|||
channels,
|
||||
capabilities: client_capabilities,
|
||||
input_events,
|
||||
user_channel_id: self.user_channel_id,
|
||||
io_channel_id: self.io_channel_id,
|
||||
}),
|
||||
previous_state => {
|
||||
self.state = previous_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue