X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=a85b04e2ee53dee2d849f35e0e9cde6346ee8290;hb=96e55444b9b9500420f9132a1ace720100a26398;hp=93bc89bc934a4ee3e96b95b9466ba5a5afe3cd20;hpb=da4d56ef5a880eb24014a141e6e16668ab51f180;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index 93bc89b..a85b04e 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -72,7 +72,7 @@ typedef struct _xcb_out { pthread_cond_t cond; int writing; - char queue[4096]; + char queue[XCB_QUEUE_BUFFER_SIZE]; int queue_len; unsigned int request; @@ -126,15 +126,6 @@ int _xcb_in_read(xcb_connection_t *c); int _xcb_in_read_block(xcb_connection_t *c, void *buf, int nread); -/* xcb_xlib.c */ - -typedef struct _xcb_xlib { - int lock; - pthread_t thread; - pthread_cond_t cond; -} _xcb_xlib; - - /* xcb_xid.c */ typedef struct _xcb_xid { @@ -172,7 +163,6 @@ struct xcb_connection_t { /* I/O data */ pthread_mutex_t iolock; - _xcb_xlib xlib; _xcb_in in; _xcb_out out; @@ -187,16 +177,10 @@ int _xcb_conn_wait(xcb_connection_t *c, pthread_cond_t *cond, struct iovec **vec /* xcb_auth.c */ -int _xcb_get_auth_info(int fd, xcb_auth_info_t *info); +int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, int display); #ifdef GCC_HAS_VISIBILITY #pragma GCC visibility pop #endif - -/* xcb_conn.c symbols visible to xcb-xlib */ - -void _xcb_lock_io(xcb_connection_t *c); -void _xcb_unlock_io(xcb_connection_t *c); - #endif