[client/host] added enforcement of KVMFR versioning

This commit is contained in:
Geoffrey McRae
2020-05-17 11:13:08 +10:00
parent dcce288a98
commit c4bf992c0c
5 changed files with 34 additions and 4 deletions

View File

@@ -50,6 +50,16 @@ typedef enum CursorType
}
CursorType;
#define KVMFR_MAGIC "KVMFR---"
#define KVMFR_VERSION 1
typedef struct KVMFR
{
char magic[8];
uint32_t version;
}
KVMFR;
typedef struct KVMFRCursor
{
int16_t x, y; // cursor x & y position