diff options
Diffstat (limited to 'include/qapi/util.h')
-rw-r--r-- | include/qapi/util.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/qapi/util.h b/include/qapi/util.h index 257c600..81a2b13 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; |