projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace all the _new functions with xcb_generate_id. repalce X11/XCB with xcb. Fix...
[free-sw/xcb/libxcb]
/
src
/
xcbxlib.h
diff --git
a/src/xcbxlib.h
b/src/xcbxlib.h
index
da4a044
..
4cb5cd4
100644
(file)
--- a/
src/xcbxlib.h
+++ b/
src/xcbxlib.h
@@
-25,17
+25,19
@@
* authorization from the authors.
*/
* authorization from the authors.
*/
+/* This include file declares functions used by Xlib/XCB, but nothing else
+ * should ever use these functions or link to libxcb-xlib. */
+
#ifndef __XCBXLIB_H
#define __XCBXLIB_H
#include <pthread.h>
#include "xcb.h"
#ifndef __XCBXLIB_H
#define __XCBXLIB_H
#include <pthread.h>
#include "xcb.h"
-/* This function must be called with the IOLock held. */
+/* The caller of this function must hold the xlib lock, using the lock
+ * functions below. */
unsigned int xcb_get_request_sent(xcb_connection_t *c);
unsigned int xcb_get_request_sent(xcb_connection_t *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);
void xcb_xlib_lock(xcb_connection_t *c);
void xcb_xlib_unlock(xcb_connection_t *c);