Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / include_exp / acess / devices / pty_cmds.h
index 2ec0cd0..fde5d83 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au