X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=01d8a2046c9f621f16773e5567d9a3d497fa8d4e;hb=79e3227022ae3d66f9f3806d231fdeec2a06cc6b;hp=7b32248b659a4831d84c57b848b5255afcdea6be;hpb=b83f18a4cc2303dfda59807d56e16bbc5c18b09d;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index 7b32248..01d8a20 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -43,6 +43,8 @@ enum workarounds { #define XCB_PAD(i) (-(i) & 3) +#define XCB_SEQUENCE_COMPARE(a,op,b) ((int) ((a) - (b)) op 0) + /* xcb_list.c */ typedef void (*XCBListFreeFunc)(void *); @@ -140,8 +142,10 @@ void _xcb_ext_destroy(XCBConnection *c); /* xcb_conn.c */ struct XCBConnection { + int has_error; + /* constant data */ - XCBConnSetupSuccessRep *setup; + XCBSetup *setup; int fd; /* I/O data */ @@ -154,8 +158,14 @@ struct XCBConnection { _xcb_xid xid; }; +void _xcb_conn_shutdown(XCBConnection *c); 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 #endif