[Spice-commits] spice/stream-device.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Apr 11 11:32:05 UTC 2018
spice/stream-device.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 87441524f4e7b79658e42bd8f1f6c3e3c8649aa5
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri Feb 23 10:07:51 2018 +0000
stream-device: Define an enumeration to store capabilities constants
This will allow to define new capabilities.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Christophe de Dinechin <dinechin at redhat.com>
diff --git a/spice/stream-device.h b/spice/stream-device.h
index 5eff1ae..6add42b 100644
--- a/spice/stream-device.h
+++ b/spice/stream-device.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2017 Red Hat, Inc.
+ Copyright (C) 2017-2018 Red Hat, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -92,6 +92,10 @@ typedef enum StreamMsgType {
STREAM_TYPE_CURSOR_MOVE,
} StreamMsgType;
+typedef enum StreamCapabilities {
+ STREAM_CAP_END // this must be the last
+} StreamCapabilities;
+
/* Generic extension capabilities.
* This is a set of bits to specify which capabilities host and guest support.
* This message is sent by the host to the guest or by the guest to the host.
More information about the Spice-commits
mailing list