mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
schema: new basic type - uint16
This is a number between 0 and 65535 (or 0x0000 - 0xffff if specified in hexadecimal).
This commit is contained in:
parent
f97a03e70c
commit
8995ad1179
@ -43,6 +43,17 @@
|
||||
</data>
|
||||
</choice>
|
||||
</define>
|
||||
<define name="uint16">
|
||||
<choice>
|
||||
<data type="string">
|
||||
<param name="pattern">(0x)?[0-9a-fA-F]{1,4}</param>
|
||||
</data>
|
||||
<data type='int'>
|
||||
<param name="minInclusive">0</param>
|
||||
<param name="maxInclusive">65535</param>
|
||||
</data>
|
||||
</choice>
|
||||
</define>
|
||||
<define name="uint24">
|
||||
<choice>
|
||||
<data type="string">
|
||||
|
Loading…
x
Reference in New Issue
Block a user