Factor out pthread_mutex_lock and unlock calls for the iolock.
[free-sw/xcb/libxcb] / src / xcbxlib.h
index e9f7140..7e050c2 100644 (file)
@@ -31,8 +31,9 @@
 #include <pthread.h>
 #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);
 
 #endif