API/ABI break: Add flags to XCBSendRequest, first for error-checked requests.
[free-sw/xcb/libxcb] / src / xcbext.h
index c8f532c..ddbb77a 100644 (file)
@@ -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 */