X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbxlib.h;h=da4a044680a1e8284b2666d6c9e5110d53a3db7f;hb=40589db8124b8c72894deb86a825c6117b0a2cd2;hp=e9f7140d5794affd50886f1ca531eb3684dc5102;hpb=47ceed78612d48dcda62cc2686fc527d61abe38b;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbxlib.h b/src/xcbxlib.h index e9f7140..da4a044 100644 --- a/src/xcbxlib.h +++ b/src/xcbxlib.h @@ -31,8 +31,12 @@ #include #include "xcb.h" -unsigned int XCBGetRequestSent(XCBConnection *c); +/* This function must be called with the IOLock held. */ +unsigned int xcb_get_request_sent(xcb_connection_t *c); -pthread_mutex_t *XCBGetIOLock(XCBConnection *c); +pthread_mutex_t *xcb_get_io_lock(xcb_connection_t *c); + +void xcb_xlib_lock(xcb_connection_t *c); +void xcb_xlib_unlock(xcb_connection_t *c); #endif