1xcb_xv_get_port_attribute(3)     XCB Requests     xcb_xv_get_port_attribute(3)
2
3
4

NAME

6       xcb_xv_get_port_attribute -
7

SYNOPSIS

9       #include <xcb/xv.h>
10
11   Request function
12       xcb_xv_get_port_attribute_cookie_t
13              xcb_xv_get_port_attribute(xcb_connection_t *conn,
14              xcb_xv_port_t port, xcb_atom_t attribute);
15
16   Reply datastructure
17       typedef struct xcb_xv_get_port_attribute_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           int32_t  value;
23       } xcb_xv_get_port_attribute_reply_t;
24
25   Reply function
26       xcb_xv_get_port_attribute_reply_t
27              *xcb_xv_get_port_attribute_reply(xcb_connection_t *conn,
28              xcb_xv_get_port_attribute_cookie_t cookie,
29              xcb_generic_error_t **e);
30

REQUEST ARGUMENTS

32       conn      The XCB connection to X11.
33
34       port      TODO: NOT YET DOCUMENTED.
35
36       attribute TODO: NOT YET DOCUMENTED.
37

REPLY FIELDS

39       response_type
40                 The type of this reply, in this case XCB_XV_GET_PORT_AT‐
41                 TRIBUTE. This field is also present in the xcb_generic_re‐
42                 ply_t and can be used to tell replies apart from each other.
43
44       sequence  The sequence number of the last request processed by the X11
45                 server.
46
47       length    The length of the reply, in words (a word is 4 bytes).
48
49       value     TODO: NOT YET DOCUMENTED.
50

DESCRIPTION

RETURN VALUE

53       Returns an xcb_xv_get_port_attribute_cookie_t. Errors have to be han‐
54       dled when calling the reply function xcb_xv_get_port_attribute_reply.
55
56       If you want to handle errors in the event loop instead, use
57       xcb_xv_get_port_attribute_unchecked. See xcb-requests(3) for details.
58

ERRORS

60       This request does never generate any errors.
61

SEE ALSO

AUTHOR

64       Generated from xv.xml. Contact xcb@lists.freedesktop.org for correc‐
65       tions and improvements.
66
67
68
69X Version 11                      libxcb 1.12     xcb_xv_get_port_attribute(3)
Impressum