diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-02-26 15:45:08 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-02-26 15:45:08 -0800 |
commit | ff7b6c9124e7caf26381cc7a10fba9eaf1875652 (patch) | |
tree | f1367b49ecd4ee798abac6f20219b25300a07adb /src/xcbext.h | |
parent | 7875040fa179d8ca3fa4ec046c1b8c2a351a6621 (diff) |
API/ABI break: Add flags to XCBSendRequest, first for error-checked requests.
There's no more race condition between event and reply handling.
The *RequestBlind and *RequestChecked functions are not yet implemented.
Diffstat (limited to 'src/xcbext.h')
-rw-r--r-- | src/xcbext.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xcbext.h b/src/xcbext.h index c8f532c..ddbb77a 100644 --- a/src/xcbext.h +++ b/src/xcbext.h @@ -51,7 +51,11 @@ typedef struct { BOOL isvoid; } XCBProtocolRequest; -int XCBSendRequest(XCBConnection *c, unsigned int *sequence, struct iovec *vector, const XCBProtocolRequest *request); +enum XCBSendRequestFlags { + XCB_REQUEST_CHECKED = 1 << 0 +}; + +int XCBSendRequest(XCBConnection *c, unsigned int *sequence, int flags, struct iovec *vector, const XCBProtocolRequest *request); /* xcb_in.c */ |