X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Facess2.git;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;hp=2ec0cd077af769b98b2ffba67c61432bd3b5db8e;hb=845b6f9d90bb87b5e760e4d49aa93b0e003ab750;hpb=67a7fe2bb79eceaf10c572a99bd8345c4e81cf5b 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