XCB: ge.h Source File

XCB 1.17.0

ge.h
1/*
2 * This file generated automatically from ge.xml by c_client.py.
3 * Edit at your peril.
4 */
5
12#ifndef __GE_H
13#define __GE_H
14
15#include "xcb.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#define XCB_GENERICEVENT_MAJOR_VERSION 1
22#define XCB_GENERICEVENT_MINOR_VERSION 0
23
24extern xcb_extension_t xcb_genericevent_id;
25
29 typedef struct xcb_genericevent_query_version_cookie_t {
30 unsigned int sequence;
31} xcb_genericevent_query_version_cookie_t;
32
34#define XCB_GENERICEVENT_QUERY_VERSION 0
35
39 typedef struct xcb_genericevent_query_version_request_t {
40 uint8_t major_opcode;
41 uint8_t minor_opcode;
42 uint16_t length;
43 uint16_t client_major_version;
44 uint16_t client_minor_version;
45} xcb_genericevent_query_version_request_t;
46
50 typedef struct xcb_genericevent_query_version_reply_t {
51 uint8_t response_type;
52 uint8_t pad0;
53 uint16_t sequence;
54 uint32_t length;
55 uint16_t major_version;
56 uint16_t minor_version;
57 uint8_t pad1[20];
58} xcb_genericevent_query_version_reply_t;
59
68 xcb_genericevent_query_version_cookie_t
69 xcb_genericevent_query_version (xcb_connection_t *c,
70 uint16_t client_major_version,
71 uint16_t client_minor_version);
72
84 xcb_genericevent_query_version_cookie_t
85 xcb_genericevent_query_version_unchecked (xcb_connection_t *c,
86 uint16_t client_major_version,
87 uint16_t client_minor_version);
88
103 xcb_genericevent_query_version_reply_t *
104 xcb_genericevent_query_version_reply (xcb_connection_t *c,
105 xcb_genericevent_query_version_cookie_t cookie ,
106 xcb_generic_error_t **e);
107
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif
114
xcb_genericevent_query_version_unchecked
xcb_genericevent_query_version_cookie_t xcb_genericevent_query_version_unchecked(xcb_connection_t *c, uint16_t client_major_version, uint16_t client_minor_version)
Definition: ge.c:49
xcb_genericevent_query_version
xcb_genericevent_query_version_cookie_t xcb_genericevent_query_version(xcb_connection_t *c, uint16_t client_major_version, uint16_t client_minor_version)
Definition: ge.c:21
xcb_genericevent_query_version_reply
xcb_genericevent_query_version_reply_t * xcb_genericevent_query_version_reply(xcb_connection_t *c, xcb_genericevent_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: ge.c:77
xcb_connection_t
Definition: xcbint.h:208
xcb_extension_t
Definition: xcbext.h:39
xcb_generic_error_t
Generic error.
Definition: xcb.h:186
xcb_genericevent_query_version_cookie_t
xcb_genericevent_query_version_cookie_t
Definition: ge.h:29
xcb_genericevent_query_version_reply_t
xcb_genericevent_query_version_reply_t
Definition: ge.h:50
xcb_genericevent_query_version_request_t
xcb_genericevent_query_version_request_t
Definition: ge.h:39
xcb.h