summaryrefslogtreecommitdiffstats
path: root/spice.proto
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-06-14 12:40:47 +0300
committerAlon Levy <alevy@redhat.com>2012-06-14 13:53:46 +0300
commit535b52db66a6936840ed7323fe809fad780485ba (patch)
tree920f55b65e55f664c9012e7cef67f5334524fb04 /spice.proto
parenta976c16cf3f77c38d9006c3d39c96d6c8aa04110 (diff)
downloadspice-common-535b52db66a6936840ed7323fe809fad780485ba.tar.gz
spice-common-535b52db66a6936840ed7323fe809fad780485ba.tar.xz
spice-common-535b52db66a6936840ed7323fe809fad780485ba.zip
smartcard: build fixes for spice server
Define different enums that have a SPICE_ prefix to not conflict with same value enums from libcacard/vsccard_common.h, and continue to use the same SPICE_MSG_SMARTCARD_DATA and SPICE_MSGC_SMARTCARD_DATA enum that is used by the server and clients (spice-gtk, spicec) alike.
Diffstat (limited to 'spice.proto')
-rw-r--r--spice.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/spice.proto b/spice.proto
index 71be9ac..a86bfa7 100644
--- a/spice.proto
+++ b/spice.proto
@@ -1139,7 +1139,7 @@ enum32 vsc_message_type {
APDU,
Flush,
FlushComplete
-} @prefix(VSC_);
+};
struct VscMessageHeader {
vsc_message_type type;
@@ -1170,7 +1170,7 @@ channel SmartcardChannel : BaseChannel {
uint32 reader_id;
uint32 length;
uint8 data[] @end;
- } @ctype(SpiceMsgSmartcard) msg = 101;
+ } @ctype(SpiceMsgSmartcard) data = 101;
client:
message {
@@ -1184,7 +1184,7 @@ channel SmartcardChannel : BaseChannel {
case Error:
VscMessageError error;
} u @anon;
- } @ctype(SpiceMsgcSmartcard) msg = 101;
+ } @ctype(SpiceMsgcSmartcard) data = 101;
message {
vsc_message_type type;