X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbext.h;h=0d172e9b1fbf7bcf1a094c098c8853c974298e86;hb=ff38c17c48c271847d12c81cbf80142c6918dc78;hp=c8f532c47ff0c3983352b2269eb4dc10fe5a0b4d;hpb=47ceed78612d48dcda62cc2686fc527d61abe38b;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbext.h b/src/xcbext.h index c8f532c..0d172e9 100644 --- a/src/xcbext.h +++ b/src/xcbext.h @@ -51,7 +51,13 @@ 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, + XCB_REQUEST_RAW = 1 << 1, + XCB_REQUEST_DISCARD_REPLY = 1 << 2 +}; + +unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, const XCBProtocolRequest *request); /* xcb_in.c */