summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Martin <consume.noise@gmail.com>2013-06-04 21:29:32 +0200
committerPeter Harris <pharris@opentext.com>2013-06-06 16:13:52 -0400
commite5f7c750815cb5170db363a2e5b09639b7354733 (patch)
tree3fa5e177520f5ee136928e64667581acd067c918
parent5802c6a0f9fc5a08d0ffc24c534f4ba0734eb7ac (diff)
res: Add ClientIdMask enum
And make use of it in ClientIdSpec. v2: use <bit/> instead of <value/> in the enum Signed-off-by: Daniel Martin <consume.noise@gmail.com> Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r--src/res.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/res.xml b/src/res.xml
index a5d1d8f..17e6f83 100644
--- a/src/res.xml
+++ b/src/res.xml
@@ -41,9 +41,14 @@ authorization from the authors.
</struct>
<!-- v1.2 -->
+ <enum name="ClientIdMask">
+ <item name="ClientXID"> <bit>0</bit> </item>
+ <item name="LocalClientPID"> <bit>1</bit> </item>
+ </enum>
+
<struct name="ClientIdSpec">
<field type="CARD32" name="client" />
- <field type="CARD32" name="mask" />
+ <field type="CARD32" name="mask" mask="ClientIdMask" />
</struct>
<struct name="ClientIdValue">