X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Fld-acess.so_src%2Finclude_exp%2Facess%2Fdevices%2Fpty_cmds.h;fp=Usermode%2FLibraries%2Fld-acess.so_src%2Finclude_exp%2Facess%2Fdevices%2Fpty_cmds.h;h=fde5d837c7ba30458d52af85da2f52ca43c11daa;hb=8e1a304d72208ce4f1aa9cd896a0ac1179d162a9;hp=2ec0cd077af769b98b2ffba67c61432bd3b5db8e;hpb=4696a38ba9ea5798e67ccd475c8b77f318db133d;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty_cmds.h b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty_cmds.h index 2ec0cd07..fde5d837 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty_cmds.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty_cmds.h @@ -25,6 +25,7 @@ enum struct ptycmd_header { uint8_t cmd; + // NOTE: Length is encoded as a count of 32-bit words uint8_t len_low; uint16_t len_hi; } PACKED; @@ -44,5 +45,11 @@ struct ptycmd_setcursorbmp char data[]; } PACKED; +struct ptycmd_senddata +{ + struct ptycmd_header hdr; + uint32_t ofs; +} PACKED; + #endif