@brief Connects to the X server. @param displayname: The name of the display. @param screenp: A pointer to a preferred screen number. @return A newly allocated xcb_connection_t structure.
@brief Connects to the X server, using an authorization information. @param display: The name of the display. @param auth: The authorization information. @param screen: A pointer to a preferred screen number. @return A newly allocated xcb_connection_t structure.
@brief Connects to the X server. @param fd: The file descriptor. @param auth_info: Authentication data. @return A newly allocated xcb_connection_t structure.
@brief Test whether the connection has shut down due to a fatal error. @param c: The connection. @return > 0 if the connection is in an error state; 0 otherwise.
@brief Discards the reply for a request. @param c: The connection to the X server. @param sequence: The request sequence number from a cookie.
@brief Discards the reply for a request, given by a 64bit sequence number @param c: The connection to the X server. @param sequence: 64-bit sequence number as returned by xcb_send_request64().
@brief Closes the connection. @param c: The connection.
@brief Forces any buffered output to be written to the server. @param c: The connection to the X server. @return > @c 0 on success, <= @c 0 otherwise.
@brief Allocates an XID for a new object. @param c: The connection. @return A newly allocated XID.
@brief Caches reply information from QueryExtension requests. @param c: The connection. @param ext: The extension data. @return A pointer to the xcb_query_extension_reply_t for the extension.
@brief Access the file descriptor of the connection. @param c: The connection. @return The file descriptor.
@brief Returns the maximum request length that this server accepts. @param c: The connection to the X server. @return The maximum request length field.
@brief Access the data returned by the server. @param c: The connection. @return A pointer to an xcb_setup_t structure.
@brief Parses a display string name in the form documented by X(7x). @param name: The name of the display. @param host: A pointer to a malloc'd copy of the hostname. @param display: A pointer to the display number. @param screen: A pointer to the screen number. @return 0 on failure, non 0 otherwise.
@brief Returns the next event or error from the server. @param c: The connection to the X server. @return The next event from the server.
@brief Returns the next event without reading from the connection. @param c: The connection to the X server. @return The next already queued event from the server.
@brief Returns the next event from a special queue
@brief Prefetch of extension data into the extension cache @param c: The connection. @param ext: The extension data.
@brief Prefetch the maximum request length without blocking. @param c: The connection to the X server.
@brief Listen for a special event
@brief Return the error for a request, or NULL if none can ever arrive. @param c: The connection to the X server. @param cookie: The request cookie. @return The error for the request, or NULL if none can ever arrive.
@brief Stop listening for a special event
@brief Returns the next event or error from the server. @param c: The connection to the X server. @return The next event from the server.
@brief Returns the next event from a special queue, blocking until one arrives
xcb connection shutdown because of extension not supported
Connection closed because some FD passing operation failed
Connection closed because the server does not have a screen matching the display.
malloc(), calloc() and realloc() error upon failure, for eg ENOMEM
Connection closed, error during parsing display string.
Connection closed, exceeding request length that server accepts.
xcb connection errors because of socket, pipe and other stream errors.
XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters
XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t
XCB_NONE is the universal null resource or null atom parameter value for many core X requests
XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables
Current protocol version
Current minor version
X_TCP_PORT + display number = server port for TCP transport
@brief Container for authorization information.
@brief XCB Connection structure.
@typedef typedef struct xcb_extension_t xcb_extension_t
@brief GE event
@brief Generic error.
@brief Generic event.
@brief Generic iterator.
@brief Generic reply.
@brief Generic cookie.