Add xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive lock...
[free-sw/xcb/libxcb] / src / xcbxlib.h
index 59dd2a5..da4a044 100644 (file)
 #include "xcb.h"
 
 /* This function must be called with the IOLock held. */
-unsigned int XCBGetRequestSent(XCBConnection *c);
+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