summary refs log tree commit diff stats
path: root/include/qapi/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/util.h')
-rw-r--r--include/qapi/util.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/qapi/util.h b/include/qapi/util.h
index 257c600f99..81a2b13a33 100644
--- a/include/qapi/util.h
+++ b/include/qapi/util.h
@@ -11,12 +11,14 @@
 #ifndef QAPI_UTIL_H
 #define QAPI_UTIL_H
 
-/* QEnumLookup flags */
-#define QAPI_ENUM_DEPRECATED 1
+typedef enum {
+    QAPI_DEPRECATED,
+    QAPI_UNSTABLE,
+} QapiSpecialFeature;
 
 typedef struct QEnumLookup {
     const char *const *array;
-    const unsigned char *const flags;
+    const unsigned char *const special_features;
     const int size;
 } QEnumLookup;