[PATCH spice-protocol v3 1/4] stream-device: Define an enumeration to store capabilities constants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This will allow to define new capabilities.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 spice/stream-device.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/spice/stream-device.h b/spice/stream-device.h
index a0fd927..d3fd143 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
@@ -95,6 +95,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.
-- 
2.14.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]