diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-16 16:37:53 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-11-19 10:25:12 +0100 |
commit | ef5168b9f2244297ca206394ac35a054812b308e (patch) | |
tree | f10db577d31cd307be8e3eeaa6c2b471b270e270 | |
parent | 2296eebb2b6e6c899cd552239519b5a9f0865a61 (diff) |
usbredirproto.h: Add a USBREDIR_VERSION define
So applications can test against which version they are building.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | usbredirparser/usbredirproto.h | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,8 @@ usbredir-0.7 16 October 2013 streams on multiple endpoints in one go, technically this is a protocol change, but no-one has implemented usb_redir_cap_bulk_streams so far, so we can safely do this + -add a USBREDIR_VERSION define so applications can test against which + version they are building -usbredirparser: -fix a bug causing parsing breakage when receiving a hello packet with 64 bit id capabiliy and another packet in succession so that they both got parsed diff --git a/usbredirparser/usbredirproto.h b/usbredirparser/usbredirproto.h index 9f3a14c..89fb862 100644 --- a/usbredirparser/usbredirproto.h +++ b/usbredirparser/usbredirproto.h @@ -46,6 +46,8 @@ extern "C" { #endif +#define USBREDIR_VERSION 0x000700 /* 0.7 [.0] */ + enum { usb_redir_success, usb_redir_cancelled, /* The transfer was cancelled */ |