X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbext.h;h=508ebf0b27d997ea6b60fff99189971bbcaf1bf1;hb=2a18842f0f93516ff726a2dfa44348410bb55626;hp=ddbb77adf2ca42a37cc9733d7f2d810e208f8604;hpb=ff7b6c9124e7caf26381cc7a10fba9eaf1875652;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbext.h b/src/xcbext.h index ddbb77a..508ebf0 100644 --- a/src/xcbext.h +++ b/src/xcbext.h @@ -52,15 +52,18 @@ typedef struct { } XCBProtocolRequest; enum XCBSendRequestFlags { - XCB_REQUEST_CHECKED = 1 << 0 + XCB_REQUEST_CHECKED = 1 << 0, + XCB_REQUEST_RAW = 1 << 1, + XCB_REQUEST_DISCARD_REPLY = 1 << 2 }; -int XCBSendRequest(XCBConnection *c, unsigned int *sequence, int flags, struct iovec *vector, const XCBProtocolRequest *request); +unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, const XCBProtocolRequest *request); /* xcb_in.c */ void *XCBWaitForReply(XCBConnection *c, unsigned int request, XCBGenericError **e); +int XCBPollForReply(XCBConnection *c, unsigned int request, void **reply, XCBGenericError **error); /* xcb_xid.c */