mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-04 08:29:44 -04:00
htc: implement much of worker receive logic
This commit is contained in:
parent
8f85cc17dc
commit
679fec2ddc
19 changed files with 565 additions and 12 deletions
|
@ -37,8 +37,15 @@ namespace ams::htclow::mux {
|
|||
|
||||
void SetVersion(u16 version);
|
||||
|
||||
Result CheckReceivedHeader(const PacketHeader &header) const;
|
||||
Result ProcessReceivePacket(const PacketHeader &header, const void *body, size_t body_size);
|
||||
|
||||
void UpdateChannelState();
|
||||
void UpdateMuxState();
|
||||
private:
|
||||
Result CheckChannelExist(impl::ChannelInternalType channel);
|
||||
|
||||
Result SendErrorPacket(impl::ChannelInternalType channel);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue