|
@@ -118,17 +118,17 @@ tracking optional fields.
|
|
|
|
|
|
Any name (command, event, type, field, or enum value) beginning with
|
|
Any name (command, event, type, field, or enum value) beginning with
|
|
"x-" is marked experimental, and may be withdrawn or changed
|
|
"x-" is marked experimental, and may be withdrawn or changed
|
|
-incompatibly in a future release. Downstream vendors may add
|
|
|
|
-extensions; such extensions should begin with a prefix matching
|
|
|
|
-"__RFQDN_" (for the reverse-fully-qualified-domain-name of the
|
|
|
|
-vendor), even if the rest of the name uses dash (example:
|
|
|
|
-__com.redhat_drive-mirror). Other than downstream extensions (with
|
|
|
|
-leading underscore and the use of dots), all names should begin with a
|
|
|
|
-letter, and contain only ASCII letters, digits, dash, and underscore.
|
|
|
|
-Names beginning with 'q_' are reserved for the generator: QMP names
|
|
|
|
-that resemble C keywords or other problematic strings will be munged
|
|
|
|
-in C to use this prefix. For example, a field named "default" in
|
|
|
|
-qapi becomes "q_default" in the generated C code.
|
|
|
|
|
|
+incompatibly in a future release. All names must begin with a letter,
|
|
|
|
+and contain only ASCII letters, digits, dash, and underscore. There
|
|
|
|
+are two exceptions: enum values may start with a digit, and any
|
|
|
|
+extensions added by downstream vendors should start with a prefix
|
|
|
|
+matching "__RFQDN_" (for the reverse-fully-qualified-domain-name of
|
|
|
|
+the vendor), even if the rest of the name uses dash (example:
|
|
|
|
+__com.redhat_drive-mirror). Names beginning with 'q_' are reserved
|
|
|
|
+for the generator: QMP names that resemble C keywords or other
|
|
|
|
+problematic strings will be munged in C to use this prefix. For
|
|
|
|
+example, a field named "default" in qapi becomes "q_default" in the
|
|
|
|
+generated C code.
|
|
|
|
|
|
In the rest of this document, usage lines are given for each
|
|
In the rest of this document, usage lines are given for each
|
|
expression type, with literal strings written in lower case and
|
|
expression type, with literal strings written in lower case and
|