File indexing completed on 2025-01-18 10:14:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __GE_H
0013 #define __GE_H
0014
0015 #include "xcb.h"
0016
0017 #ifdef __cplusplus
0018 extern "C" {
0019 #endif
0020
0021 #define XCB_GENERICEVENT_MAJOR_VERSION 1
0022 #define XCB_GENERICEVENT_MINOR_VERSION 0
0023
0024 extern xcb_extension_t xcb_genericevent_id;
0025
0026
0027
0028
0029 typedef struct xcb_genericevent_query_version_cookie_t {
0030 unsigned int sequence;
0031 } xcb_genericevent_query_version_cookie_t;
0032
0033
0034 #define XCB_GENERICEVENT_QUERY_VERSION 0
0035
0036
0037
0038
0039 typedef struct xcb_genericevent_query_version_request_t {
0040 uint8_t major_opcode;
0041 uint8_t minor_opcode;
0042 uint16_t length;
0043 uint16_t client_major_version;
0044 uint16_t client_minor_version;
0045 } xcb_genericevent_query_version_request_t;
0046
0047
0048
0049
0050 typedef struct xcb_genericevent_query_version_reply_t {
0051 uint8_t response_type;
0052 uint8_t pad0;
0053 uint16_t sequence;
0054 uint32_t length;
0055 uint16_t major_version;
0056 uint16_t minor_version;
0057 uint8_t pad1[20];
0058 } xcb_genericevent_query_version_reply_t;
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068 xcb_genericevent_query_version_cookie_t
0069 xcb_genericevent_query_version (xcb_connection_t *c,
0070 uint16_t client_major_version,
0071 uint16_t client_minor_version);
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084 xcb_genericevent_query_version_cookie_t
0085 xcb_genericevent_query_version_unchecked (xcb_connection_t *c,
0086 uint16_t client_major_version,
0087 uint16_t client_minor_version);
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103 xcb_genericevent_query_version_reply_t *
0104 xcb_genericevent_query_version_reply (xcb_connection_t *c,
0105 xcb_genericevent_query_version_cookie_t cookie ,
0106 xcb_generic_error_t **e);
0107
0108
0109 #ifdef __cplusplus
0110 }
0111 #endif
0112
0113 #endif
0114
0115
0116
0117