X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbext.h;h=508ebf0b27d997ea6b60fff99189971bbcaf1bf1;hb=2a18842f0f93516ff726a2dfa44348410bb55626;hp=72dff6405a3febf2dadcbf6e76844b26478abbe9;hpb=8f991bdd389f6c419cb18cdaea966304529de165;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbext.h b/src/xcbext.h index 72dff64..508ebf0 100644 --- a/src/xcbext.h +++ b/src/xcbext.h @@ -53,15 +53,17 @@ typedef struct { enum XCBSendRequestFlags { XCB_REQUEST_CHECKED = 1 << 0, - XCB_REQUEST_RAW = 1 << 1 + 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 */