projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide a "has error" property for XCBConnection.
[free-sw/xcb/libxcb]
/
src
/
xcbint.h
diff --git
a/src/xcbint.h
b/src/xcbint.h
index
7b32248
..
f059522
100644
(file)
--- a/
src/xcbint.h
+++ b/
src/xcbint.h
@@
-43,6
+43,8
@@
enum workarounds {
#define XCB_PAD(i) (-(i) & 3)
#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 *);
/* xcb_list.c */
typedef void (*XCBListFreeFunc)(void *);
@@
-140,8
+142,10
@@
void _xcb_ext_destroy(XCBConnection *c);
/* xcb_conn.c */
struct XCBConnection {
/* xcb_conn.c */
struct XCBConnection {
+ int has_error;
+
/* constant data */
/* constant data */
- XCB
ConnSetupSuccessRe
p *setup;
+ XCB
Setu
p *setup;
int fd;
/* I/O data */
int fd;
/* I/O data */
@@
-156,6
+160,11
@@
struct XCBConnection {
int _xcb_conn_wait(XCBConnection *c, pthread_cond_t *cond, struct iovec **vector, int *count);
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
#ifdef GCC_HAS_VISIBILITY
#pragma GCC visibility pop
#endif