37 #ifdef GCC_HAS_VISIBILITY 38 #pragma GCC visibility push(hidden) 43 WORKAROUND_GLX_GET_FB_CONFIGS_BUG,
44 WORKAROUND_EXTERNAL_SOCKET_OWNER
54 #define XCB_PAD(i) (-(i) & 3) 56 #define XCB_SEQUENCE_COMPARE(a,op,b) ((int64_t) ((a) - (b)) op 0) 59 #define offsetof(type,member) ((size_t) &((type *)0)->member) 63 #define MIN(x,y) ((x) < (y) ? (x) : (y)) 66 #define container_of(pointer,type,member) ((type *)(((char *)(pointer)) - offsetof(type, member))) 70 typedef void (*xcb_list_free_func_t)(
void *);
75 void _xcb_map_delete(
_xcb_map *q, xcb_list_free_func_t do_free);
76 int _xcb_map_put(
_xcb_map *q,
unsigned int key,
void *data);
77 void *_xcb_map_remove(
_xcb_map *q,
unsigned int key);
83 #define XCB_MAX_PASS_FD 16 85 typedef struct _xcb_fd {
86 int fd[XCB_MAX_PASS_FD];
96 pthread_cond_t socket_cond;
97 void (*return_socket)(
void *closure);
101 char queue[XCB_QUEUE_BUFFER_SIZE];
105 uint64_t request_written;
107 pthread_mutex_t reqlenlock;
108 enum lazy_reply_tag maximum_request_length_tag;
112 } maximum_request_length;
119 void _xcb_out_destroy(
_xcb_out *out);
129 pthread_cond_t event_cond;
135 uint64_t request_expected;
136 uint64_t request_read;
137 uint64_t request_completed;
159 void _xcb_in_destroy(
_xcb_in *in);
163 int _xcb_in_expect_reply(
xcb_connection_t *c, uint64_t request,
enum workarounds workaround,
int flags);
173 pthread_mutex_t lock;
187 pthread_mutex_t lock;
207 pthread_mutex_t iolock;
227 #ifdef GCC_HAS_VISIBILITY 228 #pragma GCC visibility pop
Definition: xcb_windefs.h:38
Definition: xcb_list.c:43
xcb_setup_t
Definition: xproto.h:475
xcb_big_requests_enable_cookie_t
Definition: bigreq.h:29
Container for authorization information.
Definition: xcb.h:216