Function xcb::ffi::base::xcb_get_setup [] [src]

pub unsafe extern fn xcb_get_setup(
    c: *mut xcb_connection_t
) -> *const xcb_setup_t

Access the data returned by the server.

Accessor for the data returned by the server when the xcb_connection_t was initialized. This data includes - the server's required format for images, - a list of available visuals, - a list of available screens, - the server's maximum request length (in the absence of the BIG-REQUESTS extension), - and other assorted information.

See the X protocol specification for more details.

Returns A pointer to an xcb_setup_t structure. The result must not be freed.