X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=359c681e637e45d1fb74b34426c277c6ef6b5f80;hb=53971ea183d9d1dcfbaec18b135e49c9c118fabb;hp=7c8f33140614240d9021482b0d09fb3f36c0540c;hpb=522a6e0eac9adeaac533a5b700f42d85d46e2dd7;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index 7c8f331..359c681 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -63,8 +63,6 @@ typedef struct _xcb_out { char queue[4096]; int queue_len; - struct iovec *vec; - int vec_len; unsigned int request; unsigned int request_written; @@ -76,9 +74,8 @@ typedef struct _xcb_out { int _xcb_out_init(_xcb_out *out); void _xcb_out_destroy(_xcb_out *out); -int _xcb_out_write(XCBConnection *c); -int _xcb_out_write_block(XCBConnection *c, struct iovec *vector, size_t count); -int _xcb_out_flush(XCBConnection *c); +int _xcb_out_send(XCBConnection *c, struct iovec **vector, int *count); +int _xcb_out_flush_to(XCBConnection *c, unsigned int request); /* xcb_in.c */ @@ -157,7 +154,12 @@ struct XCBConnection { _xcb_xid xid; }; -int _xcb_conn_wait(XCBConnection *c, const int should_write, pthread_cond_t *cond); +int _xcb_conn_wait(XCBConnection *c, pthread_cond_t *cond, struct iovec **vector, int *count); + + +/* xcb_auth.c */ + +int _xcb_get_auth_info(int fd, XCBAuthInfo *info); #ifdef GCC_HAS_VISIBILITY #pragma GCC visibility pop