xcb_xf86dri_auth_connection(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

xcb_xf86dri_auth_connection β€” okay so bestie, this page lives in the XCB Requests manual (that's section 3 of your man pages, iykyk), and the actual one-line description up top is… literally just a dash. Nothing. Empty. The upstream girlies left it blank, and we're not gonna invent lore that isn't there. πŸ’€


✨ SYNOPSIS ✨

First things first, you gotta pull in the header:

#include <xcb/xf86dri.h>

🌸 Request function 🌸

xcb_xf86dri_auth_connection_cookie_t
       xcb_xf86dri_auth_connection(xcb_connection_t *conn,
       uint32_t screen, uint32_t magic);

πŸ¦‹ Reply datastructure πŸ¦‹

typedef struct xcb_xf86dri_auth_connection_reply_t {
    uint8_t  response_type;
    uint8_t  pad0;
    uint16_t sequence;
    uint32_t length;
    uint32_t authenticated;
} xcb_xf86dri_auth_connection_reply_t;

πŸ’– Reply function πŸ’–

xcb_xf86dri_auth_connection_reply_t
       *xcb_xf86dri_auth_connection_reply(xcb_connection_t *conn,
       xcb_xf86dri_auth_connection_cookie_t cookie,
       xcb_generic_error_t **e);

πŸ’… REQUEST ARGUMENTS πŸ’…

  • conn β€” the XCB connection to X11. Your lil hotline to the server, periodt.
  • screen β€” TODO: NOT YET DOCUMENTED. Yeah bestie, that's what it says. Nobody wrote it up yet. 🫠
  • magic β€” also TODO: NOT YET DOCUMENTED. The docs are giving mystery on purpose, I guess. πŸ™ˆ

🌈 REPLY FIELDS 🌈

  • response_type β€” the type of this reply, and in this case it's XCB_XF86DRI_AUTH_CONNECTION. This field also shows up in the xcb_generic_reply_t, so you can use it to tell your replies apart from each other. It's the little name tag at the party. πŸŽ€
  • sequence β€” the sequence number of the last request processed by the X11 server. Tracking numbers but make it X11. ✨
  • length β€” the length of the reply, counted in words (and a word is 4 bytes, no cap).
  • authenticated β€” TODO: NOT YET DOCUMENTED. That's it. That's the whole description. 😭

🧚 DESCRIPTION 🧚

…and there's literally nothing here. The DESCRIPTION section is empty, bestie. Not me reading a whole blank section like it was gonna tell me the tea. πŸ’€


πŸ‘‘ RETURN VALUE πŸ‘‘

It hands you back an xcb_xf86dri_auth_connection_cookie_t. Your cookie!! πŸͺ

Errors? You don't deal with those here β€” they have to be handled when you call the reply function xcb_xf86dri_auth_connection_reply.

If you'd rather handle errors in the event loop instead, use xcb_xf86dri_auth_connection_unchecked. Go read xcb-requests(3) for the full details, bestie, it's all in there. 🫢

πŸ’€ ERRORS πŸ’€

This request does never generate any errors. Not one. Zero. The drama-free icon we all aspire to be. πŸ”₯


🌸 SEE ALSO 🌸

Absolutely nothing listed. Crickets. The SEE ALSO is empty, bestie β€” this page is out here with no friends in the cross-reference department. πŸ¦‹


πŸ’œ AUTHOR πŸ’œ

Generated from xf86dri.xml. Got corrections or improvements? Contact xcb@lists.freedesktop.org β€” they're taking notes, fr fr. πŸ’Œ


And that's the whole vibe check, bestie β€” this page is from X Version 11, libxcb 1.17.0, the one and only xcb_xf86dri_auth_connection(3). Now go auth that connection, main character. Slay. πŸ’…βœ¨