diff options
Diffstat (limited to 'virtserial.h')
-rw-r--r-- | virtserial.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/virtserial.h b/virtserial.h new file mode 100644 index 0000000..120df38 --- /dev/null +++ b/virtserial.h @@ -0,0 +1,15 @@ +#define KEY_STATUS_OK 1 +#define KEY_GUEST_ERR 2 +#define KEY_OPEN 3 +#define KEY_CLOSE 4 +#define KEY_RESULT 5 +#define KEY_READ 6 +#define KEY_NONBLOCK 7 +#define KEY_LENGTH 8 +#define KEY_WRITE 9 +#define KEY_POLL 10 + +struct guest_packet { + unsigned int key; + int value; +}; |