htclow: add Channel wrapper class

This commit is contained in:
Michael Scire
2021-02-10 22:52:12 -08:00
committed by SciresM
parent dec06ff649
commit 9fbbb9fadb
13 changed files with 388 additions and 4 deletions

View File

@@ -80,6 +80,8 @@ namespace ams::htclow::mux {
Result DoShutdown();
void SetConfig(const ChannelConfig &config);
void SetSendBuffer(void *buf, size_t buf_size, size_t max_packet_size);
void SetReceiveBuffer(void *buf, size_t buf_size);
void SetSendBufferWithData(const void *buf, size_t buf_size, size_t max_packet_size);