summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-30 20:11:09 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-30 20:31:13 -0700
commit42a709a1e28c13d3556ff4eecffb6a649c0d79de (patch)
treeee2b964ca4eb5e4b53a2a14cb226b5265bbb40bb /include
parent3120dfd3d704a39c2b5ae080d8a0c746c4fd78ad (diff)
Allow requests to return a chain of multiple replies
Needed for XListFontsWithInfo test
Diffstat (limited to 'include')
-rw-r--r--include/xhiv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xhiv.h b/include/xhiv.h
index 0063cf3..426918c 100644
--- a/include/xhiv.h
+++ b/include/xhiv.h
@@ -36,7 +36,10 @@
#define XHIV_NO_SET_SEQUENCE 0x01 /* Don't set sequence number in reply */
typedef struct xhiv_response {
+ /* next is used to make up the list of responses to search through.
+ Once one is found, all the responses along the chain are sent. */
struct xhiv_response *next;
+ struct xhiv_response *chain;
uint16_t reqType; /* Request code, extension number or XHIV_REQ constant */
uint16_t reqMinor; /* Extension minor request code */
uint32_t sequence; /* Sequence number, or XHIV_SEQ_IGNORE */