X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=f9e5a52f7c1ce602aefce37036856e1aaff7a531;hb=ed93a6a2a8e23f12380709de6e04b2d833df7e71;hp=95f078a094b63c9cef22c3c674666616a94a9889;hpb=2415c11dec5e5adb0c17f98aa52fbb371a4f8f23;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index 95f078a..f9e5a52 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -121,7 +121,6 @@ typedef struct _xcb_in { uint64_t request_expected; uint64_t request_read; - uint64_t event_responses_completed; uint64_t request_completed; struct reply_list *current_reply; struct reply_list **current_reply_tail; @@ -130,7 +129,6 @@ typedef struct _xcb_in { struct event_list *events; struct event_list **events_tail; struct reader_list *readers; - struct reader_list *event_readers; struct pending_reply *pending_replies; struct pending_reply **pending_replies_tail; @@ -176,8 +174,6 @@ void _xcb_ext_destroy(xcb_connection_t *c); /* xcb_conn.c */ -extern const int error_connection; - struct xcb_connection_t { int has_error; @@ -195,7 +191,10 @@ struct xcb_connection_t { _xcb_xid xid; }; -void _xcb_conn_shutdown(xcb_connection_t *c); +void _xcb_conn_shutdown(xcb_connection_t *c, int err); + +xcb_connection_t *_xcb_conn_ret_error(int err); + int _xcb_conn_wait(xcb_connection_t *c, pthread_cond_t *cond, struct iovec **vector, int *count);