Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- miniconda3/envs/ladir/include/rpcsvc/ypclnt.h +91 -0
- miniconda3/envs/ladir/include/rpcsvc/yppasswd.h +49 -0
- miniconda3/envs/ladir/include/rpcsvc/yppasswd.x +61 -0
- miniconda3/envs/ladir/include/rpcsvc/ypupd.h +90 -0
- miniconda3/envs/ladir/include/uuid/uuid.h +121 -0
- miniconda3/envs/ladir/include/xcb/bigreq.h +117 -0
- miniconda3/envs/ladir/include/xcb/composite.h +580 -0
- miniconda3/envs/ladir/include/xcb/damage.h +456 -0
- miniconda3/envs/ladir/include/xcb/dbe.h +772 -0
- miniconda3/envs/ladir/include/xcb/dpms.h +575 -0
- miniconda3/envs/ladir/include/xcb/dri2.h +1305 -0
- miniconda3/envs/ladir/include/xcb/dri3.h +1003 -0
- miniconda3/envs/ladir/include/xcb/ge.h +117 -0
- miniconda3/envs/ladir/include/xcb/glx.h +0 -0
- miniconda3/envs/ladir/include/xcb/present.h +751 -0
- miniconda3/envs/ladir/include/xcb/randr.h +0 -0
- miniconda3/envs/ladir/include/xcb/record.h +935 -0
- miniconda3/envs/ladir/include/xcb/render.h +0 -0
- miniconda3/envs/ladir/include/xcb/res.h +864 -0
- miniconda3/envs/ladir/include/xcb/screensaver.h +517 -0
- miniconda3/envs/ladir/include/xcb/shape.h +752 -0
- miniconda3/envs/ladir/include/xcb/shm.h +792 -0
- miniconda3/envs/ladir/include/xcb/sync.h +1628 -0
- miniconda3/envs/ladir/include/xcb/xc_misc.h +281 -0
- miniconda3/envs/ladir/include/xcb/xcb.h +644 -0
- miniconda3/envs/ladir/include/xcb/xcbext.h +322 -0
- miniconda3/envs/ladir/include/xcb/xevie.h +473 -0
- miniconda3/envs/ladir/include/xcb/xf86dri.h +988 -0
- miniconda3/envs/ladir/include/xcb/xfixes.h +2140 -0
- miniconda3/envs/ladir/include/xcb/xinerama.h +557 -0
- miniconda3/envs/ladir/include/xcb/xinput.h +0 -0
- miniconda3/envs/ladir/include/xcb/xkb.h +0 -0
- miniconda3/envs/ladir/include/xcb/xprint.h +1895 -0
- miniconda3/envs/ladir/include/xcb/xproto.h +0 -0
- miniconda3/envs/ladir/include/xcb/xselinux.h +1889 -0
- miniconda3/envs/ladir/include/xcb/xtest.h +303 -0
- miniconda3/envs/ladir/include/xcb/xv.h +2096 -0
- miniconda3/envs/ladir/include/xcb/xvmc.h +868 -0
- miniconda3/envs/ladir/lib/cmake/OpenSSL/OpenSSLConfig.cmake +146 -0
- miniconda3/envs/ladir/lib/cmake/OpenSSL/OpenSSLConfigVersion.cmake +17 -0
- miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat-config-version.cmake +65 -0
- miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat-config.cmake +99 -0
- miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat-release.cmake +19 -0
- miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat.cmake +107 -0
- miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-config-version.cmake +70 -0
- miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-config.cmake +16 -0
- miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-targets-release.cmake +19 -0
- miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-targets.cmake +102 -0
- miniconda3/envs/ladir/lib/itcl4.3.0/itcl.tcl +151 -0
- miniconda3/envs/ladir/lib/itcl4.3.0/itclConfig.sh +67 -0
miniconda3/envs/ladir/include/rpcsvc/ypclnt.h
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
| 2 |
+
This file is part of the GNU C Library.
|
| 3 |
+
Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
|
| 4 |
+
|
| 5 |
+
The GNU C Library is free software; you can redistribute it and/or
|
| 6 |
+
modify it under the terms of the GNU Lesser General Public
|
| 7 |
+
License as published by the Free Software Foundation; either
|
| 8 |
+
version 2.1 of the License, or (at your option) any later version.
|
| 9 |
+
|
| 10 |
+
The GNU C Library is distributed in the hope that it will be useful,
|
| 11 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 13 |
+
Lesser General Public License for more details.
|
| 14 |
+
|
| 15 |
+
You should have received a copy of the GNU Lesser General Public
|
| 16 |
+
License along with the GNU C Library; if not, see
|
| 17 |
+
<http://www.gnu.org/licenses/>. */
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
#ifndef __RPCSVC_YPCLNT_H__
|
| 21 |
+
#define __RPCSVC_YPCLNT_H__
|
| 22 |
+
|
| 23 |
+
/* Some defines */
|
| 24 |
+
#define YPERR_SUCCESS 0 /* There is no error */
|
| 25 |
+
#define YPERR_BADARGS 1 /* Args to function are bad */
|
| 26 |
+
#define YPERR_RPC 2 /* RPC failure */
|
| 27 |
+
#define YPERR_DOMAIN 3 /* Can't bind to a server with this domain */
|
| 28 |
+
#define YPERR_MAP 4 /* No such map in server's domain */
|
| 29 |
+
#define YPERR_KEY 5 /* No such key in map */
|
| 30 |
+
#define YPERR_YPERR 6 /* Internal yp server or client error */
|
| 31 |
+
#define YPERR_RESRC 7 /* Local resource allocation failure */
|
| 32 |
+
#define YPERR_NOMORE 8 /* No more records in map database */
|
| 33 |
+
#define YPERR_PMAP 9 /* Can't communicate with portmapper */
|
| 34 |
+
#define YPERR_YPBIND 10 /* Can't communicate with ypbind */
|
| 35 |
+
#define YPERR_YPSERV 11 /* Can't communicate with ypserv */
|
| 36 |
+
#define YPERR_NODOM 12 /* Local domain name not set */
|
| 37 |
+
#define YPERR_BADDB 13 /* yp data base is bad */
|
| 38 |
+
#define YPERR_VERS 14 /* YP version mismatch */
|
| 39 |
+
#define YPERR_ACCESS 15 /* Access violation */
|
| 40 |
+
#define YPERR_BUSY 16 /* Database is busy */
|
| 41 |
+
|
| 42 |
+
/* Types of update operations */
|
| 43 |
+
#define YPOP_CHANGE 1 /* Change, do not add */
|
| 44 |
+
#define YPOP_INSERT 2 /* Add, do not change */
|
| 45 |
+
#define YPOP_DELETE 3 /* Delete this entry */
|
| 46 |
+
#define YPOP_STORE 4 /* Add, or change */
|
| 47 |
+
|
| 48 |
+
#ifdef __cplusplus
|
| 49 |
+
extern "C" {
|
| 50 |
+
#endif
|
| 51 |
+
|
| 52 |
+
/* struct ypall_callback * is the arg which must be passed to yp_all. */
|
| 53 |
+
struct ypall_callback
|
| 54 |
+
{
|
| 55 |
+
int (*foreach) (int __status, char *__key, int __keylen,
|
| 56 |
+
char *__val, int __vallen, char *__data);
|
| 57 |
+
char *data;
|
| 58 |
+
};
|
| 59 |
+
|
| 60 |
+
/* External NIS client function references. */
|
| 61 |
+
extern int yp_bind (const char *);
|
| 62 |
+
extern void yp_unbind (const char *);
|
| 63 |
+
extern int yp_get_default_domain (char **);
|
| 64 |
+
extern int yp_match (const char *, const char *, const char *,
|
| 65 |
+
const int, char **, int *);
|
| 66 |
+
extern int yp_first (const char *, const char *, char **,
|
| 67 |
+
int *, char **, int *);
|
| 68 |
+
extern int yp_next (const char *, const char *, const char *,
|
| 69 |
+
const int, char **, int *, char **, int *);
|
| 70 |
+
extern int yp_master (const char *, const char *, char **);
|
| 71 |
+
extern int yp_order (const char *, const char *, unsigned int *);
|
| 72 |
+
extern int yp_all (const char *, const char *,
|
| 73 |
+
const struct ypall_callback *);
|
| 74 |
+
extern const char *yperr_string (const int);
|
| 75 |
+
extern const char *ypbinderr_string (const int);
|
| 76 |
+
extern int ypprot_err (const int);
|
| 77 |
+
extern int yp_update (char *, char *, unsigned int, char *,
|
| 78 |
+
int, char *, int);
|
| 79 |
+
|
| 80 |
+
#if 0
|
| 81 |
+
extern int yp_maplist (const char *, struct ypmaplist **);
|
| 82 |
+
#endif
|
| 83 |
+
|
| 84 |
+
/* This functions exists only under BSD and Linux systems. */
|
| 85 |
+
extern int __yp_check (char **);
|
| 86 |
+
|
| 87 |
+
#ifdef __cplusplus
|
| 88 |
+
}
|
| 89 |
+
#endif
|
| 90 |
+
|
| 91 |
+
#endif /* __RPCSVC_YPCLNT_H__ */
|
miniconda3/envs/ladir/include/rpcsvc/yppasswd.h
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* Please do not edit this file.
|
| 3 |
+
* It was generated using rpcgen.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
#ifndef _YPPASSWD_H_RPCGEN
|
| 7 |
+
#define _YPPASSWD_H_RPCGEN
|
| 8 |
+
|
| 9 |
+
#include <rpc/rpc.h>
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
#ifdef __cplusplus
|
| 13 |
+
extern "C" {
|
| 14 |
+
#endif
|
| 15 |
+
|
| 16 |
+
struct passwd {
|
| 17 |
+
char *pw_name;
|
| 18 |
+
char *pw_passwd;
|
| 19 |
+
int pw_uid;
|
| 20 |
+
int pw_gid;
|
| 21 |
+
char *pw_gecos;
|
| 22 |
+
char *pw_dir;
|
| 23 |
+
char *pw_shell;
|
| 24 |
+
};
|
| 25 |
+
typedef struct passwd passwd;
|
| 26 |
+
|
| 27 |
+
struct yppasswd {
|
| 28 |
+
char *oldpass;
|
| 29 |
+
struct passwd newpw;
|
| 30 |
+
};
|
| 31 |
+
typedef struct yppasswd yppasswd;
|
| 32 |
+
|
| 33 |
+
#define YPPASSWDPROG 100009
|
| 34 |
+
#define YPPASSWDVERS 1
|
| 35 |
+
#define YPPASSWDPROC_UPDATE 1
|
| 36 |
+
|
| 37 |
+
extern int * yppasswdproc_update_1(yppasswd *, CLIENT *);
|
| 38 |
+
extern int * yppasswdproc_update_1_svc(yppasswd *, struct svc_req *);
|
| 39 |
+
extern int yppasswdprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
|
| 40 |
+
|
| 41 |
+
/* the xdr functions */
|
| 42 |
+
extern bool_t xdr_passwd (XDR *, struct passwd*);
|
| 43 |
+
extern bool_t xdr_yppasswd (XDR *, yppasswd*);
|
| 44 |
+
|
| 45 |
+
#ifdef __cplusplus
|
| 46 |
+
}
|
| 47 |
+
#endif
|
| 48 |
+
|
| 49 |
+
#endif /* !_YPPASSWD_H_RPCGEN */
|
miniconda3/envs/ladir/include/rpcsvc/yppasswd.x
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* @(#)yppasswd.x 2.1 88/08/01 4.0 RPCSRC */
|
| 2 |
+
|
| 3 |
+
/*
|
| 4 |
+
* Copyright (c) 2010, Oracle America, Inc.
|
| 5 |
+
* Redistribution and use in source and binary forms, with or without
|
| 6 |
+
* modification, are permitted provided that the following conditions are
|
| 7 |
+
* met:
|
| 8 |
+
*
|
| 9 |
+
* * Redistributions of source code must retain the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer.
|
| 11 |
+
* * Redistributions in binary form must reproduce the above
|
| 12 |
+
* copyright notice, this list of conditions and the following
|
| 13 |
+
* disclaimer in the documentation and/or other materials
|
| 14 |
+
* provided with the distribution.
|
| 15 |
+
* * Neither the name of the "Oracle America, Inc." nor the names of its
|
| 16 |
+
* contributors may be used to endorse or promote products derived
|
| 17 |
+
* from this software without specific prior written permission.
|
| 18 |
+
*
|
| 19 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 20 |
+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 21 |
+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
| 22 |
+
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
| 23 |
+
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
| 24 |
+
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 25 |
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
| 26 |
+
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 27 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 28 |
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 29 |
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 30 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 31 |
+
*/
|
| 32 |
+
|
| 33 |
+
/*
|
| 34 |
+
* YP password update protocol
|
| 35 |
+
* Requires unix authentication
|
| 36 |
+
*/
|
| 37 |
+
program YPPASSWDPROG {
|
| 38 |
+
version YPPASSWDVERS {
|
| 39 |
+
/*
|
| 40 |
+
* Update my passwd entry
|
| 41 |
+
*/
|
| 42 |
+
int
|
| 43 |
+
YPPASSWDPROC_UPDATE(yppasswd) = 1;
|
| 44 |
+
} = 1;
|
| 45 |
+
} = 100009;
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
struct passwd {
|
| 49 |
+
string pw_name<>; /* username */
|
| 50 |
+
string pw_passwd<>; /* encrypted password */
|
| 51 |
+
int pw_uid; /* user id */
|
| 52 |
+
int pw_gid; /* group id */
|
| 53 |
+
string pw_gecos<>; /* in real life name */
|
| 54 |
+
string pw_dir<>; /* home directory */
|
| 55 |
+
string pw_shell<>; /* default shell */
|
| 56 |
+
};
|
| 57 |
+
|
| 58 |
+
struct yppasswd {
|
| 59 |
+
string oldpass<>; /* unencrypted old password */
|
| 60 |
+
passwd newpw; /* new passwd entry */
|
| 61 |
+
};
|
miniconda3/envs/ladir/include/rpcsvc/ypupd.h
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* Copyright (c) 2010, Oracle America, Inc.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions are
|
| 6 |
+
* met:
|
| 7 |
+
*
|
| 8 |
+
* * Redistributions of source code must retain the above copyright
|
| 9 |
+
* notice, this list of conditions and the following disclaimer.
|
| 10 |
+
* * Redistributions in binary form must reproduce the above
|
| 11 |
+
* copyright notice, this list of conditions and the following
|
| 12 |
+
* disclaimer in the documentation and/or other materials
|
| 13 |
+
* provided with the distribution.
|
| 14 |
+
* * Neither the name of the "Oracle America, Inc." nor the names of its
|
| 15 |
+
* contributors may be used to endorse or promote products derived
|
| 16 |
+
* from this software without specific prior written permission.
|
| 17 |
+
*
|
| 18 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 19 |
+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 20 |
+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
| 21 |
+
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
| 22 |
+
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
| 23 |
+
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 24 |
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
| 25 |
+
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 26 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 27 |
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 28 |
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 29 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 30 |
+
*/
|
| 31 |
+
/* from @(#)ypupdate_prot.x 1.3 91/03/11 TIRPC 1.0 */
|
| 32 |
+
|
| 33 |
+
#ifndef __RPCSVC_YPUPD_H__
|
| 34 |
+
#define __RPCSVC_YPUPD_H__
|
| 35 |
+
|
| 36 |
+
#include <rpc/rpc.h>
|
| 37 |
+
|
| 38 |
+
#define MAXMAPNAMELEN 255
|
| 39 |
+
#define MAXYPDATALEN 1023
|
| 40 |
+
#define MAXERRMSGLEN 255
|
| 41 |
+
|
| 42 |
+
#ifdef __cplusplus
|
| 43 |
+
extern "C" {
|
| 44 |
+
#endif
|
| 45 |
+
|
| 46 |
+
typedef struct {
|
| 47 |
+
u_int yp_buf_len;
|
| 48 |
+
char *yp_buf_val;
|
| 49 |
+
} yp_buf;
|
| 50 |
+
|
| 51 |
+
extern bool_t xdr_yp_buf (XDR *, yp_buf*);
|
| 52 |
+
|
| 53 |
+
struct ypupdate_args {
|
| 54 |
+
char *mapname;
|
| 55 |
+
yp_buf key;
|
| 56 |
+
yp_buf datum;
|
| 57 |
+
};
|
| 58 |
+
typedef struct ypupdate_args ypupdate_args;
|
| 59 |
+
|
| 60 |
+
extern bool_t xdr_ypupdate_args (XDR *, ypupdate_args*);
|
| 61 |
+
|
| 62 |
+
struct ypdelete_args {
|
| 63 |
+
char *mapname;
|
| 64 |
+
yp_buf key;
|
| 65 |
+
};
|
| 66 |
+
typedef struct ypdelete_args ypdelete_args;
|
| 67 |
+
|
| 68 |
+
extern bool_t xdr_ypdelete_args (XDR *, ypdelete_args*);
|
| 69 |
+
|
| 70 |
+
#define YPU_PROG 100028
|
| 71 |
+
#define YPU_VERS 1
|
| 72 |
+
|
| 73 |
+
#define YPU_CHANGE 1
|
| 74 |
+
extern u_int * ypu_change_1 (ypupdate_args *, CLIENT *);
|
| 75 |
+
extern u_int * ypu_change_1_svc (ypupdate_args *, struct svc_req *);
|
| 76 |
+
#define YPU_INSERT 2
|
| 77 |
+
extern u_int * ypu_insert_1 (ypupdate_args *, CLIENT *);
|
| 78 |
+
extern u_int * ypu_insert_1_svc (ypupdate_args *, struct svc_req *);
|
| 79 |
+
#define YPU_DELETE 3
|
| 80 |
+
extern u_int * ypu_delete_1 (ypdelete_args *, CLIENT *);
|
| 81 |
+
extern u_int * ypu_delete_1_svc (ypdelete_args *, struct svc_req *);
|
| 82 |
+
#define YPU_STORE 4
|
| 83 |
+
extern u_int * ypu_store_1 (ypupdate_args *, CLIENT *);
|
| 84 |
+
extern u_int * ypu_store_1_svc (ypupdate_args *, struct svc_req *);
|
| 85 |
+
|
| 86 |
+
#ifdef __cplusplus
|
| 87 |
+
}
|
| 88 |
+
#endif
|
| 89 |
+
|
| 90 |
+
#endif /* !__RPCSVC_YPUPD_H__ */
|
miniconda3/envs/ladir/include/uuid/uuid.h
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* Public include file for the UUID library
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 1996, 1997, 1998 Theodore Ts'o.
|
| 5 |
+
*
|
| 6 |
+
* %Begin-Header%
|
| 7 |
+
* Redistribution and use in source and binary forms, with or without
|
| 8 |
+
* modification, are permitted provided that the following conditions
|
| 9 |
+
* are met:
|
| 10 |
+
* 1. Redistributions of source code must retain the above copyright
|
| 11 |
+
* notice, and the entire permission notice in its entirety,
|
| 12 |
+
* including the disclaimer of warranties.
|
| 13 |
+
* 2. Redistributions in binary form must reproduce the above copyright
|
| 14 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 15 |
+
* documentation and/or other materials provided with the distribution.
|
| 16 |
+
* 3. The name of the author may not be used to endorse or promote
|
| 17 |
+
* products derived from this software without specific prior
|
| 18 |
+
* written permission.
|
| 19 |
+
*
|
| 20 |
+
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
| 21 |
+
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
| 22 |
+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
|
| 23 |
+
* WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
|
| 24 |
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 25 |
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
| 26 |
+
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
| 27 |
+
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 28 |
+
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 29 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 30 |
+
* USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
|
| 31 |
+
* DAMAGE.
|
| 32 |
+
* %End-Header%
|
| 33 |
+
*/
|
| 34 |
+
|
| 35 |
+
#ifndef _UUID_UUID_H
|
| 36 |
+
#define _UUID_UUID_H
|
| 37 |
+
|
| 38 |
+
#include <sys/types.h>
|
| 39 |
+
#ifndef _WIN32
|
| 40 |
+
#include <sys/time.h>
|
| 41 |
+
#endif
|
| 42 |
+
#include <time.h>
|
| 43 |
+
|
| 44 |
+
typedef unsigned char uuid_t[16];
|
| 45 |
+
|
| 46 |
+
/* UUID Variant definitions */
|
| 47 |
+
#define UUID_VARIANT_NCS 0
|
| 48 |
+
#define UUID_VARIANT_DCE 1
|
| 49 |
+
#define UUID_VARIANT_MICROSOFT 2
|
| 50 |
+
#define UUID_VARIANT_OTHER 3
|
| 51 |
+
|
| 52 |
+
#define UUID_VARIANT_SHIFT 5
|
| 53 |
+
#define UUID_VARIANT_MASK 0x7
|
| 54 |
+
|
| 55 |
+
/* UUID Type definitions */
|
| 56 |
+
#define UUID_TYPE_DCE_TIME 1
|
| 57 |
+
#define UUID_TYPE_DCE_SECURITY 2
|
| 58 |
+
#define UUID_TYPE_DCE_MD5 3
|
| 59 |
+
#define UUID_TYPE_DCE_RANDOM 4
|
| 60 |
+
#define UUID_TYPE_DCE_SHA1 5
|
| 61 |
+
|
| 62 |
+
#define UUID_TYPE_SHIFT 4
|
| 63 |
+
#define UUID_TYPE_MASK 0xf
|
| 64 |
+
|
| 65 |
+
#define UUID_STR_LEN 37
|
| 66 |
+
|
| 67 |
+
/* Allow UUID constants to be defined */
|
| 68 |
+
#ifdef __GNUC__
|
| 69 |
+
#define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \
|
| 70 |
+
static const uuid_t name __attribute__ ((unused)) = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15}
|
| 71 |
+
#else
|
| 72 |
+
#define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \
|
| 73 |
+
static const uuid_t name = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15}
|
| 74 |
+
#endif
|
| 75 |
+
|
| 76 |
+
#ifdef __cplusplus
|
| 77 |
+
extern "C" {
|
| 78 |
+
#endif
|
| 79 |
+
|
| 80 |
+
/* clear.c */
|
| 81 |
+
extern void uuid_clear(uuid_t uu);
|
| 82 |
+
|
| 83 |
+
/* compare.c */
|
| 84 |
+
extern int uuid_compare(const uuid_t uu1, const uuid_t uu2);
|
| 85 |
+
|
| 86 |
+
/* copy.c */
|
| 87 |
+
extern void uuid_copy(uuid_t dst, const uuid_t src);
|
| 88 |
+
|
| 89 |
+
/* gen_uuid.c */
|
| 90 |
+
extern void uuid_generate(uuid_t out);
|
| 91 |
+
extern void uuid_generate_random(uuid_t out);
|
| 92 |
+
extern void uuid_generate_time(uuid_t out);
|
| 93 |
+
extern int uuid_generate_time_safe(uuid_t out);
|
| 94 |
+
|
| 95 |
+
extern void uuid_generate_md5(uuid_t out, const uuid_t ns, const char *name, size_t len);
|
| 96 |
+
extern void uuid_generate_sha1(uuid_t out, const uuid_t ns, const char *name, size_t len);
|
| 97 |
+
|
| 98 |
+
/* isnull.c */
|
| 99 |
+
extern int uuid_is_null(const uuid_t uu);
|
| 100 |
+
|
| 101 |
+
/* parse.c */
|
| 102 |
+
extern int uuid_parse(const char *in, uuid_t uu);
|
| 103 |
+
|
| 104 |
+
/* unparse.c */
|
| 105 |
+
extern void uuid_unparse(const uuid_t uu, char *out);
|
| 106 |
+
extern void uuid_unparse_lower(const uuid_t uu, char *out);
|
| 107 |
+
extern void uuid_unparse_upper(const uuid_t uu, char *out);
|
| 108 |
+
|
| 109 |
+
/* uuid_time.c */
|
| 110 |
+
extern time_t uuid_time(const uuid_t uu, struct timeval *ret_tv);
|
| 111 |
+
extern int uuid_type(const uuid_t uu);
|
| 112 |
+
extern int uuid_variant(const uuid_t uu);
|
| 113 |
+
|
| 114 |
+
/* predefined.c */
|
| 115 |
+
extern const uuid_t *uuid_get_template(const char *alias);
|
| 116 |
+
|
| 117 |
+
#ifdef __cplusplus
|
| 118 |
+
}
|
| 119 |
+
#endif
|
| 120 |
+
|
| 121 |
+
#endif /* _UUID_UUID_H */
|
miniconda3/envs/ladir/include/xcb/bigreq.h
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from bigreq.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_BigRequests_API XCB BigRequests API
|
| 8 |
+
* @brief BigRequests XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __BIGREQ_H
|
| 13 |
+
#define __BIGREQ_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
|
| 17 |
+
#ifdef __cplusplus
|
| 18 |
+
extern "C" {
|
| 19 |
+
#endif
|
| 20 |
+
|
| 21 |
+
#define XCB_BIGREQUESTS_MAJOR_VERSION 0
|
| 22 |
+
#define XCB_BIGREQUESTS_MINOR_VERSION 0
|
| 23 |
+
|
| 24 |
+
extern xcb_extension_t xcb_big_requests_id;
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* @brief xcb_big_requests_enable_cookie_t
|
| 28 |
+
**/
|
| 29 |
+
typedef struct xcb_big_requests_enable_cookie_t {
|
| 30 |
+
unsigned int sequence;
|
| 31 |
+
} xcb_big_requests_enable_cookie_t;
|
| 32 |
+
|
| 33 |
+
/** Opcode for xcb_big_requests_enable. */
|
| 34 |
+
#define XCB_BIG_REQUESTS_ENABLE 0
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
* @brief xcb_big_requests_enable_request_t
|
| 38 |
+
**/
|
| 39 |
+
typedef struct xcb_big_requests_enable_request_t {
|
| 40 |
+
uint8_t major_opcode;
|
| 41 |
+
uint8_t minor_opcode;
|
| 42 |
+
uint16_t length;
|
| 43 |
+
} xcb_big_requests_enable_request_t;
|
| 44 |
+
|
| 45 |
+
/**
|
| 46 |
+
* @brief xcb_big_requests_enable_reply_t
|
| 47 |
+
**/
|
| 48 |
+
typedef struct xcb_big_requests_enable_reply_t {
|
| 49 |
+
uint8_t response_type;
|
| 50 |
+
uint8_t pad0;
|
| 51 |
+
uint16_t sequence;
|
| 52 |
+
uint32_t length;
|
| 53 |
+
uint32_t maximum_request_length;
|
| 54 |
+
} xcb_big_requests_enable_reply_t;
|
| 55 |
+
|
| 56 |
+
/**
|
| 57 |
+
* @brief Enable the BIG-REQUESTS extension
|
| 58 |
+
*
|
| 59 |
+
* @param c The connection
|
| 60 |
+
* @return A cookie
|
| 61 |
+
*
|
| 62 |
+
* This enables the BIG-REQUESTS extension, which allows for requests larger than
|
| 63 |
+
* 262140 bytes in length. When enabled, if the 16-bit length field is zero, it
|
| 64 |
+
* is immediately followed by a 32-bit length field specifying the length of the
|
| 65 |
+
* request in 4-byte units.
|
| 66 |
+
*
|
| 67 |
+
*/
|
| 68 |
+
xcb_big_requests_enable_cookie_t
|
| 69 |
+
xcb_big_requests_enable (xcb_connection_t *c);
|
| 70 |
+
|
| 71 |
+
/**
|
| 72 |
+
* @brief Enable the BIG-REQUESTS extension
|
| 73 |
+
*
|
| 74 |
+
* @param c The connection
|
| 75 |
+
* @return A cookie
|
| 76 |
+
*
|
| 77 |
+
* This enables the BIG-REQUESTS extension, which allows for requests larger than
|
| 78 |
+
* 262140 bytes in length. When enabled, if the 16-bit length field is zero, it
|
| 79 |
+
* is immediately followed by a 32-bit length field specifying the length of the
|
| 80 |
+
* request in 4-byte units.
|
| 81 |
+
*
|
| 82 |
+
* This form can be used only if the request will cause
|
| 83 |
+
* a reply to be generated. Any returned error will be
|
| 84 |
+
* placed in the event queue.
|
| 85 |
+
*/
|
| 86 |
+
xcb_big_requests_enable_cookie_t
|
| 87 |
+
xcb_big_requests_enable_unchecked (xcb_connection_t *c);
|
| 88 |
+
|
| 89 |
+
/**
|
| 90 |
+
* Return the reply
|
| 91 |
+
* @param c The connection
|
| 92 |
+
* @param cookie The cookie
|
| 93 |
+
* @param e The xcb_generic_error_t supplied
|
| 94 |
+
*
|
| 95 |
+
* Returns the reply of the request asked by
|
| 96 |
+
*
|
| 97 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 98 |
+
* xcb_big_requests_enable_unchecked(). is used.
|
| 99 |
+
* Otherwise, it stores the error if any.
|
| 100 |
+
*
|
| 101 |
+
* The returned value must be freed by the caller using free().
|
| 102 |
+
*/
|
| 103 |
+
xcb_big_requests_enable_reply_t *
|
| 104 |
+
xcb_big_requests_enable_reply (xcb_connection_t *c,
|
| 105 |
+
xcb_big_requests_enable_cookie_t cookie /**< */,
|
| 106 |
+
xcb_generic_error_t **e);
|
| 107 |
+
|
| 108 |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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from composite.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Composite_API XCB Composite API
|
| 8 |
+
* @brief Composite XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __COMPOSITE_H
|
| 13 |
+
#define __COMPOSITE_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
#include "xfixes.h"
|
| 18 |
+
|
| 19 |
+
#ifdef __cplusplus
|
| 20 |
+
extern "C" {
|
| 21 |
+
#endif
|
| 22 |
+
|
| 23 |
+
#define XCB_COMPOSITE_MAJOR_VERSION 0
|
| 24 |
+
#define XCB_COMPOSITE_MINOR_VERSION 4
|
| 25 |
+
|
| 26 |
+
extern xcb_extension_t xcb_composite_id;
|
| 27 |
+
|
| 28 |
+
typedef enum xcb_composite_redirect_t {
|
| 29 |
+
XCB_COMPOSITE_REDIRECT_AUTOMATIC = 0,
|
| 30 |
+
XCB_COMPOSITE_REDIRECT_MANUAL = 1
|
| 31 |
+
} xcb_composite_redirect_t;
|
| 32 |
+
|
| 33 |
+
/**
|
| 34 |
+
* @brief xcb_composite_query_version_cookie_t
|
| 35 |
+
**/
|
| 36 |
+
typedef struct xcb_composite_query_version_cookie_t {
|
| 37 |
+
unsigned int sequence;
|
| 38 |
+
} xcb_composite_query_version_cookie_t;
|
| 39 |
+
|
| 40 |
+
/** Opcode for xcb_composite_query_version. */
|
| 41 |
+
#define XCB_COMPOSITE_QUERY_VERSION 0
|
| 42 |
+
|
| 43 |
+
/**
|
| 44 |
+
* @brief xcb_composite_query_version_request_t
|
| 45 |
+
**/
|
| 46 |
+
typedef struct xcb_composite_query_version_request_t {
|
| 47 |
+
uint8_t major_opcode;
|
| 48 |
+
uint8_t minor_opcode;
|
| 49 |
+
uint16_t length;
|
| 50 |
+
uint32_t client_major_version;
|
| 51 |
+
uint32_t client_minor_version;
|
| 52 |
+
} xcb_composite_query_version_request_t;
|
| 53 |
+
|
| 54 |
+
/**
|
| 55 |
+
* @brief xcb_composite_query_version_reply_t
|
| 56 |
+
**/
|
| 57 |
+
typedef struct xcb_composite_query_version_reply_t {
|
| 58 |
+
uint8_t response_type;
|
| 59 |
+
uint8_t pad0;
|
| 60 |
+
uint16_t sequence;
|
| 61 |
+
uint32_t length;
|
| 62 |
+
uint32_t major_version;
|
| 63 |
+
uint32_t minor_version;
|
| 64 |
+
uint8_t pad1[16];
|
| 65 |
+
} xcb_composite_query_version_reply_t;
|
| 66 |
+
|
| 67 |
+
/** Opcode for xcb_composite_redirect_window. */
|
| 68 |
+
#define XCB_COMPOSITE_REDIRECT_WINDOW 1
|
| 69 |
+
|
| 70 |
+
/**
|
| 71 |
+
* @brief xcb_composite_redirect_window_request_t
|
| 72 |
+
**/
|
| 73 |
+
typedef struct xcb_composite_redirect_window_request_t {
|
| 74 |
+
uint8_t major_opcode;
|
| 75 |
+
uint8_t minor_opcode;
|
| 76 |
+
uint16_t length;
|
| 77 |
+
xcb_window_t window;
|
| 78 |
+
uint8_t update;
|
| 79 |
+
uint8_t pad0[3];
|
| 80 |
+
} xcb_composite_redirect_window_request_t;
|
| 81 |
+
|
| 82 |
+
/** Opcode for xcb_composite_redirect_subwindows. */
|
| 83 |
+
#define XCB_COMPOSITE_REDIRECT_SUBWINDOWS 2
|
| 84 |
+
|
| 85 |
+
/**
|
| 86 |
+
* @brief xcb_composite_redirect_subwindows_request_t
|
| 87 |
+
**/
|
| 88 |
+
typedef struct xcb_composite_redirect_subwindows_request_t {
|
| 89 |
+
uint8_t major_opcode;
|
| 90 |
+
uint8_t minor_opcode;
|
| 91 |
+
uint16_t length;
|
| 92 |
+
xcb_window_t window;
|
| 93 |
+
uint8_t update;
|
| 94 |
+
uint8_t pad0[3];
|
| 95 |
+
} xcb_composite_redirect_subwindows_request_t;
|
| 96 |
+
|
| 97 |
+
/** Opcode for xcb_composite_unredirect_window. */
|
| 98 |
+
#define XCB_COMPOSITE_UNREDIRECT_WINDOW 3
|
| 99 |
+
|
| 100 |
+
/**
|
| 101 |
+
* @brief xcb_composite_unredirect_window_request_t
|
| 102 |
+
**/
|
| 103 |
+
typedef struct xcb_composite_unredirect_window_request_t {
|
| 104 |
+
uint8_t major_opcode;
|
| 105 |
+
uint8_t minor_opcode;
|
| 106 |
+
uint16_t length;
|
| 107 |
+
xcb_window_t window;
|
| 108 |
+
uint8_t update;
|
| 109 |
+
uint8_t pad0[3];
|
| 110 |
+
} xcb_composite_unredirect_window_request_t;
|
| 111 |
+
|
| 112 |
+
/** Opcode for xcb_composite_unredirect_subwindows. */
|
| 113 |
+
#define XCB_COMPOSITE_UNREDIRECT_SUBWINDOWS 4
|
| 114 |
+
|
| 115 |
+
/**
|
| 116 |
+
* @brief xcb_composite_unredirect_subwindows_request_t
|
| 117 |
+
**/
|
| 118 |
+
typedef struct xcb_composite_unredirect_subwindows_request_t {
|
| 119 |
+
uint8_t major_opcode;
|
| 120 |
+
uint8_t minor_opcode;
|
| 121 |
+
uint16_t length;
|
| 122 |
+
xcb_window_t window;
|
| 123 |
+
uint8_t update;
|
| 124 |
+
uint8_t pad0[3];
|
| 125 |
+
} xcb_composite_unredirect_subwindows_request_t;
|
| 126 |
+
|
| 127 |
+
/** Opcode for xcb_composite_create_region_from_border_clip. */
|
| 128 |
+
#define XCB_COMPOSITE_CREATE_REGION_FROM_BORDER_CLIP 5
|
| 129 |
+
|
| 130 |
+
/**
|
| 131 |
+
* @brief xcb_composite_create_region_from_border_clip_request_t
|
| 132 |
+
**/
|
| 133 |
+
typedef struct xcb_composite_create_region_from_border_clip_request_t {
|
| 134 |
+
uint8_t major_opcode;
|
| 135 |
+
uint8_t minor_opcode;
|
| 136 |
+
uint16_t length;
|
| 137 |
+
xcb_xfixes_region_t region;
|
| 138 |
+
xcb_window_t window;
|
| 139 |
+
} xcb_composite_create_region_from_border_clip_request_t;
|
| 140 |
+
|
| 141 |
+
/** Opcode for xcb_composite_name_window_pixmap. */
|
| 142 |
+
#define XCB_COMPOSITE_NAME_WINDOW_PIXMAP 6
|
| 143 |
+
|
| 144 |
+
/**
|
| 145 |
+
* @brief xcb_composite_name_window_pixmap_request_t
|
| 146 |
+
**/
|
| 147 |
+
typedef struct xcb_composite_name_window_pixmap_request_t {
|
| 148 |
+
uint8_t major_opcode;
|
| 149 |
+
uint8_t minor_opcode;
|
| 150 |
+
uint16_t length;
|
| 151 |
+
xcb_window_t window;
|
| 152 |
+
xcb_pixmap_t pixmap;
|
| 153 |
+
} xcb_composite_name_window_pixmap_request_t;
|
| 154 |
+
|
| 155 |
+
/**
|
| 156 |
+
* @brief xcb_composite_get_overlay_window_cookie_t
|
| 157 |
+
**/
|
| 158 |
+
typedef struct xcb_composite_get_overlay_window_cookie_t {
|
| 159 |
+
unsigned int sequence;
|
| 160 |
+
} xcb_composite_get_overlay_window_cookie_t;
|
| 161 |
+
|
| 162 |
+
/** Opcode for xcb_composite_get_overlay_window. */
|
| 163 |
+
#define XCB_COMPOSITE_GET_OVERLAY_WINDOW 7
|
| 164 |
+
|
| 165 |
+
/**
|
| 166 |
+
* @brief xcb_composite_get_overlay_window_request_t
|
| 167 |
+
**/
|
| 168 |
+
typedef struct xcb_composite_get_overlay_window_request_t {
|
| 169 |
+
uint8_t major_opcode;
|
| 170 |
+
uint8_t minor_opcode;
|
| 171 |
+
uint16_t length;
|
| 172 |
+
xcb_window_t window;
|
| 173 |
+
} xcb_composite_get_overlay_window_request_t;
|
| 174 |
+
|
| 175 |
+
/**
|
| 176 |
+
* @brief xcb_composite_get_overlay_window_reply_t
|
| 177 |
+
**/
|
| 178 |
+
typedef struct xcb_composite_get_overlay_window_reply_t {
|
| 179 |
+
uint8_t response_type;
|
| 180 |
+
uint8_t pad0;
|
| 181 |
+
uint16_t sequence;
|
| 182 |
+
uint32_t length;
|
| 183 |
+
xcb_window_t overlay_win;
|
| 184 |
+
uint8_t pad1[20];
|
| 185 |
+
} xcb_composite_get_overlay_window_reply_t;
|
| 186 |
+
|
| 187 |
+
/** Opcode for xcb_composite_release_overlay_window. */
|
| 188 |
+
#define XCB_COMPOSITE_RELEASE_OVERLAY_WINDOW 8
|
| 189 |
+
|
| 190 |
+
/**
|
| 191 |
+
* @brief xcb_composite_release_overlay_window_request_t
|
| 192 |
+
**/
|
| 193 |
+
typedef struct xcb_composite_release_overlay_window_request_t {
|
| 194 |
+
uint8_t major_opcode;
|
| 195 |
+
uint8_t minor_opcode;
|
| 196 |
+
uint16_t length;
|
| 197 |
+
xcb_window_t window;
|
| 198 |
+
} xcb_composite_release_overlay_window_request_t;
|
| 199 |
+
|
| 200 |
+
/**
|
| 201 |
+
* @brief Negotiate the version of Composite
|
| 202 |
+
*
|
| 203 |
+
* @param c The connection
|
| 204 |
+
* @param client_major_version The major version supported by the client.
|
| 205 |
+
* @param client_minor_version The minor version supported by the client.
|
| 206 |
+
* @return A cookie
|
| 207 |
+
*
|
| 208 |
+
* This negotiates the version of the Composite extension. It must be precede all
|
| 209 |
+
* other requests using Composite. Failure to do so will cause a BadRequest error.
|
| 210 |
+
*
|
| 211 |
+
*/
|
| 212 |
+
xcb_composite_query_version_cookie_t
|
| 213 |
+
xcb_composite_query_version (xcb_connection_t *c,
|
| 214 |
+
uint32_t client_major_version,
|
| 215 |
+
uint32_t client_minor_version);
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
* @brief Negotiate the version of Composite
|
| 219 |
+
*
|
| 220 |
+
* @param c The connection
|
| 221 |
+
* @param client_major_version The major version supported by the client.
|
| 222 |
+
* @param client_minor_version The minor version supported by the client.
|
| 223 |
+
* @return A cookie
|
| 224 |
+
*
|
| 225 |
+
* This negotiates the version of the Composite extension. It must be precede all
|
| 226 |
+
* other requests using Composite. Failure to do so will cause a BadRequest error.
|
| 227 |
+
*
|
| 228 |
+
* This form can be used only if the request will cause
|
| 229 |
+
* a reply to be generated. Any returned error will be
|
| 230 |
+
* placed in the event queue.
|
| 231 |
+
*/
|
| 232 |
+
xcb_composite_query_version_cookie_t
|
| 233 |
+
xcb_composite_query_version_unchecked (xcb_connection_t *c,
|
| 234 |
+
uint32_t client_major_version,
|
| 235 |
+
uint32_t client_minor_version);
|
| 236 |
+
|
| 237 |
+
/**
|
| 238 |
+
* Return the reply
|
| 239 |
+
* @param c The connection
|
| 240 |
+
* @param cookie The cookie
|
| 241 |
+
* @param e The xcb_generic_error_t supplied
|
| 242 |
+
*
|
| 243 |
+
* Returns the reply of the request asked by
|
| 244 |
+
*
|
| 245 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 246 |
+
* xcb_composite_query_version_unchecked(). is used.
|
| 247 |
+
* Otherwise, it stores the error if any.
|
| 248 |
+
*
|
| 249 |
+
* The returned value must be freed by the caller using free().
|
| 250 |
+
*/
|
| 251 |
+
xcb_composite_query_version_reply_t *
|
| 252 |
+
xcb_composite_query_version_reply (xcb_connection_t *c,
|
| 253 |
+
xcb_composite_query_version_cookie_t cookie /**< */,
|
| 254 |
+
xcb_generic_error_t **e);
|
| 255 |
+
|
| 256 |
+
/**
|
| 257 |
+
* @brief Redirect the hierarchy starting at "window" to off-screen storage.
|
| 258 |
+
*
|
| 259 |
+
* @param c The connection
|
| 260 |
+
* @param window The root of the hierarchy to redirect to off-screen storage.
|
| 261 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 262 |
+
* @param update Whether contents are automatically mirrored to the parent window. If one client
|
| 263 |
+
* already specifies an update type of Manual, any attempt by another to specify a
|
| 264 |
+
* mode of Manual so will result in an Access error.
|
| 265 |
+
* @return A cookie
|
| 266 |
+
*
|
| 267 |
+
* The hierarchy starting at 'window' is directed to off-screen
|
| 268 |
+
* storage. When all clients enabling redirection terminate,
|
| 269 |
+
* the redirection will automatically be disabled.
|
| 270 |
+
*
|
| 271 |
+
* The root window may not be redirected. Doing so results in a Match
|
| 272 |
+
* error.
|
| 273 |
+
*
|
| 274 |
+
* This form can be used only if the request will not cause
|
| 275 |
+
* a reply to be generated. Any returned error will be
|
| 276 |
+
* saved for handling by xcb_request_check().
|
| 277 |
+
*/
|
| 278 |
+
xcb_void_cookie_t
|
| 279 |
+
xcb_composite_redirect_window_checked (xcb_connection_t *c,
|
| 280 |
+
xcb_window_t window,
|
| 281 |
+
uint8_t update);
|
| 282 |
+
|
| 283 |
+
/**
|
| 284 |
+
* @brief Redirect the hierarchy starting at "window" to off-screen storage.
|
| 285 |
+
*
|
| 286 |
+
* @param c The connection
|
| 287 |
+
* @param window The root of the hierarchy to redirect to off-screen storage.
|
| 288 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 289 |
+
* @param update Whether contents are automatically mirrored to the parent window. If one client
|
| 290 |
+
* already specifies an update type of Manual, any attempt by another to specify a
|
| 291 |
+
* mode of Manual so will result in an Access error.
|
| 292 |
+
* @return A cookie
|
| 293 |
+
*
|
| 294 |
+
* The hierarchy starting at 'window' is directed to off-screen
|
| 295 |
+
* storage. When all clients enabling redirection terminate,
|
| 296 |
+
* the redirection will automatically be disabled.
|
| 297 |
+
*
|
| 298 |
+
* The root window may not be redirected. Doing so results in a Match
|
| 299 |
+
* error.
|
| 300 |
+
*
|
| 301 |
+
*/
|
| 302 |
+
xcb_void_cookie_t
|
| 303 |
+
xcb_composite_redirect_window (xcb_connection_t *c,
|
| 304 |
+
xcb_window_t window,
|
| 305 |
+
uint8_t update);
|
| 306 |
+
|
| 307 |
+
/**
|
| 308 |
+
* @brief Redirect all current and future children of ‘window’
|
| 309 |
+
*
|
| 310 |
+
* @param c The connection
|
| 311 |
+
* @param window The root of the hierarchy to redirect to off-screen storage.
|
| 312 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 313 |
+
* @param update Whether contents are automatically mirrored to the parent window. If one client
|
| 314 |
+
* already specifies an update type of Manual, any attempt by another to specify a
|
| 315 |
+
* mode of Manual so will result in an Access error.
|
| 316 |
+
* @return A cookie
|
| 317 |
+
*
|
| 318 |
+
* Hierarchies starting at all current and future children of window
|
| 319 |
+
* will be redirected as in RedirectWindow. If update is Manual,
|
| 320 |
+
* then painting of the window background during window manipulation
|
| 321 |
+
* and ClearArea requests is inhibited.
|
| 322 |
+
*
|
| 323 |
+
* This form can be used only if the request will not cause
|
| 324 |
+
* a reply to be generated. Any returned error will be
|
| 325 |
+
* saved for handling by xcb_request_check().
|
| 326 |
+
*/
|
| 327 |
+
xcb_void_cookie_t
|
| 328 |
+
xcb_composite_redirect_subwindows_checked (xcb_connection_t *c,
|
| 329 |
+
xcb_window_t window,
|
| 330 |
+
uint8_t update);
|
| 331 |
+
|
| 332 |
+
/**
|
| 333 |
+
* @brief Redirect all current and future children of ‘window’
|
| 334 |
+
*
|
| 335 |
+
* @param c The connection
|
| 336 |
+
* @param window The root of the hierarchy to redirect to off-screen storage.
|
| 337 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 338 |
+
* @param update Whether contents are automatically mirrored to the parent window. If one client
|
| 339 |
+
* already specifies an update type of Manual, any attempt by another to specify a
|
| 340 |
+
* mode of Manual so will result in an Access error.
|
| 341 |
+
* @return A cookie
|
| 342 |
+
*
|
| 343 |
+
* Hierarchies starting at all current and future children of window
|
| 344 |
+
* will be redirected as in RedirectWindow. If update is Manual,
|
| 345 |
+
* then painting of the window background during window manipulation
|
| 346 |
+
* and ClearArea requests is inhibited.
|
| 347 |
+
*
|
| 348 |
+
*/
|
| 349 |
+
xcb_void_cookie_t
|
| 350 |
+
xcb_composite_redirect_subwindows (xcb_connection_t *c,
|
| 351 |
+
xcb_window_t window,
|
| 352 |
+
uint8_t update);
|
| 353 |
+
|
| 354 |
+
/**
|
| 355 |
+
* @brief Terminate redirection of the specified window.
|
| 356 |
+
*
|
| 357 |
+
* @param c The connection
|
| 358 |
+
* @param window The window to terminate redirection of. Must be redirected by the
|
| 359 |
+
* current client, or a Value error results.
|
| 360 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 361 |
+
* @param update The update type passed to RedirectWindows. If this does not match the
|
| 362 |
+
* previously requested update type, a Value error results.
|
| 363 |
+
* @return A cookie
|
| 364 |
+
*
|
| 365 |
+
* Redirection of the specified window will be terminated. This cannot be
|
| 366 |
+
* used if the window was redirected with RedirectSubwindows.
|
| 367 |
+
*
|
| 368 |
+
* This form can be used only if the request will not cause
|
| 369 |
+
* a reply to be generated. Any returned error will be
|
| 370 |
+
* saved for handling by xcb_request_check().
|
| 371 |
+
*/
|
| 372 |
+
xcb_void_cookie_t
|
| 373 |
+
xcb_composite_unredirect_window_checked (xcb_connection_t *c,
|
| 374 |
+
xcb_window_t window,
|
| 375 |
+
uint8_t update);
|
| 376 |
+
|
| 377 |
+
/**
|
| 378 |
+
* @brief Terminate redirection of the specified window.
|
| 379 |
+
*
|
| 380 |
+
* @param c The connection
|
| 381 |
+
* @param window The window to terminate redirection of. Must be redirected by the
|
| 382 |
+
* current client, or a Value error results.
|
| 383 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 384 |
+
* @param update The update type passed to RedirectWindows. If this does not match the
|
| 385 |
+
* previously requested update type, a Value error results.
|
| 386 |
+
* @return A cookie
|
| 387 |
+
*
|
| 388 |
+
* Redirection of the specified window will be terminated. This cannot be
|
| 389 |
+
* used if the window was redirected with RedirectSubwindows.
|
| 390 |
+
*
|
| 391 |
+
*/
|
| 392 |
+
xcb_void_cookie_t
|
| 393 |
+
xcb_composite_unredirect_window (xcb_connection_t *c,
|
| 394 |
+
xcb_window_t window,
|
| 395 |
+
uint8_t update);
|
| 396 |
+
|
| 397 |
+
/**
|
| 398 |
+
* @brief Terminate redirection of the specified window’s children
|
| 399 |
+
*
|
| 400 |
+
* @param c The connection
|
| 401 |
+
* @param window The window to terminate redirection of. Must have previously been
|
| 402 |
+
* selected for sub-redirection by the current client, or a Value error
|
| 403 |
+
* results.
|
| 404 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 405 |
+
* @param update The update type passed to RedirectSubWindows. If this does not match
|
| 406 |
+
* the previously requested update type, a Value error results.
|
| 407 |
+
* @return A cookie
|
| 408 |
+
*
|
| 409 |
+
* Redirection of all children of window will be terminated.
|
| 410 |
+
*
|
| 411 |
+
* This form can be used only if the request will not cause
|
| 412 |
+
* a reply to be generated. Any returned error will be
|
| 413 |
+
* saved for handling by xcb_request_check().
|
| 414 |
+
*/
|
| 415 |
+
xcb_void_cookie_t
|
| 416 |
+
xcb_composite_unredirect_subwindows_checked (xcb_connection_t *c,
|
| 417 |
+
xcb_window_t window,
|
| 418 |
+
uint8_t update);
|
| 419 |
+
|
| 420 |
+
/**
|
| 421 |
+
* @brief Terminate redirection of the specified window’s children
|
| 422 |
+
*
|
| 423 |
+
* @param c The connection
|
| 424 |
+
* @param window The window to terminate redirection of. Must have previously been
|
| 425 |
+
* selected for sub-redirection by the current client, or a Value error
|
| 426 |
+
* results.
|
| 427 |
+
* @param update A bitmask of #xcb_composite_redirect_t values.
|
| 428 |
+
* @param update The update type passed to RedirectSubWindows. If this does not match
|
| 429 |
+
* the previously requested update type, a Value error results.
|
| 430 |
+
* @return A cookie
|
| 431 |
+
*
|
| 432 |
+
* Redirection of all children of window will be terminated.
|
| 433 |
+
*
|
| 434 |
+
*/
|
| 435 |
+
xcb_void_cookie_t
|
| 436 |
+
xcb_composite_unredirect_subwindows (xcb_connection_t *c,
|
| 437 |
+
xcb_window_t window,
|
| 438 |
+
uint8_t update);
|
| 439 |
+
|
| 440 |
+
/**
|
| 441 |
+
*
|
| 442 |
+
* @param c The connection
|
| 443 |
+
* @return A cookie
|
| 444 |
+
*
|
| 445 |
+
* Delivers a request to the X server.
|
| 446 |
+
*
|
| 447 |
+
* This form can be used only if the request will not cause
|
| 448 |
+
* a reply to be generated. Any returned error will be
|
| 449 |
+
* saved for handling by xcb_request_check().
|
| 450 |
+
*/
|
| 451 |
+
xcb_void_cookie_t
|
| 452 |
+
xcb_composite_create_region_from_border_clip_checked (xcb_connection_t *c,
|
| 453 |
+
xcb_xfixes_region_t region,
|
| 454 |
+
xcb_window_t window);
|
| 455 |
+
|
| 456 |
+
/**
|
| 457 |
+
*
|
| 458 |
+
* @param c The connection
|
| 459 |
+
* @return A cookie
|
| 460 |
+
*
|
| 461 |
+
* Delivers a request to the X server.
|
| 462 |
+
*
|
| 463 |
+
*/
|
| 464 |
+
xcb_void_cookie_t
|
| 465 |
+
xcb_composite_create_region_from_border_clip (xcb_connection_t *c,
|
| 466 |
+
xcb_xfixes_region_t region,
|
| 467 |
+
xcb_window_t window);
|
| 468 |
+
|
| 469 |
+
/**
|
| 470 |
+
*
|
| 471 |
+
* @param c The connection
|
| 472 |
+
* @return A cookie
|
| 473 |
+
*
|
| 474 |
+
* Delivers a request to the X server.
|
| 475 |
+
*
|
| 476 |
+
* This form can be used only if the request will not cause
|
| 477 |
+
* a reply to be generated. Any returned error will be
|
| 478 |
+
* saved for handling by xcb_request_check().
|
| 479 |
+
*/
|
| 480 |
+
xcb_void_cookie_t
|
| 481 |
+
xcb_composite_name_window_pixmap_checked (xcb_connection_t *c,
|
| 482 |
+
xcb_window_t window,
|
| 483 |
+
xcb_pixmap_t pixmap);
|
| 484 |
+
|
| 485 |
+
/**
|
| 486 |
+
*
|
| 487 |
+
* @param c The connection
|
| 488 |
+
* @return A cookie
|
| 489 |
+
*
|
| 490 |
+
* Delivers a request to the X server.
|
| 491 |
+
*
|
| 492 |
+
*/
|
| 493 |
+
xcb_void_cookie_t
|
| 494 |
+
xcb_composite_name_window_pixmap (xcb_connection_t *c,
|
| 495 |
+
xcb_window_t window,
|
| 496 |
+
xcb_pixmap_t pixmap);
|
| 497 |
+
|
| 498 |
+
/**
|
| 499 |
+
*
|
| 500 |
+
* @param c The connection
|
| 501 |
+
* @return A cookie
|
| 502 |
+
*
|
| 503 |
+
* Delivers a request to the X server.
|
| 504 |
+
*
|
| 505 |
+
*/
|
| 506 |
+
xcb_composite_get_overlay_window_cookie_t
|
| 507 |
+
xcb_composite_get_overlay_window (xcb_connection_t *c,
|
| 508 |
+
xcb_window_t window);
|
| 509 |
+
|
| 510 |
+
/**
|
| 511 |
+
*
|
| 512 |
+
* @param c The connection
|
| 513 |
+
* @return A cookie
|
| 514 |
+
*
|
| 515 |
+
* Delivers a request to the X server.
|
| 516 |
+
*
|
| 517 |
+
* This form can be used only if the request will cause
|
| 518 |
+
* a reply to be generated. Any returned error will be
|
| 519 |
+
* placed in the event queue.
|
| 520 |
+
*/
|
| 521 |
+
xcb_composite_get_overlay_window_cookie_t
|
| 522 |
+
xcb_composite_get_overlay_window_unchecked (xcb_connection_t *c,
|
| 523 |
+
xcb_window_t window);
|
| 524 |
+
|
| 525 |
+
/**
|
| 526 |
+
* Return the reply
|
| 527 |
+
* @param c The connection
|
| 528 |
+
* @param cookie The cookie
|
| 529 |
+
* @param e The xcb_generic_error_t supplied
|
| 530 |
+
*
|
| 531 |
+
* Returns the reply of the request asked by
|
| 532 |
+
*
|
| 533 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 534 |
+
* xcb_composite_get_overlay_window_unchecked(). is used.
|
| 535 |
+
* Otherwise, it stores the error if any.
|
| 536 |
+
*
|
| 537 |
+
* The returned value must be freed by the caller using free().
|
| 538 |
+
*/
|
| 539 |
+
xcb_composite_get_overlay_window_reply_t *
|
| 540 |
+
xcb_composite_get_overlay_window_reply (xcb_connection_t *c,
|
| 541 |
+
xcb_composite_get_overlay_window_cookie_t cookie /**< */,
|
| 542 |
+
xcb_generic_error_t **e);
|
| 543 |
+
|
| 544 |
+
/**
|
| 545 |
+
*
|
| 546 |
+
* @param c The connection
|
| 547 |
+
* @return A cookie
|
| 548 |
+
*
|
| 549 |
+
* Delivers a request to the X server.
|
| 550 |
+
*
|
| 551 |
+
* This form can be used only if the request will not cause
|
| 552 |
+
* a reply to be generated. Any returned error will be
|
| 553 |
+
* saved for handling by xcb_request_check().
|
| 554 |
+
*/
|
| 555 |
+
xcb_void_cookie_t
|
| 556 |
+
xcb_composite_release_overlay_window_checked (xcb_connection_t *c,
|
| 557 |
+
xcb_window_t window);
|
| 558 |
+
|
| 559 |
+
/**
|
| 560 |
+
*
|
| 561 |
+
* @param c The connection
|
| 562 |
+
* @return A cookie
|
| 563 |
+
*
|
| 564 |
+
* Delivers a request to the X server.
|
| 565 |
+
*
|
| 566 |
+
*/
|
| 567 |
+
xcb_void_cookie_t
|
| 568 |
+
xcb_composite_release_overlay_window (xcb_connection_t *c,
|
| 569 |
+
xcb_window_t window);
|
| 570 |
+
|
| 571 |
+
|
| 572 |
+
#ifdef __cplusplus
|
| 573 |
+
}
|
| 574 |
+
#endif
|
| 575 |
+
|
| 576 |
+
#endif
|
| 577 |
+
|
| 578 |
+
/**
|
| 579 |
+
* @}
|
| 580 |
+
*/
|
miniconda3/envs/ladir/include/xcb/damage.h
ADDED
|
@@ -0,0 +1,456 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from damage.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Damage_API XCB Damage API
|
| 8 |
+
* @brief Damage XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __DAMAGE_H
|
| 13 |
+
#define __DAMAGE_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
#include "xfixes.h"
|
| 18 |
+
|
| 19 |
+
#ifdef __cplusplus
|
| 20 |
+
extern "C" {
|
| 21 |
+
#endif
|
| 22 |
+
|
| 23 |
+
#define XCB_DAMAGE_MAJOR_VERSION 1
|
| 24 |
+
#define XCB_DAMAGE_MINOR_VERSION 1
|
| 25 |
+
|
| 26 |
+
extern xcb_extension_t xcb_damage_id;
|
| 27 |
+
|
| 28 |
+
typedef uint32_t xcb_damage_damage_t;
|
| 29 |
+
|
| 30 |
+
/**
|
| 31 |
+
* @brief xcb_damage_damage_iterator_t
|
| 32 |
+
**/
|
| 33 |
+
typedef struct xcb_damage_damage_iterator_t {
|
| 34 |
+
xcb_damage_damage_t *data;
|
| 35 |
+
int rem;
|
| 36 |
+
int index;
|
| 37 |
+
} xcb_damage_damage_iterator_t;
|
| 38 |
+
|
| 39 |
+
typedef enum xcb_damage_report_level_t {
|
| 40 |
+
XCB_DAMAGE_REPORT_LEVEL_RAW_RECTANGLES = 0,
|
| 41 |
+
XCB_DAMAGE_REPORT_LEVEL_DELTA_RECTANGLES = 1,
|
| 42 |
+
XCB_DAMAGE_REPORT_LEVEL_BOUNDING_BOX = 2,
|
| 43 |
+
XCB_DAMAGE_REPORT_LEVEL_NON_EMPTY = 3
|
| 44 |
+
} xcb_damage_report_level_t;
|
| 45 |
+
|
| 46 |
+
/** Opcode for xcb_damage_bad_damage. */
|
| 47 |
+
#define XCB_DAMAGE_BAD_DAMAGE 0
|
| 48 |
+
|
| 49 |
+
/**
|
| 50 |
+
* @brief xcb_damage_bad_damage_error_t
|
| 51 |
+
**/
|
| 52 |
+
typedef struct xcb_damage_bad_damage_error_t {
|
| 53 |
+
uint8_t response_type;
|
| 54 |
+
uint8_t error_code;
|
| 55 |
+
uint16_t sequence;
|
| 56 |
+
uint32_t bad_value;
|
| 57 |
+
uint16_t minor_opcode;
|
| 58 |
+
uint8_t major_opcode;
|
| 59 |
+
} xcb_damage_bad_damage_error_t;
|
| 60 |
+
|
| 61 |
+
/**
|
| 62 |
+
* @brief xcb_damage_query_version_cookie_t
|
| 63 |
+
**/
|
| 64 |
+
typedef struct xcb_damage_query_version_cookie_t {
|
| 65 |
+
unsigned int sequence;
|
| 66 |
+
} xcb_damage_query_version_cookie_t;
|
| 67 |
+
|
| 68 |
+
/** Opcode for xcb_damage_query_version. */
|
| 69 |
+
#define XCB_DAMAGE_QUERY_VERSION 0
|
| 70 |
+
|
| 71 |
+
/**
|
| 72 |
+
* @brief xcb_damage_query_version_request_t
|
| 73 |
+
**/
|
| 74 |
+
typedef struct xcb_damage_query_version_request_t {
|
| 75 |
+
uint8_t major_opcode;
|
| 76 |
+
uint8_t minor_opcode;
|
| 77 |
+
uint16_t length;
|
| 78 |
+
uint32_t client_major_version;
|
| 79 |
+
uint32_t client_minor_version;
|
| 80 |
+
} xcb_damage_query_version_request_t;
|
| 81 |
+
|
| 82 |
+
/**
|
| 83 |
+
* @brief xcb_damage_query_version_reply_t
|
| 84 |
+
**/
|
| 85 |
+
typedef struct xcb_damage_query_version_reply_t {
|
| 86 |
+
uint8_t response_type;
|
| 87 |
+
uint8_t pad0;
|
| 88 |
+
uint16_t sequence;
|
| 89 |
+
uint32_t length;
|
| 90 |
+
uint32_t major_version;
|
| 91 |
+
uint32_t minor_version;
|
| 92 |
+
uint8_t pad1[16];
|
| 93 |
+
} xcb_damage_query_version_reply_t;
|
| 94 |
+
|
| 95 |
+
/** Opcode for xcb_damage_create. */
|
| 96 |
+
#define XCB_DAMAGE_CREATE 1
|
| 97 |
+
|
| 98 |
+
/**
|
| 99 |
+
* @brief xcb_damage_create_request_t
|
| 100 |
+
**/
|
| 101 |
+
typedef struct xcb_damage_create_request_t {
|
| 102 |
+
uint8_t major_opcode;
|
| 103 |
+
uint8_t minor_opcode;
|
| 104 |
+
uint16_t length;
|
| 105 |
+
xcb_damage_damage_t damage;
|
| 106 |
+
xcb_drawable_t drawable;
|
| 107 |
+
uint8_t level;
|
| 108 |
+
uint8_t pad0[3];
|
| 109 |
+
} xcb_damage_create_request_t;
|
| 110 |
+
|
| 111 |
+
/** Opcode for xcb_damage_destroy. */
|
| 112 |
+
#define XCB_DAMAGE_DESTROY 2
|
| 113 |
+
|
| 114 |
+
/**
|
| 115 |
+
* @brief xcb_damage_destroy_request_t
|
| 116 |
+
**/
|
| 117 |
+
typedef struct xcb_damage_destroy_request_t {
|
| 118 |
+
uint8_t major_opcode;
|
| 119 |
+
uint8_t minor_opcode;
|
| 120 |
+
uint16_t length;
|
| 121 |
+
xcb_damage_damage_t damage;
|
| 122 |
+
} xcb_damage_destroy_request_t;
|
| 123 |
+
|
| 124 |
+
/** Opcode for xcb_damage_subtract. */
|
| 125 |
+
#define XCB_DAMAGE_SUBTRACT 3
|
| 126 |
+
|
| 127 |
+
/**
|
| 128 |
+
* @brief xcb_damage_subtract_request_t
|
| 129 |
+
**/
|
| 130 |
+
typedef struct xcb_damage_subtract_request_t {
|
| 131 |
+
uint8_t major_opcode;
|
| 132 |
+
uint8_t minor_opcode;
|
| 133 |
+
uint16_t length;
|
| 134 |
+
xcb_damage_damage_t damage;
|
| 135 |
+
xcb_xfixes_region_t repair;
|
| 136 |
+
xcb_xfixes_region_t parts;
|
| 137 |
+
} xcb_damage_subtract_request_t;
|
| 138 |
+
|
| 139 |
+
/** Opcode for xcb_damage_add. */
|
| 140 |
+
#define XCB_DAMAGE_ADD 4
|
| 141 |
+
|
| 142 |
+
/**
|
| 143 |
+
* @brief xcb_damage_add_request_t
|
| 144 |
+
**/
|
| 145 |
+
typedef struct xcb_damage_add_request_t {
|
| 146 |
+
uint8_t major_opcode;
|
| 147 |
+
uint8_t minor_opcode;
|
| 148 |
+
uint16_t length;
|
| 149 |
+
xcb_drawable_t drawable;
|
| 150 |
+
xcb_xfixes_region_t region;
|
| 151 |
+
} xcb_damage_add_request_t;
|
| 152 |
+
|
| 153 |
+
/** Opcode for xcb_damage_notify. */
|
| 154 |
+
#define XCB_DAMAGE_NOTIFY 0
|
| 155 |
+
|
| 156 |
+
/**
|
| 157 |
+
* @brief xcb_damage_notify_event_t
|
| 158 |
+
**/
|
| 159 |
+
typedef struct xcb_damage_notify_event_t {
|
| 160 |
+
uint8_t response_type;
|
| 161 |
+
uint8_t level;
|
| 162 |
+
uint16_t sequence;
|
| 163 |
+
xcb_drawable_t drawable;
|
| 164 |
+
xcb_damage_damage_t damage;
|
| 165 |
+
xcb_timestamp_t timestamp;
|
| 166 |
+
xcb_rectangle_t area;
|
| 167 |
+
xcb_rectangle_t geometry;
|
| 168 |
+
} xcb_damage_notify_event_t;
|
| 169 |
+
|
| 170 |
+
/**
|
| 171 |
+
* Get the next element of the iterator
|
| 172 |
+
* @param i Pointer to a xcb_damage_damage_iterator_t
|
| 173 |
+
*
|
| 174 |
+
* Get the next element in the iterator. The member rem is
|
| 175 |
+
* decreased by one. The member data points to the next
|
| 176 |
+
* element. The member index is increased by sizeof(xcb_damage_damage_t)
|
| 177 |
+
*/
|
| 178 |
+
void
|
| 179 |
+
xcb_damage_damage_next (xcb_damage_damage_iterator_t *i);
|
| 180 |
+
|
| 181 |
+
/**
|
| 182 |
+
* Return the iterator pointing to the last element
|
| 183 |
+
* @param i An xcb_damage_damage_iterator_t
|
| 184 |
+
* @return The iterator pointing to the last element
|
| 185 |
+
*
|
| 186 |
+
* Set the current element in the iterator to the last element.
|
| 187 |
+
* The member rem is set to 0. The member data points to the
|
| 188 |
+
* last element.
|
| 189 |
+
*/
|
| 190 |
+
xcb_generic_iterator_t
|
| 191 |
+
xcb_damage_damage_end (xcb_damage_damage_iterator_t i);
|
| 192 |
+
|
| 193 |
+
/**
|
| 194 |
+
* @brief Negotiate the version of the DAMAGE extension
|
| 195 |
+
*
|
| 196 |
+
* @param c The connection
|
| 197 |
+
* @param client_major_version The major version supported by the client.
|
| 198 |
+
* @param client_minor_version The minor version supported by the client.
|
| 199 |
+
* @return A cookie
|
| 200 |
+
*
|
| 201 |
+
* This negotiates the version of the DAMAGE extension. It must precede any other
|
| 202 |
+
* request using the DAMAGE extension. Failure to do so will cause a BadRequest
|
| 203 |
+
* error for those requests.
|
| 204 |
+
*
|
| 205 |
+
*/
|
| 206 |
+
xcb_damage_query_version_cookie_t
|
| 207 |
+
xcb_damage_query_version (xcb_connection_t *c,
|
| 208 |
+
uint32_t client_major_version,
|
| 209 |
+
uint32_t client_minor_version);
|
| 210 |
+
|
| 211 |
+
/**
|
| 212 |
+
* @brief Negotiate the version of the DAMAGE extension
|
| 213 |
+
*
|
| 214 |
+
* @param c The connection
|
| 215 |
+
* @param client_major_version The major version supported by the client.
|
| 216 |
+
* @param client_minor_version The minor version supported by the client.
|
| 217 |
+
* @return A cookie
|
| 218 |
+
*
|
| 219 |
+
* This negotiates the version of the DAMAGE extension. It must precede any other
|
| 220 |
+
* request using the DAMAGE extension. Failure to do so will cause a BadRequest
|
| 221 |
+
* error for those requests.
|
| 222 |
+
*
|
| 223 |
+
* This form can be used only if the request will cause
|
| 224 |
+
* a reply to be generated. Any returned error will be
|
| 225 |
+
* placed in the event queue.
|
| 226 |
+
*/
|
| 227 |
+
xcb_damage_query_version_cookie_t
|
| 228 |
+
xcb_damage_query_version_unchecked (xcb_connection_t *c,
|
| 229 |
+
uint32_t client_major_version,
|
| 230 |
+
uint32_t client_minor_version);
|
| 231 |
+
|
| 232 |
+
/**
|
| 233 |
+
* Return the reply
|
| 234 |
+
* @param c The connection
|
| 235 |
+
* @param cookie The cookie
|
| 236 |
+
* @param e The xcb_generic_error_t supplied
|
| 237 |
+
*
|
| 238 |
+
* Returns the reply of the request asked by
|
| 239 |
+
*
|
| 240 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 241 |
+
* xcb_damage_query_version_unchecked(). is used.
|
| 242 |
+
* Otherwise, it stores the error if any.
|
| 243 |
+
*
|
| 244 |
+
* The returned value must be freed by the caller using free().
|
| 245 |
+
*/
|
| 246 |
+
xcb_damage_query_version_reply_t *
|
| 247 |
+
xcb_damage_query_version_reply (xcb_connection_t *c,
|
| 248 |
+
xcb_damage_query_version_cookie_t cookie /**< */,
|
| 249 |
+
xcb_generic_error_t **e);
|
| 250 |
+
|
| 251 |
+
/**
|
| 252 |
+
* @brief Creates a Damage object to monitor changes to a drawable.
|
| 253 |
+
*
|
| 254 |
+
* @param c The connection
|
| 255 |
+
* @param damage The ID with which you will refer to the new Damage object, created by
|
| 256 |
+
* `xcb_generate_id`.
|
| 257 |
+
* @param drawable The ID of the drawable to be monitored.
|
| 258 |
+
* @param level A bitmask of #xcb_damage_report_level_t values.
|
| 259 |
+
* @param level The level of detail to be provided in Damage events.
|
| 260 |
+
* @return A cookie
|
| 261 |
+
*
|
| 262 |
+
* This creates a Damage object to monitor changes to a drawable, and specifies
|
| 263 |
+
* the level of detail to be reported for changes.
|
| 264 |
+
*
|
| 265 |
+
* We call changes made to pixel contents of windows and pixmaps 'damage'
|
| 266 |
+
* throughout this extension.
|
| 267 |
+
*
|
| 268 |
+
* Damage accumulates as drawing occurs in the drawable. Each drawing operation
|
| 269 |
+
* 'damages' one or more rectangular areas within the drawable. The rectangles
|
| 270 |
+
* are guaranteed to include the set of pixels modified by each operation, but
|
| 271 |
+
* may include significantly more than just those pixels. The desire is for
|
| 272 |
+
* the damage to strike a balance between the number of rectangles reported and
|
| 273 |
+
* the extraneous area included. A reasonable goal is for each primitive
|
| 274 |
+
* object drawn (line, string, rectangle) to be represented as a single
|
| 275 |
+
* rectangle and for the damage area of the operation to be the union of these
|
| 276 |
+
* rectangles.
|
| 277 |
+
*
|
| 278 |
+
* The DAMAGE extension allows applications to either receive the raw
|
| 279 |
+
* rectangles as a stream of events, or to have them partially processed within
|
| 280 |
+
* the X server to reduce the amount of data transmitted as well as reduce the
|
| 281 |
+
* processing latency once the repaint operation has started.
|
| 282 |
+
*
|
| 283 |
+
* The Damage object holds any accumulated damage region and reflects the
|
| 284 |
+
* relationship between the drawable selected for damage notification and the
|
| 285 |
+
* drawable for which damage is tracked.
|
| 286 |
+
*
|
| 287 |
+
* This form can be used only if the request will not cause
|
| 288 |
+
* a reply to be generated. Any returned error will be
|
| 289 |
+
* saved for handling by xcb_request_check().
|
| 290 |
+
*/
|
| 291 |
+
xcb_void_cookie_t
|
| 292 |
+
xcb_damage_create_checked (xcb_connection_t *c,
|
| 293 |
+
xcb_damage_damage_t damage,
|
| 294 |
+
xcb_drawable_t drawable,
|
| 295 |
+
uint8_t level);
|
| 296 |
+
|
| 297 |
+
/**
|
| 298 |
+
* @brief Creates a Damage object to monitor changes to a drawable.
|
| 299 |
+
*
|
| 300 |
+
* @param c The connection
|
| 301 |
+
* @param damage The ID with which you will refer to the new Damage object, created by
|
| 302 |
+
* `xcb_generate_id`.
|
| 303 |
+
* @param drawable The ID of the drawable to be monitored.
|
| 304 |
+
* @param level A bitmask of #xcb_damage_report_level_t values.
|
| 305 |
+
* @param level The level of detail to be provided in Damage events.
|
| 306 |
+
* @return A cookie
|
| 307 |
+
*
|
| 308 |
+
* This creates a Damage object to monitor changes to a drawable, and specifies
|
| 309 |
+
* the level of detail to be reported for changes.
|
| 310 |
+
*
|
| 311 |
+
* We call changes made to pixel contents of windows and pixmaps 'damage'
|
| 312 |
+
* throughout this extension.
|
| 313 |
+
*
|
| 314 |
+
* Damage accumulates as drawing occurs in the drawable. Each drawing operation
|
| 315 |
+
* 'damages' one or more rectangular areas within the drawable. The rectangles
|
| 316 |
+
* are guaranteed to include the set of pixels modified by each operation, but
|
| 317 |
+
* may include significantly more than just those pixels. The desire is for
|
| 318 |
+
* the damage to strike a balance between the number of rectangles reported and
|
| 319 |
+
* the extraneous area included. A reasonable goal is for each primitive
|
| 320 |
+
* object drawn (line, string, rectangle) to be represented as a single
|
| 321 |
+
* rectangle and for the damage area of the operation to be the union of these
|
| 322 |
+
* rectangles.
|
| 323 |
+
*
|
| 324 |
+
* The DAMAGE extension allows applications to either receive the raw
|
| 325 |
+
* rectangles as a stream of events, or to have them partially processed within
|
| 326 |
+
* the X server to reduce the amount of data transmitted as well as reduce the
|
| 327 |
+
* processing latency once the repaint operation has started.
|
| 328 |
+
*
|
| 329 |
+
* The Damage object holds any accumulated damage region and reflects the
|
| 330 |
+
* relationship between the drawable selected for damage notification and the
|
| 331 |
+
* drawable for which damage is tracked.
|
| 332 |
+
*
|
| 333 |
+
*/
|
| 334 |
+
xcb_void_cookie_t
|
| 335 |
+
xcb_damage_create (xcb_connection_t *c,
|
| 336 |
+
xcb_damage_damage_t damage,
|
| 337 |
+
xcb_drawable_t drawable,
|
| 338 |
+
uint8_t level);
|
| 339 |
+
|
| 340 |
+
/**
|
| 341 |
+
* @brief Destroys a previously created Damage object.
|
| 342 |
+
*
|
| 343 |
+
* @param c The connection
|
| 344 |
+
* @param damage The ID you provided to `xcb_create_damage`.
|
| 345 |
+
* @return A cookie
|
| 346 |
+
*
|
| 347 |
+
* This destroys a Damage object and requests the X server stop reporting
|
| 348 |
+
* the changes it was tracking.
|
| 349 |
+
*
|
| 350 |
+
* This form can be used only if the request will not cause
|
| 351 |
+
* a reply to be generated. Any returned error will be
|
| 352 |
+
* saved for handling by xcb_request_check().
|
| 353 |
+
*/
|
| 354 |
+
xcb_void_cookie_t
|
| 355 |
+
xcb_damage_destroy_checked (xcb_connection_t *c,
|
| 356 |
+
xcb_damage_damage_t damage);
|
| 357 |
+
|
| 358 |
+
/**
|
| 359 |
+
* @brief Destroys a previously created Damage object.
|
| 360 |
+
*
|
| 361 |
+
* @param c The connection
|
| 362 |
+
* @param damage The ID you provided to `xcb_create_damage`.
|
| 363 |
+
* @return A cookie
|
| 364 |
+
*
|
| 365 |
+
* This destroys a Damage object and requests the X server stop reporting
|
| 366 |
+
* the changes it was tracking.
|
| 367 |
+
*
|
| 368 |
+
*/
|
| 369 |
+
xcb_void_cookie_t
|
| 370 |
+
xcb_damage_destroy (xcb_connection_t *c,
|
| 371 |
+
xcb_damage_damage_t damage);
|
| 372 |
+
|
| 373 |
+
/**
|
| 374 |
+
* @brief Remove regions from a previously created Damage object.
|
| 375 |
+
*
|
| 376 |
+
* @param c The connection
|
| 377 |
+
* @param damage The ID you provided to `xcb_create_damage`.
|
| 378 |
+
* @return A cookie
|
| 379 |
+
*
|
| 380 |
+
* This updates the regions of damage recorded in a a Damage object.
|
| 381 |
+
* See https://www.x.org/releases/current/doc/damageproto/damageproto.txt
|
| 382 |
+
* for details.
|
| 383 |
+
*
|
| 384 |
+
* This form can be used only if the request will not cause
|
| 385 |
+
* a reply to be generated. Any returned error will be
|
| 386 |
+
* saved for handling by xcb_request_check().
|
| 387 |
+
*/
|
| 388 |
+
xcb_void_cookie_t
|
| 389 |
+
xcb_damage_subtract_checked (xcb_connection_t *c,
|
| 390 |
+
xcb_damage_damage_t damage,
|
| 391 |
+
xcb_xfixes_region_t repair,
|
| 392 |
+
xcb_xfixes_region_t parts);
|
| 393 |
+
|
| 394 |
+
/**
|
| 395 |
+
* @brief Remove regions from a previously created Damage object.
|
| 396 |
+
*
|
| 397 |
+
* @param c The connection
|
| 398 |
+
* @param damage The ID you provided to `xcb_create_damage`.
|
| 399 |
+
* @return A cookie
|
| 400 |
+
*
|
| 401 |
+
* This updates the regions of damage recorded in a a Damage object.
|
| 402 |
+
* See https://www.x.org/releases/current/doc/damageproto/damageproto.txt
|
| 403 |
+
* for details.
|
| 404 |
+
*
|
| 405 |
+
*/
|
| 406 |
+
xcb_void_cookie_t
|
| 407 |
+
xcb_damage_subtract (xcb_connection_t *c,
|
| 408 |
+
xcb_damage_damage_t damage,
|
| 409 |
+
xcb_xfixes_region_t repair,
|
| 410 |
+
xcb_xfixes_region_t parts);
|
| 411 |
+
|
| 412 |
+
/**
|
| 413 |
+
* @brief Add a region to a previously created Damage object.
|
| 414 |
+
*
|
| 415 |
+
* @param c The connection
|
| 416 |
+
* @return A cookie
|
| 417 |
+
*
|
| 418 |
+
* This updates the regions of damage recorded in a a Damage object.
|
| 419 |
+
* See https://www.x.org/releases/current/doc/damageproto/damageproto.txt
|
| 420 |
+
* for details.
|
| 421 |
+
*
|
| 422 |
+
* This form can be used only if the request will not cause
|
| 423 |
+
* a reply to be generated. Any returned error will be
|
| 424 |
+
* saved for handling by xcb_request_check().
|
| 425 |
+
*/
|
| 426 |
+
xcb_void_cookie_t
|
| 427 |
+
xcb_damage_add_checked (xcb_connection_t *c,
|
| 428 |
+
xcb_drawable_t drawable,
|
| 429 |
+
xcb_xfixes_region_t region);
|
| 430 |
+
|
| 431 |
+
/**
|
| 432 |
+
* @brief Add a region to a previously created Damage object.
|
| 433 |
+
*
|
| 434 |
+
* @param c The connection
|
| 435 |
+
* @return A cookie
|
| 436 |
+
*
|
| 437 |
+
* This updates the regions of damage recorded in a a Damage object.
|
| 438 |
+
* See https://www.x.org/releases/current/doc/damageproto/damageproto.txt
|
| 439 |
+
* for details.
|
| 440 |
+
*
|
| 441 |
+
*/
|
| 442 |
+
xcb_void_cookie_t
|
| 443 |
+
xcb_damage_add (xcb_connection_t *c,
|
| 444 |
+
xcb_drawable_t drawable,
|
| 445 |
+
xcb_xfixes_region_t region);
|
| 446 |
+
|
| 447 |
+
|
| 448 |
+
#ifdef __cplusplus
|
| 449 |
+
}
|
| 450 |
+
#endif
|
| 451 |
+
|
| 452 |
+
#endif
|
| 453 |
+
|
| 454 |
+
/**
|
| 455 |
+
* @}
|
| 456 |
+
*/
|
miniconda3/envs/ladir/include/xcb/dbe.h
ADDED
|
@@ -0,0 +1,772 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from dbe.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Dbe_API XCB Dbe API
|
| 8 |
+
* @brief Dbe XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __DBE_H
|
| 13 |
+
#define __DBE_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_DBE_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_DBE_MINOR_VERSION 0
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_dbe_id;
|
| 26 |
+
|
| 27 |
+
typedef uint32_t xcb_dbe_back_buffer_t;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_dbe_back_buffer_iterator_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_dbe_back_buffer_iterator_t {
|
| 33 |
+
xcb_dbe_back_buffer_t *data;
|
| 34 |
+
int rem;
|
| 35 |
+
int index;
|
| 36 |
+
} xcb_dbe_back_buffer_iterator_t;
|
| 37 |
+
|
| 38 |
+
typedef enum xcb_dbe_swap_action_t {
|
| 39 |
+
XCB_DBE_SWAP_ACTION_UNDEFINED = 0,
|
| 40 |
+
/**< Discard the buffer. The buffer may be reallocated and end up with random VRAM content. */
|
| 41 |
+
|
| 42 |
+
XCB_DBE_SWAP_ACTION_BACKGROUND = 1,
|
| 43 |
+
/**< Erase with window background. */
|
| 44 |
+
|
| 45 |
+
XCB_DBE_SWAP_ACTION_UNTOUCHED = 2,
|
| 46 |
+
/**< Leave untouched. */
|
| 47 |
+
|
| 48 |
+
XCB_DBE_SWAP_ACTION_COPIED = 3
|
| 49 |
+
/**< Copy the newly displayed front buffer. */
|
| 50 |
+
|
| 51 |
+
} xcb_dbe_swap_action_t;
|
| 52 |
+
|
| 53 |
+
/**
|
| 54 |
+
* @brief xcb_dbe_swap_info_t
|
| 55 |
+
**/
|
| 56 |
+
typedef struct xcb_dbe_swap_info_t {
|
| 57 |
+
xcb_window_t window;
|
| 58 |
+
uint8_t swap_action;
|
| 59 |
+
uint8_t pad0[3];
|
| 60 |
+
} xcb_dbe_swap_info_t;
|
| 61 |
+
|
| 62 |
+
/**
|
| 63 |
+
* @brief xcb_dbe_swap_info_iterator_t
|
| 64 |
+
**/
|
| 65 |
+
typedef struct xcb_dbe_swap_info_iterator_t {
|
| 66 |
+
xcb_dbe_swap_info_t *data;
|
| 67 |
+
int rem;
|
| 68 |
+
int index;
|
| 69 |
+
} xcb_dbe_swap_info_iterator_t;
|
| 70 |
+
|
| 71 |
+
/**
|
| 72 |
+
* @brief xcb_dbe_buffer_attributes_t
|
| 73 |
+
**/
|
| 74 |
+
typedef struct xcb_dbe_buffer_attributes_t {
|
| 75 |
+
xcb_window_t window;
|
| 76 |
+
} xcb_dbe_buffer_attributes_t;
|
| 77 |
+
|
| 78 |
+
/**
|
| 79 |
+
* @brief xcb_dbe_buffer_attributes_iterator_t
|
| 80 |
+
**/
|
| 81 |
+
typedef struct xcb_dbe_buffer_attributes_iterator_t {
|
| 82 |
+
xcb_dbe_buffer_attributes_t *data;
|
| 83 |
+
int rem;
|
| 84 |
+
int index;
|
| 85 |
+
} xcb_dbe_buffer_attributes_iterator_t;
|
| 86 |
+
|
| 87 |
+
/**
|
| 88 |
+
* @brief xcb_dbe_visual_info_t
|
| 89 |
+
**/
|
| 90 |
+
typedef struct xcb_dbe_visual_info_t {
|
| 91 |
+
xcb_visualid_t visual_id;
|
| 92 |
+
uint8_t depth;
|
| 93 |
+
uint8_t perf_level;
|
| 94 |
+
uint8_t pad0[2];
|
| 95 |
+
} xcb_dbe_visual_info_t;
|
| 96 |
+
|
| 97 |
+
/**
|
| 98 |
+
* @brief xcb_dbe_visual_info_iterator_t
|
| 99 |
+
**/
|
| 100 |
+
typedef struct xcb_dbe_visual_info_iterator_t {
|
| 101 |
+
xcb_dbe_visual_info_t *data;
|
| 102 |
+
int rem;
|
| 103 |
+
int index;
|
| 104 |
+
} xcb_dbe_visual_info_iterator_t;
|
| 105 |
+
|
| 106 |
+
/**
|
| 107 |
+
* @brief xcb_dbe_visual_infos_t
|
| 108 |
+
**/
|
| 109 |
+
typedef struct xcb_dbe_visual_infos_t {
|
| 110 |
+
uint32_t n_infos;
|
| 111 |
+
} xcb_dbe_visual_infos_t;
|
| 112 |
+
|
| 113 |
+
/**
|
| 114 |
+
* @brief xcb_dbe_visual_infos_iterator_t
|
| 115 |
+
**/
|
| 116 |
+
typedef struct xcb_dbe_visual_infos_iterator_t {
|
| 117 |
+
xcb_dbe_visual_infos_t *data;
|
| 118 |
+
int rem;
|
| 119 |
+
int index;
|
| 120 |
+
} xcb_dbe_visual_infos_iterator_t;
|
| 121 |
+
|
| 122 |
+
/** Opcode for xcb_dbe_bad_buffer. */
|
| 123 |
+
#define XCB_DBE_BAD_BUFFER 0
|
| 124 |
+
|
| 125 |
+
/**
|
| 126 |
+
* @brief xcb_dbe_bad_buffer_error_t
|
| 127 |
+
**/
|
| 128 |
+
typedef struct xcb_dbe_bad_buffer_error_t {
|
| 129 |
+
uint8_t response_type;
|
| 130 |
+
uint8_t error_code;
|
| 131 |
+
uint16_t sequence;
|
| 132 |
+
xcb_dbe_back_buffer_t bad_buffer;
|
| 133 |
+
uint16_t minor_opcode;
|
| 134 |
+
uint8_t major_opcode;
|
| 135 |
+
} xcb_dbe_bad_buffer_error_t;
|
| 136 |
+
|
| 137 |
+
/**
|
| 138 |
+
* @brief xcb_dbe_query_version_cookie_t
|
| 139 |
+
**/
|
| 140 |
+
typedef struct xcb_dbe_query_version_cookie_t {
|
| 141 |
+
unsigned int sequence;
|
| 142 |
+
} xcb_dbe_query_version_cookie_t;
|
| 143 |
+
|
| 144 |
+
/** Opcode for xcb_dbe_query_version. */
|
| 145 |
+
#define XCB_DBE_QUERY_VERSION 0
|
| 146 |
+
|
| 147 |
+
/**
|
| 148 |
+
* @brief xcb_dbe_query_version_request_t
|
| 149 |
+
**/
|
| 150 |
+
typedef struct xcb_dbe_query_version_request_t {
|
| 151 |
+
uint8_t major_opcode;
|
| 152 |
+
uint8_t minor_opcode;
|
| 153 |
+
uint16_t length;
|
| 154 |
+
uint8_t major_version;
|
| 155 |
+
uint8_t minor_version;
|
| 156 |
+
uint8_t pad0[2];
|
| 157 |
+
} xcb_dbe_query_version_request_t;
|
| 158 |
+
|
| 159 |
+
/**
|
| 160 |
+
* @brief xcb_dbe_query_version_reply_t
|
| 161 |
+
**/
|
| 162 |
+
typedef struct xcb_dbe_query_version_reply_t {
|
| 163 |
+
uint8_t response_type;
|
| 164 |
+
uint8_t pad0;
|
| 165 |
+
uint16_t sequence;
|
| 166 |
+
uint32_t length;
|
| 167 |
+
uint8_t major_version;
|
| 168 |
+
uint8_t minor_version;
|
| 169 |
+
uint8_t pad1[22];
|
| 170 |
+
} xcb_dbe_query_version_reply_t;
|
| 171 |
+
|
| 172 |
+
/** Opcode for xcb_dbe_allocate_back_buffer. */
|
| 173 |
+
#define XCB_DBE_ALLOCATE_BACK_BUFFER 1
|
| 174 |
+
|
| 175 |
+
/**
|
| 176 |
+
* @brief xcb_dbe_allocate_back_buffer_request_t
|
| 177 |
+
**/
|
| 178 |
+
typedef struct xcb_dbe_allocate_back_buffer_request_t {
|
| 179 |
+
uint8_t major_opcode;
|
| 180 |
+
uint8_t minor_opcode;
|
| 181 |
+
uint16_t length;
|
| 182 |
+
xcb_window_t window;
|
| 183 |
+
xcb_dbe_back_buffer_t buffer;
|
| 184 |
+
uint8_t swap_action;
|
| 185 |
+
uint8_t pad0[3];
|
| 186 |
+
} xcb_dbe_allocate_back_buffer_request_t;
|
| 187 |
+
|
| 188 |
+
/** Opcode for xcb_dbe_deallocate_back_buffer. */
|
| 189 |
+
#define XCB_DBE_DEALLOCATE_BACK_BUFFER 2
|
| 190 |
+
|
| 191 |
+
/**
|
| 192 |
+
* @brief xcb_dbe_deallocate_back_buffer_request_t
|
| 193 |
+
**/
|
| 194 |
+
typedef struct xcb_dbe_deallocate_back_buffer_request_t {
|
| 195 |
+
uint8_t major_opcode;
|
| 196 |
+
uint8_t minor_opcode;
|
| 197 |
+
uint16_t length;
|
| 198 |
+
xcb_dbe_back_buffer_t buffer;
|
| 199 |
+
} xcb_dbe_deallocate_back_buffer_request_t;
|
| 200 |
+
|
| 201 |
+
/** Opcode for xcb_dbe_swap_buffers. */
|
| 202 |
+
#define XCB_DBE_SWAP_BUFFERS 3
|
| 203 |
+
|
| 204 |
+
/**
|
| 205 |
+
* @brief xcb_dbe_swap_buffers_request_t
|
| 206 |
+
**/
|
| 207 |
+
typedef struct xcb_dbe_swap_buffers_request_t {
|
| 208 |
+
uint8_t major_opcode;
|
| 209 |
+
uint8_t minor_opcode;
|
| 210 |
+
uint16_t length;
|
| 211 |
+
uint32_t n_actions;
|
| 212 |
+
} xcb_dbe_swap_buffers_request_t;
|
| 213 |
+
|
| 214 |
+
/** Opcode for xcb_dbe_begin_idiom. */
|
| 215 |
+
#define XCB_DBE_BEGIN_IDIOM 4
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
* @brief xcb_dbe_begin_idiom_request_t
|
| 219 |
+
**/
|
| 220 |
+
typedef struct xcb_dbe_begin_idiom_request_t {
|
| 221 |
+
uint8_t major_opcode;
|
| 222 |
+
uint8_t minor_opcode;
|
| 223 |
+
uint16_t length;
|
| 224 |
+
} xcb_dbe_begin_idiom_request_t;
|
| 225 |
+
|
| 226 |
+
/** Opcode for xcb_dbe_end_idiom. */
|
| 227 |
+
#define XCB_DBE_END_IDIOM 5
|
| 228 |
+
|
| 229 |
+
/**
|
| 230 |
+
* @brief xcb_dbe_end_idiom_request_t
|
| 231 |
+
**/
|
| 232 |
+
typedef struct xcb_dbe_end_idiom_request_t {
|
| 233 |
+
uint8_t major_opcode;
|
| 234 |
+
uint8_t minor_opcode;
|
| 235 |
+
uint16_t length;
|
| 236 |
+
} xcb_dbe_end_idiom_request_t;
|
| 237 |
+
|
| 238 |
+
/**
|
| 239 |
+
* @brief xcb_dbe_get_visual_info_cookie_t
|
| 240 |
+
**/
|
| 241 |
+
typedef struct xcb_dbe_get_visual_info_cookie_t {
|
| 242 |
+
unsigned int sequence;
|
| 243 |
+
} xcb_dbe_get_visual_info_cookie_t;
|
| 244 |
+
|
| 245 |
+
/** Opcode for xcb_dbe_get_visual_info. */
|
| 246 |
+
#define XCB_DBE_GET_VISUAL_INFO 6
|
| 247 |
+
|
| 248 |
+
/**
|
| 249 |
+
* @brief xcb_dbe_get_visual_info_request_t
|
| 250 |
+
**/
|
| 251 |
+
typedef struct xcb_dbe_get_visual_info_request_t {
|
| 252 |
+
uint8_t major_opcode;
|
| 253 |
+
uint8_t minor_opcode;
|
| 254 |
+
uint16_t length;
|
| 255 |
+
uint32_t n_drawables;
|
| 256 |
+
} xcb_dbe_get_visual_info_request_t;
|
| 257 |
+
|
| 258 |
+
/**
|
| 259 |
+
* @brief xcb_dbe_get_visual_info_reply_t
|
| 260 |
+
**/
|
| 261 |
+
typedef struct xcb_dbe_get_visual_info_reply_t {
|
| 262 |
+
uint8_t response_type;
|
| 263 |
+
uint8_t pad0;
|
| 264 |
+
uint16_t sequence;
|
| 265 |
+
uint32_t length;
|
| 266 |
+
uint32_t n_supported_visuals;
|
| 267 |
+
uint8_t pad1[20];
|
| 268 |
+
} xcb_dbe_get_visual_info_reply_t;
|
| 269 |
+
|
| 270 |
+
/**
|
| 271 |
+
* @brief xcb_dbe_get_back_buffer_attributes_cookie_t
|
| 272 |
+
**/
|
| 273 |
+
typedef struct xcb_dbe_get_back_buffer_attributes_cookie_t {
|
| 274 |
+
unsigned int sequence;
|
| 275 |
+
} xcb_dbe_get_back_buffer_attributes_cookie_t;
|
| 276 |
+
|
| 277 |
+
/** Opcode for xcb_dbe_get_back_buffer_attributes. */
|
| 278 |
+
#define XCB_DBE_GET_BACK_BUFFER_ATTRIBUTES 7
|
| 279 |
+
|
| 280 |
+
/**
|
| 281 |
+
* @brief xcb_dbe_get_back_buffer_attributes_request_t
|
| 282 |
+
**/
|
| 283 |
+
typedef struct xcb_dbe_get_back_buffer_attributes_request_t {
|
| 284 |
+
uint8_t major_opcode;
|
| 285 |
+
uint8_t minor_opcode;
|
| 286 |
+
uint16_t length;
|
| 287 |
+
xcb_dbe_back_buffer_t buffer;
|
| 288 |
+
} xcb_dbe_get_back_buffer_attributes_request_t;
|
| 289 |
+
|
| 290 |
+
/**
|
| 291 |
+
* @brief xcb_dbe_get_back_buffer_attributes_reply_t
|
| 292 |
+
**/
|
| 293 |
+
typedef struct xcb_dbe_get_back_buffer_attributes_reply_t {
|
| 294 |
+
uint8_t response_type;
|
| 295 |
+
uint8_t pad0;
|
| 296 |
+
uint16_t sequence;
|
| 297 |
+
uint32_t length;
|
| 298 |
+
xcb_dbe_buffer_attributes_t attributes;
|
| 299 |
+
uint8_t pad1[20];
|
| 300 |
+
} xcb_dbe_get_back_buffer_attributes_reply_t;
|
| 301 |
+
|
| 302 |
+
/**
|
| 303 |
+
* Get the next element of the iterator
|
| 304 |
+
* @param i Pointer to a xcb_dbe_back_buffer_iterator_t
|
| 305 |
+
*
|
| 306 |
+
* Get the next element in the iterator. The member rem is
|
| 307 |
+
* decreased by one. The member data points to the next
|
| 308 |
+
* element. The member index is increased by sizeof(xcb_dbe_back_buffer_t)
|
| 309 |
+
*/
|
| 310 |
+
void
|
| 311 |
+
xcb_dbe_back_buffer_next (xcb_dbe_back_buffer_iterator_t *i);
|
| 312 |
+
|
| 313 |
+
/**
|
| 314 |
+
* Return the iterator pointing to the last element
|
| 315 |
+
* @param i An xcb_dbe_back_buffer_iterator_t
|
| 316 |
+
* @return The iterator pointing to the last element
|
| 317 |
+
*
|
| 318 |
+
* Set the current element in the iterator to the last element.
|
| 319 |
+
* The member rem is set to 0. The member data points to the
|
| 320 |
+
* last element.
|
| 321 |
+
*/
|
| 322 |
+
xcb_generic_iterator_t
|
| 323 |
+
xcb_dbe_back_buffer_end (xcb_dbe_back_buffer_iterator_t i);
|
| 324 |
+
|
| 325 |
+
/**
|
| 326 |
+
* Get the next element of the iterator
|
| 327 |
+
* @param i Pointer to a xcb_dbe_swap_info_iterator_t
|
| 328 |
+
*
|
| 329 |
+
* Get the next element in the iterator. The member rem is
|
| 330 |
+
* decreased by one. The member data points to the next
|
| 331 |
+
* element. The member index is increased by sizeof(xcb_dbe_swap_info_t)
|
| 332 |
+
*/
|
| 333 |
+
void
|
| 334 |
+
xcb_dbe_swap_info_next (xcb_dbe_swap_info_iterator_t *i);
|
| 335 |
+
|
| 336 |
+
/**
|
| 337 |
+
* Return the iterator pointing to the last element
|
| 338 |
+
* @param i An xcb_dbe_swap_info_iterator_t
|
| 339 |
+
* @return The iterator pointing to the last element
|
| 340 |
+
*
|
| 341 |
+
* Set the current element in the iterator to the last element.
|
| 342 |
+
* The member rem is set to 0. The member data points to the
|
| 343 |
+
* last element.
|
| 344 |
+
*/
|
| 345 |
+
xcb_generic_iterator_t
|
| 346 |
+
xcb_dbe_swap_info_end (xcb_dbe_swap_info_iterator_t i);
|
| 347 |
+
|
| 348 |
+
/**
|
| 349 |
+
* Get the next element of the iterator
|
| 350 |
+
* @param i Pointer to a xcb_dbe_buffer_attributes_iterator_t
|
| 351 |
+
*
|
| 352 |
+
* Get the next element in the iterator. The member rem is
|
| 353 |
+
* decreased by one. The member data points to the next
|
| 354 |
+
* element. The member index is increased by sizeof(xcb_dbe_buffer_attributes_t)
|
| 355 |
+
*/
|
| 356 |
+
void
|
| 357 |
+
xcb_dbe_buffer_attributes_next (xcb_dbe_buffer_attributes_iterator_t *i);
|
| 358 |
+
|
| 359 |
+
/**
|
| 360 |
+
* Return the iterator pointing to the last element
|
| 361 |
+
* @param i An xcb_dbe_buffer_attributes_iterator_t
|
| 362 |
+
* @return The iterator pointing to the last element
|
| 363 |
+
*
|
| 364 |
+
* Set the current element in the iterator to the last element.
|
| 365 |
+
* The member rem is set to 0. The member data points to the
|
| 366 |
+
* last element.
|
| 367 |
+
*/
|
| 368 |
+
xcb_generic_iterator_t
|
| 369 |
+
xcb_dbe_buffer_attributes_end (xcb_dbe_buffer_attributes_iterator_t i);
|
| 370 |
+
|
| 371 |
+
/**
|
| 372 |
+
* Get the next element of the iterator
|
| 373 |
+
* @param i Pointer to a xcb_dbe_visual_info_iterator_t
|
| 374 |
+
*
|
| 375 |
+
* Get the next element in the iterator. The member rem is
|
| 376 |
+
* decreased by one. The member data points to the next
|
| 377 |
+
* element. The member index is increased by sizeof(xcb_dbe_visual_info_t)
|
| 378 |
+
*/
|
| 379 |
+
void
|
| 380 |
+
xcb_dbe_visual_info_next (xcb_dbe_visual_info_iterator_t *i);
|
| 381 |
+
|
| 382 |
+
/**
|
| 383 |
+
* Return the iterator pointing to the last element
|
| 384 |
+
* @param i An xcb_dbe_visual_info_iterator_t
|
| 385 |
+
* @return The iterator pointing to the last element
|
| 386 |
+
*
|
| 387 |
+
* Set the current element in the iterator to the last element.
|
| 388 |
+
* The member rem is set to 0. The member data points to the
|
| 389 |
+
* last element.
|
| 390 |
+
*/
|
| 391 |
+
xcb_generic_iterator_t
|
| 392 |
+
xcb_dbe_visual_info_end (xcb_dbe_visual_info_iterator_t i);
|
| 393 |
+
|
| 394 |
+
int
|
| 395 |
+
xcb_dbe_visual_infos_sizeof (const void *_buffer);
|
| 396 |
+
|
| 397 |
+
xcb_dbe_visual_info_t *
|
| 398 |
+
xcb_dbe_visual_infos_infos (const xcb_dbe_visual_infos_t *R);
|
| 399 |
+
|
| 400 |
+
int
|
| 401 |
+
xcb_dbe_visual_infos_infos_length (const xcb_dbe_visual_infos_t *R);
|
| 402 |
+
|
| 403 |
+
xcb_dbe_visual_info_iterator_t
|
| 404 |
+
xcb_dbe_visual_infos_infos_iterator (const xcb_dbe_visual_infos_t *R);
|
| 405 |
+
|
| 406 |
+
/**
|
| 407 |
+
* Get the next element of the iterator
|
| 408 |
+
* @param i Pointer to a xcb_dbe_visual_infos_iterator_t
|
| 409 |
+
*
|
| 410 |
+
* Get the next element in the iterator. The member rem is
|
| 411 |
+
* decreased by one. The member data points to the next
|
| 412 |
+
* element. The member index is increased by sizeof(xcb_dbe_visual_infos_t)
|
| 413 |
+
*/
|
| 414 |
+
void
|
| 415 |
+
xcb_dbe_visual_infos_next (xcb_dbe_visual_infos_iterator_t *i);
|
| 416 |
+
|
| 417 |
+
/**
|
| 418 |
+
* Return the iterator pointing to the last element
|
| 419 |
+
* @param i An xcb_dbe_visual_infos_iterator_t
|
| 420 |
+
* @return The iterator pointing to the last element
|
| 421 |
+
*
|
| 422 |
+
* Set the current element in the iterator to the last element.
|
| 423 |
+
* The member rem is set to 0. The member data points to the
|
| 424 |
+
* last element.
|
| 425 |
+
*/
|
| 426 |
+
xcb_generic_iterator_t
|
| 427 |
+
xcb_dbe_visual_infos_end (xcb_dbe_visual_infos_iterator_t i);
|
| 428 |
+
|
| 429 |
+
/**
|
| 430 |
+
* @brief Queries the version of this extension
|
| 431 |
+
*
|
| 432 |
+
* @param c The connection
|
| 433 |
+
* @param major_version The major version of the extension. Check that it is compatible with the XCB_DBE_MAJOR_VERSION that your code is compiled with.
|
| 434 |
+
* @param minor_version The minor version of the extension. Check that it is compatible with the XCB_DBE_MINOR_VERSION that your code is compiled with.
|
| 435 |
+
* @return A cookie
|
| 436 |
+
*
|
| 437 |
+
* Queries the version of this extension. You must do this before using any functionality it provides.
|
| 438 |
+
*
|
| 439 |
+
*/
|
| 440 |
+
xcb_dbe_query_version_cookie_t
|
| 441 |
+
xcb_dbe_query_version (xcb_connection_t *c,
|
| 442 |
+
uint8_t major_version,
|
| 443 |
+
uint8_t minor_version);
|
| 444 |
+
|
| 445 |
+
/**
|
| 446 |
+
* @brief Queries the version of this extension
|
| 447 |
+
*
|
| 448 |
+
* @param c The connection
|
| 449 |
+
* @param major_version The major version of the extension. Check that it is compatible with the XCB_DBE_MAJOR_VERSION that your code is compiled with.
|
| 450 |
+
* @param minor_version The minor version of the extension. Check that it is compatible with the XCB_DBE_MINOR_VERSION that your code is compiled with.
|
| 451 |
+
* @return A cookie
|
| 452 |
+
*
|
| 453 |
+
* Queries the version of this extension. You must do this before using any functionality it provides.
|
| 454 |
+
*
|
| 455 |
+
* This form can be used only if the request will cause
|
| 456 |
+
* a reply to be generated. Any returned error will be
|
| 457 |
+
* placed in the event queue.
|
| 458 |
+
*/
|
| 459 |
+
xcb_dbe_query_version_cookie_t
|
| 460 |
+
xcb_dbe_query_version_unchecked (xcb_connection_t *c,
|
| 461 |
+
uint8_t major_version,
|
| 462 |
+
uint8_t minor_version);
|
| 463 |
+
|
| 464 |
+
/**
|
| 465 |
+
* Return the reply
|
| 466 |
+
* @param c The connection
|
| 467 |
+
* @param cookie The cookie
|
| 468 |
+
* @param e The xcb_generic_error_t supplied
|
| 469 |
+
*
|
| 470 |
+
* Returns the reply of the request asked by
|
| 471 |
+
*
|
| 472 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 473 |
+
* xcb_dbe_query_version_unchecked(). is used.
|
| 474 |
+
* Otherwise, it stores the error if any.
|
| 475 |
+
*
|
| 476 |
+
* The returned value must be freed by the caller using free().
|
| 477 |
+
*/
|
| 478 |
+
xcb_dbe_query_version_reply_t *
|
| 479 |
+
xcb_dbe_query_version_reply (xcb_connection_t *c,
|
| 480 |
+
xcb_dbe_query_version_cookie_t cookie /**< */,
|
| 481 |
+
xcb_generic_error_t **e);
|
| 482 |
+
|
| 483 |
+
/**
|
| 484 |
+
* @brief Allocates a back buffer
|
| 485 |
+
*
|
| 486 |
+
* @param c The connection
|
| 487 |
+
* @param window The window to which to add the back buffer.
|
| 488 |
+
* @param buffer The buffer id to associate with the back buffer.
|
| 489 |
+
* @param swap_action The swap action most likely to be used to present this back buffer. This is only a hint, and does not preclude the use of other swap actions.
|
| 490 |
+
* @return A cookie
|
| 491 |
+
*
|
| 492 |
+
* Associates \a buffer with the back buffer of \a window. Multiple ids may be associated with the back buffer, which is created by the first allocate call and destroyed by the last deallocate.
|
| 493 |
+
*
|
| 494 |
+
* This form can be used only if the request will not cause
|
| 495 |
+
* a reply to be generated. Any returned error will be
|
| 496 |
+
* saved for handling by xcb_request_check().
|
| 497 |
+
*/
|
| 498 |
+
xcb_void_cookie_t
|
| 499 |
+
xcb_dbe_allocate_back_buffer_checked (xcb_connection_t *c,
|
| 500 |
+
xcb_window_t window,
|
| 501 |
+
xcb_dbe_back_buffer_t buffer,
|
| 502 |
+
uint8_t swap_action);
|
| 503 |
+
|
| 504 |
+
/**
|
| 505 |
+
* @brief Allocates a back buffer
|
| 506 |
+
*
|
| 507 |
+
* @param c The connection
|
| 508 |
+
* @param window The window to which to add the back buffer.
|
| 509 |
+
* @param buffer The buffer id to associate with the back buffer.
|
| 510 |
+
* @param swap_action The swap action most likely to be used to present this back buffer. This is only a hint, and does not preclude the use of other swap actions.
|
| 511 |
+
* @return A cookie
|
| 512 |
+
*
|
| 513 |
+
* Associates \a buffer with the back buffer of \a window. Multiple ids may be associated with the back buffer, which is created by the first allocate call and destroyed by the last deallocate.
|
| 514 |
+
*
|
| 515 |
+
*/
|
| 516 |
+
xcb_void_cookie_t
|
| 517 |
+
xcb_dbe_allocate_back_buffer (xcb_connection_t *c,
|
| 518 |
+
xcb_window_t window,
|
| 519 |
+
xcb_dbe_back_buffer_t buffer,
|
| 520 |
+
uint8_t swap_action);
|
| 521 |
+
|
| 522 |
+
/**
|
| 523 |
+
* @brief Deallocates a back buffer
|
| 524 |
+
*
|
| 525 |
+
* @param c The connection
|
| 526 |
+
* @param buffer The back buffer to deallocate.
|
| 527 |
+
* @return A cookie
|
| 528 |
+
*
|
| 529 |
+
* Deallocates the given \a buffer. If \a buffer is an invalid id, a `BadBuffer` error is returned. Because a window may have allocated multiple back buffer ids, the back buffer itself is not deleted until all these ids are deallocated by this call.
|
| 530 |
+
*
|
| 531 |
+
* This form can be used only if the request will not cause
|
| 532 |
+
* a reply to be generated. Any returned error will be
|
| 533 |
+
* saved for handling by xcb_request_check().
|
| 534 |
+
*/
|
| 535 |
+
xcb_void_cookie_t
|
| 536 |
+
xcb_dbe_deallocate_back_buffer_checked (xcb_connection_t *c,
|
| 537 |
+
xcb_dbe_back_buffer_t buffer);
|
| 538 |
+
|
| 539 |
+
/**
|
| 540 |
+
* @brief Deallocates a back buffer
|
| 541 |
+
*
|
| 542 |
+
* @param c The connection
|
| 543 |
+
* @param buffer The back buffer to deallocate.
|
| 544 |
+
* @return A cookie
|
| 545 |
+
*
|
| 546 |
+
* Deallocates the given \a buffer. If \a buffer is an invalid id, a `BadBuffer` error is returned. Because a window may have allocated multiple back buffer ids, the back buffer itself is not deleted until all these ids are deallocated by this call.
|
| 547 |
+
*
|
| 548 |
+
*/
|
| 549 |
+
xcb_void_cookie_t
|
| 550 |
+
xcb_dbe_deallocate_back_buffer (xcb_connection_t *c,
|
| 551 |
+
xcb_dbe_back_buffer_t buffer);
|
| 552 |
+
|
| 553 |
+
int
|
| 554 |
+
xcb_dbe_swap_buffers_sizeof (const void *_buffer);
|
| 555 |
+
|
| 556 |
+
/**
|
| 557 |
+
* @brief Swaps front and back buffers
|
| 558 |
+
*
|
| 559 |
+
* @param c The connection
|
| 560 |
+
* @param n_actions Number of swap actions in \a actions.
|
| 561 |
+
* @param actions List of windows on which to swap buffers.
|
| 562 |
+
* @return A cookie
|
| 563 |
+
*
|
| 564 |
+
* Swaps the front and back buffers on the specified windows. The front and back buffers retain their ids, so that the window id continues to refer to the front buffer, while the back buffer id created by this extension continues to refer to the back buffer. Back buffer contents is moved to the front buffer. Back buffer contents after the operation depends on the given swap action. The optimal swap action depends on how each frame is rendered. For example, if the buffer is cleared and fully overwritten on every frame, the "untouched" action, which throws away the buffer contents, would provide the best performance. To eliminate visual artifacts, the swap will occure during the monitor VSync, if the X server supports detecting it.
|
| 565 |
+
*
|
| 566 |
+
* This form can be used only if the request will not cause
|
| 567 |
+
* a reply to be generated. Any returned error will be
|
| 568 |
+
* saved for handling by xcb_request_check().
|
| 569 |
+
*/
|
| 570 |
+
xcb_void_cookie_t
|
| 571 |
+
xcb_dbe_swap_buffers_checked (xcb_connection_t *c,
|
| 572 |
+
uint32_t n_actions,
|
| 573 |
+
const xcb_dbe_swap_info_t *actions);
|
| 574 |
+
|
| 575 |
+
/**
|
| 576 |
+
* @brief Swaps front and back buffers
|
| 577 |
+
*
|
| 578 |
+
* @param c The connection
|
| 579 |
+
* @param n_actions Number of swap actions in \a actions.
|
| 580 |
+
* @param actions List of windows on which to swap buffers.
|
| 581 |
+
* @return A cookie
|
| 582 |
+
*
|
| 583 |
+
* Swaps the front and back buffers on the specified windows. The front and back buffers retain their ids, so that the window id continues to refer to the front buffer, while the back buffer id created by this extension continues to refer to the back buffer. Back buffer contents is moved to the front buffer. Back buffer contents after the operation depends on the given swap action. The optimal swap action depends on how each frame is rendered. For example, if the buffer is cleared and fully overwritten on every frame, the "untouched" action, which throws away the buffer contents, would provide the best performance. To eliminate visual artifacts, the swap will occure during the monitor VSync, if the X server supports detecting it.
|
| 584 |
+
*
|
| 585 |
+
*/
|
| 586 |
+
xcb_void_cookie_t
|
| 587 |
+
xcb_dbe_swap_buffers (xcb_connection_t *c,
|
| 588 |
+
uint32_t n_actions,
|
| 589 |
+
const xcb_dbe_swap_info_t *actions);
|
| 590 |
+
|
| 591 |
+
xcb_dbe_swap_info_t *
|
| 592 |
+
xcb_dbe_swap_buffers_actions (const xcb_dbe_swap_buffers_request_t *R);
|
| 593 |
+
|
| 594 |
+
int
|
| 595 |
+
xcb_dbe_swap_buffers_actions_length (const xcb_dbe_swap_buffers_request_t *R);
|
| 596 |
+
|
| 597 |
+
xcb_dbe_swap_info_iterator_t
|
| 598 |
+
xcb_dbe_swap_buffers_actions_iterator (const xcb_dbe_swap_buffers_request_t *R);
|
| 599 |
+
|
| 600 |
+
/**
|
| 601 |
+
* @brief Begins a logical swap block
|
| 602 |
+
*
|
| 603 |
+
* @param c The connection
|
| 604 |
+
* @return A cookie
|
| 605 |
+
*
|
| 606 |
+
* Creates a block of operations intended to occur together. This may be needed if window presentation requires changing buffers unknown to this extension, such as depth or stencil buffers.
|
| 607 |
+
*
|
| 608 |
+
* This form can be used only if the request will not cause
|
| 609 |
+
* a reply to be generated. Any returned error will be
|
| 610 |
+
* saved for handling by xcb_request_check().
|
| 611 |
+
*/
|
| 612 |
+
xcb_void_cookie_t
|
| 613 |
+
xcb_dbe_begin_idiom_checked (xcb_connection_t *c);
|
| 614 |
+
|
| 615 |
+
/**
|
| 616 |
+
* @brief Begins a logical swap block
|
| 617 |
+
*
|
| 618 |
+
* @param c The connection
|
| 619 |
+
* @return A cookie
|
| 620 |
+
*
|
| 621 |
+
* Creates a block of operations intended to occur together. This may be needed if window presentation requires changing buffers unknown to this extension, such as depth or stencil buffers.
|
| 622 |
+
*
|
| 623 |
+
*/
|
| 624 |
+
xcb_void_cookie_t
|
| 625 |
+
xcb_dbe_begin_idiom (xcb_connection_t *c);
|
| 626 |
+
|
| 627 |
+
/**
|
| 628 |
+
* @brief Ends a logical swap block
|
| 629 |
+
*
|
| 630 |
+
* @param c The connection
|
| 631 |
+
* @return A cookie
|
| 632 |
+
*
|
| 633 |
+
* No description yet
|
| 634 |
+
*
|
| 635 |
+
* This form can be used only if the request will not cause
|
| 636 |
+
* a reply to be generated. Any returned error will be
|
| 637 |
+
* saved for handling by xcb_request_check().
|
| 638 |
+
*/
|
| 639 |
+
xcb_void_cookie_t
|
| 640 |
+
xcb_dbe_end_idiom_checked (xcb_connection_t *c);
|
| 641 |
+
|
| 642 |
+
/**
|
| 643 |
+
* @brief Ends a logical swap block
|
| 644 |
+
*
|
| 645 |
+
* @param c The connection
|
| 646 |
+
* @return A cookie
|
| 647 |
+
*
|
| 648 |
+
* No description yet
|
| 649 |
+
*
|
| 650 |
+
*/
|
| 651 |
+
xcb_void_cookie_t
|
| 652 |
+
xcb_dbe_end_idiom (xcb_connection_t *c);
|
| 653 |
+
|
| 654 |
+
int
|
| 655 |
+
xcb_dbe_get_visual_info_sizeof (const void *_buffer);
|
| 656 |
+
|
| 657 |
+
/**
|
| 658 |
+
* @brief Requests visuals that support double buffering
|
| 659 |
+
*
|
| 660 |
+
* @param c The connection
|
| 661 |
+
* @return A cookie
|
| 662 |
+
*
|
| 663 |
+
* No description yet
|
| 664 |
+
*
|
| 665 |
+
*/
|
| 666 |
+
xcb_dbe_get_visual_info_cookie_t
|
| 667 |
+
xcb_dbe_get_visual_info (xcb_connection_t *c,
|
| 668 |
+
uint32_t n_drawables,
|
| 669 |
+
const xcb_drawable_t *drawables);
|
| 670 |
+
|
| 671 |
+
/**
|
| 672 |
+
* @brief Requests visuals that support double buffering
|
| 673 |
+
*
|
| 674 |
+
* @param c The connection
|
| 675 |
+
* @return A cookie
|
| 676 |
+
*
|
| 677 |
+
* No description yet
|
| 678 |
+
*
|
| 679 |
+
* This form can be used only if the request will cause
|
| 680 |
+
* a reply to be generated. Any returned error will be
|
| 681 |
+
* placed in the event queue.
|
| 682 |
+
*/
|
| 683 |
+
xcb_dbe_get_visual_info_cookie_t
|
| 684 |
+
xcb_dbe_get_visual_info_unchecked (xcb_connection_t *c,
|
| 685 |
+
uint32_t n_drawables,
|
| 686 |
+
const xcb_drawable_t *drawables);
|
| 687 |
+
|
| 688 |
+
int
|
| 689 |
+
xcb_dbe_get_visual_info_supported_visuals_length (const xcb_dbe_get_visual_info_reply_t *R);
|
| 690 |
+
|
| 691 |
+
xcb_dbe_visual_infos_iterator_t
|
| 692 |
+
xcb_dbe_get_visual_info_supported_visuals_iterator (const xcb_dbe_get_visual_info_reply_t *R);
|
| 693 |
+
|
| 694 |
+
/**
|
| 695 |
+
* Return the reply
|
| 696 |
+
* @param c The connection
|
| 697 |
+
* @param cookie The cookie
|
| 698 |
+
* @param e The xcb_generic_error_t supplied
|
| 699 |
+
*
|
| 700 |
+
* Returns the reply of the request asked by
|
| 701 |
+
*
|
| 702 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 703 |
+
* xcb_dbe_get_visual_info_unchecked(). is used.
|
| 704 |
+
* Otherwise, it stores the error if any.
|
| 705 |
+
*
|
| 706 |
+
* The returned value must be freed by the caller using free().
|
| 707 |
+
*/
|
| 708 |
+
xcb_dbe_get_visual_info_reply_t *
|
| 709 |
+
xcb_dbe_get_visual_info_reply (xcb_connection_t *c,
|
| 710 |
+
xcb_dbe_get_visual_info_cookie_t cookie /**< */,
|
| 711 |
+
xcb_generic_error_t **e);
|
| 712 |
+
|
| 713 |
+
/**
|
| 714 |
+
* @brief Gets back buffer attributes
|
| 715 |
+
*
|
| 716 |
+
* @param c The connection
|
| 717 |
+
* @param buffer The back buffer to query.
|
| 718 |
+
* @return A cookie
|
| 719 |
+
*
|
| 720 |
+
* Returns the attributes of the specified \a buffer.
|
| 721 |
+
*
|
| 722 |
+
*/
|
| 723 |
+
xcb_dbe_get_back_buffer_attributes_cookie_t
|
| 724 |
+
xcb_dbe_get_back_buffer_attributes (xcb_connection_t *c,
|
| 725 |
+
xcb_dbe_back_buffer_t buffer);
|
| 726 |
+
|
| 727 |
+
/**
|
| 728 |
+
* @brief Gets back buffer attributes
|
| 729 |
+
*
|
| 730 |
+
* @param c The connection
|
| 731 |
+
* @param buffer The back buffer to query.
|
| 732 |
+
* @return A cookie
|
| 733 |
+
*
|
| 734 |
+
* Returns the attributes of the specified \a buffer.
|
| 735 |
+
*
|
| 736 |
+
* This form can be used only if the request will cause
|
| 737 |
+
* a reply to be generated. Any returned error will be
|
| 738 |
+
* placed in the event queue.
|
| 739 |
+
*/
|
| 740 |
+
xcb_dbe_get_back_buffer_attributes_cookie_t
|
| 741 |
+
xcb_dbe_get_back_buffer_attributes_unchecked (xcb_connection_t *c,
|
| 742 |
+
xcb_dbe_back_buffer_t buffer);
|
| 743 |
+
|
| 744 |
+
/**
|
| 745 |
+
* Return the reply
|
| 746 |
+
* @param c The connection
|
| 747 |
+
* @param cookie The cookie
|
| 748 |
+
* @param e The xcb_generic_error_t supplied
|
| 749 |
+
*
|
| 750 |
+
* Returns the reply of the request asked by
|
| 751 |
+
*
|
| 752 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 753 |
+
* xcb_dbe_get_back_buffer_attributes_unchecked(). is used.
|
| 754 |
+
* Otherwise, it stores the error if any.
|
| 755 |
+
*
|
| 756 |
+
* The returned value must be freed by the caller using free().
|
| 757 |
+
*/
|
| 758 |
+
xcb_dbe_get_back_buffer_attributes_reply_t *
|
| 759 |
+
xcb_dbe_get_back_buffer_attributes_reply (xcb_connection_t *c,
|
| 760 |
+
xcb_dbe_get_back_buffer_attributes_cookie_t cookie /**< */,
|
| 761 |
+
xcb_generic_error_t **e);
|
| 762 |
+
|
| 763 |
+
|
| 764 |
+
#ifdef __cplusplus
|
| 765 |
+
}
|
| 766 |
+
#endif
|
| 767 |
+
|
| 768 |
+
#endif
|
| 769 |
+
|
| 770 |
+
/**
|
| 771 |
+
* @}
|
| 772 |
+
*/
|
miniconda3/envs/ladir/include/xcb/dpms.h
ADDED
|
@@ -0,0 +1,575 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from dpms.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_DPMS_API XCB DPMS API
|
| 8 |
+
* @brief DPMS XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __DPMS_H
|
| 13 |
+
#define __DPMS_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_DPMS_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_DPMS_MINOR_VERSION 2
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_dpms_id;
|
| 26 |
+
|
| 27 |
+
/**
|
| 28 |
+
* @brief xcb_dpms_get_version_cookie_t
|
| 29 |
+
**/
|
| 30 |
+
typedef struct xcb_dpms_get_version_cookie_t {
|
| 31 |
+
unsigned int sequence;
|
| 32 |
+
} xcb_dpms_get_version_cookie_t;
|
| 33 |
+
|
| 34 |
+
/** Opcode for xcb_dpms_get_version. */
|
| 35 |
+
#define XCB_DPMS_GET_VERSION 0
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* @brief xcb_dpms_get_version_request_t
|
| 39 |
+
**/
|
| 40 |
+
typedef struct xcb_dpms_get_version_request_t {
|
| 41 |
+
uint8_t major_opcode;
|
| 42 |
+
uint8_t minor_opcode;
|
| 43 |
+
uint16_t length;
|
| 44 |
+
uint16_t client_major_version;
|
| 45 |
+
uint16_t client_minor_version;
|
| 46 |
+
} xcb_dpms_get_version_request_t;
|
| 47 |
+
|
| 48 |
+
/**
|
| 49 |
+
* @brief xcb_dpms_get_version_reply_t
|
| 50 |
+
**/
|
| 51 |
+
typedef struct xcb_dpms_get_version_reply_t {
|
| 52 |
+
uint8_t response_type;
|
| 53 |
+
uint8_t pad0;
|
| 54 |
+
uint16_t sequence;
|
| 55 |
+
uint32_t length;
|
| 56 |
+
uint16_t server_major_version;
|
| 57 |
+
uint16_t server_minor_version;
|
| 58 |
+
} xcb_dpms_get_version_reply_t;
|
| 59 |
+
|
| 60 |
+
/**
|
| 61 |
+
* @brief xcb_dpms_capable_cookie_t
|
| 62 |
+
**/
|
| 63 |
+
typedef struct xcb_dpms_capable_cookie_t {
|
| 64 |
+
unsigned int sequence;
|
| 65 |
+
} xcb_dpms_capable_cookie_t;
|
| 66 |
+
|
| 67 |
+
/** Opcode for xcb_dpms_capable. */
|
| 68 |
+
#define XCB_DPMS_CAPABLE 1
|
| 69 |
+
|
| 70 |
+
/**
|
| 71 |
+
* @brief xcb_dpms_capable_request_t
|
| 72 |
+
**/
|
| 73 |
+
typedef struct xcb_dpms_capable_request_t {
|
| 74 |
+
uint8_t major_opcode;
|
| 75 |
+
uint8_t minor_opcode;
|
| 76 |
+
uint16_t length;
|
| 77 |
+
} xcb_dpms_capable_request_t;
|
| 78 |
+
|
| 79 |
+
/**
|
| 80 |
+
* @brief xcb_dpms_capable_reply_t
|
| 81 |
+
**/
|
| 82 |
+
typedef struct xcb_dpms_capable_reply_t {
|
| 83 |
+
uint8_t response_type;
|
| 84 |
+
uint8_t pad0;
|
| 85 |
+
uint16_t sequence;
|
| 86 |
+
uint32_t length;
|
| 87 |
+
uint8_t capable;
|
| 88 |
+
uint8_t pad1[23];
|
| 89 |
+
} xcb_dpms_capable_reply_t;
|
| 90 |
+
|
| 91 |
+
/**
|
| 92 |
+
* @brief xcb_dpms_get_timeouts_cookie_t
|
| 93 |
+
**/
|
| 94 |
+
typedef struct xcb_dpms_get_timeouts_cookie_t {
|
| 95 |
+
unsigned int sequence;
|
| 96 |
+
} xcb_dpms_get_timeouts_cookie_t;
|
| 97 |
+
|
| 98 |
+
/** Opcode for xcb_dpms_get_timeouts. */
|
| 99 |
+
#define XCB_DPMS_GET_TIMEOUTS 2
|
| 100 |
+
|
| 101 |
+
/**
|
| 102 |
+
* @brief xcb_dpms_get_timeouts_request_t
|
| 103 |
+
**/
|
| 104 |
+
typedef struct xcb_dpms_get_timeouts_request_t {
|
| 105 |
+
uint8_t major_opcode;
|
| 106 |
+
uint8_t minor_opcode;
|
| 107 |
+
uint16_t length;
|
| 108 |
+
} xcb_dpms_get_timeouts_request_t;
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* @brief xcb_dpms_get_timeouts_reply_t
|
| 112 |
+
**/
|
| 113 |
+
typedef struct xcb_dpms_get_timeouts_reply_t {
|
| 114 |
+
uint8_t response_type;
|
| 115 |
+
uint8_t pad0;
|
| 116 |
+
uint16_t sequence;
|
| 117 |
+
uint32_t length;
|
| 118 |
+
uint16_t standby_timeout;
|
| 119 |
+
uint16_t suspend_timeout;
|
| 120 |
+
uint16_t off_timeout;
|
| 121 |
+
uint8_t pad1[18];
|
| 122 |
+
} xcb_dpms_get_timeouts_reply_t;
|
| 123 |
+
|
| 124 |
+
/** Opcode for xcb_dpms_set_timeouts. */
|
| 125 |
+
#define XCB_DPMS_SET_TIMEOUTS 3
|
| 126 |
+
|
| 127 |
+
/**
|
| 128 |
+
* @brief xcb_dpms_set_timeouts_request_t
|
| 129 |
+
**/
|
| 130 |
+
typedef struct xcb_dpms_set_timeouts_request_t {
|
| 131 |
+
uint8_t major_opcode;
|
| 132 |
+
uint8_t minor_opcode;
|
| 133 |
+
uint16_t length;
|
| 134 |
+
uint16_t standby_timeout;
|
| 135 |
+
uint16_t suspend_timeout;
|
| 136 |
+
uint16_t off_timeout;
|
| 137 |
+
} xcb_dpms_set_timeouts_request_t;
|
| 138 |
+
|
| 139 |
+
/** Opcode for xcb_dpms_enable. */
|
| 140 |
+
#define XCB_DPMS_ENABLE 4
|
| 141 |
+
|
| 142 |
+
/**
|
| 143 |
+
* @brief xcb_dpms_enable_request_t
|
| 144 |
+
**/
|
| 145 |
+
typedef struct xcb_dpms_enable_request_t {
|
| 146 |
+
uint8_t major_opcode;
|
| 147 |
+
uint8_t minor_opcode;
|
| 148 |
+
uint16_t length;
|
| 149 |
+
} xcb_dpms_enable_request_t;
|
| 150 |
+
|
| 151 |
+
/** Opcode for xcb_dpms_disable. */
|
| 152 |
+
#define XCB_DPMS_DISABLE 5
|
| 153 |
+
|
| 154 |
+
/**
|
| 155 |
+
* @brief xcb_dpms_disable_request_t
|
| 156 |
+
**/
|
| 157 |
+
typedef struct xcb_dpms_disable_request_t {
|
| 158 |
+
uint8_t major_opcode;
|
| 159 |
+
uint8_t minor_opcode;
|
| 160 |
+
uint16_t length;
|
| 161 |
+
} xcb_dpms_disable_request_t;
|
| 162 |
+
|
| 163 |
+
typedef enum xcb_dpms_dpms_mode_t {
|
| 164 |
+
XCB_DPMS_DPMS_MODE_ON = 0,
|
| 165 |
+
XCB_DPMS_DPMS_MODE_STANDBY = 1,
|
| 166 |
+
XCB_DPMS_DPMS_MODE_SUSPEND = 2,
|
| 167 |
+
XCB_DPMS_DPMS_MODE_OFF = 3
|
| 168 |
+
} xcb_dpms_dpms_mode_t;
|
| 169 |
+
|
| 170 |
+
/** Opcode for xcb_dpms_force_level. */
|
| 171 |
+
#define XCB_DPMS_FORCE_LEVEL 6
|
| 172 |
+
|
| 173 |
+
/**
|
| 174 |
+
* @brief xcb_dpms_force_level_request_t
|
| 175 |
+
**/
|
| 176 |
+
typedef struct xcb_dpms_force_level_request_t {
|
| 177 |
+
uint8_t major_opcode;
|
| 178 |
+
uint8_t minor_opcode;
|
| 179 |
+
uint16_t length;
|
| 180 |
+
uint16_t power_level;
|
| 181 |
+
} xcb_dpms_force_level_request_t;
|
| 182 |
+
|
| 183 |
+
/**
|
| 184 |
+
* @brief xcb_dpms_info_cookie_t
|
| 185 |
+
**/
|
| 186 |
+
typedef struct xcb_dpms_info_cookie_t {
|
| 187 |
+
unsigned int sequence;
|
| 188 |
+
} xcb_dpms_info_cookie_t;
|
| 189 |
+
|
| 190 |
+
/** Opcode for xcb_dpms_info. */
|
| 191 |
+
#define XCB_DPMS_INFO 7
|
| 192 |
+
|
| 193 |
+
/**
|
| 194 |
+
* @brief xcb_dpms_info_request_t
|
| 195 |
+
**/
|
| 196 |
+
typedef struct xcb_dpms_info_request_t {
|
| 197 |
+
uint8_t major_opcode;
|
| 198 |
+
uint8_t minor_opcode;
|
| 199 |
+
uint16_t length;
|
| 200 |
+
} xcb_dpms_info_request_t;
|
| 201 |
+
|
| 202 |
+
/**
|
| 203 |
+
* @brief xcb_dpms_info_reply_t
|
| 204 |
+
**/
|
| 205 |
+
typedef struct xcb_dpms_info_reply_t {
|
| 206 |
+
uint8_t response_type;
|
| 207 |
+
uint8_t pad0;
|
| 208 |
+
uint16_t sequence;
|
| 209 |
+
uint32_t length;
|
| 210 |
+
uint16_t power_level;
|
| 211 |
+
uint8_t state;
|
| 212 |
+
uint8_t pad1[21];
|
| 213 |
+
} xcb_dpms_info_reply_t;
|
| 214 |
+
|
| 215 |
+
typedef enum xcb_dpms_event_mask_t {
|
| 216 |
+
XCB_DPMS_EVENT_MASK_INFO_NOTIFY = 1
|
| 217 |
+
} xcb_dpms_event_mask_t;
|
| 218 |
+
|
| 219 |
+
/** Opcode for xcb_dpms_select_input. */
|
| 220 |
+
#define XCB_DPMS_SELECT_INPUT 8
|
| 221 |
+
|
| 222 |
+
/**
|
| 223 |
+
* @brief xcb_dpms_select_input_request_t
|
| 224 |
+
**/
|
| 225 |
+
typedef struct xcb_dpms_select_input_request_t {
|
| 226 |
+
uint8_t major_opcode;
|
| 227 |
+
uint8_t minor_opcode;
|
| 228 |
+
uint16_t length;
|
| 229 |
+
uint32_t event_mask;
|
| 230 |
+
} xcb_dpms_select_input_request_t;
|
| 231 |
+
|
| 232 |
+
/** Opcode for xcb_dpms_info_notify. */
|
| 233 |
+
#define XCB_DPMS_INFO_NOTIFY 0
|
| 234 |
+
|
| 235 |
+
/**
|
| 236 |
+
* @brief xcb_dpms_info_notify_event_t
|
| 237 |
+
**/
|
| 238 |
+
typedef struct xcb_dpms_info_notify_event_t {
|
| 239 |
+
uint8_t response_type;
|
| 240 |
+
uint8_t extension;
|
| 241 |
+
uint16_t sequence;
|
| 242 |
+
uint32_t length;
|
| 243 |
+
uint16_t event_type;
|
| 244 |
+
uint8_t pad0[2];
|
| 245 |
+
xcb_timestamp_t timestamp;
|
| 246 |
+
uint16_t power_level;
|
| 247 |
+
uint8_t state;
|
| 248 |
+
uint8_t pad1[21];
|
| 249 |
+
} xcb_dpms_info_notify_event_t;
|
| 250 |
+
|
| 251 |
+
/**
|
| 252 |
+
*
|
| 253 |
+
* @param c The connection
|
| 254 |
+
* @return A cookie
|
| 255 |
+
*
|
| 256 |
+
* Delivers a request to the X server.
|
| 257 |
+
*
|
| 258 |
+
*/
|
| 259 |
+
xcb_dpms_get_version_cookie_t
|
| 260 |
+
xcb_dpms_get_version (xcb_connection_t *c,
|
| 261 |
+
uint16_t client_major_version,
|
| 262 |
+
uint16_t client_minor_version);
|
| 263 |
+
|
| 264 |
+
/**
|
| 265 |
+
*
|
| 266 |
+
* @param c The connection
|
| 267 |
+
* @return A cookie
|
| 268 |
+
*
|
| 269 |
+
* Delivers a request to the X server.
|
| 270 |
+
*
|
| 271 |
+
* This form can be used only if the request will cause
|
| 272 |
+
* a reply to be generated. Any returned error will be
|
| 273 |
+
* placed in the event queue.
|
| 274 |
+
*/
|
| 275 |
+
xcb_dpms_get_version_cookie_t
|
| 276 |
+
xcb_dpms_get_version_unchecked (xcb_connection_t *c,
|
| 277 |
+
uint16_t client_major_version,
|
| 278 |
+
uint16_t client_minor_version);
|
| 279 |
+
|
| 280 |
+
/**
|
| 281 |
+
* Return the reply
|
| 282 |
+
* @param c The connection
|
| 283 |
+
* @param cookie The cookie
|
| 284 |
+
* @param e The xcb_generic_error_t supplied
|
| 285 |
+
*
|
| 286 |
+
* Returns the reply of the request asked by
|
| 287 |
+
*
|
| 288 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 289 |
+
* xcb_dpms_get_version_unchecked(). is used.
|
| 290 |
+
* Otherwise, it stores the error if any.
|
| 291 |
+
*
|
| 292 |
+
* The returned value must be freed by the caller using free().
|
| 293 |
+
*/
|
| 294 |
+
xcb_dpms_get_version_reply_t *
|
| 295 |
+
xcb_dpms_get_version_reply (xcb_connection_t *c,
|
| 296 |
+
xcb_dpms_get_version_cookie_t cookie /**< */,
|
| 297 |
+
xcb_generic_error_t **e);
|
| 298 |
+
|
| 299 |
+
/**
|
| 300 |
+
*
|
| 301 |
+
* @param c The connection
|
| 302 |
+
* @return A cookie
|
| 303 |
+
*
|
| 304 |
+
* Delivers a request to the X server.
|
| 305 |
+
*
|
| 306 |
+
*/
|
| 307 |
+
xcb_dpms_capable_cookie_t
|
| 308 |
+
xcb_dpms_capable (xcb_connection_t *c);
|
| 309 |
+
|
| 310 |
+
/**
|
| 311 |
+
*
|
| 312 |
+
* @param c The connection
|
| 313 |
+
* @return A cookie
|
| 314 |
+
*
|
| 315 |
+
* Delivers a request to the X server.
|
| 316 |
+
*
|
| 317 |
+
* This form can be used only if the request will cause
|
| 318 |
+
* a reply to be generated. Any returned error will be
|
| 319 |
+
* placed in the event queue.
|
| 320 |
+
*/
|
| 321 |
+
xcb_dpms_capable_cookie_t
|
| 322 |
+
xcb_dpms_capable_unchecked (xcb_connection_t *c);
|
| 323 |
+
|
| 324 |
+
/**
|
| 325 |
+
* Return the reply
|
| 326 |
+
* @param c The connection
|
| 327 |
+
* @param cookie The cookie
|
| 328 |
+
* @param e The xcb_generic_error_t supplied
|
| 329 |
+
*
|
| 330 |
+
* Returns the reply of the request asked by
|
| 331 |
+
*
|
| 332 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 333 |
+
* xcb_dpms_capable_unchecked(). is used.
|
| 334 |
+
* Otherwise, it stores the error if any.
|
| 335 |
+
*
|
| 336 |
+
* The returned value must be freed by the caller using free().
|
| 337 |
+
*/
|
| 338 |
+
xcb_dpms_capable_reply_t *
|
| 339 |
+
xcb_dpms_capable_reply (xcb_connection_t *c,
|
| 340 |
+
xcb_dpms_capable_cookie_t cookie /**< */,
|
| 341 |
+
xcb_generic_error_t **e);
|
| 342 |
+
|
| 343 |
+
/**
|
| 344 |
+
*
|
| 345 |
+
* @param c The connection
|
| 346 |
+
* @return A cookie
|
| 347 |
+
*
|
| 348 |
+
* Delivers a request to the X server.
|
| 349 |
+
*
|
| 350 |
+
*/
|
| 351 |
+
xcb_dpms_get_timeouts_cookie_t
|
| 352 |
+
xcb_dpms_get_timeouts (xcb_connection_t *c);
|
| 353 |
+
|
| 354 |
+
/**
|
| 355 |
+
*
|
| 356 |
+
* @param c The connection
|
| 357 |
+
* @return A cookie
|
| 358 |
+
*
|
| 359 |
+
* Delivers a request to the X server.
|
| 360 |
+
*
|
| 361 |
+
* This form can be used only if the request will cause
|
| 362 |
+
* a reply to be generated. Any returned error will be
|
| 363 |
+
* placed in the event queue.
|
| 364 |
+
*/
|
| 365 |
+
xcb_dpms_get_timeouts_cookie_t
|
| 366 |
+
xcb_dpms_get_timeouts_unchecked (xcb_connection_t *c);
|
| 367 |
+
|
| 368 |
+
/**
|
| 369 |
+
* Return the reply
|
| 370 |
+
* @param c The connection
|
| 371 |
+
* @param cookie The cookie
|
| 372 |
+
* @param e The xcb_generic_error_t supplied
|
| 373 |
+
*
|
| 374 |
+
* Returns the reply of the request asked by
|
| 375 |
+
*
|
| 376 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 377 |
+
* xcb_dpms_get_timeouts_unchecked(). is used.
|
| 378 |
+
* Otherwise, it stores the error if any.
|
| 379 |
+
*
|
| 380 |
+
* The returned value must be freed by the caller using free().
|
| 381 |
+
*/
|
| 382 |
+
xcb_dpms_get_timeouts_reply_t *
|
| 383 |
+
xcb_dpms_get_timeouts_reply (xcb_connection_t *c,
|
| 384 |
+
xcb_dpms_get_timeouts_cookie_t cookie /**< */,
|
| 385 |
+
xcb_generic_error_t **e);
|
| 386 |
+
|
| 387 |
+
/**
|
| 388 |
+
*
|
| 389 |
+
* @param c The connection
|
| 390 |
+
* @return A cookie
|
| 391 |
+
*
|
| 392 |
+
* Delivers a request to the X server.
|
| 393 |
+
*
|
| 394 |
+
* This form can be used only if the request will not cause
|
| 395 |
+
* a reply to be generated. Any returned error will be
|
| 396 |
+
* saved for handling by xcb_request_check().
|
| 397 |
+
*/
|
| 398 |
+
xcb_void_cookie_t
|
| 399 |
+
xcb_dpms_set_timeouts_checked (xcb_connection_t *c,
|
| 400 |
+
uint16_t standby_timeout,
|
| 401 |
+
uint16_t suspend_timeout,
|
| 402 |
+
uint16_t off_timeout);
|
| 403 |
+
|
| 404 |
+
/**
|
| 405 |
+
*
|
| 406 |
+
* @param c The connection
|
| 407 |
+
* @return A cookie
|
| 408 |
+
*
|
| 409 |
+
* Delivers a request to the X server.
|
| 410 |
+
*
|
| 411 |
+
*/
|
| 412 |
+
xcb_void_cookie_t
|
| 413 |
+
xcb_dpms_set_timeouts (xcb_connection_t *c,
|
| 414 |
+
uint16_t standby_timeout,
|
| 415 |
+
uint16_t suspend_timeout,
|
| 416 |
+
uint16_t off_timeout);
|
| 417 |
+
|
| 418 |
+
/**
|
| 419 |
+
*
|
| 420 |
+
* @param c The connection
|
| 421 |
+
* @return A cookie
|
| 422 |
+
*
|
| 423 |
+
* Delivers a request to the X server.
|
| 424 |
+
*
|
| 425 |
+
* This form can be used only if the request will not cause
|
| 426 |
+
* a reply to be generated. Any returned error will be
|
| 427 |
+
* saved for handling by xcb_request_check().
|
| 428 |
+
*/
|
| 429 |
+
xcb_void_cookie_t
|
| 430 |
+
xcb_dpms_enable_checked (xcb_connection_t *c);
|
| 431 |
+
|
| 432 |
+
/**
|
| 433 |
+
*
|
| 434 |
+
* @param c The connection
|
| 435 |
+
* @return A cookie
|
| 436 |
+
*
|
| 437 |
+
* Delivers a request to the X server.
|
| 438 |
+
*
|
| 439 |
+
*/
|
| 440 |
+
xcb_void_cookie_t
|
| 441 |
+
xcb_dpms_enable (xcb_connection_t *c);
|
| 442 |
+
|
| 443 |
+
/**
|
| 444 |
+
*
|
| 445 |
+
* @param c The connection
|
| 446 |
+
* @return A cookie
|
| 447 |
+
*
|
| 448 |
+
* Delivers a request to the X server.
|
| 449 |
+
*
|
| 450 |
+
* This form can be used only if the request will not cause
|
| 451 |
+
* a reply to be generated. Any returned error will be
|
| 452 |
+
* saved for handling by xcb_request_check().
|
| 453 |
+
*/
|
| 454 |
+
xcb_void_cookie_t
|
| 455 |
+
xcb_dpms_disable_checked (xcb_connection_t *c);
|
| 456 |
+
|
| 457 |
+
/**
|
| 458 |
+
*
|
| 459 |
+
* @param c The connection
|
| 460 |
+
* @return A cookie
|
| 461 |
+
*
|
| 462 |
+
* Delivers a request to the X server.
|
| 463 |
+
*
|
| 464 |
+
*/
|
| 465 |
+
xcb_void_cookie_t
|
| 466 |
+
xcb_dpms_disable (xcb_connection_t *c);
|
| 467 |
+
|
| 468 |
+
/**
|
| 469 |
+
*
|
| 470 |
+
* @param c The connection
|
| 471 |
+
* @return A cookie
|
| 472 |
+
*
|
| 473 |
+
* Delivers a request to the X server.
|
| 474 |
+
*
|
| 475 |
+
* This form can be used only if the request will not cause
|
| 476 |
+
* a reply to be generated. Any returned error will be
|
| 477 |
+
* saved for handling by xcb_request_check().
|
| 478 |
+
*/
|
| 479 |
+
xcb_void_cookie_t
|
| 480 |
+
xcb_dpms_force_level_checked (xcb_connection_t *c,
|
| 481 |
+
uint16_t power_level);
|
| 482 |
+
|
| 483 |
+
/**
|
| 484 |
+
*
|
| 485 |
+
* @param c The connection
|
| 486 |
+
* @return A cookie
|
| 487 |
+
*
|
| 488 |
+
* Delivers a request to the X server.
|
| 489 |
+
*
|
| 490 |
+
*/
|
| 491 |
+
xcb_void_cookie_t
|
| 492 |
+
xcb_dpms_force_level (xcb_connection_t *c,
|
| 493 |
+
uint16_t power_level);
|
| 494 |
+
|
| 495 |
+
/**
|
| 496 |
+
*
|
| 497 |
+
* @param c The connection
|
| 498 |
+
* @return A cookie
|
| 499 |
+
*
|
| 500 |
+
* Delivers a request to the X server.
|
| 501 |
+
*
|
| 502 |
+
*/
|
| 503 |
+
xcb_dpms_info_cookie_t
|
| 504 |
+
xcb_dpms_info (xcb_connection_t *c);
|
| 505 |
+
|
| 506 |
+
/**
|
| 507 |
+
*
|
| 508 |
+
* @param c The connection
|
| 509 |
+
* @return A cookie
|
| 510 |
+
*
|
| 511 |
+
* Delivers a request to the X server.
|
| 512 |
+
*
|
| 513 |
+
* This form can be used only if the request will cause
|
| 514 |
+
* a reply to be generated. Any returned error will be
|
| 515 |
+
* placed in the event queue.
|
| 516 |
+
*/
|
| 517 |
+
xcb_dpms_info_cookie_t
|
| 518 |
+
xcb_dpms_info_unchecked (xcb_connection_t *c);
|
| 519 |
+
|
| 520 |
+
/**
|
| 521 |
+
* Return the reply
|
| 522 |
+
* @param c The connection
|
| 523 |
+
* @param cookie The cookie
|
| 524 |
+
* @param e The xcb_generic_error_t supplied
|
| 525 |
+
*
|
| 526 |
+
* Returns the reply of the request asked by
|
| 527 |
+
*
|
| 528 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 529 |
+
* xcb_dpms_info_unchecked(). is used.
|
| 530 |
+
* Otherwise, it stores the error if any.
|
| 531 |
+
*
|
| 532 |
+
* The returned value must be freed by the caller using free().
|
| 533 |
+
*/
|
| 534 |
+
xcb_dpms_info_reply_t *
|
| 535 |
+
xcb_dpms_info_reply (xcb_connection_t *c,
|
| 536 |
+
xcb_dpms_info_cookie_t cookie /**< */,
|
| 537 |
+
xcb_generic_error_t **e);
|
| 538 |
+
|
| 539 |
+
/**
|
| 540 |
+
*
|
| 541 |
+
* @param c The connection
|
| 542 |
+
* @return A cookie
|
| 543 |
+
*
|
| 544 |
+
* Delivers a request to the X server.
|
| 545 |
+
*
|
| 546 |
+
* This form can be used only if the request will not cause
|
| 547 |
+
* a reply to be generated. Any returned error will be
|
| 548 |
+
* saved for handling by xcb_request_check().
|
| 549 |
+
*/
|
| 550 |
+
xcb_void_cookie_t
|
| 551 |
+
xcb_dpms_select_input_checked (xcb_connection_t *c,
|
| 552 |
+
uint32_t event_mask);
|
| 553 |
+
|
| 554 |
+
/**
|
| 555 |
+
*
|
| 556 |
+
* @param c The connection
|
| 557 |
+
* @return A cookie
|
| 558 |
+
*
|
| 559 |
+
* Delivers a request to the X server.
|
| 560 |
+
*
|
| 561 |
+
*/
|
| 562 |
+
xcb_void_cookie_t
|
| 563 |
+
xcb_dpms_select_input (xcb_connection_t *c,
|
| 564 |
+
uint32_t event_mask);
|
| 565 |
+
|
| 566 |
+
|
| 567 |
+
#ifdef __cplusplus
|
| 568 |
+
}
|
| 569 |
+
#endif
|
| 570 |
+
|
| 571 |
+
#endif
|
| 572 |
+
|
| 573 |
+
/**
|
| 574 |
+
* @}
|
| 575 |
+
*/
|
miniconda3/envs/ladir/include/xcb/dri2.h
ADDED
|
@@ -0,0 +1,1305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from dri2.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_DRI2_API XCB DRI2 API
|
| 8 |
+
* @brief DRI2 XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __DRI2_H
|
| 13 |
+
#define __DRI2_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_DRI2_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_DRI2_MINOR_VERSION 4
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_dri2_id;
|
| 26 |
+
|
| 27 |
+
typedef enum xcb_dri2_attachment_t {
|
| 28 |
+
XCB_DRI2_ATTACHMENT_BUFFER_FRONT_LEFT = 0,
|
| 29 |
+
XCB_DRI2_ATTACHMENT_BUFFER_BACK_LEFT = 1,
|
| 30 |
+
XCB_DRI2_ATTACHMENT_BUFFER_FRONT_RIGHT = 2,
|
| 31 |
+
XCB_DRI2_ATTACHMENT_BUFFER_BACK_RIGHT = 3,
|
| 32 |
+
XCB_DRI2_ATTACHMENT_BUFFER_DEPTH = 4,
|
| 33 |
+
XCB_DRI2_ATTACHMENT_BUFFER_STENCIL = 5,
|
| 34 |
+
XCB_DRI2_ATTACHMENT_BUFFER_ACCUM = 6,
|
| 35 |
+
XCB_DRI2_ATTACHMENT_BUFFER_FAKE_FRONT_LEFT = 7,
|
| 36 |
+
XCB_DRI2_ATTACHMENT_BUFFER_FAKE_FRONT_RIGHT = 8,
|
| 37 |
+
XCB_DRI2_ATTACHMENT_BUFFER_DEPTH_STENCIL = 9,
|
| 38 |
+
XCB_DRI2_ATTACHMENT_BUFFER_HIZ = 10
|
| 39 |
+
} xcb_dri2_attachment_t;
|
| 40 |
+
|
| 41 |
+
typedef enum xcb_dri2_driver_type_t {
|
| 42 |
+
XCB_DRI2_DRIVER_TYPE_DRI = 0,
|
| 43 |
+
XCB_DRI2_DRIVER_TYPE_VDPAU = 1
|
| 44 |
+
} xcb_dri2_driver_type_t;
|
| 45 |
+
|
| 46 |
+
typedef enum xcb_dri2_event_type_t {
|
| 47 |
+
XCB_DRI2_EVENT_TYPE_EXCHANGE_COMPLETE = 1,
|
| 48 |
+
XCB_DRI2_EVENT_TYPE_BLIT_COMPLETE = 2,
|
| 49 |
+
XCB_DRI2_EVENT_TYPE_FLIP_COMPLETE = 3
|
| 50 |
+
} xcb_dri2_event_type_t;
|
| 51 |
+
|
| 52 |
+
/**
|
| 53 |
+
* @brief xcb_dri2_dri2_buffer_t
|
| 54 |
+
**/
|
| 55 |
+
typedef struct xcb_dri2_dri2_buffer_t {
|
| 56 |
+
uint32_t attachment;
|
| 57 |
+
uint32_t name;
|
| 58 |
+
uint32_t pitch;
|
| 59 |
+
uint32_t cpp;
|
| 60 |
+
uint32_t flags;
|
| 61 |
+
} xcb_dri2_dri2_buffer_t;
|
| 62 |
+
|
| 63 |
+
/**
|
| 64 |
+
* @brief xcb_dri2_dri2_buffer_iterator_t
|
| 65 |
+
**/
|
| 66 |
+
typedef struct xcb_dri2_dri2_buffer_iterator_t {
|
| 67 |
+
xcb_dri2_dri2_buffer_t *data;
|
| 68 |
+
int rem;
|
| 69 |
+
int index;
|
| 70 |
+
} xcb_dri2_dri2_buffer_iterator_t;
|
| 71 |
+
|
| 72 |
+
/**
|
| 73 |
+
* @brief xcb_dri2_attach_format_t
|
| 74 |
+
**/
|
| 75 |
+
typedef struct xcb_dri2_attach_format_t {
|
| 76 |
+
uint32_t attachment;
|
| 77 |
+
uint32_t format;
|
| 78 |
+
} xcb_dri2_attach_format_t;
|
| 79 |
+
|
| 80 |
+
/**
|
| 81 |
+
* @brief xcb_dri2_attach_format_iterator_t
|
| 82 |
+
**/
|
| 83 |
+
typedef struct xcb_dri2_attach_format_iterator_t {
|
| 84 |
+
xcb_dri2_attach_format_t *data;
|
| 85 |
+
int rem;
|
| 86 |
+
int index;
|
| 87 |
+
} xcb_dri2_attach_format_iterator_t;
|
| 88 |
+
|
| 89 |
+
/**
|
| 90 |
+
* @brief xcb_dri2_query_version_cookie_t
|
| 91 |
+
**/
|
| 92 |
+
typedef struct xcb_dri2_query_version_cookie_t {
|
| 93 |
+
unsigned int sequence;
|
| 94 |
+
} xcb_dri2_query_version_cookie_t;
|
| 95 |
+
|
| 96 |
+
/** Opcode for xcb_dri2_query_version. */
|
| 97 |
+
#define XCB_DRI2_QUERY_VERSION 0
|
| 98 |
+
|
| 99 |
+
/**
|
| 100 |
+
* @brief xcb_dri2_query_version_request_t
|
| 101 |
+
**/
|
| 102 |
+
typedef struct xcb_dri2_query_version_request_t {
|
| 103 |
+
uint8_t major_opcode;
|
| 104 |
+
uint8_t minor_opcode;
|
| 105 |
+
uint16_t length;
|
| 106 |
+
uint32_t major_version;
|
| 107 |
+
uint32_t minor_version;
|
| 108 |
+
} xcb_dri2_query_version_request_t;
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* @brief xcb_dri2_query_version_reply_t
|
| 112 |
+
**/
|
| 113 |
+
typedef struct xcb_dri2_query_version_reply_t {
|
| 114 |
+
uint8_t response_type;
|
| 115 |
+
uint8_t pad0;
|
| 116 |
+
uint16_t sequence;
|
| 117 |
+
uint32_t length;
|
| 118 |
+
uint32_t major_version;
|
| 119 |
+
uint32_t minor_version;
|
| 120 |
+
} xcb_dri2_query_version_reply_t;
|
| 121 |
+
|
| 122 |
+
/**
|
| 123 |
+
* @brief xcb_dri2_connect_cookie_t
|
| 124 |
+
**/
|
| 125 |
+
typedef struct xcb_dri2_connect_cookie_t {
|
| 126 |
+
unsigned int sequence;
|
| 127 |
+
} xcb_dri2_connect_cookie_t;
|
| 128 |
+
|
| 129 |
+
/** Opcode for xcb_dri2_connect. */
|
| 130 |
+
#define XCB_DRI2_CONNECT 1
|
| 131 |
+
|
| 132 |
+
/**
|
| 133 |
+
* @brief xcb_dri2_connect_request_t
|
| 134 |
+
**/
|
| 135 |
+
typedef struct xcb_dri2_connect_request_t {
|
| 136 |
+
uint8_t major_opcode;
|
| 137 |
+
uint8_t minor_opcode;
|
| 138 |
+
uint16_t length;
|
| 139 |
+
xcb_window_t window;
|
| 140 |
+
uint32_t driver_type;
|
| 141 |
+
} xcb_dri2_connect_request_t;
|
| 142 |
+
|
| 143 |
+
/**
|
| 144 |
+
* @brief xcb_dri2_connect_reply_t
|
| 145 |
+
**/
|
| 146 |
+
typedef struct xcb_dri2_connect_reply_t {
|
| 147 |
+
uint8_t response_type;
|
| 148 |
+
uint8_t pad0;
|
| 149 |
+
uint16_t sequence;
|
| 150 |
+
uint32_t length;
|
| 151 |
+
uint32_t driver_name_length;
|
| 152 |
+
uint32_t device_name_length;
|
| 153 |
+
uint8_t pad1[16];
|
| 154 |
+
} xcb_dri2_connect_reply_t;
|
| 155 |
+
|
| 156 |
+
/**
|
| 157 |
+
* @brief xcb_dri2_authenticate_cookie_t
|
| 158 |
+
**/
|
| 159 |
+
typedef struct xcb_dri2_authenticate_cookie_t {
|
| 160 |
+
unsigned int sequence;
|
| 161 |
+
} xcb_dri2_authenticate_cookie_t;
|
| 162 |
+
|
| 163 |
+
/** Opcode for xcb_dri2_authenticate. */
|
| 164 |
+
#define XCB_DRI2_AUTHENTICATE 2
|
| 165 |
+
|
| 166 |
+
/**
|
| 167 |
+
* @brief xcb_dri2_authenticate_request_t
|
| 168 |
+
**/
|
| 169 |
+
typedef struct xcb_dri2_authenticate_request_t {
|
| 170 |
+
uint8_t major_opcode;
|
| 171 |
+
uint8_t minor_opcode;
|
| 172 |
+
uint16_t length;
|
| 173 |
+
xcb_window_t window;
|
| 174 |
+
uint32_t magic;
|
| 175 |
+
} xcb_dri2_authenticate_request_t;
|
| 176 |
+
|
| 177 |
+
/**
|
| 178 |
+
* @brief xcb_dri2_authenticate_reply_t
|
| 179 |
+
**/
|
| 180 |
+
typedef struct xcb_dri2_authenticate_reply_t {
|
| 181 |
+
uint8_t response_type;
|
| 182 |
+
uint8_t pad0;
|
| 183 |
+
uint16_t sequence;
|
| 184 |
+
uint32_t length;
|
| 185 |
+
uint32_t authenticated;
|
| 186 |
+
} xcb_dri2_authenticate_reply_t;
|
| 187 |
+
|
| 188 |
+
/** Opcode for xcb_dri2_create_drawable. */
|
| 189 |
+
#define XCB_DRI2_CREATE_DRAWABLE 3
|
| 190 |
+
|
| 191 |
+
/**
|
| 192 |
+
* @brief xcb_dri2_create_drawable_request_t
|
| 193 |
+
**/
|
| 194 |
+
typedef struct xcb_dri2_create_drawable_request_t {
|
| 195 |
+
uint8_t major_opcode;
|
| 196 |
+
uint8_t minor_opcode;
|
| 197 |
+
uint16_t length;
|
| 198 |
+
xcb_drawable_t drawable;
|
| 199 |
+
} xcb_dri2_create_drawable_request_t;
|
| 200 |
+
|
| 201 |
+
/** Opcode for xcb_dri2_destroy_drawable. */
|
| 202 |
+
#define XCB_DRI2_DESTROY_DRAWABLE 4
|
| 203 |
+
|
| 204 |
+
/**
|
| 205 |
+
* @brief xcb_dri2_destroy_drawable_request_t
|
| 206 |
+
**/
|
| 207 |
+
typedef struct xcb_dri2_destroy_drawable_request_t {
|
| 208 |
+
uint8_t major_opcode;
|
| 209 |
+
uint8_t minor_opcode;
|
| 210 |
+
uint16_t length;
|
| 211 |
+
xcb_drawable_t drawable;
|
| 212 |
+
} xcb_dri2_destroy_drawable_request_t;
|
| 213 |
+
|
| 214 |
+
/**
|
| 215 |
+
* @brief xcb_dri2_get_buffers_cookie_t
|
| 216 |
+
**/
|
| 217 |
+
typedef struct xcb_dri2_get_buffers_cookie_t {
|
| 218 |
+
unsigned int sequence;
|
| 219 |
+
} xcb_dri2_get_buffers_cookie_t;
|
| 220 |
+
|
| 221 |
+
/** Opcode for xcb_dri2_get_buffers. */
|
| 222 |
+
#define XCB_DRI2_GET_BUFFERS 5
|
| 223 |
+
|
| 224 |
+
/**
|
| 225 |
+
* @brief xcb_dri2_get_buffers_request_t
|
| 226 |
+
**/
|
| 227 |
+
typedef struct xcb_dri2_get_buffers_request_t {
|
| 228 |
+
uint8_t major_opcode;
|
| 229 |
+
uint8_t minor_opcode;
|
| 230 |
+
uint16_t length;
|
| 231 |
+
xcb_drawable_t drawable;
|
| 232 |
+
uint32_t count;
|
| 233 |
+
} xcb_dri2_get_buffers_request_t;
|
| 234 |
+
|
| 235 |
+
/**
|
| 236 |
+
* @brief xcb_dri2_get_buffers_reply_t
|
| 237 |
+
**/
|
| 238 |
+
typedef struct xcb_dri2_get_buffers_reply_t {
|
| 239 |
+
uint8_t response_type;
|
| 240 |
+
uint8_t pad0;
|
| 241 |
+
uint16_t sequence;
|
| 242 |
+
uint32_t length;
|
| 243 |
+
uint32_t width;
|
| 244 |
+
uint32_t height;
|
| 245 |
+
uint32_t count;
|
| 246 |
+
uint8_t pad1[12];
|
| 247 |
+
} xcb_dri2_get_buffers_reply_t;
|
| 248 |
+
|
| 249 |
+
/**
|
| 250 |
+
* @brief xcb_dri2_copy_region_cookie_t
|
| 251 |
+
**/
|
| 252 |
+
typedef struct xcb_dri2_copy_region_cookie_t {
|
| 253 |
+
unsigned int sequence;
|
| 254 |
+
} xcb_dri2_copy_region_cookie_t;
|
| 255 |
+
|
| 256 |
+
/** Opcode for xcb_dri2_copy_region. */
|
| 257 |
+
#define XCB_DRI2_COPY_REGION 6
|
| 258 |
+
|
| 259 |
+
/**
|
| 260 |
+
* @brief xcb_dri2_copy_region_request_t
|
| 261 |
+
**/
|
| 262 |
+
typedef struct xcb_dri2_copy_region_request_t {
|
| 263 |
+
uint8_t major_opcode;
|
| 264 |
+
uint8_t minor_opcode;
|
| 265 |
+
uint16_t length;
|
| 266 |
+
xcb_drawable_t drawable;
|
| 267 |
+
uint32_t region;
|
| 268 |
+
uint32_t dest;
|
| 269 |
+
uint32_t src;
|
| 270 |
+
} xcb_dri2_copy_region_request_t;
|
| 271 |
+
|
| 272 |
+
/**
|
| 273 |
+
* @brief xcb_dri2_copy_region_reply_t
|
| 274 |
+
**/
|
| 275 |
+
typedef struct xcb_dri2_copy_region_reply_t {
|
| 276 |
+
uint8_t response_type;
|
| 277 |
+
uint8_t pad0;
|
| 278 |
+
uint16_t sequence;
|
| 279 |
+
uint32_t length;
|
| 280 |
+
} xcb_dri2_copy_region_reply_t;
|
| 281 |
+
|
| 282 |
+
/**
|
| 283 |
+
* @brief xcb_dri2_get_buffers_with_format_cookie_t
|
| 284 |
+
**/
|
| 285 |
+
typedef struct xcb_dri2_get_buffers_with_format_cookie_t {
|
| 286 |
+
unsigned int sequence;
|
| 287 |
+
} xcb_dri2_get_buffers_with_format_cookie_t;
|
| 288 |
+
|
| 289 |
+
/** Opcode for xcb_dri2_get_buffers_with_format. */
|
| 290 |
+
#define XCB_DRI2_GET_BUFFERS_WITH_FORMAT 7
|
| 291 |
+
|
| 292 |
+
/**
|
| 293 |
+
* @brief xcb_dri2_get_buffers_with_format_request_t
|
| 294 |
+
**/
|
| 295 |
+
typedef struct xcb_dri2_get_buffers_with_format_request_t {
|
| 296 |
+
uint8_t major_opcode;
|
| 297 |
+
uint8_t minor_opcode;
|
| 298 |
+
uint16_t length;
|
| 299 |
+
xcb_drawable_t drawable;
|
| 300 |
+
uint32_t count;
|
| 301 |
+
} xcb_dri2_get_buffers_with_format_request_t;
|
| 302 |
+
|
| 303 |
+
/**
|
| 304 |
+
* @brief xcb_dri2_get_buffers_with_format_reply_t
|
| 305 |
+
**/
|
| 306 |
+
typedef struct xcb_dri2_get_buffers_with_format_reply_t {
|
| 307 |
+
uint8_t response_type;
|
| 308 |
+
uint8_t pad0;
|
| 309 |
+
uint16_t sequence;
|
| 310 |
+
uint32_t length;
|
| 311 |
+
uint32_t width;
|
| 312 |
+
uint32_t height;
|
| 313 |
+
uint32_t count;
|
| 314 |
+
uint8_t pad1[12];
|
| 315 |
+
} xcb_dri2_get_buffers_with_format_reply_t;
|
| 316 |
+
|
| 317 |
+
/**
|
| 318 |
+
* @brief xcb_dri2_swap_buffers_cookie_t
|
| 319 |
+
**/
|
| 320 |
+
typedef struct xcb_dri2_swap_buffers_cookie_t {
|
| 321 |
+
unsigned int sequence;
|
| 322 |
+
} xcb_dri2_swap_buffers_cookie_t;
|
| 323 |
+
|
| 324 |
+
/** Opcode for xcb_dri2_swap_buffers. */
|
| 325 |
+
#define XCB_DRI2_SWAP_BUFFERS 8
|
| 326 |
+
|
| 327 |
+
/**
|
| 328 |
+
* @brief xcb_dri2_swap_buffers_request_t
|
| 329 |
+
**/
|
| 330 |
+
typedef struct xcb_dri2_swap_buffers_request_t {
|
| 331 |
+
uint8_t major_opcode;
|
| 332 |
+
uint8_t minor_opcode;
|
| 333 |
+
uint16_t length;
|
| 334 |
+
xcb_drawable_t drawable;
|
| 335 |
+
uint32_t target_msc_hi;
|
| 336 |
+
uint32_t target_msc_lo;
|
| 337 |
+
uint32_t divisor_hi;
|
| 338 |
+
uint32_t divisor_lo;
|
| 339 |
+
uint32_t remainder_hi;
|
| 340 |
+
uint32_t remainder_lo;
|
| 341 |
+
} xcb_dri2_swap_buffers_request_t;
|
| 342 |
+
|
| 343 |
+
/**
|
| 344 |
+
* @brief xcb_dri2_swap_buffers_reply_t
|
| 345 |
+
**/
|
| 346 |
+
typedef struct xcb_dri2_swap_buffers_reply_t {
|
| 347 |
+
uint8_t response_type;
|
| 348 |
+
uint8_t pad0;
|
| 349 |
+
uint16_t sequence;
|
| 350 |
+
uint32_t length;
|
| 351 |
+
uint32_t swap_hi;
|
| 352 |
+
uint32_t swap_lo;
|
| 353 |
+
} xcb_dri2_swap_buffers_reply_t;
|
| 354 |
+
|
| 355 |
+
/**
|
| 356 |
+
* @brief xcb_dri2_get_msc_cookie_t
|
| 357 |
+
**/
|
| 358 |
+
typedef struct xcb_dri2_get_msc_cookie_t {
|
| 359 |
+
unsigned int sequence;
|
| 360 |
+
} xcb_dri2_get_msc_cookie_t;
|
| 361 |
+
|
| 362 |
+
/** Opcode for xcb_dri2_get_msc. */
|
| 363 |
+
#define XCB_DRI2_GET_MSC 9
|
| 364 |
+
|
| 365 |
+
/**
|
| 366 |
+
* @brief xcb_dri2_get_msc_request_t
|
| 367 |
+
**/
|
| 368 |
+
typedef struct xcb_dri2_get_msc_request_t {
|
| 369 |
+
uint8_t major_opcode;
|
| 370 |
+
uint8_t minor_opcode;
|
| 371 |
+
uint16_t length;
|
| 372 |
+
xcb_drawable_t drawable;
|
| 373 |
+
} xcb_dri2_get_msc_request_t;
|
| 374 |
+
|
| 375 |
+
/**
|
| 376 |
+
* @brief xcb_dri2_get_msc_reply_t
|
| 377 |
+
**/
|
| 378 |
+
typedef struct xcb_dri2_get_msc_reply_t {
|
| 379 |
+
uint8_t response_type;
|
| 380 |
+
uint8_t pad0;
|
| 381 |
+
uint16_t sequence;
|
| 382 |
+
uint32_t length;
|
| 383 |
+
uint32_t ust_hi;
|
| 384 |
+
uint32_t ust_lo;
|
| 385 |
+
uint32_t msc_hi;
|
| 386 |
+
uint32_t msc_lo;
|
| 387 |
+
uint32_t sbc_hi;
|
| 388 |
+
uint32_t sbc_lo;
|
| 389 |
+
} xcb_dri2_get_msc_reply_t;
|
| 390 |
+
|
| 391 |
+
/**
|
| 392 |
+
* @brief xcb_dri2_wait_msc_cookie_t
|
| 393 |
+
**/
|
| 394 |
+
typedef struct xcb_dri2_wait_msc_cookie_t {
|
| 395 |
+
unsigned int sequence;
|
| 396 |
+
} xcb_dri2_wait_msc_cookie_t;
|
| 397 |
+
|
| 398 |
+
/** Opcode for xcb_dri2_wait_msc. */
|
| 399 |
+
#define XCB_DRI2_WAIT_MSC 10
|
| 400 |
+
|
| 401 |
+
/**
|
| 402 |
+
* @brief xcb_dri2_wait_msc_request_t
|
| 403 |
+
**/
|
| 404 |
+
typedef struct xcb_dri2_wait_msc_request_t {
|
| 405 |
+
uint8_t major_opcode;
|
| 406 |
+
uint8_t minor_opcode;
|
| 407 |
+
uint16_t length;
|
| 408 |
+
xcb_drawable_t drawable;
|
| 409 |
+
uint32_t target_msc_hi;
|
| 410 |
+
uint32_t target_msc_lo;
|
| 411 |
+
uint32_t divisor_hi;
|
| 412 |
+
uint32_t divisor_lo;
|
| 413 |
+
uint32_t remainder_hi;
|
| 414 |
+
uint32_t remainder_lo;
|
| 415 |
+
} xcb_dri2_wait_msc_request_t;
|
| 416 |
+
|
| 417 |
+
/**
|
| 418 |
+
* @brief xcb_dri2_wait_msc_reply_t
|
| 419 |
+
**/
|
| 420 |
+
typedef struct xcb_dri2_wait_msc_reply_t {
|
| 421 |
+
uint8_t response_type;
|
| 422 |
+
uint8_t pad0;
|
| 423 |
+
uint16_t sequence;
|
| 424 |
+
uint32_t length;
|
| 425 |
+
uint32_t ust_hi;
|
| 426 |
+
uint32_t ust_lo;
|
| 427 |
+
uint32_t msc_hi;
|
| 428 |
+
uint32_t msc_lo;
|
| 429 |
+
uint32_t sbc_hi;
|
| 430 |
+
uint32_t sbc_lo;
|
| 431 |
+
} xcb_dri2_wait_msc_reply_t;
|
| 432 |
+
|
| 433 |
+
/**
|
| 434 |
+
* @brief xcb_dri2_wait_sbc_cookie_t
|
| 435 |
+
**/
|
| 436 |
+
typedef struct xcb_dri2_wait_sbc_cookie_t {
|
| 437 |
+
unsigned int sequence;
|
| 438 |
+
} xcb_dri2_wait_sbc_cookie_t;
|
| 439 |
+
|
| 440 |
+
/** Opcode for xcb_dri2_wait_sbc. */
|
| 441 |
+
#define XCB_DRI2_WAIT_SBC 11
|
| 442 |
+
|
| 443 |
+
/**
|
| 444 |
+
* @brief xcb_dri2_wait_sbc_request_t
|
| 445 |
+
**/
|
| 446 |
+
typedef struct xcb_dri2_wait_sbc_request_t {
|
| 447 |
+
uint8_t major_opcode;
|
| 448 |
+
uint8_t minor_opcode;
|
| 449 |
+
uint16_t length;
|
| 450 |
+
xcb_drawable_t drawable;
|
| 451 |
+
uint32_t target_sbc_hi;
|
| 452 |
+
uint32_t target_sbc_lo;
|
| 453 |
+
} xcb_dri2_wait_sbc_request_t;
|
| 454 |
+
|
| 455 |
+
/**
|
| 456 |
+
* @brief xcb_dri2_wait_sbc_reply_t
|
| 457 |
+
**/
|
| 458 |
+
typedef struct xcb_dri2_wait_sbc_reply_t {
|
| 459 |
+
uint8_t response_type;
|
| 460 |
+
uint8_t pad0;
|
| 461 |
+
uint16_t sequence;
|
| 462 |
+
uint32_t length;
|
| 463 |
+
uint32_t ust_hi;
|
| 464 |
+
uint32_t ust_lo;
|
| 465 |
+
uint32_t msc_hi;
|
| 466 |
+
uint32_t msc_lo;
|
| 467 |
+
uint32_t sbc_hi;
|
| 468 |
+
uint32_t sbc_lo;
|
| 469 |
+
} xcb_dri2_wait_sbc_reply_t;
|
| 470 |
+
|
| 471 |
+
/** Opcode for xcb_dri2_swap_interval. */
|
| 472 |
+
#define XCB_DRI2_SWAP_INTERVAL 12
|
| 473 |
+
|
| 474 |
+
/**
|
| 475 |
+
* @brief xcb_dri2_swap_interval_request_t
|
| 476 |
+
**/
|
| 477 |
+
typedef struct xcb_dri2_swap_interval_request_t {
|
| 478 |
+
uint8_t major_opcode;
|
| 479 |
+
uint8_t minor_opcode;
|
| 480 |
+
uint16_t length;
|
| 481 |
+
xcb_drawable_t drawable;
|
| 482 |
+
uint32_t interval;
|
| 483 |
+
} xcb_dri2_swap_interval_request_t;
|
| 484 |
+
|
| 485 |
+
/**
|
| 486 |
+
* @brief xcb_dri2_get_param_cookie_t
|
| 487 |
+
**/
|
| 488 |
+
typedef struct xcb_dri2_get_param_cookie_t {
|
| 489 |
+
unsigned int sequence;
|
| 490 |
+
} xcb_dri2_get_param_cookie_t;
|
| 491 |
+
|
| 492 |
+
/** Opcode for xcb_dri2_get_param. */
|
| 493 |
+
#define XCB_DRI2_GET_PARAM 13
|
| 494 |
+
|
| 495 |
+
/**
|
| 496 |
+
* @brief xcb_dri2_get_param_request_t
|
| 497 |
+
**/
|
| 498 |
+
typedef struct xcb_dri2_get_param_request_t {
|
| 499 |
+
uint8_t major_opcode;
|
| 500 |
+
uint8_t minor_opcode;
|
| 501 |
+
uint16_t length;
|
| 502 |
+
xcb_drawable_t drawable;
|
| 503 |
+
uint32_t param;
|
| 504 |
+
} xcb_dri2_get_param_request_t;
|
| 505 |
+
|
| 506 |
+
/**
|
| 507 |
+
* @brief xcb_dri2_get_param_reply_t
|
| 508 |
+
**/
|
| 509 |
+
typedef struct xcb_dri2_get_param_reply_t {
|
| 510 |
+
uint8_t response_type;
|
| 511 |
+
uint8_t is_param_recognized;
|
| 512 |
+
uint16_t sequence;
|
| 513 |
+
uint32_t length;
|
| 514 |
+
uint32_t value_hi;
|
| 515 |
+
uint32_t value_lo;
|
| 516 |
+
} xcb_dri2_get_param_reply_t;
|
| 517 |
+
|
| 518 |
+
/** Opcode for xcb_dri2_buffer_swap_complete. */
|
| 519 |
+
#define XCB_DRI2_BUFFER_SWAP_COMPLETE 0
|
| 520 |
+
|
| 521 |
+
/**
|
| 522 |
+
* @brief xcb_dri2_buffer_swap_complete_event_t
|
| 523 |
+
**/
|
| 524 |
+
typedef struct xcb_dri2_buffer_swap_complete_event_t {
|
| 525 |
+
uint8_t response_type;
|
| 526 |
+
uint8_t pad0;
|
| 527 |
+
uint16_t sequence;
|
| 528 |
+
uint16_t event_type;
|
| 529 |
+
uint8_t pad1[2];
|
| 530 |
+
xcb_drawable_t drawable;
|
| 531 |
+
uint32_t ust_hi;
|
| 532 |
+
uint32_t ust_lo;
|
| 533 |
+
uint32_t msc_hi;
|
| 534 |
+
uint32_t msc_lo;
|
| 535 |
+
uint32_t sbc;
|
| 536 |
+
} xcb_dri2_buffer_swap_complete_event_t;
|
| 537 |
+
|
| 538 |
+
/** Opcode for xcb_dri2_invalidate_buffers. */
|
| 539 |
+
#define XCB_DRI2_INVALIDATE_BUFFERS 1
|
| 540 |
+
|
| 541 |
+
/**
|
| 542 |
+
* @brief xcb_dri2_invalidate_buffers_event_t
|
| 543 |
+
**/
|
| 544 |
+
typedef struct xcb_dri2_invalidate_buffers_event_t {
|
| 545 |
+
uint8_t response_type;
|
| 546 |
+
uint8_t pad0;
|
| 547 |
+
uint16_t sequence;
|
| 548 |
+
xcb_drawable_t drawable;
|
| 549 |
+
} xcb_dri2_invalidate_buffers_event_t;
|
| 550 |
+
|
| 551 |
+
/**
|
| 552 |
+
* Get the next element of the iterator
|
| 553 |
+
* @param i Pointer to a xcb_dri2_dri2_buffer_iterator_t
|
| 554 |
+
*
|
| 555 |
+
* Get the next element in the iterator. The member rem is
|
| 556 |
+
* decreased by one. The member data points to the next
|
| 557 |
+
* element. The member index is increased by sizeof(xcb_dri2_dri2_buffer_t)
|
| 558 |
+
*/
|
| 559 |
+
void
|
| 560 |
+
xcb_dri2_dri2_buffer_next (xcb_dri2_dri2_buffer_iterator_t *i);
|
| 561 |
+
|
| 562 |
+
/**
|
| 563 |
+
* Return the iterator pointing to the last element
|
| 564 |
+
* @param i An xcb_dri2_dri2_buffer_iterator_t
|
| 565 |
+
* @return The iterator pointing to the last element
|
| 566 |
+
*
|
| 567 |
+
* Set the current element in the iterator to the last element.
|
| 568 |
+
* The member rem is set to 0. The member data points to the
|
| 569 |
+
* last element.
|
| 570 |
+
*/
|
| 571 |
+
xcb_generic_iterator_t
|
| 572 |
+
xcb_dri2_dri2_buffer_end (xcb_dri2_dri2_buffer_iterator_t i);
|
| 573 |
+
|
| 574 |
+
/**
|
| 575 |
+
* Get the next element of the iterator
|
| 576 |
+
* @param i Pointer to a xcb_dri2_attach_format_iterator_t
|
| 577 |
+
*
|
| 578 |
+
* Get the next element in the iterator. The member rem is
|
| 579 |
+
* decreased by one. The member data points to the next
|
| 580 |
+
* element. The member index is increased by sizeof(xcb_dri2_attach_format_t)
|
| 581 |
+
*/
|
| 582 |
+
void
|
| 583 |
+
xcb_dri2_attach_format_next (xcb_dri2_attach_format_iterator_t *i);
|
| 584 |
+
|
| 585 |
+
/**
|
| 586 |
+
* Return the iterator pointing to the last element
|
| 587 |
+
* @param i An xcb_dri2_attach_format_iterator_t
|
| 588 |
+
* @return The iterator pointing to the last element
|
| 589 |
+
*
|
| 590 |
+
* Set the current element in the iterator to the last element.
|
| 591 |
+
* The member rem is set to 0. The member data points to the
|
| 592 |
+
* last element.
|
| 593 |
+
*/
|
| 594 |
+
xcb_generic_iterator_t
|
| 595 |
+
xcb_dri2_attach_format_end (xcb_dri2_attach_format_iterator_t i);
|
| 596 |
+
|
| 597 |
+
/**
|
| 598 |
+
*
|
| 599 |
+
* @param c The connection
|
| 600 |
+
* @return A cookie
|
| 601 |
+
*
|
| 602 |
+
* Delivers a request to the X server.
|
| 603 |
+
*
|
| 604 |
+
*/
|
| 605 |
+
xcb_dri2_query_version_cookie_t
|
| 606 |
+
xcb_dri2_query_version (xcb_connection_t *c,
|
| 607 |
+
uint32_t major_version,
|
| 608 |
+
uint32_t minor_version);
|
| 609 |
+
|
| 610 |
+
/**
|
| 611 |
+
*
|
| 612 |
+
* @param c The connection
|
| 613 |
+
* @return A cookie
|
| 614 |
+
*
|
| 615 |
+
* Delivers a request to the X server.
|
| 616 |
+
*
|
| 617 |
+
* This form can be used only if the request will cause
|
| 618 |
+
* a reply to be generated. Any returned error will be
|
| 619 |
+
* placed in the event queue.
|
| 620 |
+
*/
|
| 621 |
+
xcb_dri2_query_version_cookie_t
|
| 622 |
+
xcb_dri2_query_version_unchecked (xcb_connection_t *c,
|
| 623 |
+
uint32_t major_version,
|
| 624 |
+
uint32_t minor_version);
|
| 625 |
+
|
| 626 |
+
/**
|
| 627 |
+
* Return the reply
|
| 628 |
+
* @param c The connection
|
| 629 |
+
* @param cookie The cookie
|
| 630 |
+
* @param e The xcb_generic_error_t supplied
|
| 631 |
+
*
|
| 632 |
+
* Returns the reply of the request asked by
|
| 633 |
+
*
|
| 634 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 635 |
+
* xcb_dri2_query_version_unchecked(). is used.
|
| 636 |
+
* Otherwise, it stores the error if any.
|
| 637 |
+
*
|
| 638 |
+
* The returned value must be freed by the caller using free().
|
| 639 |
+
*/
|
| 640 |
+
xcb_dri2_query_version_reply_t *
|
| 641 |
+
xcb_dri2_query_version_reply (xcb_connection_t *c,
|
| 642 |
+
xcb_dri2_query_version_cookie_t cookie /**< */,
|
| 643 |
+
xcb_generic_error_t **e);
|
| 644 |
+
|
| 645 |
+
int
|
| 646 |
+
xcb_dri2_connect_sizeof (const void *_buffer);
|
| 647 |
+
|
| 648 |
+
/**
|
| 649 |
+
*
|
| 650 |
+
* @param c The connection
|
| 651 |
+
* @return A cookie
|
| 652 |
+
*
|
| 653 |
+
* Delivers a request to the X server.
|
| 654 |
+
*
|
| 655 |
+
*/
|
| 656 |
+
xcb_dri2_connect_cookie_t
|
| 657 |
+
xcb_dri2_connect (xcb_connection_t *c,
|
| 658 |
+
xcb_window_t window,
|
| 659 |
+
uint32_t driver_type);
|
| 660 |
+
|
| 661 |
+
/**
|
| 662 |
+
*
|
| 663 |
+
* @param c The connection
|
| 664 |
+
* @return A cookie
|
| 665 |
+
*
|
| 666 |
+
* Delivers a request to the X server.
|
| 667 |
+
*
|
| 668 |
+
* This form can be used only if the request will cause
|
| 669 |
+
* a reply to be generated. Any returned error will be
|
| 670 |
+
* placed in the event queue.
|
| 671 |
+
*/
|
| 672 |
+
xcb_dri2_connect_cookie_t
|
| 673 |
+
xcb_dri2_connect_unchecked (xcb_connection_t *c,
|
| 674 |
+
xcb_window_t window,
|
| 675 |
+
uint32_t driver_type);
|
| 676 |
+
|
| 677 |
+
char *
|
| 678 |
+
xcb_dri2_connect_driver_name (const xcb_dri2_connect_reply_t *R);
|
| 679 |
+
|
| 680 |
+
int
|
| 681 |
+
xcb_dri2_connect_driver_name_length (const xcb_dri2_connect_reply_t *R);
|
| 682 |
+
|
| 683 |
+
xcb_generic_iterator_t
|
| 684 |
+
xcb_dri2_connect_driver_name_end (const xcb_dri2_connect_reply_t *R);
|
| 685 |
+
|
| 686 |
+
void *
|
| 687 |
+
xcb_dri2_connect_alignment_pad (const xcb_dri2_connect_reply_t *R);
|
| 688 |
+
|
| 689 |
+
int
|
| 690 |
+
xcb_dri2_connect_alignment_pad_length (const xcb_dri2_connect_reply_t *R);
|
| 691 |
+
|
| 692 |
+
xcb_generic_iterator_t
|
| 693 |
+
xcb_dri2_connect_alignment_pad_end (const xcb_dri2_connect_reply_t *R);
|
| 694 |
+
|
| 695 |
+
char *
|
| 696 |
+
xcb_dri2_connect_device_name (const xcb_dri2_connect_reply_t *R);
|
| 697 |
+
|
| 698 |
+
int
|
| 699 |
+
xcb_dri2_connect_device_name_length (const xcb_dri2_connect_reply_t *R);
|
| 700 |
+
|
| 701 |
+
xcb_generic_iterator_t
|
| 702 |
+
xcb_dri2_connect_device_name_end (const xcb_dri2_connect_reply_t *R);
|
| 703 |
+
|
| 704 |
+
/**
|
| 705 |
+
* Return the reply
|
| 706 |
+
* @param c The connection
|
| 707 |
+
* @param cookie The cookie
|
| 708 |
+
* @param e The xcb_generic_error_t supplied
|
| 709 |
+
*
|
| 710 |
+
* Returns the reply of the request asked by
|
| 711 |
+
*
|
| 712 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 713 |
+
* xcb_dri2_connect_unchecked(). is used.
|
| 714 |
+
* Otherwise, it stores the error if any.
|
| 715 |
+
*
|
| 716 |
+
* The returned value must be freed by the caller using free().
|
| 717 |
+
*/
|
| 718 |
+
xcb_dri2_connect_reply_t *
|
| 719 |
+
xcb_dri2_connect_reply (xcb_connection_t *c,
|
| 720 |
+
xcb_dri2_connect_cookie_t cookie /**< */,
|
| 721 |
+
xcb_generic_error_t **e);
|
| 722 |
+
|
| 723 |
+
/**
|
| 724 |
+
*
|
| 725 |
+
* @param c The connection
|
| 726 |
+
* @return A cookie
|
| 727 |
+
*
|
| 728 |
+
* Delivers a request to the X server.
|
| 729 |
+
*
|
| 730 |
+
*/
|
| 731 |
+
xcb_dri2_authenticate_cookie_t
|
| 732 |
+
xcb_dri2_authenticate (xcb_connection_t *c,
|
| 733 |
+
xcb_window_t window,
|
| 734 |
+
uint32_t magic);
|
| 735 |
+
|
| 736 |
+
/**
|
| 737 |
+
*
|
| 738 |
+
* @param c The connection
|
| 739 |
+
* @return A cookie
|
| 740 |
+
*
|
| 741 |
+
* Delivers a request to the X server.
|
| 742 |
+
*
|
| 743 |
+
* This form can be used only if the request will cause
|
| 744 |
+
* a reply to be generated. Any returned error will be
|
| 745 |
+
* placed in the event queue.
|
| 746 |
+
*/
|
| 747 |
+
xcb_dri2_authenticate_cookie_t
|
| 748 |
+
xcb_dri2_authenticate_unchecked (xcb_connection_t *c,
|
| 749 |
+
xcb_window_t window,
|
| 750 |
+
uint32_t magic);
|
| 751 |
+
|
| 752 |
+
/**
|
| 753 |
+
* Return the reply
|
| 754 |
+
* @param c The connection
|
| 755 |
+
* @param cookie The cookie
|
| 756 |
+
* @param e The xcb_generic_error_t supplied
|
| 757 |
+
*
|
| 758 |
+
* Returns the reply of the request asked by
|
| 759 |
+
*
|
| 760 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 761 |
+
* xcb_dri2_authenticate_unchecked(). is used.
|
| 762 |
+
* Otherwise, it stores the error if any.
|
| 763 |
+
*
|
| 764 |
+
* The returned value must be freed by the caller using free().
|
| 765 |
+
*/
|
| 766 |
+
xcb_dri2_authenticate_reply_t *
|
| 767 |
+
xcb_dri2_authenticate_reply (xcb_connection_t *c,
|
| 768 |
+
xcb_dri2_authenticate_cookie_t cookie /**< */,
|
| 769 |
+
xcb_generic_error_t **e);
|
| 770 |
+
|
| 771 |
+
/**
|
| 772 |
+
*
|
| 773 |
+
* @param c The connection
|
| 774 |
+
* @return A cookie
|
| 775 |
+
*
|
| 776 |
+
* Delivers a request to the X server.
|
| 777 |
+
*
|
| 778 |
+
* This form can be used only if the request will not cause
|
| 779 |
+
* a reply to be generated. Any returned error will be
|
| 780 |
+
* saved for handling by xcb_request_check().
|
| 781 |
+
*/
|
| 782 |
+
xcb_void_cookie_t
|
| 783 |
+
xcb_dri2_create_drawable_checked (xcb_connection_t *c,
|
| 784 |
+
xcb_drawable_t drawable);
|
| 785 |
+
|
| 786 |
+
/**
|
| 787 |
+
*
|
| 788 |
+
* @param c The connection
|
| 789 |
+
* @return A cookie
|
| 790 |
+
*
|
| 791 |
+
* Delivers a request to the X server.
|
| 792 |
+
*
|
| 793 |
+
*/
|
| 794 |
+
xcb_void_cookie_t
|
| 795 |
+
xcb_dri2_create_drawable (xcb_connection_t *c,
|
| 796 |
+
xcb_drawable_t drawable);
|
| 797 |
+
|
| 798 |
+
/**
|
| 799 |
+
*
|
| 800 |
+
* @param c The connection
|
| 801 |
+
* @return A cookie
|
| 802 |
+
*
|
| 803 |
+
* Delivers a request to the X server.
|
| 804 |
+
*
|
| 805 |
+
* This form can be used only if the request will not cause
|
| 806 |
+
* a reply to be generated. Any returned error will be
|
| 807 |
+
* saved for handling by xcb_request_check().
|
| 808 |
+
*/
|
| 809 |
+
xcb_void_cookie_t
|
| 810 |
+
xcb_dri2_destroy_drawable_checked (xcb_connection_t *c,
|
| 811 |
+
xcb_drawable_t drawable);
|
| 812 |
+
|
| 813 |
+
/**
|
| 814 |
+
*
|
| 815 |
+
* @param c The connection
|
| 816 |
+
* @return A cookie
|
| 817 |
+
*
|
| 818 |
+
* Delivers a request to the X server.
|
| 819 |
+
*
|
| 820 |
+
*/
|
| 821 |
+
xcb_void_cookie_t
|
| 822 |
+
xcb_dri2_destroy_drawable (xcb_connection_t *c,
|
| 823 |
+
xcb_drawable_t drawable);
|
| 824 |
+
|
| 825 |
+
int
|
| 826 |
+
xcb_dri2_get_buffers_sizeof (const void *_buffer,
|
| 827 |
+
uint32_t attachments_len);
|
| 828 |
+
|
| 829 |
+
/**
|
| 830 |
+
*
|
| 831 |
+
* @param c The connection
|
| 832 |
+
* @return A cookie
|
| 833 |
+
*
|
| 834 |
+
* Delivers a request to the X server.
|
| 835 |
+
*
|
| 836 |
+
*/
|
| 837 |
+
xcb_dri2_get_buffers_cookie_t
|
| 838 |
+
xcb_dri2_get_buffers (xcb_connection_t *c,
|
| 839 |
+
xcb_drawable_t drawable,
|
| 840 |
+
uint32_t count,
|
| 841 |
+
uint32_t attachments_len,
|
| 842 |
+
const uint32_t *attachments);
|
| 843 |
+
|
| 844 |
+
/**
|
| 845 |
+
*
|
| 846 |
+
* @param c The connection
|
| 847 |
+
* @return A cookie
|
| 848 |
+
*
|
| 849 |
+
* Delivers a request to the X server.
|
| 850 |
+
*
|
| 851 |
+
* This form can be used only if the request will cause
|
| 852 |
+
* a reply to be generated. Any returned error will be
|
| 853 |
+
* placed in the event queue.
|
| 854 |
+
*/
|
| 855 |
+
xcb_dri2_get_buffers_cookie_t
|
| 856 |
+
xcb_dri2_get_buffers_unchecked (xcb_connection_t *c,
|
| 857 |
+
xcb_drawable_t drawable,
|
| 858 |
+
uint32_t count,
|
| 859 |
+
uint32_t attachments_len,
|
| 860 |
+
const uint32_t *attachments);
|
| 861 |
+
|
| 862 |
+
xcb_dri2_dri2_buffer_t *
|
| 863 |
+
xcb_dri2_get_buffers_buffers (const xcb_dri2_get_buffers_reply_t *R);
|
| 864 |
+
|
| 865 |
+
int
|
| 866 |
+
xcb_dri2_get_buffers_buffers_length (const xcb_dri2_get_buffers_reply_t *R);
|
| 867 |
+
|
| 868 |
+
xcb_dri2_dri2_buffer_iterator_t
|
| 869 |
+
xcb_dri2_get_buffers_buffers_iterator (const xcb_dri2_get_buffers_reply_t *R);
|
| 870 |
+
|
| 871 |
+
/**
|
| 872 |
+
* Return the reply
|
| 873 |
+
* @param c The connection
|
| 874 |
+
* @param cookie The cookie
|
| 875 |
+
* @param e The xcb_generic_error_t supplied
|
| 876 |
+
*
|
| 877 |
+
* Returns the reply of the request asked by
|
| 878 |
+
*
|
| 879 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 880 |
+
* xcb_dri2_get_buffers_unchecked(). is used.
|
| 881 |
+
* Otherwise, it stores the error if any.
|
| 882 |
+
*
|
| 883 |
+
* The returned value must be freed by the caller using free().
|
| 884 |
+
*/
|
| 885 |
+
xcb_dri2_get_buffers_reply_t *
|
| 886 |
+
xcb_dri2_get_buffers_reply (xcb_connection_t *c,
|
| 887 |
+
xcb_dri2_get_buffers_cookie_t cookie /**< */,
|
| 888 |
+
xcb_generic_error_t **e);
|
| 889 |
+
|
| 890 |
+
/**
|
| 891 |
+
*
|
| 892 |
+
* @param c The connection
|
| 893 |
+
* @return A cookie
|
| 894 |
+
*
|
| 895 |
+
* Delivers a request to the X server.
|
| 896 |
+
*
|
| 897 |
+
*/
|
| 898 |
+
xcb_dri2_copy_region_cookie_t
|
| 899 |
+
xcb_dri2_copy_region (xcb_connection_t *c,
|
| 900 |
+
xcb_drawable_t drawable,
|
| 901 |
+
uint32_t region,
|
| 902 |
+
uint32_t dest,
|
| 903 |
+
uint32_t src);
|
| 904 |
+
|
| 905 |
+
/**
|
| 906 |
+
*
|
| 907 |
+
* @param c The connection
|
| 908 |
+
* @return A cookie
|
| 909 |
+
*
|
| 910 |
+
* Delivers a request to the X server.
|
| 911 |
+
*
|
| 912 |
+
* This form can be used only if the request will cause
|
| 913 |
+
* a reply to be generated. Any returned error will be
|
| 914 |
+
* placed in the event queue.
|
| 915 |
+
*/
|
| 916 |
+
xcb_dri2_copy_region_cookie_t
|
| 917 |
+
xcb_dri2_copy_region_unchecked (xcb_connection_t *c,
|
| 918 |
+
xcb_drawable_t drawable,
|
| 919 |
+
uint32_t region,
|
| 920 |
+
uint32_t dest,
|
| 921 |
+
uint32_t src);
|
| 922 |
+
|
| 923 |
+
/**
|
| 924 |
+
* Return the reply
|
| 925 |
+
* @param c The connection
|
| 926 |
+
* @param cookie The cookie
|
| 927 |
+
* @param e The xcb_generic_error_t supplied
|
| 928 |
+
*
|
| 929 |
+
* Returns the reply of the request asked by
|
| 930 |
+
*
|
| 931 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 932 |
+
* xcb_dri2_copy_region_unchecked(). is used.
|
| 933 |
+
* Otherwise, it stores the error if any.
|
| 934 |
+
*
|
| 935 |
+
* The returned value must be freed by the caller using free().
|
| 936 |
+
*/
|
| 937 |
+
xcb_dri2_copy_region_reply_t *
|
| 938 |
+
xcb_dri2_copy_region_reply (xcb_connection_t *c,
|
| 939 |
+
xcb_dri2_copy_region_cookie_t cookie /**< */,
|
| 940 |
+
xcb_generic_error_t **e);
|
| 941 |
+
|
| 942 |
+
int
|
| 943 |
+
xcb_dri2_get_buffers_with_format_sizeof (const void *_buffer,
|
| 944 |
+
uint32_t attachments_len);
|
| 945 |
+
|
| 946 |
+
/**
|
| 947 |
+
*
|
| 948 |
+
* @param c The connection
|
| 949 |
+
* @return A cookie
|
| 950 |
+
*
|
| 951 |
+
* Delivers a request to the X server.
|
| 952 |
+
*
|
| 953 |
+
*/
|
| 954 |
+
xcb_dri2_get_buffers_with_format_cookie_t
|
| 955 |
+
xcb_dri2_get_buffers_with_format (xcb_connection_t *c,
|
| 956 |
+
xcb_drawable_t drawable,
|
| 957 |
+
uint32_t count,
|
| 958 |
+
uint32_t attachments_len,
|
| 959 |
+
const xcb_dri2_attach_format_t *attachments);
|
| 960 |
+
|
| 961 |
+
/**
|
| 962 |
+
*
|
| 963 |
+
* @param c The connection
|
| 964 |
+
* @return A cookie
|
| 965 |
+
*
|
| 966 |
+
* Delivers a request to the X server.
|
| 967 |
+
*
|
| 968 |
+
* This form can be used only if the request will cause
|
| 969 |
+
* a reply to be generated. Any returned error will be
|
| 970 |
+
* placed in the event queue.
|
| 971 |
+
*/
|
| 972 |
+
xcb_dri2_get_buffers_with_format_cookie_t
|
| 973 |
+
xcb_dri2_get_buffers_with_format_unchecked (xcb_connection_t *c,
|
| 974 |
+
xcb_drawable_t drawable,
|
| 975 |
+
uint32_t count,
|
| 976 |
+
uint32_t attachments_len,
|
| 977 |
+
const xcb_dri2_attach_format_t *attachments);
|
| 978 |
+
|
| 979 |
+
xcb_dri2_dri2_buffer_t *
|
| 980 |
+
xcb_dri2_get_buffers_with_format_buffers (const xcb_dri2_get_buffers_with_format_reply_t *R);
|
| 981 |
+
|
| 982 |
+
int
|
| 983 |
+
xcb_dri2_get_buffers_with_format_buffers_length (const xcb_dri2_get_buffers_with_format_reply_t *R);
|
| 984 |
+
|
| 985 |
+
xcb_dri2_dri2_buffer_iterator_t
|
| 986 |
+
xcb_dri2_get_buffers_with_format_buffers_iterator (const xcb_dri2_get_buffers_with_format_reply_t *R);
|
| 987 |
+
|
| 988 |
+
/**
|
| 989 |
+
* Return the reply
|
| 990 |
+
* @param c The connection
|
| 991 |
+
* @param cookie The cookie
|
| 992 |
+
* @param e The xcb_generic_error_t supplied
|
| 993 |
+
*
|
| 994 |
+
* Returns the reply of the request asked by
|
| 995 |
+
*
|
| 996 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 997 |
+
* xcb_dri2_get_buffers_with_format_unchecked(). is used.
|
| 998 |
+
* Otherwise, it stores the error if any.
|
| 999 |
+
*
|
| 1000 |
+
* The returned value must be freed by the caller using free().
|
| 1001 |
+
*/
|
| 1002 |
+
xcb_dri2_get_buffers_with_format_reply_t *
|
| 1003 |
+
xcb_dri2_get_buffers_with_format_reply (xcb_connection_t *c,
|
| 1004 |
+
xcb_dri2_get_buffers_with_format_cookie_t cookie /**< */,
|
| 1005 |
+
xcb_generic_error_t **e);
|
| 1006 |
+
|
| 1007 |
+
/**
|
| 1008 |
+
*
|
| 1009 |
+
* @param c The connection
|
| 1010 |
+
* @return A cookie
|
| 1011 |
+
*
|
| 1012 |
+
* Delivers a request to the X server.
|
| 1013 |
+
*
|
| 1014 |
+
*/
|
| 1015 |
+
xcb_dri2_swap_buffers_cookie_t
|
| 1016 |
+
xcb_dri2_swap_buffers (xcb_connection_t *c,
|
| 1017 |
+
xcb_drawable_t drawable,
|
| 1018 |
+
uint32_t target_msc_hi,
|
| 1019 |
+
uint32_t target_msc_lo,
|
| 1020 |
+
uint32_t divisor_hi,
|
| 1021 |
+
uint32_t divisor_lo,
|
| 1022 |
+
uint32_t remainder_hi,
|
| 1023 |
+
uint32_t remainder_lo);
|
| 1024 |
+
|
| 1025 |
+
/**
|
| 1026 |
+
*
|
| 1027 |
+
* @param c The connection
|
| 1028 |
+
* @return A cookie
|
| 1029 |
+
*
|
| 1030 |
+
* Delivers a request to the X server.
|
| 1031 |
+
*
|
| 1032 |
+
* This form can be used only if the request will cause
|
| 1033 |
+
* a reply to be generated. Any returned error will be
|
| 1034 |
+
* placed in the event queue.
|
| 1035 |
+
*/
|
| 1036 |
+
xcb_dri2_swap_buffers_cookie_t
|
| 1037 |
+
xcb_dri2_swap_buffers_unchecked (xcb_connection_t *c,
|
| 1038 |
+
xcb_drawable_t drawable,
|
| 1039 |
+
uint32_t target_msc_hi,
|
| 1040 |
+
uint32_t target_msc_lo,
|
| 1041 |
+
uint32_t divisor_hi,
|
| 1042 |
+
uint32_t divisor_lo,
|
| 1043 |
+
uint32_t remainder_hi,
|
| 1044 |
+
uint32_t remainder_lo);
|
| 1045 |
+
|
| 1046 |
+
/**
|
| 1047 |
+
* Return the reply
|
| 1048 |
+
* @param c The connection
|
| 1049 |
+
* @param cookie The cookie
|
| 1050 |
+
* @param e The xcb_generic_error_t supplied
|
| 1051 |
+
*
|
| 1052 |
+
* Returns the reply of the request asked by
|
| 1053 |
+
*
|
| 1054 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1055 |
+
* xcb_dri2_swap_buffers_unchecked(). is used.
|
| 1056 |
+
* Otherwise, it stores the error if any.
|
| 1057 |
+
*
|
| 1058 |
+
* The returned value must be freed by the caller using free().
|
| 1059 |
+
*/
|
| 1060 |
+
xcb_dri2_swap_buffers_reply_t *
|
| 1061 |
+
xcb_dri2_swap_buffers_reply (xcb_connection_t *c,
|
| 1062 |
+
xcb_dri2_swap_buffers_cookie_t cookie /**< */,
|
| 1063 |
+
xcb_generic_error_t **e);
|
| 1064 |
+
|
| 1065 |
+
/**
|
| 1066 |
+
*
|
| 1067 |
+
* @param c The connection
|
| 1068 |
+
* @return A cookie
|
| 1069 |
+
*
|
| 1070 |
+
* Delivers a request to the X server.
|
| 1071 |
+
*
|
| 1072 |
+
*/
|
| 1073 |
+
xcb_dri2_get_msc_cookie_t
|
| 1074 |
+
xcb_dri2_get_msc (xcb_connection_t *c,
|
| 1075 |
+
xcb_drawable_t drawable);
|
| 1076 |
+
|
| 1077 |
+
/**
|
| 1078 |
+
*
|
| 1079 |
+
* @param c The connection
|
| 1080 |
+
* @return A cookie
|
| 1081 |
+
*
|
| 1082 |
+
* Delivers a request to the X server.
|
| 1083 |
+
*
|
| 1084 |
+
* This form can be used only if the request will cause
|
| 1085 |
+
* a reply to be generated. Any returned error will be
|
| 1086 |
+
* placed in the event queue.
|
| 1087 |
+
*/
|
| 1088 |
+
xcb_dri2_get_msc_cookie_t
|
| 1089 |
+
xcb_dri2_get_msc_unchecked (xcb_connection_t *c,
|
| 1090 |
+
xcb_drawable_t drawable);
|
| 1091 |
+
|
| 1092 |
+
/**
|
| 1093 |
+
* Return the reply
|
| 1094 |
+
* @param c The connection
|
| 1095 |
+
* @param cookie The cookie
|
| 1096 |
+
* @param e The xcb_generic_error_t supplied
|
| 1097 |
+
*
|
| 1098 |
+
* Returns the reply of the request asked by
|
| 1099 |
+
*
|
| 1100 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1101 |
+
* xcb_dri2_get_msc_unchecked(). is used.
|
| 1102 |
+
* Otherwise, it stores the error if any.
|
| 1103 |
+
*
|
| 1104 |
+
* The returned value must be freed by the caller using free().
|
| 1105 |
+
*/
|
| 1106 |
+
xcb_dri2_get_msc_reply_t *
|
| 1107 |
+
xcb_dri2_get_msc_reply (xcb_connection_t *c,
|
| 1108 |
+
xcb_dri2_get_msc_cookie_t cookie /**< */,
|
| 1109 |
+
xcb_generic_error_t **e);
|
| 1110 |
+
|
| 1111 |
+
/**
|
| 1112 |
+
*
|
| 1113 |
+
* @param c The connection
|
| 1114 |
+
* @return A cookie
|
| 1115 |
+
*
|
| 1116 |
+
* Delivers a request to the X server.
|
| 1117 |
+
*
|
| 1118 |
+
*/
|
| 1119 |
+
xcb_dri2_wait_msc_cookie_t
|
| 1120 |
+
xcb_dri2_wait_msc (xcb_connection_t *c,
|
| 1121 |
+
xcb_drawable_t drawable,
|
| 1122 |
+
uint32_t target_msc_hi,
|
| 1123 |
+
uint32_t target_msc_lo,
|
| 1124 |
+
uint32_t divisor_hi,
|
| 1125 |
+
uint32_t divisor_lo,
|
| 1126 |
+
uint32_t remainder_hi,
|
| 1127 |
+
uint32_t remainder_lo);
|
| 1128 |
+
|
| 1129 |
+
/**
|
| 1130 |
+
*
|
| 1131 |
+
* @param c The connection
|
| 1132 |
+
* @return A cookie
|
| 1133 |
+
*
|
| 1134 |
+
* Delivers a request to the X server.
|
| 1135 |
+
*
|
| 1136 |
+
* This form can be used only if the request will cause
|
| 1137 |
+
* a reply to be generated. Any returned error will be
|
| 1138 |
+
* placed in the event queue.
|
| 1139 |
+
*/
|
| 1140 |
+
xcb_dri2_wait_msc_cookie_t
|
| 1141 |
+
xcb_dri2_wait_msc_unchecked (xcb_connection_t *c,
|
| 1142 |
+
xcb_drawable_t drawable,
|
| 1143 |
+
uint32_t target_msc_hi,
|
| 1144 |
+
uint32_t target_msc_lo,
|
| 1145 |
+
uint32_t divisor_hi,
|
| 1146 |
+
uint32_t divisor_lo,
|
| 1147 |
+
uint32_t remainder_hi,
|
| 1148 |
+
uint32_t remainder_lo);
|
| 1149 |
+
|
| 1150 |
+
/**
|
| 1151 |
+
* Return the reply
|
| 1152 |
+
* @param c The connection
|
| 1153 |
+
* @param cookie The cookie
|
| 1154 |
+
* @param e The xcb_generic_error_t supplied
|
| 1155 |
+
*
|
| 1156 |
+
* Returns the reply of the request asked by
|
| 1157 |
+
*
|
| 1158 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1159 |
+
* xcb_dri2_wait_msc_unchecked(). is used.
|
| 1160 |
+
* Otherwise, it stores the error if any.
|
| 1161 |
+
*
|
| 1162 |
+
* The returned value must be freed by the caller using free().
|
| 1163 |
+
*/
|
| 1164 |
+
xcb_dri2_wait_msc_reply_t *
|
| 1165 |
+
xcb_dri2_wait_msc_reply (xcb_connection_t *c,
|
| 1166 |
+
xcb_dri2_wait_msc_cookie_t cookie /**< */,
|
| 1167 |
+
xcb_generic_error_t **e);
|
| 1168 |
+
|
| 1169 |
+
/**
|
| 1170 |
+
*
|
| 1171 |
+
* @param c The connection
|
| 1172 |
+
* @return A cookie
|
| 1173 |
+
*
|
| 1174 |
+
* Delivers a request to the X server.
|
| 1175 |
+
*
|
| 1176 |
+
*/
|
| 1177 |
+
xcb_dri2_wait_sbc_cookie_t
|
| 1178 |
+
xcb_dri2_wait_sbc (xcb_connection_t *c,
|
| 1179 |
+
xcb_drawable_t drawable,
|
| 1180 |
+
uint32_t target_sbc_hi,
|
| 1181 |
+
uint32_t target_sbc_lo);
|
| 1182 |
+
|
| 1183 |
+
/**
|
| 1184 |
+
*
|
| 1185 |
+
* @param c The connection
|
| 1186 |
+
* @return A cookie
|
| 1187 |
+
*
|
| 1188 |
+
* Delivers a request to the X server.
|
| 1189 |
+
*
|
| 1190 |
+
* This form can be used only if the request will cause
|
| 1191 |
+
* a reply to be generated. Any returned error will be
|
| 1192 |
+
* placed in the event queue.
|
| 1193 |
+
*/
|
| 1194 |
+
xcb_dri2_wait_sbc_cookie_t
|
| 1195 |
+
xcb_dri2_wait_sbc_unchecked (xcb_connection_t *c,
|
| 1196 |
+
xcb_drawable_t drawable,
|
| 1197 |
+
uint32_t target_sbc_hi,
|
| 1198 |
+
uint32_t target_sbc_lo);
|
| 1199 |
+
|
| 1200 |
+
/**
|
| 1201 |
+
* Return the reply
|
| 1202 |
+
* @param c The connection
|
| 1203 |
+
* @param cookie The cookie
|
| 1204 |
+
* @param e The xcb_generic_error_t supplied
|
| 1205 |
+
*
|
| 1206 |
+
* Returns the reply of the request asked by
|
| 1207 |
+
*
|
| 1208 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1209 |
+
* xcb_dri2_wait_sbc_unchecked(). is used.
|
| 1210 |
+
* Otherwise, it stores the error if any.
|
| 1211 |
+
*
|
| 1212 |
+
* The returned value must be freed by the caller using free().
|
| 1213 |
+
*/
|
| 1214 |
+
xcb_dri2_wait_sbc_reply_t *
|
| 1215 |
+
xcb_dri2_wait_sbc_reply (xcb_connection_t *c,
|
| 1216 |
+
xcb_dri2_wait_sbc_cookie_t cookie /**< */,
|
| 1217 |
+
xcb_generic_error_t **e);
|
| 1218 |
+
|
| 1219 |
+
/**
|
| 1220 |
+
*
|
| 1221 |
+
* @param c The connection
|
| 1222 |
+
* @return A cookie
|
| 1223 |
+
*
|
| 1224 |
+
* Delivers a request to the X server.
|
| 1225 |
+
*
|
| 1226 |
+
* This form can be used only if the request will not cause
|
| 1227 |
+
* a reply to be generated. Any returned error will be
|
| 1228 |
+
* saved for handling by xcb_request_check().
|
| 1229 |
+
*/
|
| 1230 |
+
xcb_void_cookie_t
|
| 1231 |
+
xcb_dri2_swap_interval_checked (xcb_connection_t *c,
|
| 1232 |
+
xcb_drawable_t drawable,
|
| 1233 |
+
uint32_t interval);
|
| 1234 |
+
|
| 1235 |
+
/**
|
| 1236 |
+
*
|
| 1237 |
+
* @param c The connection
|
| 1238 |
+
* @return A cookie
|
| 1239 |
+
*
|
| 1240 |
+
* Delivers a request to the X server.
|
| 1241 |
+
*
|
| 1242 |
+
*/
|
| 1243 |
+
xcb_void_cookie_t
|
| 1244 |
+
xcb_dri2_swap_interval (xcb_connection_t *c,
|
| 1245 |
+
xcb_drawable_t drawable,
|
| 1246 |
+
uint32_t interval);
|
| 1247 |
+
|
| 1248 |
+
/**
|
| 1249 |
+
*
|
| 1250 |
+
* @param c The connection
|
| 1251 |
+
* @return A cookie
|
| 1252 |
+
*
|
| 1253 |
+
* Delivers a request to the X server.
|
| 1254 |
+
*
|
| 1255 |
+
*/
|
| 1256 |
+
xcb_dri2_get_param_cookie_t
|
| 1257 |
+
xcb_dri2_get_param (xcb_connection_t *c,
|
| 1258 |
+
xcb_drawable_t drawable,
|
| 1259 |
+
uint32_t param);
|
| 1260 |
+
|
| 1261 |
+
/**
|
| 1262 |
+
*
|
| 1263 |
+
* @param c The connection
|
| 1264 |
+
* @return A cookie
|
| 1265 |
+
*
|
| 1266 |
+
* Delivers a request to the X server.
|
| 1267 |
+
*
|
| 1268 |
+
* This form can be used only if the request will cause
|
| 1269 |
+
* a reply to be generated. Any returned error will be
|
| 1270 |
+
* placed in the event queue.
|
| 1271 |
+
*/
|
| 1272 |
+
xcb_dri2_get_param_cookie_t
|
| 1273 |
+
xcb_dri2_get_param_unchecked (xcb_connection_t *c,
|
| 1274 |
+
xcb_drawable_t drawable,
|
| 1275 |
+
uint32_t param);
|
| 1276 |
+
|
| 1277 |
+
/**
|
| 1278 |
+
* Return the reply
|
| 1279 |
+
* @param c The connection
|
| 1280 |
+
* @param cookie The cookie
|
| 1281 |
+
* @param e The xcb_generic_error_t supplied
|
| 1282 |
+
*
|
| 1283 |
+
* Returns the reply of the request asked by
|
| 1284 |
+
*
|
| 1285 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1286 |
+
* xcb_dri2_get_param_unchecked(). is used.
|
| 1287 |
+
* Otherwise, it stores the error if any.
|
| 1288 |
+
*
|
| 1289 |
+
* The returned value must be freed by the caller using free().
|
| 1290 |
+
*/
|
| 1291 |
+
xcb_dri2_get_param_reply_t *
|
| 1292 |
+
xcb_dri2_get_param_reply (xcb_connection_t *c,
|
| 1293 |
+
xcb_dri2_get_param_cookie_t cookie /**< */,
|
| 1294 |
+
xcb_generic_error_t **e);
|
| 1295 |
+
|
| 1296 |
+
|
| 1297 |
+
#ifdef __cplusplus
|
| 1298 |
+
}
|
| 1299 |
+
#endif
|
| 1300 |
+
|
| 1301 |
+
#endif
|
| 1302 |
+
|
| 1303 |
+
/**
|
| 1304 |
+
*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|
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_DRI3_API XCB DRI3 API
|
| 8 |
+
* @brief DRI3 XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __DRI3_H
|
| 13 |
+
#define __DRI3_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_DRI3_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_DRI3_MINOR_VERSION 4
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_dri3_id;
|
| 26 |
+
|
| 27 |
+
typedef uint32_t xcb_dri3_syncobj_t;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_dri3_syncobj_iterator_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_dri3_syncobj_iterator_t {
|
| 33 |
+
xcb_dri3_syncobj_t *data;
|
| 34 |
+
int rem;
|
| 35 |
+
int index;
|
| 36 |
+
} xcb_dri3_syncobj_iterator_t;
|
| 37 |
+
|
| 38 |
+
/**
|
| 39 |
+
* @brief xcb_dri3_query_version_cookie_t
|
| 40 |
+
**/
|
| 41 |
+
typedef struct xcb_dri3_query_version_cookie_t {
|
| 42 |
+
unsigned int sequence;
|
| 43 |
+
} xcb_dri3_query_version_cookie_t;
|
| 44 |
+
|
| 45 |
+
/** Opcode for xcb_dri3_query_version. */
|
| 46 |
+
#define XCB_DRI3_QUERY_VERSION 0
|
| 47 |
+
|
| 48 |
+
/**
|
| 49 |
+
* @brief xcb_dri3_query_version_request_t
|
| 50 |
+
**/
|
| 51 |
+
typedef struct xcb_dri3_query_version_request_t {
|
| 52 |
+
uint8_t major_opcode;
|
| 53 |
+
uint8_t minor_opcode;
|
| 54 |
+
uint16_t length;
|
| 55 |
+
uint32_t major_version;
|
| 56 |
+
uint32_t minor_version;
|
| 57 |
+
} xcb_dri3_query_version_request_t;
|
| 58 |
+
|
| 59 |
+
/**
|
| 60 |
+
* @brief xcb_dri3_query_version_reply_t
|
| 61 |
+
**/
|
| 62 |
+
typedef struct xcb_dri3_query_version_reply_t {
|
| 63 |
+
uint8_t response_type;
|
| 64 |
+
uint8_t pad0;
|
| 65 |
+
uint16_t sequence;
|
| 66 |
+
uint32_t length;
|
| 67 |
+
uint32_t major_version;
|
| 68 |
+
uint32_t minor_version;
|
| 69 |
+
} xcb_dri3_query_version_reply_t;
|
| 70 |
+
|
| 71 |
+
/**
|
| 72 |
+
* @brief xcb_dri3_open_cookie_t
|
| 73 |
+
**/
|
| 74 |
+
typedef struct xcb_dri3_open_cookie_t {
|
| 75 |
+
unsigned int sequence;
|
| 76 |
+
} xcb_dri3_open_cookie_t;
|
| 77 |
+
|
| 78 |
+
/** Opcode for xcb_dri3_open. */
|
| 79 |
+
#define XCB_DRI3_OPEN 1
|
| 80 |
+
|
| 81 |
+
/**
|
| 82 |
+
* @brief xcb_dri3_open_request_t
|
| 83 |
+
**/
|
| 84 |
+
typedef struct xcb_dri3_open_request_t {
|
| 85 |
+
uint8_t major_opcode;
|
| 86 |
+
uint8_t minor_opcode;
|
| 87 |
+
uint16_t length;
|
| 88 |
+
xcb_drawable_t drawable;
|
| 89 |
+
uint32_t provider;
|
| 90 |
+
} xcb_dri3_open_request_t;
|
| 91 |
+
|
| 92 |
+
/**
|
| 93 |
+
* @brief xcb_dri3_open_reply_t
|
| 94 |
+
**/
|
| 95 |
+
typedef struct xcb_dri3_open_reply_t {
|
| 96 |
+
uint8_t response_type;
|
| 97 |
+
uint8_t nfd;
|
| 98 |
+
uint16_t sequence;
|
| 99 |
+
uint32_t length;
|
| 100 |
+
uint8_t pad0[24];
|
| 101 |
+
} xcb_dri3_open_reply_t;
|
| 102 |
+
|
| 103 |
+
/** Opcode for xcb_dri3_pixmap_from_buffer. */
|
| 104 |
+
#define XCB_DRI3_PIXMAP_FROM_BUFFER 2
|
| 105 |
+
|
| 106 |
+
/**
|
| 107 |
+
* @brief xcb_dri3_pixmap_from_buffer_request_t
|
| 108 |
+
**/
|
| 109 |
+
typedef struct xcb_dri3_pixmap_from_buffer_request_t {
|
| 110 |
+
uint8_t major_opcode;
|
| 111 |
+
uint8_t minor_opcode;
|
| 112 |
+
uint16_t length;
|
| 113 |
+
xcb_pixmap_t pixmap;
|
| 114 |
+
xcb_drawable_t drawable;
|
| 115 |
+
uint32_t size;
|
| 116 |
+
uint16_t width;
|
| 117 |
+
uint16_t height;
|
| 118 |
+
uint16_t stride;
|
| 119 |
+
uint8_t depth;
|
| 120 |
+
uint8_t bpp;
|
| 121 |
+
} xcb_dri3_pixmap_from_buffer_request_t;
|
| 122 |
+
|
| 123 |
+
/**
|
| 124 |
+
* @brief xcb_dri3_buffer_from_pixmap_cookie_t
|
| 125 |
+
**/
|
| 126 |
+
typedef struct xcb_dri3_buffer_from_pixmap_cookie_t {
|
| 127 |
+
unsigned int sequence;
|
| 128 |
+
} xcb_dri3_buffer_from_pixmap_cookie_t;
|
| 129 |
+
|
| 130 |
+
/** Opcode for xcb_dri3_buffer_from_pixmap. */
|
| 131 |
+
#define XCB_DRI3_BUFFER_FROM_PIXMAP 3
|
| 132 |
+
|
| 133 |
+
/**
|
| 134 |
+
* @brief xcb_dri3_buffer_from_pixmap_request_t
|
| 135 |
+
**/
|
| 136 |
+
typedef struct xcb_dri3_buffer_from_pixmap_request_t {
|
| 137 |
+
uint8_t major_opcode;
|
| 138 |
+
uint8_t minor_opcode;
|
| 139 |
+
uint16_t length;
|
| 140 |
+
xcb_pixmap_t pixmap;
|
| 141 |
+
} xcb_dri3_buffer_from_pixmap_request_t;
|
| 142 |
+
|
| 143 |
+
/**
|
| 144 |
+
* @brief xcb_dri3_buffer_from_pixmap_reply_t
|
| 145 |
+
**/
|
| 146 |
+
typedef struct xcb_dri3_buffer_from_pixmap_reply_t {
|
| 147 |
+
uint8_t response_type;
|
| 148 |
+
uint8_t nfd;
|
| 149 |
+
uint16_t sequence;
|
| 150 |
+
uint32_t length;
|
| 151 |
+
uint32_t size;
|
| 152 |
+
uint16_t width;
|
| 153 |
+
uint16_t height;
|
| 154 |
+
uint16_t stride;
|
| 155 |
+
uint8_t depth;
|
| 156 |
+
uint8_t bpp;
|
| 157 |
+
uint8_t pad0[12];
|
| 158 |
+
} xcb_dri3_buffer_from_pixmap_reply_t;
|
| 159 |
+
|
| 160 |
+
/** Opcode for xcb_dri3_fence_from_fd. */
|
| 161 |
+
#define XCB_DRI3_FENCE_FROM_FD 4
|
| 162 |
+
|
| 163 |
+
/**
|
| 164 |
+
* @brief xcb_dri3_fence_from_fd_request_t
|
| 165 |
+
**/
|
| 166 |
+
typedef struct xcb_dri3_fence_from_fd_request_t {
|
| 167 |
+
uint8_t major_opcode;
|
| 168 |
+
uint8_t minor_opcode;
|
| 169 |
+
uint16_t length;
|
| 170 |
+
xcb_drawable_t drawable;
|
| 171 |
+
uint32_t fence;
|
| 172 |
+
uint8_t initially_triggered;
|
| 173 |
+
uint8_t pad0[3];
|
| 174 |
+
} xcb_dri3_fence_from_fd_request_t;
|
| 175 |
+
|
| 176 |
+
/**
|
| 177 |
+
* @brief xcb_dri3_fd_from_fence_cookie_t
|
| 178 |
+
**/
|
| 179 |
+
typedef struct xcb_dri3_fd_from_fence_cookie_t {
|
| 180 |
+
unsigned int sequence;
|
| 181 |
+
} xcb_dri3_fd_from_fence_cookie_t;
|
| 182 |
+
|
| 183 |
+
/** Opcode for xcb_dri3_fd_from_fence. */
|
| 184 |
+
#define XCB_DRI3_FD_FROM_FENCE 5
|
| 185 |
+
|
| 186 |
+
/**
|
| 187 |
+
* @brief xcb_dri3_fd_from_fence_request_t
|
| 188 |
+
**/
|
| 189 |
+
typedef struct xcb_dri3_fd_from_fence_request_t {
|
| 190 |
+
uint8_t major_opcode;
|
| 191 |
+
uint8_t minor_opcode;
|
| 192 |
+
uint16_t length;
|
| 193 |
+
xcb_drawable_t drawable;
|
| 194 |
+
uint32_t fence;
|
| 195 |
+
} xcb_dri3_fd_from_fence_request_t;
|
| 196 |
+
|
| 197 |
+
/**
|
| 198 |
+
* @brief xcb_dri3_fd_from_fence_reply_t
|
| 199 |
+
**/
|
| 200 |
+
typedef struct xcb_dri3_fd_from_fence_reply_t {
|
| 201 |
+
uint8_t response_type;
|
| 202 |
+
uint8_t nfd;
|
| 203 |
+
uint16_t sequence;
|
| 204 |
+
uint32_t length;
|
| 205 |
+
uint8_t pad0[24];
|
| 206 |
+
} xcb_dri3_fd_from_fence_reply_t;
|
| 207 |
+
|
| 208 |
+
/**
|
| 209 |
+
* @brief xcb_dri3_get_supported_modifiers_cookie_t
|
| 210 |
+
**/
|
| 211 |
+
typedef struct xcb_dri3_get_supported_modifiers_cookie_t {
|
| 212 |
+
unsigned int sequence;
|
| 213 |
+
} xcb_dri3_get_supported_modifiers_cookie_t;
|
| 214 |
+
|
| 215 |
+
/** Opcode for xcb_dri3_get_supported_modifiers. */
|
| 216 |
+
#define XCB_DRI3_GET_SUPPORTED_MODIFIERS 6
|
| 217 |
+
|
| 218 |
+
/**
|
| 219 |
+
* @brief xcb_dri3_get_supported_modifiers_request_t
|
| 220 |
+
**/
|
| 221 |
+
typedef struct xcb_dri3_get_supported_modifiers_request_t {
|
| 222 |
+
uint8_t major_opcode;
|
| 223 |
+
uint8_t minor_opcode;
|
| 224 |
+
uint16_t length;
|
| 225 |
+
uint32_t window;
|
| 226 |
+
uint8_t depth;
|
| 227 |
+
uint8_t bpp;
|
| 228 |
+
uint8_t pad0[2];
|
| 229 |
+
} xcb_dri3_get_supported_modifiers_request_t;
|
| 230 |
+
|
| 231 |
+
/**
|
| 232 |
+
* @brief xcb_dri3_get_supported_modifiers_reply_t
|
| 233 |
+
**/
|
| 234 |
+
typedef struct xcb_dri3_get_supported_modifiers_reply_t {
|
| 235 |
+
uint8_t response_type;
|
| 236 |
+
uint8_t pad0;
|
| 237 |
+
uint16_t sequence;
|
| 238 |
+
uint32_t length;
|
| 239 |
+
uint32_t num_window_modifiers;
|
| 240 |
+
uint32_t num_screen_modifiers;
|
| 241 |
+
uint8_t pad1[16];
|
| 242 |
+
} xcb_dri3_get_supported_modifiers_reply_t;
|
| 243 |
+
|
| 244 |
+
/** Opcode for xcb_dri3_pixmap_from_buffers. */
|
| 245 |
+
#define XCB_DRI3_PIXMAP_FROM_BUFFERS 7
|
| 246 |
+
|
| 247 |
+
/**
|
| 248 |
+
* @brief xcb_dri3_pixmap_from_buffers_request_t
|
| 249 |
+
**/
|
| 250 |
+
typedef struct xcb_dri3_pixmap_from_buffers_request_t {
|
| 251 |
+
uint8_t major_opcode;
|
| 252 |
+
uint8_t minor_opcode;
|
| 253 |
+
uint16_t length;
|
| 254 |
+
xcb_pixmap_t pixmap;
|
| 255 |
+
xcb_window_t window;
|
| 256 |
+
uint8_t num_buffers;
|
| 257 |
+
uint8_t pad0[3];
|
| 258 |
+
uint16_t width;
|
| 259 |
+
uint16_t height;
|
| 260 |
+
uint32_t stride0;
|
| 261 |
+
uint32_t offset0;
|
| 262 |
+
uint32_t stride1;
|
| 263 |
+
uint32_t offset1;
|
| 264 |
+
uint32_t stride2;
|
| 265 |
+
uint32_t offset2;
|
| 266 |
+
uint32_t stride3;
|
| 267 |
+
uint32_t offset3;
|
| 268 |
+
uint8_t depth;
|
| 269 |
+
uint8_t bpp;
|
| 270 |
+
uint8_t pad1[2];
|
| 271 |
+
uint64_t modifier;
|
| 272 |
+
} xcb_dri3_pixmap_from_buffers_request_t;
|
| 273 |
+
|
| 274 |
+
/**
|
| 275 |
+
* @brief xcb_dri3_buffers_from_pixmap_cookie_t
|
| 276 |
+
**/
|
| 277 |
+
typedef struct xcb_dri3_buffers_from_pixmap_cookie_t {
|
| 278 |
+
unsigned int sequence;
|
| 279 |
+
} xcb_dri3_buffers_from_pixmap_cookie_t;
|
| 280 |
+
|
| 281 |
+
/** Opcode for xcb_dri3_buffers_from_pixmap. */
|
| 282 |
+
#define XCB_DRI3_BUFFERS_FROM_PIXMAP 8
|
| 283 |
+
|
| 284 |
+
/**
|
| 285 |
+
* @brief xcb_dri3_buffers_from_pixmap_request_t
|
| 286 |
+
**/
|
| 287 |
+
typedef struct xcb_dri3_buffers_from_pixmap_request_t {
|
| 288 |
+
uint8_t major_opcode;
|
| 289 |
+
uint8_t minor_opcode;
|
| 290 |
+
uint16_t length;
|
| 291 |
+
xcb_pixmap_t pixmap;
|
| 292 |
+
} xcb_dri3_buffers_from_pixmap_request_t;
|
| 293 |
+
|
| 294 |
+
/**
|
| 295 |
+
* @brief xcb_dri3_buffers_from_pixmap_reply_t
|
| 296 |
+
**/
|
| 297 |
+
typedef struct xcb_dri3_buffers_from_pixmap_reply_t {
|
| 298 |
+
uint8_t response_type;
|
| 299 |
+
uint8_t nfd;
|
| 300 |
+
uint16_t sequence;
|
| 301 |
+
uint32_t length;
|
| 302 |
+
uint16_t width;
|
| 303 |
+
uint16_t height;
|
| 304 |
+
uint8_t pad0[4];
|
| 305 |
+
uint64_t modifier;
|
| 306 |
+
uint8_t depth;
|
| 307 |
+
uint8_t bpp;
|
| 308 |
+
uint8_t pad1[6];
|
| 309 |
+
} xcb_dri3_buffers_from_pixmap_reply_t;
|
| 310 |
+
|
| 311 |
+
/** Opcode for xcb_dri3_set_drm_device_in_use. */
|
| 312 |
+
#define XCB_DRI3_SET_DRM_DEVICE_IN_USE 9
|
| 313 |
+
|
| 314 |
+
/**
|
| 315 |
+
* @brief xcb_dri3_set_drm_device_in_use_request_t
|
| 316 |
+
**/
|
| 317 |
+
typedef struct xcb_dri3_set_drm_device_in_use_request_t {
|
| 318 |
+
uint8_t major_opcode;
|
| 319 |
+
uint8_t minor_opcode;
|
| 320 |
+
uint16_t length;
|
| 321 |
+
xcb_window_t window;
|
| 322 |
+
uint32_t drmMajor;
|
| 323 |
+
uint32_t drmMinor;
|
| 324 |
+
} xcb_dri3_set_drm_device_in_use_request_t;
|
| 325 |
+
|
| 326 |
+
/** Opcode for xcb_dri3_import_syncobj. */
|
| 327 |
+
#define XCB_DRI3_IMPORT_SYNCOBJ 10
|
| 328 |
+
|
| 329 |
+
/**
|
| 330 |
+
* @brief xcb_dri3_import_syncobj_request_t
|
| 331 |
+
**/
|
| 332 |
+
typedef struct xcb_dri3_import_syncobj_request_t {
|
| 333 |
+
uint8_t major_opcode;
|
| 334 |
+
uint8_t minor_opcode;
|
| 335 |
+
uint16_t length;
|
| 336 |
+
xcb_dri3_syncobj_t syncobj;
|
| 337 |
+
xcb_drawable_t drawable;
|
| 338 |
+
} xcb_dri3_import_syncobj_request_t;
|
| 339 |
+
|
| 340 |
+
/** Opcode for xcb_dri3_free_syncobj. */
|
| 341 |
+
#define XCB_DRI3_FREE_SYNCOBJ 11
|
| 342 |
+
|
| 343 |
+
/**
|
| 344 |
+
* @brief xcb_dri3_free_syncobj_request_t
|
| 345 |
+
**/
|
| 346 |
+
typedef struct xcb_dri3_free_syncobj_request_t {
|
| 347 |
+
uint8_t major_opcode;
|
| 348 |
+
uint8_t minor_opcode;
|
| 349 |
+
uint16_t length;
|
| 350 |
+
xcb_dri3_syncobj_t syncobj;
|
| 351 |
+
} xcb_dri3_free_syncobj_request_t;
|
| 352 |
+
|
| 353 |
+
/**
|
| 354 |
+
* Get the next element of the iterator
|
| 355 |
+
* @param i Pointer to a xcb_dri3_syncobj_iterator_t
|
| 356 |
+
*
|
| 357 |
+
* Get the next element in the iterator. The member rem is
|
| 358 |
+
* decreased by one. The member data points to the next
|
| 359 |
+
* element. The member index is increased by sizeof(xcb_dri3_syncobj_t)
|
| 360 |
+
*/
|
| 361 |
+
void
|
| 362 |
+
xcb_dri3_syncobj_next (xcb_dri3_syncobj_iterator_t *i);
|
| 363 |
+
|
| 364 |
+
/**
|
| 365 |
+
* Return the iterator pointing to the last element
|
| 366 |
+
* @param i An xcb_dri3_syncobj_iterator_t
|
| 367 |
+
* @return The iterator pointing to the last element
|
| 368 |
+
*
|
| 369 |
+
* Set the current element in the iterator to the last element.
|
| 370 |
+
* The member rem is set to 0. The member data points to the
|
| 371 |
+
* last element.
|
| 372 |
+
*/
|
| 373 |
+
xcb_generic_iterator_t
|
| 374 |
+
xcb_dri3_syncobj_end (xcb_dri3_syncobj_iterator_t i);
|
| 375 |
+
|
| 376 |
+
/**
|
| 377 |
+
*
|
| 378 |
+
* @param c The connection
|
| 379 |
+
* @return A cookie
|
| 380 |
+
*
|
| 381 |
+
* Delivers a request to the X server.
|
| 382 |
+
*
|
| 383 |
+
*/
|
| 384 |
+
xcb_dri3_query_version_cookie_t
|
| 385 |
+
xcb_dri3_query_version (xcb_connection_t *c,
|
| 386 |
+
uint32_t major_version,
|
| 387 |
+
uint32_t minor_version);
|
| 388 |
+
|
| 389 |
+
/**
|
| 390 |
+
*
|
| 391 |
+
* @param c The connection
|
| 392 |
+
* @return A cookie
|
| 393 |
+
*
|
| 394 |
+
* Delivers a request to the X server.
|
| 395 |
+
*
|
| 396 |
+
* This form can be used only if the request will cause
|
| 397 |
+
* a reply to be generated. Any returned error will be
|
| 398 |
+
* placed in the event queue.
|
| 399 |
+
*/
|
| 400 |
+
xcb_dri3_query_version_cookie_t
|
| 401 |
+
xcb_dri3_query_version_unchecked (xcb_connection_t *c,
|
| 402 |
+
uint32_t major_version,
|
| 403 |
+
uint32_t minor_version);
|
| 404 |
+
|
| 405 |
+
/**
|
| 406 |
+
* Return the reply
|
| 407 |
+
* @param c The connection
|
| 408 |
+
* @param cookie The cookie
|
| 409 |
+
* @param e The xcb_generic_error_t supplied
|
| 410 |
+
*
|
| 411 |
+
* Returns the reply of the request asked by
|
| 412 |
+
*
|
| 413 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 414 |
+
* xcb_dri3_query_version_unchecked(). is used.
|
| 415 |
+
* Otherwise, it stores the error if any.
|
| 416 |
+
*
|
| 417 |
+
* The returned value must be freed by the caller using free().
|
| 418 |
+
*/
|
| 419 |
+
xcb_dri3_query_version_reply_t *
|
| 420 |
+
xcb_dri3_query_version_reply (xcb_connection_t *c,
|
| 421 |
+
xcb_dri3_query_version_cookie_t cookie /**< */,
|
| 422 |
+
xcb_generic_error_t **e);
|
| 423 |
+
|
| 424 |
+
/**
|
| 425 |
+
*
|
| 426 |
+
* @param c The connection
|
| 427 |
+
* @return A cookie
|
| 428 |
+
*
|
| 429 |
+
* Delivers a request to the X server.
|
| 430 |
+
*
|
| 431 |
+
*/
|
| 432 |
+
xcb_dri3_open_cookie_t
|
| 433 |
+
xcb_dri3_open (xcb_connection_t *c,
|
| 434 |
+
xcb_drawable_t drawable,
|
| 435 |
+
uint32_t provider);
|
| 436 |
+
|
| 437 |
+
/**
|
| 438 |
+
*
|
| 439 |
+
* @param c The connection
|
| 440 |
+
* @return A cookie
|
| 441 |
+
*
|
| 442 |
+
* Delivers a request to the X server.
|
| 443 |
+
*
|
| 444 |
+
* This form can be used only if the request will cause
|
| 445 |
+
* a reply to be generated. Any returned error will be
|
| 446 |
+
* placed in the event queue.
|
| 447 |
+
*/
|
| 448 |
+
xcb_dri3_open_cookie_t
|
| 449 |
+
xcb_dri3_open_unchecked (xcb_connection_t *c,
|
| 450 |
+
xcb_drawable_t drawable,
|
| 451 |
+
uint32_t provider);
|
| 452 |
+
|
| 453 |
+
/**
|
| 454 |
+
* Return the reply
|
| 455 |
+
* @param c The connection
|
| 456 |
+
* @param cookie The cookie
|
| 457 |
+
* @param e The xcb_generic_error_t supplied
|
| 458 |
+
*
|
| 459 |
+
* Returns the reply of the request asked by
|
| 460 |
+
*
|
| 461 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 462 |
+
* xcb_dri3_open_unchecked(). is used.
|
| 463 |
+
* Otherwise, it stores the error if any.
|
| 464 |
+
*
|
| 465 |
+
* The returned value must be freed by the caller using free().
|
| 466 |
+
*/
|
| 467 |
+
xcb_dri3_open_reply_t *
|
| 468 |
+
xcb_dri3_open_reply (xcb_connection_t *c,
|
| 469 |
+
xcb_dri3_open_cookie_t cookie /**< */,
|
| 470 |
+
xcb_generic_error_t **e);
|
| 471 |
+
|
| 472 |
+
/**
|
| 473 |
+
* Return the reply fds
|
| 474 |
+
* @param c The connection
|
| 475 |
+
* @param reply The reply
|
| 476 |
+
*
|
| 477 |
+
* Returns a pointer to the array of reply fds of the reply.
|
| 478 |
+
*
|
| 479 |
+
* The returned value points into the reply and must not be free().
|
| 480 |
+
* The fds are not managed by xcb. You must close() them before freeing the reply.
|
| 481 |
+
*/
|
| 482 |
+
int *
|
| 483 |
+
xcb_dri3_open_reply_fds (xcb_connection_t *c /**< */,
|
| 484 |
+
xcb_dri3_open_reply_t *reply);
|
| 485 |
+
|
| 486 |
+
/**
|
| 487 |
+
*
|
| 488 |
+
* @param c The connection
|
| 489 |
+
* @return A cookie
|
| 490 |
+
*
|
| 491 |
+
* Delivers a request to the X server.
|
| 492 |
+
*
|
| 493 |
+
* This form can be used only if the request will not cause
|
| 494 |
+
* a reply to be generated. Any returned error will be
|
| 495 |
+
* saved for handling by xcb_request_check().
|
| 496 |
+
*/
|
| 497 |
+
xcb_void_cookie_t
|
| 498 |
+
xcb_dri3_pixmap_from_buffer_checked (xcb_connection_t *c,
|
| 499 |
+
xcb_pixmap_t pixmap,
|
| 500 |
+
xcb_drawable_t drawable,
|
| 501 |
+
uint32_t size,
|
| 502 |
+
uint16_t width,
|
| 503 |
+
uint16_t height,
|
| 504 |
+
uint16_t stride,
|
| 505 |
+
uint8_t depth,
|
| 506 |
+
uint8_t bpp,
|
| 507 |
+
int32_t pixmap_fd);
|
| 508 |
+
|
| 509 |
+
/**
|
| 510 |
+
*
|
| 511 |
+
* @param c The connection
|
| 512 |
+
* @return A cookie
|
| 513 |
+
*
|
| 514 |
+
* Delivers a request to the X server.
|
| 515 |
+
*
|
| 516 |
+
*/
|
| 517 |
+
xcb_void_cookie_t
|
| 518 |
+
xcb_dri3_pixmap_from_buffer (xcb_connection_t *c,
|
| 519 |
+
xcb_pixmap_t pixmap,
|
| 520 |
+
xcb_drawable_t drawable,
|
| 521 |
+
uint32_t size,
|
| 522 |
+
uint16_t width,
|
| 523 |
+
uint16_t height,
|
| 524 |
+
uint16_t stride,
|
| 525 |
+
uint8_t depth,
|
| 526 |
+
uint8_t bpp,
|
| 527 |
+
int32_t pixmap_fd);
|
| 528 |
+
|
| 529 |
+
/**
|
| 530 |
+
*
|
| 531 |
+
* @param c The connection
|
| 532 |
+
* @return A cookie
|
| 533 |
+
*
|
| 534 |
+
* Delivers a request to the X server.
|
| 535 |
+
*
|
| 536 |
+
*/
|
| 537 |
+
xcb_dri3_buffer_from_pixmap_cookie_t
|
| 538 |
+
xcb_dri3_buffer_from_pixmap (xcb_connection_t *c,
|
| 539 |
+
xcb_pixmap_t pixmap);
|
| 540 |
+
|
| 541 |
+
/**
|
| 542 |
+
*
|
| 543 |
+
* @param c The connection
|
| 544 |
+
* @return A cookie
|
| 545 |
+
*
|
| 546 |
+
* Delivers a request to the X server.
|
| 547 |
+
*
|
| 548 |
+
* This form can be used only if the request will cause
|
| 549 |
+
* a reply to be generated. Any returned error will be
|
| 550 |
+
* placed in the event queue.
|
| 551 |
+
*/
|
| 552 |
+
xcb_dri3_buffer_from_pixmap_cookie_t
|
| 553 |
+
xcb_dri3_buffer_from_pixmap_unchecked (xcb_connection_t *c,
|
| 554 |
+
xcb_pixmap_t pixmap);
|
| 555 |
+
|
| 556 |
+
/**
|
| 557 |
+
* Return the reply
|
| 558 |
+
* @param c The connection
|
| 559 |
+
* @param cookie The cookie
|
| 560 |
+
* @param e The xcb_generic_error_t supplied
|
| 561 |
+
*
|
| 562 |
+
* Returns the reply of the request asked by
|
| 563 |
+
*
|
| 564 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 565 |
+
* xcb_dri3_buffer_from_pixmap_unchecked(). is used.
|
| 566 |
+
* Otherwise, it stores the error if any.
|
| 567 |
+
*
|
| 568 |
+
* The returned value must be freed by the caller using free().
|
| 569 |
+
*/
|
| 570 |
+
xcb_dri3_buffer_from_pixmap_reply_t *
|
| 571 |
+
xcb_dri3_buffer_from_pixmap_reply (xcb_connection_t *c,
|
| 572 |
+
xcb_dri3_buffer_from_pixmap_cookie_t cookie /**< */,
|
| 573 |
+
xcb_generic_error_t **e);
|
| 574 |
+
|
| 575 |
+
/**
|
| 576 |
+
* Return the reply fds
|
| 577 |
+
* @param c The connection
|
| 578 |
+
* @param reply The reply
|
| 579 |
+
*
|
| 580 |
+
* Returns a pointer to the array of reply fds of the reply.
|
| 581 |
+
*
|
| 582 |
+
* The returned value points into the reply and must not be free().
|
| 583 |
+
* The fds are not managed by xcb. You must close() them before freeing the reply.
|
| 584 |
+
*/
|
| 585 |
+
int *
|
| 586 |
+
xcb_dri3_buffer_from_pixmap_reply_fds (xcb_connection_t *c /**< */,
|
| 587 |
+
xcb_dri3_buffer_from_pixmap_reply_t *reply);
|
| 588 |
+
|
| 589 |
+
/**
|
| 590 |
+
*
|
| 591 |
+
* @param c The connection
|
| 592 |
+
* @return A cookie
|
| 593 |
+
*
|
| 594 |
+
* Delivers a request to the X server.
|
| 595 |
+
*
|
| 596 |
+
* This form can be used only if the request will not cause
|
| 597 |
+
* a reply to be generated. Any returned error will be
|
| 598 |
+
* saved for handling by xcb_request_check().
|
| 599 |
+
*/
|
| 600 |
+
xcb_void_cookie_t
|
| 601 |
+
xcb_dri3_fence_from_fd_checked (xcb_connection_t *c,
|
| 602 |
+
xcb_drawable_t drawable,
|
| 603 |
+
uint32_t fence,
|
| 604 |
+
uint8_t initially_triggered,
|
| 605 |
+
int32_t fence_fd);
|
| 606 |
+
|
| 607 |
+
/**
|
| 608 |
+
*
|
| 609 |
+
* @param c The connection
|
| 610 |
+
* @return A cookie
|
| 611 |
+
*
|
| 612 |
+
* Delivers a request to the X server.
|
| 613 |
+
*
|
| 614 |
+
*/
|
| 615 |
+
xcb_void_cookie_t
|
| 616 |
+
xcb_dri3_fence_from_fd (xcb_connection_t *c,
|
| 617 |
+
xcb_drawable_t drawable,
|
| 618 |
+
uint32_t fence,
|
| 619 |
+
uint8_t initially_triggered,
|
| 620 |
+
int32_t fence_fd);
|
| 621 |
+
|
| 622 |
+
/**
|
| 623 |
+
*
|
| 624 |
+
* @param c The connection
|
| 625 |
+
* @return A cookie
|
| 626 |
+
*
|
| 627 |
+
* Delivers a request to the X server.
|
| 628 |
+
*
|
| 629 |
+
*/
|
| 630 |
+
xcb_dri3_fd_from_fence_cookie_t
|
| 631 |
+
xcb_dri3_fd_from_fence (xcb_connection_t *c,
|
| 632 |
+
xcb_drawable_t drawable,
|
| 633 |
+
uint32_t fence);
|
| 634 |
+
|
| 635 |
+
/**
|
| 636 |
+
*
|
| 637 |
+
* @param c The connection
|
| 638 |
+
* @return A cookie
|
| 639 |
+
*
|
| 640 |
+
* Delivers a request to the X server.
|
| 641 |
+
*
|
| 642 |
+
* This form can be used only if the request will cause
|
| 643 |
+
* a reply to be generated. Any returned error will be
|
| 644 |
+
* placed in the event queue.
|
| 645 |
+
*/
|
| 646 |
+
xcb_dri3_fd_from_fence_cookie_t
|
| 647 |
+
xcb_dri3_fd_from_fence_unchecked (xcb_connection_t *c,
|
| 648 |
+
xcb_drawable_t drawable,
|
| 649 |
+
uint32_t fence);
|
| 650 |
+
|
| 651 |
+
/**
|
| 652 |
+
* Return the reply
|
| 653 |
+
* @param c The connection
|
| 654 |
+
* @param cookie The cookie
|
| 655 |
+
* @param e The xcb_generic_error_t supplied
|
| 656 |
+
*
|
| 657 |
+
* Returns the reply of the request asked by
|
| 658 |
+
*
|
| 659 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 660 |
+
* xcb_dri3_fd_from_fence_unchecked(). is used.
|
| 661 |
+
* Otherwise, it stores the error if any.
|
| 662 |
+
*
|
| 663 |
+
* The returned value must be freed by the caller using free().
|
| 664 |
+
*/
|
| 665 |
+
xcb_dri3_fd_from_fence_reply_t *
|
| 666 |
+
xcb_dri3_fd_from_fence_reply (xcb_connection_t *c,
|
| 667 |
+
xcb_dri3_fd_from_fence_cookie_t cookie /**< */,
|
| 668 |
+
xcb_generic_error_t **e);
|
| 669 |
+
|
| 670 |
+
/**
|
| 671 |
+
* Return the reply fds
|
| 672 |
+
* @param c The connection
|
| 673 |
+
* @param reply The reply
|
| 674 |
+
*
|
| 675 |
+
* Returns a pointer to the array of reply fds of the reply.
|
| 676 |
+
*
|
| 677 |
+
* The returned value points into the reply and must not be free().
|
| 678 |
+
* The fds are not managed by xcb. You must close() them before freeing the reply.
|
| 679 |
+
*/
|
| 680 |
+
int *
|
| 681 |
+
xcb_dri3_fd_from_fence_reply_fds (xcb_connection_t *c /**< */,
|
| 682 |
+
xcb_dri3_fd_from_fence_reply_t *reply);
|
| 683 |
+
|
| 684 |
+
int
|
| 685 |
+
xcb_dri3_get_supported_modifiers_sizeof (const void *_buffer);
|
| 686 |
+
|
| 687 |
+
/**
|
| 688 |
+
*
|
| 689 |
+
* @param c The connection
|
| 690 |
+
* @return A cookie
|
| 691 |
+
*
|
| 692 |
+
* Delivers a request to the X server.
|
| 693 |
+
*
|
| 694 |
+
*/
|
| 695 |
+
xcb_dri3_get_supported_modifiers_cookie_t
|
| 696 |
+
xcb_dri3_get_supported_modifiers (xcb_connection_t *c,
|
| 697 |
+
uint32_t window,
|
| 698 |
+
uint8_t depth,
|
| 699 |
+
uint8_t bpp);
|
| 700 |
+
|
| 701 |
+
/**
|
| 702 |
+
*
|
| 703 |
+
* @param c The connection
|
| 704 |
+
* @return A cookie
|
| 705 |
+
*
|
| 706 |
+
* Delivers a request to the X server.
|
| 707 |
+
*
|
| 708 |
+
* This form can be used only if the request will cause
|
| 709 |
+
* a reply to be generated. Any returned error will be
|
| 710 |
+
* placed in the event queue.
|
| 711 |
+
*/
|
| 712 |
+
xcb_dri3_get_supported_modifiers_cookie_t
|
| 713 |
+
xcb_dri3_get_supported_modifiers_unchecked (xcb_connection_t *c,
|
| 714 |
+
uint32_t window,
|
| 715 |
+
uint8_t depth,
|
| 716 |
+
uint8_t bpp);
|
| 717 |
+
|
| 718 |
+
uint64_t *
|
| 719 |
+
xcb_dri3_get_supported_modifiers_window_modifiers (const xcb_dri3_get_supported_modifiers_reply_t *R);
|
| 720 |
+
|
| 721 |
+
int
|
| 722 |
+
xcb_dri3_get_supported_modifiers_window_modifiers_length (const xcb_dri3_get_supported_modifiers_reply_t *R);
|
| 723 |
+
|
| 724 |
+
xcb_generic_iterator_t
|
| 725 |
+
xcb_dri3_get_supported_modifiers_window_modifiers_end (const xcb_dri3_get_supported_modifiers_reply_t *R);
|
| 726 |
+
|
| 727 |
+
uint64_t *
|
| 728 |
+
xcb_dri3_get_supported_modifiers_screen_modifiers (const xcb_dri3_get_supported_modifiers_reply_t *R);
|
| 729 |
+
|
| 730 |
+
int
|
| 731 |
+
xcb_dri3_get_supported_modifiers_screen_modifiers_length (const xcb_dri3_get_supported_modifiers_reply_t *R);
|
| 732 |
+
|
| 733 |
+
xcb_generic_iterator_t
|
| 734 |
+
xcb_dri3_get_supported_modifiers_screen_modifiers_end (const xcb_dri3_get_supported_modifiers_reply_t *R);
|
| 735 |
+
|
| 736 |
+
/**
|
| 737 |
+
* Return the reply
|
| 738 |
+
* @param c The connection
|
| 739 |
+
* @param cookie The cookie
|
| 740 |
+
* @param e The xcb_generic_error_t supplied
|
| 741 |
+
*
|
| 742 |
+
* Returns the reply of the request asked by
|
| 743 |
+
*
|
| 744 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 745 |
+
* xcb_dri3_get_supported_modifiers_unchecked(). is used.
|
| 746 |
+
* Otherwise, it stores the error if any.
|
| 747 |
+
*
|
| 748 |
+
* The returned value must be freed by the caller using free().
|
| 749 |
+
*/
|
| 750 |
+
xcb_dri3_get_supported_modifiers_reply_t *
|
| 751 |
+
xcb_dri3_get_supported_modifiers_reply (xcb_connection_t *c,
|
| 752 |
+
xcb_dri3_get_supported_modifiers_cookie_t cookie /**< */,
|
| 753 |
+
xcb_generic_error_t **e);
|
| 754 |
+
|
| 755 |
+
/**
|
| 756 |
+
*
|
| 757 |
+
* @param c The connection
|
| 758 |
+
* @return A cookie
|
| 759 |
+
*
|
| 760 |
+
* Delivers a request to the X server.
|
| 761 |
+
*
|
| 762 |
+
* This form can be used only if the request will not cause
|
| 763 |
+
* a reply to be generated. Any returned error will be
|
| 764 |
+
* saved for handling by xcb_request_check().
|
| 765 |
+
*/
|
| 766 |
+
xcb_void_cookie_t
|
| 767 |
+
xcb_dri3_pixmap_from_buffers_checked (xcb_connection_t *c,
|
| 768 |
+
xcb_pixmap_t pixmap,
|
| 769 |
+
xcb_window_t window,
|
| 770 |
+
uint8_t num_buffers,
|
| 771 |
+
uint16_t width,
|
| 772 |
+
uint16_t height,
|
| 773 |
+
uint32_t stride0,
|
| 774 |
+
uint32_t offset0,
|
| 775 |
+
uint32_t stride1,
|
| 776 |
+
uint32_t offset1,
|
| 777 |
+
uint32_t stride2,
|
| 778 |
+
uint32_t offset2,
|
| 779 |
+
uint32_t stride3,
|
| 780 |
+
uint32_t offset3,
|
| 781 |
+
uint8_t depth,
|
| 782 |
+
uint8_t bpp,
|
| 783 |
+
uint64_t modifier,
|
| 784 |
+
const int32_t *buffers);
|
| 785 |
+
|
| 786 |
+
/**
|
| 787 |
+
*
|
| 788 |
+
* @param c The connection
|
| 789 |
+
* @return A cookie
|
| 790 |
+
*
|
| 791 |
+
* Delivers a request to the X server.
|
| 792 |
+
*
|
| 793 |
+
*/
|
| 794 |
+
xcb_void_cookie_t
|
| 795 |
+
xcb_dri3_pixmap_from_buffers (xcb_connection_t *c,
|
| 796 |
+
xcb_pixmap_t pixmap,
|
| 797 |
+
xcb_window_t window,
|
| 798 |
+
uint8_t num_buffers,
|
| 799 |
+
uint16_t width,
|
| 800 |
+
uint16_t height,
|
| 801 |
+
uint32_t stride0,
|
| 802 |
+
uint32_t offset0,
|
| 803 |
+
uint32_t stride1,
|
| 804 |
+
uint32_t offset1,
|
| 805 |
+
uint32_t stride2,
|
| 806 |
+
uint32_t offset2,
|
| 807 |
+
uint32_t stride3,
|
| 808 |
+
uint32_t offset3,
|
| 809 |
+
uint8_t depth,
|
| 810 |
+
uint8_t bpp,
|
| 811 |
+
uint64_t modifier,
|
| 812 |
+
const int32_t *buffers);
|
| 813 |
+
|
| 814 |
+
int
|
| 815 |
+
xcb_dri3_buffers_from_pixmap_sizeof (const void *_buffer,
|
| 816 |
+
int32_t buffers);
|
| 817 |
+
|
| 818 |
+
/**
|
| 819 |
+
*
|
| 820 |
+
* @param c The connection
|
| 821 |
+
* @return A cookie
|
| 822 |
+
*
|
| 823 |
+
* Delivers a request to the X server.
|
| 824 |
+
*
|
| 825 |
+
*/
|
| 826 |
+
xcb_dri3_buffers_from_pixmap_cookie_t
|
| 827 |
+
xcb_dri3_buffers_from_pixmap (xcb_connection_t *c,
|
| 828 |
+
xcb_pixmap_t pixmap);
|
| 829 |
+
|
| 830 |
+
/**
|
| 831 |
+
*
|
| 832 |
+
* @param c The connection
|
| 833 |
+
* @return A cookie
|
| 834 |
+
*
|
| 835 |
+
* Delivers a request to the X server.
|
| 836 |
+
*
|
| 837 |
+
* This form can be used only if the request will cause
|
| 838 |
+
* a reply to be generated. Any returned error will be
|
| 839 |
+
* placed in the event queue.
|
| 840 |
+
*/
|
| 841 |
+
xcb_dri3_buffers_from_pixmap_cookie_t
|
| 842 |
+
xcb_dri3_buffers_from_pixmap_unchecked (xcb_connection_t *c,
|
| 843 |
+
xcb_pixmap_t pixmap);
|
| 844 |
+
|
| 845 |
+
uint32_t *
|
| 846 |
+
xcb_dri3_buffers_from_pixmap_strides (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 847 |
+
|
| 848 |
+
int
|
| 849 |
+
xcb_dri3_buffers_from_pixmap_strides_length (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 850 |
+
|
| 851 |
+
xcb_generic_iterator_t
|
| 852 |
+
xcb_dri3_buffers_from_pixmap_strides_end (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 853 |
+
|
| 854 |
+
uint32_t *
|
| 855 |
+
xcb_dri3_buffers_from_pixmap_offsets (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 856 |
+
|
| 857 |
+
int
|
| 858 |
+
xcb_dri3_buffers_from_pixmap_offsets_length (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 859 |
+
|
| 860 |
+
xcb_generic_iterator_t
|
| 861 |
+
xcb_dri3_buffers_from_pixmap_offsets_end (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 862 |
+
|
| 863 |
+
int32_t *
|
| 864 |
+
xcb_dri3_buffers_from_pixmap_buffers (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 865 |
+
|
| 866 |
+
int
|
| 867 |
+
xcb_dri3_buffers_from_pixmap_buffers_length (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 868 |
+
|
| 869 |
+
xcb_generic_iterator_t
|
| 870 |
+
xcb_dri3_buffers_from_pixmap_buffers_end (const xcb_dri3_buffers_from_pixmap_reply_t *R);
|
| 871 |
+
|
| 872 |
+
/**
|
| 873 |
+
* Return the reply
|
| 874 |
+
* @param c The connection
|
| 875 |
+
* @param cookie The cookie
|
| 876 |
+
* @param e The xcb_generic_error_t supplied
|
| 877 |
+
*
|
| 878 |
+
* Returns the reply of the request asked by
|
| 879 |
+
*
|
| 880 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 881 |
+
* xcb_dri3_buffers_from_pixmap_unchecked(). is used.
|
| 882 |
+
* Otherwise, it stores the error if any.
|
| 883 |
+
*
|
| 884 |
+
* The returned value must be freed by the caller using free().
|
| 885 |
+
*/
|
| 886 |
+
xcb_dri3_buffers_from_pixmap_reply_t *
|
| 887 |
+
xcb_dri3_buffers_from_pixmap_reply (xcb_connection_t *c,
|
| 888 |
+
xcb_dri3_buffers_from_pixmap_cookie_t cookie /**< */,
|
| 889 |
+
xcb_generic_error_t **e);
|
| 890 |
+
|
| 891 |
+
/**
|
| 892 |
+
* Return the reply fds
|
| 893 |
+
* @param c The connection
|
| 894 |
+
* @param reply The reply
|
| 895 |
+
*
|
| 896 |
+
* Returns a pointer to the array of reply fds of the reply.
|
| 897 |
+
*
|
| 898 |
+
* The returned value points into the reply and must not be free().
|
| 899 |
+
* The fds are not managed by xcb. You must close() them before freeing the reply.
|
| 900 |
+
*/
|
| 901 |
+
int *
|
| 902 |
+
xcb_dri3_buffers_from_pixmap_reply_fds (xcb_connection_t *c /**< */,
|
| 903 |
+
xcb_dri3_buffers_from_pixmap_reply_t *reply);
|
| 904 |
+
|
| 905 |
+
/**
|
| 906 |
+
*
|
| 907 |
+
* @param c The connection
|
| 908 |
+
* @return A cookie
|
| 909 |
+
*
|
| 910 |
+
* Delivers a request to the X server.
|
| 911 |
+
*
|
| 912 |
+
* This form can be used only if the request will not cause
|
| 913 |
+
* a reply to be generated. Any returned error will be
|
| 914 |
+
* saved for handling by xcb_request_check().
|
| 915 |
+
*/
|
| 916 |
+
xcb_void_cookie_t
|
| 917 |
+
xcb_dri3_set_drm_device_in_use_checked (xcb_connection_t *c,
|
| 918 |
+
xcb_window_t window,
|
| 919 |
+
uint32_t drmMajor,
|
| 920 |
+
uint32_t drmMinor);
|
| 921 |
+
|
| 922 |
+
/**
|
| 923 |
+
*
|
| 924 |
+
* @param c The connection
|
| 925 |
+
* @return A cookie
|
| 926 |
+
*
|
| 927 |
+
* Delivers a request to the X server.
|
| 928 |
+
*
|
| 929 |
+
*/
|
| 930 |
+
xcb_void_cookie_t
|
| 931 |
+
xcb_dri3_set_drm_device_in_use (xcb_connection_t *c,
|
| 932 |
+
xcb_window_t window,
|
| 933 |
+
uint32_t drmMajor,
|
| 934 |
+
uint32_t drmMinor);
|
| 935 |
+
|
| 936 |
+
/**
|
| 937 |
+
*
|
| 938 |
+
* @param c The connection
|
| 939 |
+
* @return A cookie
|
| 940 |
+
*
|
| 941 |
+
* Delivers a request to the X server.
|
| 942 |
+
*
|
| 943 |
+
* This form can be used only if the request will not cause
|
| 944 |
+
* a reply to be generated. Any returned error will be
|
| 945 |
+
* saved for handling by xcb_request_check().
|
| 946 |
+
*/
|
| 947 |
+
xcb_void_cookie_t
|
| 948 |
+
xcb_dri3_import_syncobj_checked (xcb_connection_t *c,
|
| 949 |
+
xcb_dri3_syncobj_t syncobj,
|
| 950 |
+
xcb_drawable_t drawable,
|
| 951 |
+
int32_t syncobj_fd);
|
| 952 |
+
|
| 953 |
+
/**
|
| 954 |
+
*
|
| 955 |
+
* @param c The connection
|
| 956 |
+
* @return A cookie
|
| 957 |
+
*
|
| 958 |
+
* Delivers a request to the X server.
|
| 959 |
+
*
|
| 960 |
+
*/
|
| 961 |
+
xcb_void_cookie_t
|
| 962 |
+
xcb_dri3_import_syncobj (xcb_connection_t *c,
|
| 963 |
+
xcb_dri3_syncobj_t syncobj,
|
| 964 |
+
xcb_drawable_t drawable,
|
| 965 |
+
int32_t syncobj_fd);
|
| 966 |
+
|
| 967 |
+
/**
|
| 968 |
+
*
|
| 969 |
+
* @param c The connection
|
| 970 |
+
* @return A cookie
|
| 971 |
+
*
|
| 972 |
+
* Delivers a request to the X server.
|
| 973 |
+
*
|
| 974 |
+
* This form can be used only if the request will not cause
|
| 975 |
+
* a reply to be generated. Any returned error will be
|
| 976 |
+
* saved for handling by xcb_request_check().
|
| 977 |
+
*/
|
| 978 |
+
xcb_void_cookie_t
|
| 979 |
+
xcb_dri3_free_syncobj_checked (xcb_connection_t *c,
|
| 980 |
+
xcb_dri3_syncobj_t syncobj);
|
| 981 |
+
|
| 982 |
+
/**
|
| 983 |
+
*
|
| 984 |
+
* @param c The connection
|
| 985 |
+
* @return A cookie
|
| 986 |
+
*
|
| 987 |
+
* Delivers a request to the X server.
|
| 988 |
+
*
|
| 989 |
+
*/
|
| 990 |
+
xcb_void_cookie_t
|
| 991 |
+
xcb_dri3_free_syncobj (xcb_connection_t *c,
|
| 992 |
+
xcb_dri3_syncobj_t syncobj);
|
| 993 |
+
|
| 994 |
+
|
| 995 |
+
#ifdef __cplusplus
|
| 996 |
+
}
|
| 997 |
+
#endif
|
| 998 |
+
|
| 999 |
+
#endif
|
| 1000 |
+
|
| 1001 |
+
/**
|
| 1002 |
+
* @}
|
| 1003 |
+
*/
|
miniconda3/envs/ladir/include/xcb/ge.h
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from ge.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_GenericEvent_API XCB GenericEvent API
|
| 8 |
+
* @brief GenericEvent XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __GE_H
|
| 13 |
+
#define __GE_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
|
| 17 |
+
#ifdef __cplusplus
|
| 18 |
+
extern "C" {
|
| 19 |
+
#endif
|
| 20 |
+
|
| 21 |
+
#define XCB_GENERICEVENT_MAJOR_VERSION 1
|
| 22 |
+
#define XCB_GENERICEVENT_MINOR_VERSION 0
|
| 23 |
+
|
| 24 |
+
extern xcb_extension_t xcb_genericevent_id;
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* @brief xcb_genericevent_query_version_cookie_t
|
| 28 |
+
**/
|
| 29 |
+
typedef struct xcb_genericevent_query_version_cookie_t {
|
| 30 |
+
unsigned int sequence;
|
| 31 |
+
} xcb_genericevent_query_version_cookie_t;
|
| 32 |
+
|
| 33 |
+
/** Opcode for xcb_genericevent_query_version. */
|
| 34 |
+
#define XCB_GENERICEVENT_QUERY_VERSION 0
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
* @brief xcb_genericevent_query_version_request_t
|
| 38 |
+
**/
|
| 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 |
+
|
| 47 |
+
/**
|
| 48 |
+
* @brief xcb_genericevent_query_version_reply_t
|
| 49 |
+
**/
|
| 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 |
+
|
| 60 |
+
/**
|
| 61 |
+
*
|
| 62 |
+
* @param c The connection
|
| 63 |
+
* @return A cookie
|
| 64 |
+
*
|
| 65 |
+
* Delivers a request to the X server.
|
| 66 |
+
*
|
| 67 |
+
*/
|
| 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 |
+
|
| 73 |
+
/**
|
| 74 |
+
*
|
| 75 |
+
* @param c The connection
|
| 76 |
+
* @return A cookie
|
| 77 |
+
*
|
| 78 |
+
* Delivers a request to the X server.
|
| 79 |
+
*
|
| 80 |
+
* This form can be used only if the request will cause
|
| 81 |
+
* a reply to be generated. Any returned error will be
|
| 82 |
+
* placed in the event queue.
|
| 83 |
+
*/
|
| 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 |
+
|
| 89 |
+
/**
|
| 90 |
+
* Return the reply
|
| 91 |
+
* @param c The connection
|
| 92 |
+
* @param cookie The cookie
|
| 93 |
+
* @param e The xcb_generic_error_t supplied
|
| 94 |
+
*
|
| 95 |
+
* Returns the reply of the request asked by
|
| 96 |
+
*
|
| 97 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 98 |
+
* xcb_genericevent_query_version_unchecked(). is used.
|
| 99 |
+
* Otherwise, it stores the error if any.
|
| 100 |
+
*
|
| 101 |
+
* The returned value must be freed by the caller using free().
|
| 102 |
+
*/
|
| 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 |
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from present.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Present_API XCB Present API
|
| 8 |
+
* @brief Present XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __PRESENT_H
|
| 13 |
+
#define __PRESENT_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
#include "randr.h"
|
| 18 |
+
#include "xfixes.h"
|
| 19 |
+
#include "sync.h"
|
| 20 |
+
#include "dri3.h"
|
| 21 |
+
|
| 22 |
+
#ifdef __cplusplus
|
| 23 |
+
extern "C" {
|
| 24 |
+
#endif
|
| 25 |
+
|
| 26 |
+
#define XCB_PRESENT_MAJOR_VERSION 1
|
| 27 |
+
#define XCB_PRESENT_MINOR_VERSION 4
|
| 28 |
+
|
| 29 |
+
extern xcb_extension_t xcb_present_id;
|
| 30 |
+
|
| 31 |
+
typedef enum xcb_present_event_enum_t {
|
| 32 |
+
XCB_PRESENT_EVENT_CONFIGURE_NOTIFY = 0,
|
| 33 |
+
XCB_PRESENT_EVENT_COMPLETE_NOTIFY = 1,
|
| 34 |
+
XCB_PRESENT_EVENT_IDLE_NOTIFY = 2,
|
| 35 |
+
XCB_PRESENT_EVENT_REDIRECT_NOTIFY = 3
|
| 36 |
+
} xcb_present_event_enum_t;
|
| 37 |
+
|
| 38 |
+
typedef enum xcb_present_event_mask_t {
|
| 39 |
+
XCB_PRESENT_EVENT_MASK_NO_EVENT = 0,
|
| 40 |
+
XCB_PRESENT_EVENT_MASK_CONFIGURE_NOTIFY = 1,
|
| 41 |
+
XCB_PRESENT_EVENT_MASK_COMPLETE_NOTIFY = 2,
|
| 42 |
+
XCB_PRESENT_EVENT_MASK_IDLE_NOTIFY = 4,
|
| 43 |
+
XCB_PRESENT_EVENT_MASK_REDIRECT_NOTIFY = 8
|
| 44 |
+
} xcb_present_event_mask_t;
|
| 45 |
+
|
| 46 |
+
typedef enum xcb_present_option_t {
|
| 47 |
+
XCB_PRESENT_OPTION_NONE = 0,
|
| 48 |
+
XCB_PRESENT_OPTION_ASYNC = 1,
|
| 49 |
+
XCB_PRESENT_OPTION_COPY = 2,
|
| 50 |
+
XCB_PRESENT_OPTION_UST = 4,
|
| 51 |
+
XCB_PRESENT_OPTION_SUBOPTIMAL = 8,
|
| 52 |
+
XCB_PRESENT_OPTION_ASYNC_MAY_TEAR = 16
|
| 53 |
+
} xcb_present_option_t;
|
| 54 |
+
|
| 55 |
+
typedef enum xcb_present_capability_t {
|
| 56 |
+
XCB_PRESENT_CAPABILITY_NONE = 0,
|
| 57 |
+
XCB_PRESENT_CAPABILITY_ASYNC = 1,
|
| 58 |
+
XCB_PRESENT_CAPABILITY_FENCE = 2,
|
| 59 |
+
XCB_PRESENT_CAPABILITY_UST = 4,
|
| 60 |
+
XCB_PRESENT_CAPABILITY_ASYNC_MAY_TEAR = 8,
|
| 61 |
+
XCB_PRESENT_CAPABILITY_SYNCOBJ = 16
|
| 62 |
+
} xcb_present_capability_t;
|
| 63 |
+
|
| 64 |
+
typedef enum xcb_present_complete_kind_t {
|
| 65 |
+
XCB_PRESENT_COMPLETE_KIND_PIXMAP = 0,
|
| 66 |
+
XCB_PRESENT_COMPLETE_KIND_NOTIFY_MSC = 1
|
| 67 |
+
} xcb_present_complete_kind_t;
|
| 68 |
+
|
| 69 |
+
typedef enum xcb_present_complete_mode_t {
|
| 70 |
+
XCB_PRESENT_COMPLETE_MODE_COPY = 0,
|
| 71 |
+
XCB_PRESENT_COMPLETE_MODE_FLIP = 1,
|
| 72 |
+
XCB_PRESENT_COMPLETE_MODE_SKIP = 2,
|
| 73 |
+
XCB_PRESENT_COMPLETE_MODE_SUBOPTIMAL_COPY = 3
|
| 74 |
+
} xcb_present_complete_mode_t;
|
| 75 |
+
|
| 76 |
+
/**
|
| 77 |
+
* @brief xcb_present_notify_t
|
| 78 |
+
**/
|
| 79 |
+
typedef struct xcb_present_notify_t {
|
| 80 |
+
xcb_window_t window;
|
| 81 |
+
uint32_t serial;
|
| 82 |
+
} xcb_present_notify_t;
|
| 83 |
+
|
| 84 |
+
/**
|
| 85 |
+
* @brief xcb_present_notify_iterator_t
|
| 86 |
+
**/
|
| 87 |
+
typedef struct xcb_present_notify_iterator_t {
|
| 88 |
+
xcb_present_notify_t *data;
|
| 89 |
+
int rem;
|
| 90 |
+
int index;
|
| 91 |
+
} xcb_present_notify_iterator_t;
|
| 92 |
+
|
| 93 |
+
/**
|
| 94 |
+
* @brief xcb_present_query_version_cookie_t
|
| 95 |
+
**/
|
| 96 |
+
typedef struct xcb_present_query_version_cookie_t {
|
| 97 |
+
unsigned int sequence;
|
| 98 |
+
} xcb_present_query_version_cookie_t;
|
| 99 |
+
|
| 100 |
+
/** Opcode for xcb_present_query_version. */
|
| 101 |
+
#define XCB_PRESENT_QUERY_VERSION 0
|
| 102 |
+
|
| 103 |
+
/**
|
| 104 |
+
* @brief xcb_present_query_version_request_t
|
| 105 |
+
**/
|
| 106 |
+
typedef struct xcb_present_query_version_request_t {
|
| 107 |
+
uint8_t major_opcode;
|
| 108 |
+
uint8_t minor_opcode;
|
| 109 |
+
uint16_t length;
|
| 110 |
+
uint32_t major_version;
|
| 111 |
+
uint32_t minor_version;
|
| 112 |
+
} xcb_present_query_version_request_t;
|
| 113 |
+
|
| 114 |
+
/**
|
| 115 |
+
* @brief xcb_present_query_version_reply_t
|
| 116 |
+
**/
|
| 117 |
+
typedef struct xcb_present_query_version_reply_t {
|
| 118 |
+
uint8_t response_type;
|
| 119 |
+
uint8_t pad0;
|
| 120 |
+
uint16_t sequence;
|
| 121 |
+
uint32_t length;
|
| 122 |
+
uint32_t major_version;
|
| 123 |
+
uint32_t minor_version;
|
| 124 |
+
} xcb_present_query_version_reply_t;
|
| 125 |
+
|
| 126 |
+
/** Opcode for xcb_present_pixmap. */
|
| 127 |
+
#define XCB_PRESENT_PIXMAP 1
|
| 128 |
+
|
| 129 |
+
/**
|
| 130 |
+
* @brief xcb_present_pixmap_request_t
|
| 131 |
+
**/
|
| 132 |
+
typedef struct xcb_present_pixmap_request_t {
|
| 133 |
+
uint8_t major_opcode;
|
| 134 |
+
uint8_t minor_opcode;
|
| 135 |
+
uint16_t length;
|
| 136 |
+
xcb_window_t window;
|
| 137 |
+
xcb_pixmap_t pixmap;
|
| 138 |
+
uint32_t serial;
|
| 139 |
+
xcb_xfixes_region_t valid;
|
| 140 |
+
xcb_xfixes_region_t update;
|
| 141 |
+
int16_t x_off;
|
| 142 |
+
int16_t y_off;
|
| 143 |
+
xcb_randr_crtc_t target_crtc;
|
| 144 |
+
xcb_sync_fence_t wait_fence;
|
| 145 |
+
xcb_sync_fence_t idle_fence;
|
| 146 |
+
uint32_t options;
|
| 147 |
+
uint8_t pad0[4];
|
| 148 |
+
uint64_t target_msc;
|
| 149 |
+
uint64_t divisor;
|
| 150 |
+
uint64_t remainder;
|
| 151 |
+
} xcb_present_pixmap_request_t;
|
| 152 |
+
|
| 153 |
+
/** Opcode for xcb_present_notify_msc. */
|
| 154 |
+
#define XCB_PRESENT_NOTIFY_MSC 2
|
| 155 |
+
|
| 156 |
+
/**
|
| 157 |
+
* @brief xcb_present_notify_msc_request_t
|
| 158 |
+
**/
|
| 159 |
+
typedef struct xcb_present_notify_msc_request_t {
|
| 160 |
+
uint8_t major_opcode;
|
| 161 |
+
uint8_t minor_opcode;
|
| 162 |
+
uint16_t length;
|
| 163 |
+
xcb_window_t window;
|
| 164 |
+
uint32_t serial;
|
| 165 |
+
uint8_t pad0[4];
|
| 166 |
+
uint64_t target_msc;
|
| 167 |
+
uint64_t divisor;
|
| 168 |
+
uint64_t remainder;
|
| 169 |
+
} xcb_present_notify_msc_request_t;
|
| 170 |
+
|
| 171 |
+
typedef uint32_t xcb_present_event_t;
|
| 172 |
+
|
| 173 |
+
/**
|
| 174 |
+
* @brief xcb_present_event_iterator_t
|
| 175 |
+
**/
|
| 176 |
+
typedef struct xcb_present_event_iterator_t {
|
| 177 |
+
xcb_present_event_t *data;
|
| 178 |
+
int rem;
|
| 179 |
+
int index;
|
| 180 |
+
} xcb_present_event_iterator_t;
|
| 181 |
+
|
| 182 |
+
/** Opcode for xcb_present_select_input. */
|
| 183 |
+
#define XCB_PRESENT_SELECT_INPUT 3
|
| 184 |
+
|
| 185 |
+
/**
|
| 186 |
+
* @brief xcb_present_select_input_request_t
|
| 187 |
+
**/
|
| 188 |
+
typedef struct xcb_present_select_input_request_t {
|
| 189 |
+
uint8_t major_opcode;
|
| 190 |
+
uint8_t minor_opcode;
|
| 191 |
+
uint16_t length;
|
| 192 |
+
xcb_present_event_t eid;
|
| 193 |
+
xcb_window_t window;
|
| 194 |
+
uint32_t event_mask;
|
| 195 |
+
} xcb_present_select_input_request_t;
|
| 196 |
+
|
| 197 |
+
/**
|
| 198 |
+
* @brief xcb_present_query_capabilities_cookie_t
|
| 199 |
+
**/
|
| 200 |
+
typedef struct xcb_present_query_capabilities_cookie_t {
|
| 201 |
+
unsigned int sequence;
|
| 202 |
+
} xcb_present_query_capabilities_cookie_t;
|
| 203 |
+
|
| 204 |
+
/** Opcode for xcb_present_query_capabilities. */
|
| 205 |
+
#define XCB_PRESENT_QUERY_CAPABILITIES 4
|
| 206 |
+
|
| 207 |
+
/**
|
| 208 |
+
* @brief xcb_present_query_capabilities_request_t
|
| 209 |
+
**/
|
| 210 |
+
typedef struct xcb_present_query_capabilities_request_t {
|
| 211 |
+
uint8_t major_opcode;
|
| 212 |
+
uint8_t minor_opcode;
|
| 213 |
+
uint16_t length;
|
| 214 |
+
uint32_t target;
|
| 215 |
+
} xcb_present_query_capabilities_request_t;
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
* @brief xcb_present_query_capabilities_reply_t
|
| 219 |
+
**/
|
| 220 |
+
typedef struct xcb_present_query_capabilities_reply_t {
|
| 221 |
+
uint8_t response_type;
|
| 222 |
+
uint8_t pad0;
|
| 223 |
+
uint16_t sequence;
|
| 224 |
+
uint32_t length;
|
| 225 |
+
uint32_t capabilities;
|
| 226 |
+
} xcb_present_query_capabilities_reply_t;
|
| 227 |
+
|
| 228 |
+
/** Opcode for xcb_present_pixmap_synced. */
|
| 229 |
+
#define XCB_PRESENT_PIXMAP_SYNCED 5
|
| 230 |
+
|
| 231 |
+
/**
|
| 232 |
+
* @brief xcb_present_pixmap_synced_request_t
|
| 233 |
+
**/
|
| 234 |
+
typedef struct xcb_present_pixmap_synced_request_t {
|
| 235 |
+
uint8_t major_opcode;
|
| 236 |
+
uint8_t minor_opcode;
|
| 237 |
+
uint16_t length;
|
| 238 |
+
xcb_window_t window;
|
| 239 |
+
xcb_pixmap_t pixmap;
|
| 240 |
+
uint32_t serial;
|
| 241 |
+
xcb_xfixes_region_t valid;
|
| 242 |
+
xcb_xfixes_region_t update;
|
| 243 |
+
int16_t x_off;
|
| 244 |
+
int16_t y_off;
|
| 245 |
+
xcb_randr_crtc_t target_crtc;
|
| 246 |
+
xcb_dri3_syncobj_t acquire_syncobj;
|
| 247 |
+
xcb_dri3_syncobj_t release_syncobj;
|
| 248 |
+
uint64_t acquire_point;
|
| 249 |
+
uint64_t release_point;
|
| 250 |
+
uint32_t options;
|
| 251 |
+
uint8_t pad0[4];
|
| 252 |
+
uint64_t target_msc;
|
| 253 |
+
uint64_t divisor;
|
| 254 |
+
uint64_t remainder;
|
| 255 |
+
} xcb_present_pixmap_synced_request_t;
|
| 256 |
+
|
| 257 |
+
/** Opcode for xcb_present_generic. */
|
| 258 |
+
#define XCB_PRESENT_GENERIC 0
|
| 259 |
+
|
| 260 |
+
/**
|
| 261 |
+
* @brief xcb_present_generic_event_t
|
| 262 |
+
**/
|
| 263 |
+
typedef struct xcb_present_generic_event_t {
|
| 264 |
+
uint8_t response_type;
|
| 265 |
+
uint8_t extension;
|
| 266 |
+
uint16_t sequence;
|
| 267 |
+
uint32_t length;
|
| 268 |
+
uint16_t evtype;
|
| 269 |
+
uint8_t pad0[2];
|
| 270 |
+
xcb_present_event_t event;
|
| 271 |
+
} xcb_present_generic_event_t;
|
| 272 |
+
|
| 273 |
+
/** Opcode for xcb_present_configure_notify. */
|
| 274 |
+
#define XCB_PRESENT_CONFIGURE_NOTIFY 0
|
| 275 |
+
|
| 276 |
+
/**
|
| 277 |
+
* @brief xcb_present_configure_notify_event_t
|
| 278 |
+
**/
|
| 279 |
+
typedef struct xcb_present_configure_notify_event_t {
|
| 280 |
+
uint8_t response_type;
|
| 281 |
+
uint8_t extension;
|
| 282 |
+
uint16_t sequence;
|
| 283 |
+
uint32_t length;
|
| 284 |
+
uint16_t event_type;
|
| 285 |
+
uint8_t pad0[2];
|
| 286 |
+
xcb_present_event_t event;
|
| 287 |
+
xcb_window_t window;
|
| 288 |
+
int16_t x;
|
| 289 |
+
int16_t y;
|
| 290 |
+
uint16_t width;
|
| 291 |
+
uint16_t height;
|
| 292 |
+
int16_t off_x;
|
| 293 |
+
int16_t off_y;
|
| 294 |
+
uint32_t full_sequence;
|
| 295 |
+
uint16_t pixmap_width;
|
| 296 |
+
uint16_t pixmap_height;
|
| 297 |
+
uint32_t pixmap_flags;
|
| 298 |
+
} xcb_present_configure_notify_event_t;
|
| 299 |
+
|
| 300 |
+
/** Opcode for xcb_present_complete_notify. */
|
| 301 |
+
#define XCB_PRESENT_COMPLETE_NOTIFY 1
|
| 302 |
+
|
| 303 |
+
/**
|
| 304 |
+
* @brief xcb_present_complete_notify_event_t
|
| 305 |
+
**/
|
| 306 |
+
typedef struct xcb_present_complete_notify_event_t {
|
| 307 |
+
uint8_t response_type;
|
| 308 |
+
uint8_t extension;
|
| 309 |
+
uint16_t sequence;
|
| 310 |
+
uint32_t length;
|
| 311 |
+
uint16_t event_type;
|
| 312 |
+
uint8_t kind;
|
| 313 |
+
uint8_t mode;
|
| 314 |
+
xcb_present_event_t event;
|
| 315 |
+
xcb_window_t window;
|
| 316 |
+
uint32_t serial;
|
| 317 |
+
uint64_t ust;
|
| 318 |
+
uint32_t full_sequence;
|
| 319 |
+
uint64_t msc;
|
| 320 |
+
} XCB_PACKED xcb_present_complete_notify_event_t;
|
| 321 |
+
|
| 322 |
+
/** Opcode for xcb_present_idle_notify. */
|
| 323 |
+
#define XCB_PRESENT_IDLE_NOTIFY 2
|
| 324 |
+
|
| 325 |
+
/**
|
| 326 |
+
* @brief xcb_present_idle_notify_event_t
|
| 327 |
+
**/
|
| 328 |
+
typedef struct xcb_present_idle_notify_event_t {
|
| 329 |
+
uint8_t response_type;
|
| 330 |
+
uint8_t extension;
|
| 331 |
+
uint16_t sequence;
|
| 332 |
+
uint32_t length;
|
| 333 |
+
uint16_t event_type;
|
| 334 |
+
uint8_t pad0[2];
|
| 335 |
+
xcb_present_event_t event;
|
| 336 |
+
xcb_window_t window;
|
| 337 |
+
uint32_t serial;
|
| 338 |
+
xcb_pixmap_t pixmap;
|
| 339 |
+
xcb_sync_fence_t idle_fence;
|
| 340 |
+
uint32_t full_sequence;
|
| 341 |
+
} xcb_present_idle_notify_event_t;
|
| 342 |
+
|
| 343 |
+
/** Opcode for xcb_present_redirect_notify. */
|
| 344 |
+
#define XCB_PRESENT_REDIRECT_NOTIFY 3
|
| 345 |
+
|
| 346 |
+
/**
|
| 347 |
+
* @brief xcb_present_redirect_notify_event_t
|
| 348 |
+
**/
|
| 349 |
+
typedef struct xcb_present_redirect_notify_event_t {
|
| 350 |
+
uint8_t response_type;
|
| 351 |
+
uint8_t extension;
|
| 352 |
+
uint16_t sequence;
|
| 353 |
+
uint32_t length;
|
| 354 |
+
uint16_t event_type;
|
| 355 |
+
uint8_t update_window;
|
| 356 |
+
uint8_t pad0;
|
| 357 |
+
xcb_present_event_t event;
|
| 358 |
+
xcb_window_t event_window;
|
| 359 |
+
xcb_window_t window;
|
| 360 |
+
xcb_pixmap_t pixmap;
|
| 361 |
+
uint32_t serial;
|
| 362 |
+
uint32_t full_sequence;
|
| 363 |
+
xcb_xfixes_region_t valid_region;
|
| 364 |
+
xcb_xfixes_region_t update_region;
|
| 365 |
+
xcb_rectangle_t valid_rect;
|
| 366 |
+
xcb_rectangle_t update_rect;
|
| 367 |
+
int16_t x_off;
|
| 368 |
+
int16_t y_off;
|
| 369 |
+
xcb_randr_crtc_t target_crtc;
|
| 370 |
+
xcb_sync_fence_t wait_fence;
|
| 371 |
+
xcb_sync_fence_t idle_fence;
|
| 372 |
+
uint32_t options;
|
| 373 |
+
uint8_t pad1[4];
|
| 374 |
+
uint64_t target_msc;
|
| 375 |
+
uint64_t divisor;
|
| 376 |
+
uint64_t remainder;
|
| 377 |
+
} XCB_PACKED xcb_present_redirect_notify_event_t;
|
| 378 |
+
|
| 379 |
+
/**
|
| 380 |
+
* Get the next element of the iterator
|
| 381 |
+
* @param i Pointer to a xcb_present_notify_iterator_t
|
| 382 |
+
*
|
| 383 |
+
* Get the next element in the iterator. The member rem is
|
| 384 |
+
* decreased by one. The member data points to the next
|
| 385 |
+
* element. The member index is increased by sizeof(xcb_present_notify_t)
|
| 386 |
+
*/
|
| 387 |
+
void
|
| 388 |
+
xcb_present_notify_next (xcb_present_notify_iterator_t *i);
|
| 389 |
+
|
| 390 |
+
/**
|
| 391 |
+
* Return the iterator pointing to the last element
|
| 392 |
+
* @param i An xcb_present_notify_iterator_t
|
| 393 |
+
* @return The iterator pointing to the last element
|
| 394 |
+
*
|
| 395 |
+
* Set the current element in the iterator to the last element.
|
| 396 |
+
* The member rem is set to 0. The member data points to the
|
| 397 |
+
* last element.
|
| 398 |
+
*/
|
| 399 |
+
xcb_generic_iterator_t
|
| 400 |
+
xcb_present_notify_end (xcb_present_notify_iterator_t i);
|
| 401 |
+
|
| 402 |
+
/**
|
| 403 |
+
*
|
| 404 |
+
* @param c The connection
|
| 405 |
+
* @return A cookie
|
| 406 |
+
*
|
| 407 |
+
* Delivers a request to the X server.
|
| 408 |
+
*
|
| 409 |
+
*/
|
| 410 |
+
xcb_present_query_version_cookie_t
|
| 411 |
+
xcb_present_query_version (xcb_connection_t *c,
|
| 412 |
+
uint32_t major_version,
|
| 413 |
+
uint32_t minor_version);
|
| 414 |
+
|
| 415 |
+
/**
|
| 416 |
+
*
|
| 417 |
+
* @param c The connection
|
| 418 |
+
* @return A cookie
|
| 419 |
+
*
|
| 420 |
+
* Delivers a request to the X server.
|
| 421 |
+
*
|
| 422 |
+
* This form can be used only if the request will cause
|
| 423 |
+
* a reply to be generated. Any returned error will be
|
| 424 |
+
* placed in the event queue.
|
| 425 |
+
*/
|
| 426 |
+
xcb_present_query_version_cookie_t
|
| 427 |
+
xcb_present_query_version_unchecked (xcb_connection_t *c,
|
| 428 |
+
uint32_t major_version,
|
| 429 |
+
uint32_t minor_version);
|
| 430 |
+
|
| 431 |
+
/**
|
| 432 |
+
* Return the reply
|
| 433 |
+
* @param c The connection
|
| 434 |
+
* @param cookie The cookie
|
| 435 |
+
* @param e The xcb_generic_error_t supplied
|
| 436 |
+
*
|
| 437 |
+
* Returns the reply of the request asked by
|
| 438 |
+
*
|
| 439 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 440 |
+
* xcb_present_query_version_unchecked(). is used.
|
| 441 |
+
* Otherwise, it stores the error if any.
|
| 442 |
+
*
|
| 443 |
+
* The returned value must be freed by the caller using free().
|
| 444 |
+
*/
|
| 445 |
+
xcb_present_query_version_reply_t *
|
| 446 |
+
xcb_present_query_version_reply (xcb_connection_t *c,
|
| 447 |
+
xcb_present_query_version_cookie_t cookie /**< */,
|
| 448 |
+
xcb_generic_error_t **e);
|
| 449 |
+
|
| 450 |
+
int
|
| 451 |
+
xcb_present_pixmap_sizeof (const void *_buffer,
|
| 452 |
+
uint32_t notifies_len);
|
| 453 |
+
|
| 454 |
+
/**
|
| 455 |
+
*
|
| 456 |
+
* @param c The connection
|
| 457 |
+
* @return A cookie
|
| 458 |
+
*
|
| 459 |
+
* Delivers a request to the X server.
|
| 460 |
+
*
|
| 461 |
+
* This form can be used only if the request will not cause
|
| 462 |
+
* a reply to be generated. Any returned error will be
|
| 463 |
+
* saved for handling by xcb_request_check().
|
| 464 |
+
*/
|
| 465 |
+
xcb_void_cookie_t
|
| 466 |
+
xcb_present_pixmap_checked (xcb_connection_t *c,
|
| 467 |
+
xcb_window_t window,
|
| 468 |
+
xcb_pixmap_t pixmap,
|
| 469 |
+
uint32_t serial,
|
| 470 |
+
xcb_xfixes_region_t valid,
|
| 471 |
+
xcb_xfixes_region_t update,
|
| 472 |
+
int16_t x_off,
|
| 473 |
+
int16_t y_off,
|
| 474 |
+
xcb_randr_crtc_t target_crtc,
|
| 475 |
+
xcb_sync_fence_t wait_fence,
|
| 476 |
+
xcb_sync_fence_t idle_fence,
|
| 477 |
+
uint32_t options,
|
| 478 |
+
uint64_t target_msc,
|
| 479 |
+
uint64_t divisor,
|
| 480 |
+
uint64_t remainder,
|
| 481 |
+
uint32_t notifies_len,
|
| 482 |
+
const xcb_present_notify_t *notifies);
|
| 483 |
+
|
| 484 |
+
/**
|
| 485 |
+
*
|
| 486 |
+
* @param c The connection
|
| 487 |
+
* @return A cookie
|
| 488 |
+
*
|
| 489 |
+
* Delivers a request to the X server.
|
| 490 |
+
*
|
| 491 |
+
*/
|
| 492 |
+
xcb_void_cookie_t
|
| 493 |
+
xcb_present_pixmap (xcb_connection_t *c,
|
| 494 |
+
xcb_window_t window,
|
| 495 |
+
xcb_pixmap_t pixmap,
|
| 496 |
+
uint32_t serial,
|
| 497 |
+
xcb_xfixes_region_t valid,
|
| 498 |
+
xcb_xfixes_region_t update,
|
| 499 |
+
int16_t x_off,
|
| 500 |
+
int16_t y_off,
|
| 501 |
+
xcb_randr_crtc_t target_crtc,
|
| 502 |
+
xcb_sync_fence_t wait_fence,
|
| 503 |
+
xcb_sync_fence_t idle_fence,
|
| 504 |
+
uint32_t options,
|
| 505 |
+
uint64_t target_msc,
|
| 506 |
+
uint64_t divisor,
|
| 507 |
+
uint64_t remainder,
|
| 508 |
+
uint32_t notifies_len,
|
| 509 |
+
const xcb_present_notify_t *notifies);
|
| 510 |
+
|
| 511 |
+
xcb_present_notify_t *
|
| 512 |
+
xcb_present_pixmap_notifies (const xcb_present_pixmap_request_t *R);
|
| 513 |
+
|
| 514 |
+
int
|
| 515 |
+
xcb_present_pixmap_notifies_length (const xcb_present_pixmap_request_t *R);
|
| 516 |
+
|
| 517 |
+
xcb_present_notify_iterator_t
|
| 518 |
+
xcb_present_pixmap_notifies_iterator (const xcb_present_pixmap_request_t *R);
|
| 519 |
+
|
| 520 |
+
/**
|
| 521 |
+
*
|
| 522 |
+
* @param c The connection
|
| 523 |
+
* @return A cookie
|
| 524 |
+
*
|
| 525 |
+
* Delivers a request to the X server.
|
| 526 |
+
*
|
| 527 |
+
* This form can be used only if the request will not cause
|
| 528 |
+
* a reply to be generated. Any returned error will be
|
| 529 |
+
* saved for handling by xcb_request_check().
|
| 530 |
+
*/
|
| 531 |
+
xcb_void_cookie_t
|
| 532 |
+
xcb_present_notify_msc_checked (xcb_connection_t *c,
|
| 533 |
+
xcb_window_t window,
|
| 534 |
+
uint32_t serial,
|
| 535 |
+
uint64_t target_msc,
|
| 536 |
+
uint64_t divisor,
|
| 537 |
+
uint64_t remainder);
|
| 538 |
+
|
| 539 |
+
/**
|
| 540 |
+
*
|
| 541 |
+
* @param c The connection
|
| 542 |
+
* @return A cookie
|
| 543 |
+
*
|
| 544 |
+
* Delivers a request to the X server.
|
| 545 |
+
*
|
| 546 |
+
*/
|
| 547 |
+
xcb_void_cookie_t
|
| 548 |
+
xcb_present_notify_msc (xcb_connection_t *c,
|
| 549 |
+
xcb_window_t window,
|
| 550 |
+
uint32_t serial,
|
| 551 |
+
uint64_t target_msc,
|
| 552 |
+
uint64_t divisor,
|
| 553 |
+
uint64_t remainder);
|
| 554 |
+
|
| 555 |
+
/**
|
| 556 |
+
* Get the next element of the iterator
|
| 557 |
+
* @param i Pointer to a xcb_present_event_iterator_t
|
| 558 |
+
*
|
| 559 |
+
* Get the next element in the iterator. The member rem is
|
| 560 |
+
* decreased by one. The member data points to the next
|
| 561 |
+
* element. The member index is increased by sizeof(xcb_present_event_t)
|
| 562 |
+
*/
|
| 563 |
+
void
|
| 564 |
+
xcb_present_event_next (xcb_present_event_iterator_t *i);
|
| 565 |
+
|
| 566 |
+
/**
|
| 567 |
+
* Return the iterator pointing to the last element
|
| 568 |
+
* @param i An xcb_present_event_iterator_t
|
| 569 |
+
* @return The iterator pointing to the last element
|
| 570 |
+
*
|
| 571 |
+
* Set the current element in the iterator to the last element.
|
| 572 |
+
* The member rem is set to 0. The member data points to the
|
| 573 |
+
* last element.
|
| 574 |
+
*/
|
| 575 |
+
xcb_generic_iterator_t
|
| 576 |
+
xcb_present_event_end (xcb_present_event_iterator_t i);
|
| 577 |
+
|
| 578 |
+
/**
|
| 579 |
+
*
|
| 580 |
+
* @param c The connection
|
| 581 |
+
* @return A cookie
|
| 582 |
+
*
|
| 583 |
+
* Delivers a request to the X server.
|
| 584 |
+
*
|
| 585 |
+
* This form can be used only if the request will not cause
|
| 586 |
+
* a reply to be generated. Any returned error will be
|
| 587 |
+
* saved for handling by xcb_request_check().
|
| 588 |
+
*/
|
| 589 |
+
xcb_void_cookie_t
|
| 590 |
+
xcb_present_select_input_checked (xcb_connection_t *c,
|
| 591 |
+
xcb_present_event_t eid,
|
| 592 |
+
xcb_window_t window,
|
| 593 |
+
uint32_t event_mask);
|
| 594 |
+
|
| 595 |
+
/**
|
| 596 |
+
*
|
| 597 |
+
* @param c The connection
|
| 598 |
+
* @return A cookie
|
| 599 |
+
*
|
| 600 |
+
* Delivers a request to the X server.
|
| 601 |
+
*
|
| 602 |
+
*/
|
| 603 |
+
xcb_void_cookie_t
|
| 604 |
+
xcb_present_select_input (xcb_connection_t *c,
|
| 605 |
+
xcb_present_event_t eid,
|
| 606 |
+
xcb_window_t window,
|
| 607 |
+
uint32_t event_mask);
|
| 608 |
+
|
| 609 |
+
/**
|
| 610 |
+
*
|
| 611 |
+
* @param c The connection
|
| 612 |
+
* @return A cookie
|
| 613 |
+
*
|
| 614 |
+
* Delivers a request to the X server.
|
| 615 |
+
*
|
| 616 |
+
*/
|
| 617 |
+
xcb_present_query_capabilities_cookie_t
|
| 618 |
+
xcb_present_query_capabilities (xcb_connection_t *c,
|
| 619 |
+
uint32_t target);
|
| 620 |
+
|
| 621 |
+
/**
|
| 622 |
+
*
|
| 623 |
+
* @param c The connection
|
| 624 |
+
* @return A cookie
|
| 625 |
+
*
|
| 626 |
+
* Delivers a request to the X server.
|
| 627 |
+
*
|
| 628 |
+
* This form can be used only if the request will cause
|
| 629 |
+
* a reply to be generated. Any returned error will be
|
| 630 |
+
* placed in the event queue.
|
| 631 |
+
*/
|
| 632 |
+
xcb_present_query_capabilities_cookie_t
|
| 633 |
+
xcb_present_query_capabilities_unchecked (xcb_connection_t *c,
|
| 634 |
+
uint32_t target);
|
| 635 |
+
|
| 636 |
+
/**
|
| 637 |
+
* Return the reply
|
| 638 |
+
* @param c The connection
|
| 639 |
+
* @param cookie The cookie
|
| 640 |
+
* @param e The xcb_generic_error_t supplied
|
| 641 |
+
*
|
| 642 |
+
* Returns the reply of the request asked by
|
| 643 |
+
*
|
| 644 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 645 |
+
* xcb_present_query_capabilities_unchecked(). is used.
|
| 646 |
+
* Otherwise, it stores the error if any.
|
| 647 |
+
*
|
| 648 |
+
* The returned value must be freed by the caller using free().
|
| 649 |
+
*/
|
| 650 |
+
xcb_present_query_capabilities_reply_t *
|
| 651 |
+
xcb_present_query_capabilities_reply (xcb_connection_t *c,
|
| 652 |
+
xcb_present_query_capabilities_cookie_t cookie /**< */,
|
| 653 |
+
xcb_generic_error_t **e);
|
| 654 |
+
|
| 655 |
+
int
|
| 656 |
+
xcb_present_pixmap_synced_sizeof (const void *_buffer,
|
| 657 |
+
uint32_t notifies_len);
|
| 658 |
+
|
| 659 |
+
/**
|
| 660 |
+
*
|
| 661 |
+
* @param c The connection
|
| 662 |
+
* @return A cookie
|
| 663 |
+
*
|
| 664 |
+
* Delivers a request to the X server.
|
| 665 |
+
*
|
| 666 |
+
* This form can be used only if the request will not cause
|
| 667 |
+
* a reply to be generated. Any returned error will be
|
| 668 |
+
* saved for handling by xcb_request_check().
|
| 669 |
+
*/
|
| 670 |
+
xcb_void_cookie_t
|
| 671 |
+
xcb_present_pixmap_synced_checked (xcb_connection_t *c,
|
| 672 |
+
xcb_window_t window,
|
| 673 |
+
xcb_pixmap_t pixmap,
|
| 674 |
+
uint32_t serial,
|
| 675 |
+
xcb_xfixes_region_t valid,
|
| 676 |
+
xcb_xfixes_region_t update,
|
| 677 |
+
int16_t x_off,
|
| 678 |
+
int16_t y_off,
|
| 679 |
+
xcb_randr_crtc_t target_crtc,
|
| 680 |
+
xcb_dri3_syncobj_t acquire_syncobj,
|
| 681 |
+
xcb_dri3_syncobj_t release_syncobj,
|
| 682 |
+
uint64_t acquire_point,
|
| 683 |
+
uint64_t release_point,
|
| 684 |
+
uint32_t options,
|
| 685 |
+
uint64_t target_msc,
|
| 686 |
+
uint64_t divisor,
|
| 687 |
+
uint64_t remainder,
|
| 688 |
+
uint32_t notifies_len,
|
| 689 |
+
const xcb_present_notify_t *notifies);
|
| 690 |
+
|
| 691 |
+
/**
|
| 692 |
+
*
|
| 693 |
+
* @param c The connection
|
| 694 |
+
* @return A cookie
|
| 695 |
+
*
|
| 696 |
+
* Delivers a request to the X server.
|
| 697 |
+
*
|
| 698 |
+
*/
|
| 699 |
+
xcb_void_cookie_t
|
| 700 |
+
xcb_present_pixmap_synced (xcb_connection_t *c,
|
| 701 |
+
xcb_window_t window,
|
| 702 |
+
xcb_pixmap_t pixmap,
|
| 703 |
+
uint32_t serial,
|
| 704 |
+
xcb_xfixes_region_t valid,
|
| 705 |
+
xcb_xfixes_region_t update,
|
| 706 |
+
int16_t x_off,
|
| 707 |
+
int16_t y_off,
|
| 708 |
+
xcb_randr_crtc_t target_crtc,
|
| 709 |
+
xcb_dri3_syncobj_t acquire_syncobj,
|
| 710 |
+
xcb_dri3_syncobj_t release_syncobj,
|
| 711 |
+
uint64_t acquire_point,
|
| 712 |
+
uint64_t release_point,
|
| 713 |
+
uint32_t options,
|
| 714 |
+
uint64_t target_msc,
|
| 715 |
+
uint64_t divisor,
|
| 716 |
+
uint64_t remainder,
|
| 717 |
+
uint32_t notifies_len,
|
| 718 |
+
const xcb_present_notify_t *notifies);
|
| 719 |
+
|
| 720 |
+
xcb_present_notify_t *
|
| 721 |
+
xcb_present_pixmap_synced_notifies (const xcb_present_pixmap_synced_request_t *R);
|
| 722 |
+
|
| 723 |
+
int
|
| 724 |
+
xcb_present_pixmap_synced_notifies_length (const xcb_present_pixmap_synced_request_t *R);
|
| 725 |
+
|
| 726 |
+
xcb_present_notify_iterator_t
|
| 727 |
+
xcb_present_pixmap_synced_notifies_iterator (const xcb_present_pixmap_synced_request_t *R);
|
| 728 |
+
|
| 729 |
+
int
|
| 730 |
+
xcb_present_redirect_notify_sizeof (const void *_buffer,
|
| 731 |
+
uint32_t notifies_len);
|
| 732 |
+
|
| 733 |
+
xcb_present_notify_t *
|
| 734 |
+
xcb_present_redirect_notify_notifies (const xcb_present_redirect_notify_event_t *R);
|
| 735 |
+
|
| 736 |
+
int
|
| 737 |
+
xcb_present_redirect_notify_notifies_length (const xcb_present_redirect_notify_event_t *R);
|
| 738 |
+
|
| 739 |
+
xcb_present_notify_iterator_t
|
| 740 |
+
xcb_present_redirect_notify_notifies_iterator (const xcb_present_redirect_notify_event_t *R);
|
| 741 |
+
|
| 742 |
+
|
| 743 |
+
#ifdef __cplusplus
|
| 744 |
+
}
|
| 745 |
+
#endif
|
| 746 |
+
|
| 747 |
+
#endif
|
| 748 |
+
|
| 749 |
+
/**
|
| 750 |
+
* @}
|
| 751 |
+
*/
|
miniconda3/envs/ladir/include/xcb/randr.h
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
miniconda3/envs/ladir/include/xcb/record.h
ADDED
|
@@ -0,0 +1,935 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from record.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Record_API XCB Record API
|
| 8 |
+
* @brief Record XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __RECORD_H
|
| 13 |
+
#define __RECORD_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
|
| 17 |
+
#ifdef __cplusplus
|
| 18 |
+
extern "C" {
|
| 19 |
+
#endif
|
| 20 |
+
|
| 21 |
+
#define XCB_RECORD_MAJOR_VERSION 1
|
| 22 |
+
#define XCB_RECORD_MINOR_VERSION 13
|
| 23 |
+
|
| 24 |
+
extern xcb_extension_t xcb_record_id;
|
| 25 |
+
|
| 26 |
+
typedef uint32_t xcb_record_context_t;
|
| 27 |
+
|
| 28 |
+
/**
|
| 29 |
+
* @brief xcb_record_context_iterator_t
|
| 30 |
+
**/
|
| 31 |
+
typedef struct xcb_record_context_iterator_t {
|
| 32 |
+
xcb_record_context_t *data;
|
| 33 |
+
int rem;
|
| 34 |
+
int index;
|
| 35 |
+
} xcb_record_context_iterator_t;
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* @brief xcb_record_range_8_t
|
| 39 |
+
**/
|
| 40 |
+
typedef struct xcb_record_range_8_t {
|
| 41 |
+
uint8_t first;
|
| 42 |
+
uint8_t last;
|
| 43 |
+
} xcb_record_range_8_t;
|
| 44 |
+
|
| 45 |
+
/**
|
| 46 |
+
* @brief xcb_record_range_8_iterator_t
|
| 47 |
+
**/
|
| 48 |
+
typedef struct xcb_record_range_8_iterator_t {
|
| 49 |
+
xcb_record_range_8_t *data;
|
| 50 |
+
int rem;
|
| 51 |
+
int index;
|
| 52 |
+
} xcb_record_range_8_iterator_t;
|
| 53 |
+
|
| 54 |
+
/**
|
| 55 |
+
* @brief xcb_record_range_16_t
|
| 56 |
+
**/
|
| 57 |
+
typedef struct xcb_record_range_16_t {
|
| 58 |
+
uint16_t first;
|
| 59 |
+
uint16_t last;
|
| 60 |
+
} xcb_record_range_16_t;
|
| 61 |
+
|
| 62 |
+
/**
|
| 63 |
+
* @brief xcb_record_range_16_iterator_t
|
| 64 |
+
**/
|
| 65 |
+
typedef struct xcb_record_range_16_iterator_t {
|
| 66 |
+
xcb_record_range_16_t *data;
|
| 67 |
+
int rem;
|
| 68 |
+
int index;
|
| 69 |
+
} xcb_record_range_16_iterator_t;
|
| 70 |
+
|
| 71 |
+
/**
|
| 72 |
+
* @brief xcb_record_ext_range_t
|
| 73 |
+
**/
|
| 74 |
+
typedef struct xcb_record_ext_range_t {
|
| 75 |
+
xcb_record_range_8_t major;
|
| 76 |
+
xcb_record_range_16_t minor;
|
| 77 |
+
} xcb_record_ext_range_t;
|
| 78 |
+
|
| 79 |
+
/**
|
| 80 |
+
* @brief xcb_record_ext_range_iterator_t
|
| 81 |
+
**/
|
| 82 |
+
typedef struct xcb_record_ext_range_iterator_t {
|
| 83 |
+
xcb_record_ext_range_t *data;
|
| 84 |
+
int rem;
|
| 85 |
+
int index;
|
| 86 |
+
} xcb_record_ext_range_iterator_t;
|
| 87 |
+
|
| 88 |
+
/**
|
| 89 |
+
* @brief xcb_record_range_t
|
| 90 |
+
**/
|
| 91 |
+
typedef struct xcb_record_range_t {
|
| 92 |
+
xcb_record_range_8_t core_requests;
|
| 93 |
+
xcb_record_range_8_t core_replies;
|
| 94 |
+
xcb_record_ext_range_t ext_requests;
|
| 95 |
+
xcb_record_ext_range_t ext_replies;
|
| 96 |
+
xcb_record_range_8_t delivered_events;
|
| 97 |
+
xcb_record_range_8_t device_events;
|
| 98 |
+
xcb_record_range_8_t errors;
|
| 99 |
+
uint8_t client_started;
|
| 100 |
+
uint8_t client_died;
|
| 101 |
+
} xcb_record_range_t;
|
| 102 |
+
|
| 103 |
+
/**
|
| 104 |
+
* @brief xcb_record_range_iterator_t
|
| 105 |
+
**/
|
| 106 |
+
typedef struct xcb_record_range_iterator_t {
|
| 107 |
+
xcb_record_range_t *data;
|
| 108 |
+
int rem;
|
| 109 |
+
int index;
|
| 110 |
+
} xcb_record_range_iterator_t;
|
| 111 |
+
|
| 112 |
+
typedef uint8_t xcb_record_element_header_t;
|
| 113 |
+
|
| 114 |
+
/**
|
| 115 |
+
* @brief xcb_record_element_header_iterator_t
|
| 116 |
+
**/
|
| 117 |
+
typedef struct xcb_record_element_header_iterator_t {
|
| 118 |
+
xcb_record_element_header_t *data;
|
| 119 |
+
int rem;
|
| 120 |
+
int index;
|
| 121 |
+
} xcb_record_element_header_iterator_t;
|
| 122 |
+
|
| 123 |
+
typedef enum xcb_record_h_type_t {
|
| 124 |
+
XCB_RECORD_H_TYPE_FROM_SERVER_TIME = 1,
|
| 125 |
+
XCB_RECORD_H_TYPE_FROM_CLIENT_TIME = 2,
|
| 126 |
+
XCB_RECORD_H_TYPE_FROM_CLIENT_SEQUENCE = 4
|
| 127 |
+
} xcb_record_h_type_t;
|
| 128 |
+
|
| 129 |
+
typedef uint32_t xcb_record_client_spec_t;
|
| 130 |
+
|
| 131 |
+
/**
|
| 132 |
+
* @brief xcb_record_client_spec_iterator_t
|
| 133 |
+
**/
|
| 134 |
+
typedef struct xcb_record_client_spec_iterator_t {
|
| 135 |
+
xcb_record_client_spec_t *data;
|
| 136 |
+
int rem;
|
| 137 |
+
int index;
|
| 138 |
+
} xcb_record_client_spec_iterator_t;
|
| 139 |
+
|
| 140 |
+
typedef enum xcb_record_cs_t {
|
| 141 |
+
XCB_RECORD_CS_CURRENT_CLIENTS = 1,
|
| 142 |
+
XCB_RECORD_CS_FUTURE_CLIENTS = 2,
|
| 143 |
+
XCB_RECORD_CS_ALL_CLIENTS = 3
|
| 144 |
+
} xcb_record_cs_t;
|
| 145 |
+
|
| 146 |
+
/**
|
| 147 |
+
* @brief xcb_record_client_info_t
|
| 148 |
+
**/
|
| 149 |
+
typedef struct xcb_record_client_info_t {
|
| 150 |
+
xcb_record_client_spec_t client_resource;
|
| 151 |
+
uint32_t num_ranges;
|
| 152 |
+
} xcb_record_client_info_t;
|
| 153 |
+
|
| 154 |
+
/**
|
| 155 |
+
* @brief xcb_record_client_info_iterator_t
|
| 156 |
+
**/
|
| 157 |
+
typedef struct xcb_record_client_info_iterator_t {
|
| 158 |
+
xcb_record_client_info_t *data;
|
| 159 |
+
int rem;
|
| 160 |
+
int index;
|
| 161 |
+
} xcb_record_client_info_iterator_t;
|
| 162 |
+
|
| 163 |
+
/** Opcode for xcb_record_bad_context. */
|
| 164 |
+
#define XCB_RECORD_BAD_CONTEXT 0
|
| 165 |
+
|
| 166 |
+
/**
|
| 167 |
+
* @brief xcb_record_bad_context_error_t
|
| 168 |
+
**/
|
| 169 |
+
typedef struct xcb_record_bad_context_error_t {
|
| 170 |
+
uint8_t response_type;
|
| 171 |
+
uint8_t error_code;
|
| 172 |
+
uint16_t sequence;
|
| 173 |
+
uint32_t invalid_record;
|
| 174 |
+
uint16_t minor_opcode;
|
| 175 |
+
uint8_t major_opcode;
|
| 176 |
+
} xcb_record_bad_context_error_t;
|
| 177 |
+
|
| 178 |
+
/**
|
| 179 |
+
* @brief xcb_record_query_version_cookie_t
|
| 180 |
+
**/
|
| 181 |
+
typedef struct xcb_record_query_version_cookie_t {
|
| 182 |
+
unsigned int sequence;
|
| 183 |
+
} xcb_record_query_version_cookie_t;
|
| 184 |
+
|
| 185 |
+
/** Opcode for xcb_record_query_version. */
|
| 186 |
+
#define XCB_RECORD_QUERY_VERSION 0
|
| 187 |
+
|
| 188 |
+
/**
|
| 189 |
+
* @brief xcb_record_query_version_request_t
|
| 190 |
+
**/
|
| 191 |
+
typedef struct xcb_record_query_version_request_t {
|
| 192 |
+
uint8_t major_opcode;
|
| 193 |
+
uint8_t minor_opcode;
|
| 194 |
+
uint16_t length;
|
| 195 |
+
uint16_t major_version;
|
| 196 |
+
uint16_t minor_version;
|
| 197 |
+
} xcb_record_query_version_request_t;
|
| 198 |
+
|
| 199 |
+
/**
|
| 200 |
+
* @brief xcb_record_query_version_reply_t
|
| 201 |
+
**/
|
| 202 |
+
typedef struct xcb_record_query_version_reply_t {
|
| 203 |
+
uint8_t response_type;
|
| 204 |
+
uint8_t pad0;
|
| 205 |
+
uint16_t sequence;
|
| 206 |
+
uint32_t length;
|
| 207 |
+
uint16_t major_version;
|
| 208 |
+
uint16_t minor_version;
|
| 209 |
+
} xcb_record_query_version_reply_t;
|
| 210 |
+
|
| 211 |
+
/** Opcode for xcb_record_create_context. */
|
| 212 |
+
#define XCB_RECORD_CREATE_CONTEXT 1
|
| 213 |
+
|
| 214 |
+
/**
|
| 215 |
+
* @brief xcb_record_create_context_request_t
|
| 216 |
+
**/
|
| 217 |
+
typedef struct xcb_record_create_context_request_t {
|
| 218 |
+
uint8_t major_opcode;
|
| 219 |
+
uint8_t minor_opcode;
|
| 220 |
+
uint16_t length;
|
| 221 |
+
xcb_record_context_t context;
|
| 222 |
+
xcb_record_element_header_t element_header;
|
| 223 |
+
uint8_t pad0[3];
|
| 224 |
+
uint32_t num_client_specs;
|
| 225 |
+
uint32_t num_ranges;
|
| 226 |
+
} xcb_record_create_context_request_t;
|
| 227 |
+
|
| 228 |
+
/** Opcode for xcb_record_register_clients. */
|
| 229 |
+
#define XCB_RECORD_REGISTER_CLIENTS 2
|
| 230 |
+
|
| 231 |
+
/**
|
| 232 |
+
* @brief xcb_record_register_clients_request_t
|
| 233 |
+
**/
|
| 234 |
+
typedef struct xcb_record_register_clients_request_t {
|
| 235 |
+
uint8_t major_opcode;
|
| 236 |
+
uint8_t minor_opcode;
|
| 237 |
+
uint16_t length;
|
| 238 |
+
xcb_record_context_t context;
|
| 239 |
+
xcb_record_element_header_t element_header;
|
| 240 |
+
uint8_t pad0[3];
|
| 241 |
+
uint32_t num_client_specs;
|
| 242 |
+
uint32_t num_ranges;
|
| 243 |
+
} xcb_record_register_clients_request_t;
|
| 244 |
+
|
| 245 |
+
/** Opcode for xcb_record_unregister_clients. */
|
| 246 |
+
#define XCB_RECORD_UNREGISTER_CLIENTS 3
|
| 247 |
+
|
| 248 |
+
/**
|
| 249 |
+
* @brief xcb_record_unregister_clients_request_t
|
| 250 |
+
**/
|
| 251 |
+
typedef struct xcb_record_unregister_clients_request_t {
|
| 252 |
+
uint8_t major_opcode;
|
| 253 |
+
uint8_t minor_opcode;
|
| 254 |
+
uint16_t length;
|
| 255 |
+
xcb_record_context_t context;
|
| 256 |
+
uint32_t num_client_specs;
|
| 257 |
+
} xcb_record_unregister_clients_request_t;
|
| 258 |
+
|
| 259 |
+
/**
|
| 260 |
+
* @brief xcb_record_get_context_cookie_t
|
| 261 |
+
**/
|
| 262 |
+
typedef struct xcb_record_get_context_cookie_t {
|
| 263 |
+
unsigned int sequence;
|
| 264 |
+
} xcb_record_get_context_cookie_t;
|
| 265 |
+
|
| 266 |
+
/** Opcode for xcb_record_get_context. */
|
| 267 |
+
#define XCB_RECORD_GET_CONTEXT 4
|
| 268 |
+
|
| 269 |
+
/**
|
| 270 |
+
* @brief xcb_record_get_context_request_t
|
| 271 |
+
**/
|
| 272 |
+
typedef struct xcb_record_get_context_request_t {
|
| 273 |
+
uint8_t major_opcode;
|
| 274 |
+
uint8_t minor_opcode;
|
| 275 |
+
uint16_t length;
|
| 276 |
+
xcb_record_context_t context;
|
| 277 |
+
} xcb_record_get_context_request_t;
|
| 278 |
+
|
| 279 |
+
/**
|
| 280 |
+
* @brief xcb_record_get_context_reply_t
|
| 281 |
+
**/
|
| 282 |
+
typedef struct xcb_record_get_context_reply_t {
|
| 283 |
+
uint8_t response_type;
|
| 284 |
+
uint8_t enabled;
|
| 285 |
+
uint16_t sequence;
|
| 286 |
+
uint32_t length;
|
| 287 |
+
xcb_record_element_header_t element_header;
|
| 288 |
+
uint8_t pad0[3];
|
| 289 |
+
uint32_t num_intercepted_clients;
|
| 290 |
+
uint8_t pad1[16];
|
| 291 |
+
} xcb_record_get_context_reply_t;
|
| 292 |
+
|
| 293 |
+
/**
|
| 294 |
+
* @brief xcb_record_enable_context_cookie_t
|
| 295 |
+
**/
|
| 296 |
+
typedef struct xcb_record_enable_context_cookie_t {
|
| 297 |
+
unsigned int sequence;
|
| 298 |
+
} xcb_record_enable_context_cookie_t;
|
| 299 |
+
|
| 300 |
+
/** Opcode for xcb_record_enable_context. */
|
| 301 |
+
#define XCB_RECORD_ENABLE_CONTEXT 5
|
| 302 |
+
|
| 303 |
+
/**
|
| 304 |
+
* @brief xcb_record_enable_context_request_t
|
| 305 |
+
**/
|
| 306 |
+
typedef struct xcb_record_enable_context_request_t {
|
| 307 |
+
uint8_t major_opcode;
|
| 308 |
+
uint8_t minor_opcode;
|
| 309 |
+
uint16_t length;
|
| 310 |
+
xcb_record_context_t context;
|
| 311 |
+
} xcb_record_enable_context_request_t;
|
| 312 |
+
|
| 313 |
+
/**
|
| 314 |
+
* @brief xcb_record_enable_context_reply_t
|
| 315 |
+
**/
|
| 316 |
+
typedef struct xcb_record_enable_context_reply_t {
|
| 317 |
+
uint8_t response_type;
|
| 318 |
+
uint8_t category;
|
| 319 |
+
uint16_t sequence;
|
| 320 |
+
uint32_t length;
|
| 321 |
+
xcb_record_element_header_t element_header;
|
| 322 |
+
uint8_t client_swapped;
|
| 323 |
+
uint8_t pad0[2];
|
| 324 |
+
uint32_t xid_base;
|
| 325 |
+
uint32_t server_time;
|
| 326 |
+
uint32_t rec_sequence_num;
|
| 327 |
+
uint8_t pad1[8];
|
| 328 |
+
} xcb_record_enable_context_reply_t;
|
| 329 |
+
|
| 330 |
+
/** Opcode for xcb_record_disable_context. */
|
| 331 |
+
#define XCB_RECORD_DISABLE_CONTEXT 6
|
| 332 |
+
|
| 333 |
+
/**
|
| 334 |
+
* @brief xcb_record_disable_context_request_t
|
| 335 |
+
**/
|
| 336 |
+
typedef struct xcb_record_disable_context_request_t {
|
| 337 |
+
uint8_t major_opcode;
|
| 338 |
+
uint8_t minor_opcode;
|
| 339 |
+
uint16_t length;
|
| 340 |
+
xcb_record_context_t context;
|
| 341 |
+
} xcb_record_disable_context_request_t;
|
| 342 |
+
|
| 343 |
+
/** Opcode for xcb_record_free_context. */
|
| 344 |
+
#define XCB_RECORD_FREE_CONTEXT 7
|
| 345 |
+
|
| 346 |
+
/**
|
| 347 |
+
* @brief xcb_record_free_context_request_t
|
| 348 |
+
**/
|
| 349 |
+
typedef struct xcb_record_free_context_request_t {
|
| 350 |
+
uint8_t major_opcode;
|
| 351 |
+
uint8_t minor_opcode;
|
| 352 |
+
uint16_t length;
|
| 353 |
+
xcb_record_context_t context;
|
| 354 |
+
} xcb_record_free_context_request_t;
|
| 355 |
+
|
| 356 |
+
/**
|
| 357 |
+
* Get the next element of the iterator
|
| 358 |
+
* @param i Pointer to a xcb_record_context_iterator_t
|
| 359 |
+
*
|
| 360 |
+
* Get the next element in the iterator. The member rem is
|
| 361 |
+
* decreased by one. The member data points to the next
|
| 362 |
+
* element. The member index is increased by sizeof(xcb_record_context_t)
|
| 363 |
+
*/
|
| 364 |
+
void
|
| 365 |
+
xcb_record_context_next (xcb_record_context_iterator_t *i);
|
| 366 |
+
|
| 367 |
+
/**
|
| 368 |
+
* Return the iterator pointing to the last element
|
| 369 |
+
* @param i An xcb_record_context_iterator_t
|
| 370 |
+
* @return The iterator pointing to the last element
|
| 371 |
+
*
|
| 372 |
+
* Set the current element in the iterator to the last element.
|
| 373 |
+
* The member rem is set to 0. The member data points to the
|
| 374 |
+
* last element.
|
| 375 |
+
*/
|
| 376 |
+
xcb_generic_iterator_t
|
| 377 |
+
xcb_record_context_end (xcb_record_context_iterator_t i);
|
| 378 |
+
|
| 379 |
+
/**
|
| 380 |
+
* Get the next element of the iterator
|
| 381 |
+
* @param i Pointer to a xcb_record_range_8_iterator_t
|
| 382 |
+
*
|
| 383 |
+
* Get the next element in the iterator. The member rem is
|
| 384 |
+
* decreased by one. The member data points to the next
|
| 385 |
+
* element. The member index is increased by sizeof(xcb_record_range_8_t)
|
| 386 |
+
*/
|
| 387 |
+
void
|
| 388 |
+
xcb_record_range_8_next (xcb_record_range_8_iterator_t *i);
|
| 389 |
+
|
| 390 |
+
/**
|
| 391 |
+
* Return the iterator pointing to the last element
|
| 392 |
+
* @param i An xcb_record_range_8_iterator_t
|
| 393 |
+
* @return The iterator pointing to the last element
|
| 394 |
+
*
|
| 395 |
+
* Set the current element in the iterator to the last element.
|
| 396 |
+
* The member rem is set to 0. The member data points to the
|
| 397 |
+
* last element.
|
| 398 |
+
*/
|
| 399 |
+
xcb_generic_iterator_t
|
| 400 |
+
xcb_record_range_8_end (xcb_record_range_8_iterator_t i);
|
| 401 |
+
|
| 402 |
+
/**
|
| 403 |
+
* Get the next element of the iterator
|
| 404 |
+
* @param i Pointer to a xcb_record_range_16_iterator_t
|
| 405 |
+
*
|
| 406 |
+
* Get the next element in the iterator. The member rem is
|
| 407 |
+
* decreased by one. The member data points to the next
|
| 408 |
+
* element. The member index is increased by sizeof(xcb_record_range_16_t)
|
| 409 |
+
*/
|
| 410 |
+
void
|
| 411 |
+
xcb_record_range_16_next (xcb_record_range_16_iterator_t *i);
|
| 412 |
+
|
| 413 |
+
/**
|
| 414 |
+
* Return the iterator pointing to the last element
|
| 415 |
+
* @param i An xcb_record_range_16_iterator_t
|
| 416 |
+
* @return The iterator pointing to the last element
|
| 417 |
+
*
|
| 418 |
+
* Set the current element in the iterator to the last element.
|
| 419 |
+
* The member rem is set to 0. The member data points to the
|
| 420 |
+
* last element.
|
| 421 |
+
*/
|
| 422 |
+
xcb_generic_iterator_t
|
| 423 |
+
xcb_record_range_16_end (xcb_record_range_16_iterator_t i);
|
| 424 |
+
|
| 425 |
+
/**
|
| 426 |
+
* Get the next element of the iterator
|
| 427 |
+
* @param i Pointer to a xcb_record_ext_range_iterator_t
|
| 428 |
+
*
|
| 429 |
+
* Get the next element in the iterator. The member rem is
|
| 430 |
+
* decreased by one. The member data points to the next
|
| 431 |
+
* element. The member index is increased by sizeof(xcb_record_ext_range_t)
|
| 432 |
+
*/
|
| 433 |
+
void
|
| 434 |
+
xcb_record_ext_range_next (xcb_record_ext_range_iterator_t *i);
|
| 435 |
+
|
| 436 |
+
/**
|
| 437 |
+
* Return the iterator pointing to the last element
|
| 438 |
+
* @param i An xcb_record_ext_range_iterator_t
|
| 439 |
+
* @return The iterator pointing to the last element
|
| 440 |
+
*
|
| 441 |
+
* Set the current element in the iterator to the last element.
|
| 442 |
+
* The member rem is set to 0. The member data points to the
|
| 443 |
+
* last element.
|
| 444 |
+
*/
|
| 445 |
+
xcb_generic_iterator_t
|
| 446 |
+
xcb_record_ext_range_end (xcb_record_ext_range_iterator_t i);
|
| 447 |
+
|
| 448 |
+
/**
|
| 449 |
+
* Get the next element of the iterator
|
| 450 |
+
* @param i Pointer to a xcb_record_range_iterator_t
|
| 451 |
+
*
|
| 452 |
+
* Get the next element in the iterator. The member rem is
|
| 453 |
+
* decreased by one. The member data points to the next
|
| 454 |
+
* element. The member index is increased by sizeof(xcb_record_range_t)
|
| 455 |
+
*/
|
| 456 |
+
void
|
| 457 |
+
xcb_record_range_next (xcb_record_range_iterator_t *i);
|
| 458 |
+
|
| 459 |
+
/**
|
| 460 |
+
* Return the iterator pointing to the last element
|
| 461 |
+
* @param i An xcb_record_range_iterator_t
|
| 462 |
+
* @return The iterator pointing to the last element
|
| 463 |
+
*
|
| 464 |
+
* Set the current element in the iterator to the last element.
|
| 465 |
+
* The member rem is set to 0. The member data points to the
|
| 466 |
+
* last element.
|
| 467 |
+
*/
|
| 468 |
+
xcb_generic_iterator_t
|
| 469 |
+
xcb_record_range_end (xcb_record_range_iterator_t i);
|
| 470 |
+
|
| 471 |
+
/**
|
| 472 |
+
* Get the next element of the iterator
|
| 473 |
+
* @param i Pointer to a xcb_record_element_header_iterator_t
|
| 474 |
+
*
|
| 475 |
+
* Get the next element in the iterator. The member rem is
|
| 476 |
+
* decreased by one. The member data points to the next
|
| 477 |
+
* element. The member index is increased by sizeof(xcb_record_element_header_t)
|
| 478 |
+
*/
|
| 479 |
+
void
|
| 480 |
+
xcb_record_element_header_next (xcb_record_element_header_iterator_t *i);
|
| 481 |
+
|
| 482 |
+
/**
|
| 483 |
+
* Return the iterator pointing to the last element
|
| 484 |
+
* @param i An xcb_record_element_header_iterator_t
|
| 485 |
+
* @return The iterator pointing to the last element
|
| 486 |
+
*
|
| 487 |
+
* Set the current element in the iterator to the last element.
|
| 488 |
+
* The member rem is set to 0. The member data points to the
|
| 489 |
+
* last element.
|
| 490 |
+
*/
|
| 491 |
+
xcb_generic_iterator_t
|
| 492 |
+
xcb_record_element_header_end (xcb_record_element_header_iterator_t i);
|
| 493 |
+
|
| 494 |
+
/**
|
| 495 |
+
* Get the next element of the iterator
|
| 496 |
+
* @param i Pointer to a xcb_record_client_spec_iterator_t
|
| 497 |
+
*
|
| 498 |
+
* Get the next element in the iterator. The member rem is
|
| 499 |
+
* decreased by one. The member data points to the next
|
| 500 |
+
* element. The member index is increased by sizeof(xcb_record_client_spec_t)
|
| 501 |
+
*/
|
| 502 |
+
void
|
| 503 |
+
xcb_record_client_spec_next (xcb_record_client_spec_iterator_t *i);
|
| 504 |
+
|
| 505 |
+
/**
|
| 506 |
+
* Return the iterator pointing to the last element
|
| 507 |
+
* @param i An xcb_record_client_spec_iterator_t
|
| 508 |
+
* @return The iterator pointing to the last element
|
| 509 |
+
*
|
| 510 |
+
* Set the current element in the iterator to the last element.
|
| 511 |
+
* The member rem is set to 0. The member data points to the
|
| 512 |
+
* last element.
|
| 513 |
+
*/
|
| 514 |
+
xcb_generic_iterator_t
|
| 515 |
+
xcb_record_client_spec_end (xcb_record_client_spec_iterator_t i);
|
| 516 |
+
|
| 517 |
+
int
|
| 518 |
+
xcb_record_client_info_sizeof (const void *_buffer);
|
| 519 |
+
|
| 520 |
+
xcb_record_range_t *
|
| 521 |
+
xcb_record_client_info_ranges (const xcb_record_client_info_t *R);
|
| 522 |
+
|
| 523 |
+
int
|
| 524 |
+
xcb_record_client_info_ranges_length (const xcb_record_client_info_t *R);
|
| 525 |
+
|
| 526 |
+
xcb_record_range_iterator_t
|
| 527 |
+
xcb_record_client_info_ranges_iterator (const xcb_record_client_info_t *R);
|
| 528 |
+
|
| 529 |
+
/**
|
| 530 |
+
* Get the next element of the iterator
|
| 531 |
+
* @param i Pointer to a xcb_record_client_info_iterator_t
|
| 532 |
+
*
|
| 533 |
+
* Get the next element in the iterator. The member rem is
|
| 534 |
+
* decreased by one. The member data points to the next
|
| 535 |
+
* element. The member index is increased by sizeof(xcb_record_client_info_t)
|
| 536 |
+
*/
|
| 537 |
+
void
|
| 538 |
+
xcb_record_client_info_next (xcb_record_client_info_iterator_t *i);
|
| 539 |
+
|
| 540 |
+
/**
|
| 541 |
+
* Return the iterator pointing to the last element
|
| 542 |
+
* @param i An xcb_record_client_info_iterator_t
|
| 543 |
+
* @return The iterator pointing to the last element
|
| 544 |
+
*
|
| 545 |
+
* Set the current element in the iterator to the last element.
|
| 546 |
+
* The member rem is set to 0. The member data points to the
|
| 547 |
+
* last element.
|
| 548 |
+
*/
|
| 549 |
+
xcb_generic_iterator_t
|
| 550 |
+
xcb_record_client_info_end (xcb_record_client_info_iterator_t i);
|
| 551 |
+
|
| 552 |
+
/**
|
| 553 |
+
*
|
| 554 |
+
* @param c The connection
|
| 555 |
+
* @return A cookie
|
| 556 |
+
*
|
| 557 |
+
* Delivers a request to the X server.
|
| 558 |
+
*
|
| 559 |
+
*/
|
| 560 |
+
xcb_record_query_version_cookie_t
|
| 561 |
+
xcb_record_query_version (xcb_connection_t *c,
|
| 562 |
+
uint16_t major_version,
|
| 563 |
+
uint16_t minor_version);
|
| 564 |
+
|
| 565 |
+
/**
|
| 566 |
+
*
|
| 567 |
+
* @param c The connection
|
| 568 |
+
* @return A cookie
|
| 569 |
+
*
|
| 570 |
+
* Delivers a request to the X server.
|
| 571 |
+
*
|
| 572 |
+
* This form can be used only if the request will cause
|
| 573 |
+
* a reply to be generated. Any returned error will be
|
| 574 |
+
* placed in the event queue.
|
| 575 |
+
*/
|
| 576 |
+
xcb_record_query_version_cookie_t
|
| 577 |
+
xcb_record_query_version_unchecked (xcb_connection_t *c,
|
| 578 |
+
uint16_t major_version,
|
| 579 |
+
uint16_t minor_version);
|
| 580 |
+
|
| 581 |
+
/**
|
| 582 |
+
* Return the reply
|
| 583 |
+
* @param c The connection
|
| 584 |
+
* @param cookie The cookie
|
| 585 |
+
* @param e The xcb_generic_error_t supplied
|
| 586 |
+
*
|
| 587 |
+
* Returns the reply of the request asked by
|
| 588 |
+
*
|
| 589 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 590 |
+
* xcb_record_query_version_unchecked(). is used.
|
| 591 |
+
* Otherwise, it stores the error if any.
|
| 592 |
+
*
|
| 593 |
+
* The returned value must be freed by the caller using free().
|
| 594 |
+
*/
|
| 595 |
+
xcb_record_query_version_reply_t *
|
| 596 |
+
xcb_record_query_version_reply (xcb_connection_t *c,
|
| 597 |
+
xcb_record_query_version_cookie_t cookie /**< */,
|
| 598 |
+
xcb_generic_error_t **e);
|
| 599 |
+
|
| 600 |
+
int
|
| 601 |
+
xcb_record_create_context_sizeof (const void *_buffer);
|
| 602 |
+
|
| 603 |
+
/**
|
| 604 |
+
*
|
| 605 |
+
* @param c The connection
|
| 606 |
+
* @return A cookie
|
| 607 |
+
*
|
| 608 |
+
* Delivers a request to the X server.
|
| 609 |
+
*
|
| 610 |
+
* This form can be used only if the request will not cause
|
| 611 |
+
* a reply to be generated. Any returned error will be
|
| 612 |
+
* saved for handling by xcb_request_check().
|
| 613 |
+
*/
|
| 614 |
+
xcb_void_cookie_t
|
| 615 |
+
xcb_record_create_context_checked (xcb_connection_t *c,
|
| 616 |
+
xcb_record_context_t context,
|
| 617 |
+
xcb_record_element_header_t element_header,
|
| 618 |
+
uint32_t num_client_specs,
|
| 619 |
+
uint32_t num_ranges,
|
| 620 |
+
const xcb_record_client_spec_t *client_specs,
|
| 621 |
+
const xcb_record_range_t *ranges);
|
| 622 |
+
|
| 623 |
+
/**
|
| 624 |
+
*
|
| 625 |
+
* @param c The connection
|
| 626 |
+
* @return A cookie
|
| 627 |
+
*
|
| 628 |
+
* Delivers a request to the X server.
|
| 629 |
+
*
|
| 630 |
+
*/
|
| 631 |
+
xcb_void_cookie_t
|
| 632 |
+
xcb_record_create_context (xcb_connection_t *c,
|
| 633 |
+
xcb_record_context_t context,
|
| 634 |
+
xcb_record_element_header_t element_header,
|
| 635 |
+
uint32_t num_client_specs,
|
| 636 |
+
uint32_t num_ranges,
|
| 637 |
+
const xcb_record_client_spec_t *client_specs,
|
| 638 |
+
const xcb_record_range_t *ranges);
|
| 639 |
+
|
| 640 |
+
xcb_record_client_spec_t *
|
| 641 |
+
xcb_record_create_context_client_specs (const xcb_record_create_context_request_t *R);
|
| 642 |
+
|
| 643 |
+
int
|
| 644 |
+
xcb_record_create_context_client_specs_length (const xcb_record_create_context_request_t *R);
|
| 645 |
+
|
| 646 |
+
xcb_generic_iterator_t
|
| 647 |
+
xcb_record_create_context_client_specs_end (const xcb_record_create_context_request_t *R);
|
| 648 |
+
|
| 649 |
+
xcb_record_range_t *
|
| 650 |
+
xcb_record_create_context_ranges (const xcb_record_create_context_request_t *R);
|
| 651 |
+
|
| 652 |
+
int
|
| 653 |
+
xcb_record_create_context_ranges_length (const xcb_record_create_context_request_t *R);
|
| 654 |
+
|
| 655 |
+
xcb_record_range_iterator_t
|
| 656 |
+
xcb_record_create_context_ranges_iterator (const xcb_record_create_context_request_t *R);
|
| 657 |
+
|
| 658 |
+
int
|
| 659 |
+
xcb_record_register_clients_sizeof (const void *_buffer);
|
| 660 |
+
|
| 661 |
+
/**
|
| 662 |
+
*
|
| 663 |
+
* @param c The connection
|
| 664 |
+
* @return A cookie
|
| 665 |
+
*
|
| 666 |
+
* Delivers a request to the X server.
|
| 667 |
+
*
|
| 668 |
+
* This form can be used only if the request will not cause
|
| 669 |
+
* a reply to be generated. Any returned error will be
|
| 670 |
+
* saved for handling by xcb_request_check().
|
| 671 |
+
*/
|
| 672 |
+
xcb_void_cookie_t
|
| 673 |
+
xcb_record_register_clients_checked (xcb_connection_t *c,
|
| 674 |
+
xcb_record_context_t context,
|
| 675 |
+
xcb_record_element_header_t element_header,
|
| 676 |
+
uint32_t num_client_specs,
|
| 677 |
+
uint32_t num_ranges,
|
| 678 |
+
const xcb_record_client_spec_t *client_specs,
|
| 679 |
+
const xcb_record_range_t *ranges);
|
| 680 |
+
|
| 681 |
+
/**
|
| 682 |
+
*
|
| 683 |
+
* @param c The connection
|
| 684 |
+
* @return A cookie
|
| 685 |
+
*
|
| 686 |
+
* Delivers a request to the X server.
|
| 687 |
+
*
|
| 688 |
+
*/
|
| 689 |
+
xcb_void_cookie_t
|
| 690 |
+
xcb_record_register_clients (xcb_connection_t *c,
|
| 691 |
+
xcb_record_context_t context,
|
| 692 |
+
xcb_record_element_header_t element_header,
|
| 693 |
+
uint32_t num_client_specs,
|
| 694 |
+
uint32_t num_ranges,
|
| 695 |
+
const xcb_record_client_spec_t *client_specs,
|
| 696 |
+
const xcb_record_range_t *ranges);
|
| 697 |
+
|
| 698 |
+
xcb_record_client_spec_t *
|
| 699 |
+
xcb_record_register_clients_client_specs (const xcb_record_register_clients_request_t *R);
|
| 700 |
+
|
| 701 |
+
int
|
| 702 |
+
xcb_record_register_clients_client_specs_length (const xcb_record_register_clients_request_t *R);
|
| 703 |
+
|
| 704 |
+
xcb_generic_iterator_t
|
| 705 |
+
xcb_record_register_clients_client_specs_end (const xcb_record_register_clients_request_t *R);
|
| 706 |
+
|
| 707 |
+
xcb_record_range_t *
|
| 708 |
+
xcb_record_register_clients_ranges (const xcb_record_register_clients_request_t *R);
|
| 709 |
+
|
| 710 |
+
int
|
| 711 |
+
xcb_record_register_clients_ranges_length (const xcb_record_register_clients_request_t *R);
|
| 712 |
+
|
| 713 |
+
xcb_record_range_iterator_t
|
| 714 |
+
xcb_record_register_clients_ranges_iterator (const xcb_record_register_clients_request_t *R);
|
| 715 |
+
|
| 716 |
+
int
|
| 717 |
+
xcb_record_unregister_clients_sizeof (const void *_buffer);
|
| 718 |
+
|
| 719 |
+
/**
|
| 720 |
+
*
|
| 721 |
+
* @param c The connection
|
| 722 |
+
* @return A cookie
|
| 723 |
+
*
|
| 724 |
+
* Delivers a request to the X server.
|
| 725 |
+
*
|
| 726 |
+
* This form can be used only if the request will not cause
|
| 727 |
+
* a reply to be generated. Any returned error will be
|
| 728 |
+
* saved for handling by xcb_request_check().
|
| 729 |
+
*/
|
| 730 |
+
xcb_void_cookie_t
|
| 731 |
+
xcb_record_unregister_clients_checked (xcb_connection_t *c,
|
| 732 |
+
xcb_record_context_t context,
|
| 733 |
+
uint32_t num_client_specs,
|
| 734 |
+
const xcb_record_client_spec_t *client_specs);
|
| 735 |
+
|
| 736 |
+
/**
|
| 737 |
+
*
|
| 738 |
+
* @param c The connection
|
| 739 |
+
* @return A cookie
|
| 740 |
+
*
|
| 741 |
+
* Delivers a request to the X server.
|
| 742 |
+
*
|
| 743 |
+
*/
|
| 744 |
+
xcb_void_cookie_t
|
| 745 |
+
xcb_record_unregister_clients (xcb_connection_t *c,
|
| 746 |
+
xcb_record_context_t context,
|
| 747 |
+
uint32_t num_client_specs,
|
| 748 |
+
const xcb_record_client_spec_t *client_specs);
|
| 749 |
+
|
| 750 |
+
xcb_record_client_spec_t *
|
| 751 |
+
xcb_record_unregister_clients_client_specs (const xcb_record_unregister_clients_request_t *R);
|
| 752 |
+
|
| 753 |
+
int
|
| 754 |
+
xcb_record_unregister_clients_client_specs_length (const xcb_record_unregister_clients_request_t *R);
|
| 755 |
+
|
| 756 |
+
xcb_generic_iterator_t
|
| 757 |
+
xcb_record_unregister_clients_client_specs_end (const xcb_record_unregister_clients_request_t *R);
|
| 758 |
+
|
| 759 |
+
int
|
| 760 |
+
xcb_record_get_context_sizeof (const void *_buffer);
|
| 761 |
+
|
| 762 |
+
/**
|
| 763 |
+
*
|
| 764 |
+
* @param c The connection
|
| 765 |
+
* @return A cookie
|
| 766 |
+
*
|
| 767 |
+
* Delivers a request to the X server.
|
| 768 |
+
*
|
| 769 |
+
*/
|
| 770 |
+
xcb_record_get_context_cookie_t
|
| 771 |
+
xcb_record_get_context (xcb_connection_t *c,
|
| 772 |
+
xcb_record_context_t context);
|
| 773 |
+
|
| 774 |
+
/**
|
| 775 |
+
*
|
| 776 |
+
* @param c The connection
|
| 777 |
+
* @return A cookie
|
| 778 |
+
*
|
| 779 |
+
* Delivers a request to the X server.
|
| 780 |
+
*
|
| 781 |
+
* This form can be used only if the request will cause
|
| 782 |
+
* a reply to be generated. Any returned error will be
|
| 783 |
+
* placed in the event queue.
|
| 784 |
+
*/
|
| 785 |
+
xcb_record_get_context_cookie_t
|
| 786 |
+
xcb_record_get_context_unchecked (xcb_connection_t *c,
|
| 787 |
+
xcb_record_context_t context);
|
| 788 |
+
|
| 789 |
+
int
|
| 790 |
+
xcb_record_get_context_intercepted_clients_length (const xcb_record_get_context_reply_t *R);
|
| 791 |
+
|
| 792 |
+
xcb_record_client_info_iterator_t
|
| 793 |
+
xcb_record_get_context_intercepted_clients_iterator (const xcb_record_get_context_reply_t *R);
|
| 794 |
+
|
| 795 |
+
/**
|
| 796 |
+
* Return the reply
|
| 797 |
+
* @param c The connection
|
| 798 |
+
* @param cookie The cookie
|
| 799 |
+
* @param e The xcb_generic_error_t supplied
|
| 800 |
+
*
|
| 801 |
+
* Returns the reply of the request asked by
|
| 802 |
+
*
|
| 803 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 804 |
+
* xcb_record_get_context_unchecked(). is used.
|
| 805 |
+
* Otherwise, it stores the error if any.
|
| 806 |
+
*
|
| 807 |
+
* The returned value must be freed by the caller using free().
|
| 808 |
+
*/
|
| 809 |
+
xcb_record_get_context_reply_t *
|
| 810 |
+
xcb_record_get_context_reply (xcb_connection_t *c,
|
| 811 |
+
xcb_record_get_context_cookie_t cookie /**< */,
|
| 812 |
+
xcb_generic_error_t **e);
|
| 813 |
+
|
| 814 |
+
int
|
| 815 |
+
xcb_record_enable_context_sizeof (const void *_buffer);
|
| 816 |
+
|
| 817 |
+
/**
|
| 818 |
+
*
|
| 819 |
+
* @param c The connection
|
| 820 |
+
* @return A cookie
|
| 821 |
+
*
|
| 822 |
+
* Delivers a request to the X server.
|
| 823 |
+
*
|
| 824 |
+
*/
|
| 825 |
+
xcb_record_enable_context_cookie_t
|
| 826 |
+
xcb_record_enable_context (xcb_connection_t *c,
|
| 827 |
+
xcb_record_context_t context);
|
| 828 |
+
|
| 829 |
+
/**
|
| 830 |
+
*
|
| 831 |
+
* @param c The connection
|
| 832 |
+
* @return A cookie
|
| 833 |
+
*
|
| 834 |
+
* Delivers a request to the X server.
|
| 835 |
+
*
|
| 836 |
+
* This form can be used only if the request will cause
|
| 837 |
+
* a reply to be generated. Any returned error will be
|
| 838 |
+
* placed in the event queue.
|
| 839 |
+
*/
|
| 840 |
+
xcb_record_enable_context_cookie_t
|
| 841 |
+
xcb_record_enable_context_unchecked (xcb_connection_t *c,
|
| 842 |
+
xcb_record_context_t context);
|
| 843 |
+
|
| 844 |
+
uint8_t *
|
| 845 |
+
xcb_record_enable_context_data (const xcb_record_enable_context_reply_t *R);
|
| 846 |
+
|
| 847 |
+
int
|
| 848 |
+
xcb_record_enable_context_data_length (const xcb_record_enable_context_reply_t *R);
|
| 849 |
+
|
| 850 |
+
xcb_generic_iterator_t
|
| 851 |
+
xcb_record_enable_context_data_end (const xcb_record_enable_context_reply_t *R);
|
| 852 |
+
|
| 853 |
+
/**
|
| 854 |
+
* Return the reply
|
| 855 |
+
* @param c The connection
|
| 856 |
+
* @param cookie The cookie
|
| 857 |
+
* @param e The xcb_generic_error_t supplied
|
| 858 |
+
*
|
| 859 |
+
* Returns the reply of the request asked by
|
| 860 |
+
*
|
| 861 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 862 |
+
* xcb_record_enable_context_unchecked(). is used.
|
| 863 |
+
* Otherwise, it stores the error if any.
|
| 864 |
+
*
|
| 865 |
+
* The returned value must be freed by the caller using free().
|
| 866 |
+
*/
|
| 867 |
+
xcb_record_enable_context_reply_t *
|
| 868 |
+
xcb_record_enable_context_reply (xcb_connection_t *c,
|
| 869 |
+
xcb_record_enable_context_cookie_t cookie /**< */,
|
| 870 |
+
xcb_generic_error_t **e);
|
| 871 |
+
|
| 872 |
+
/**
|
| 873 |
+
*
|
| 874 |
+
* @param c The connection
|
| 875 |
+
* @return A cookie
|
| 876 |
+
*
|
| 877 |
+
* Delivers a request to the X server.
|
| 878 |
+
*
|
| 879 |
+
* This form can be used only if the request will not cause
|
| 880 |
+
* a reply to be generated. Any returned error will be
|
| 881 |
+
* saved for handling by xcb_request_check().
|
| 882 |
+
*/
|
| 883 |
+
xcb_void_cookie_t
|
| 884 |
+
xcb_record_disable_context_checked (xcb_connection_t *c,
|
| 885 |
+
xcb_record_context_t context);
|
| 886 |
+
|
| 887 |
+
/**
|
| 888 |
+
*
|
| 889 |
+
* @param c The connection
|
| 890 |
+
* @return A cookie
|
| 891 |
+
*
|
| 892 |
+
* Delivers a request to the X server.
|
| 893 |
+
*
|
| 894 |
+
*/
|
| 895 |
+
xcb_void_cookie_t
|
| 896 |
+
xcb_record_disable_context (xcb_connection_t *c,
|
| 897 |
+
xcb_record_context_t context);
|
| 898 |
+
|
| 899 |
+
/**
|
| 900 |
+
*
|
| 901 |
+
* @param c The connection
|
| 902 |
+
* @return A cookie
|
| 903 |
+
*
|
| 904 |
+
* Delivers a request to the X server.
|
| 905 |
+
*
|
| 906 |
+
* This form can be used only if the request will not cause
|
| 907 |
+
* a reply to be generated. Any returned error will be
|
| 908 |
+
* saved for handling by xcb_request_check().
|
| 909 |
+
*/
|
| 910 |
+
xcb_void_cookie_t
|
| 911 |
+
xcb_record_free_context_checked (xcb_connection_t *c,
|
| 912 |
+
xcb_record_context_t context);
|
| 913 |
+
|
| 914 |
+
/**
|
| 915 |
+
*
|
| 916 |
+
* @param c The connection
|
| 917 |
+
* @return A cookie
|
| 918 |
+
*
|
| 919 |
+
* Delivers a request to the X server.
|
| 920 |
+
*
|
| 921 |
+
*/
|
| 922 |
+
xcb_void_cookie_t
|
| 923 |
+
xcb_record_free_context (xcb_connection_t *c,
|
| 924 |
+
xcb_record_context_t context);
|
| 925 |
+
|
| 926 |
+
|
| 927 |
+
#ifdef __cplusplus
|
| 928 |
+
}
|
| 929 |
+
#endif
|
| 930 |
+
|
| 931 |
+
#endif
|
| 932 |
+
|
| 933 |
+
/**
|
| 934 |
+
* @}
|
| 935 |
+
*/
|
miniconda3/envs/ladir/include/xcb/render.h
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
miniconda3/envs/ladir/include/xcb/res.h
ADDED
|
@@ -0,0 +1,864 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from res.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Res_API XCB Res API
|
| 8 |
+
* @brief Res XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __RES_H
|
| 13 |
+
#define __RES_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_RES_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_RES_MINOR_VERSION 2
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_res_id;
|
| 26 |
+
|
| 27 |
+
/**
|
| 28 |
+
* @brief xcb_res_client_t
|
| 29 |
+
**/
|
| 30 |
+
typedef struct xcb_res_client_t {
|
| 31 |
+
uint32_t resource_base;
|
| 32 |
+
uint32_t resource_mask;
|
| 33 |
+
} xcb_res_client_t;
|
| 34 |
+
|
| 35 |
+
/**
|
| 36 |
+
* @brief xcb_res_client_iterator_t
|
| 37 |
+
**/
|
| 38 |
+
typedef struct xcb_res_client_iterator_t {
|
| 39 |
+
xcb_res_client_t *data;
|
| 40 |
+
int rem;
|
| 41 |
+
int index;
|
| 42 |
+
} xcb_res_client_iterator_t;
|
| 43 |
+
|
| 44 |
+
/**
|
| 45 |
+
* @brief xcb_res_type_t
|
| 46 |
+
**/
|
| 47 |
+
typedef struct xcb_res_type_t {
|
| 48 |
+
xcb_atom_t resource_type;
|
| 49 |
+
uint32_t count;
|
| 50 |
+
} xcb_res_type_t;
|
| 51 |
+
|
| 52 |
+
/**
|
| 53 |
+
* @brief xcb_res_type_iterator_t
|
| 54 |
+
**/
|
| 55 |
+
typedef struct xcb_res_type_iterator_t {
|
| 56 |
+
xcb_res_type_t *data;
|
| 57 |
+
int rem;
|
| 58 |
+
int index;
|
| 59 |
+
} xcb_res_type_iterator_t;
|
| 60 |
+
|
| 61 |
+
typedef enum xcb_res_client_id_mask_t {
|
| 62 |
+
XCB_RES_CLIENT_ID_MASK_CLIENT_XID = 1,
|
| 63 |
+
XCB_RES_CLIENT_ID_MASK_LOCAL_CLIENT_PID = 2
|
| 64 |
+
} xcb_res_client_id_mask_t;
|
| 65 |
+
|
| 66 |
+
/**
|
| 67 |
+
* @brief xcb_res_client_id_spec_t
|
| 68 |
+
**/
|
| 69 |
+
typedef struct xcb_res_client_id_spec_t {
|
| 70 |
+
uint32_t client;
|
| 71 |
+
uint32_t mask;
|
| 72 |
+
} xcb_res_client_id_spec_t;
|
| 73 |
+
|
| 74 |
+
/**
|
| 75 |
+
* @brief xcb_res_client_id_spec_iterator_t
|
| 76 |
+
**/
|
| 77 |
+
typedef struct xcb_res_client_id_spec_iterator_t {
|
| 78 |
+
xcb_res_client_id_spec_t *data;
|
| 79 |
+
int rem;
|
| 80 |
+
int index;
|
| 81 |
+
} xcb_res_client_id_spec_iterator_t;
|
| 82 |
+
|
| 83 |
+
/**
|
| 84 |
+
* @brief xcb_res_client_id_value_t
|
| 85 |
+
**/
|
| 86 |
+
typedef struct xcb_res_client_id_value_t {
|
| 87 |
+
xcb_res_client_id_spec_t spec;
|
| 88 |
+
uint32_t length;
|
| 89 |
+
} xcb_res_client_id_value_t;
|
| 90 |
+
|
| 91 |
+
/**
|
| 92 |
+
* @brief xcb_res_client_id_value_iterator_t
|
| 93 |
+
**/
|
| 94 |
+
typedef struct xcb_res_client_id_value_iterator_t {
|
| 95 |
+
xcb_res_client_id_value_t *data;
|
| 96 |
+
int rem;
|
| 97 |
+
int index;
|
| 98 |
+
} xcb_res_client_id_value_iterator_t;
|
| 99 |
+
|
| 100 |
+
/**
|
| 101 |
+
* @brief xcb_res_resource_id_spec_t
|
| 102 |
+
**/
|
| 103 |
+
typedef struct xcb_res_resource_id_spec_t {
|
| 104 |
+
uint32_t resource;
|
| 105 |
+
uint32_t type;
|
| 106 |
+
} xcb_res_resource_id_spec_t;
|
| 107 |
+
|
| 108 |
+
/**
|
| 109 |
+
* @brief xcb_res_resource_id_spec_iterator_t
|
| 110 |
+
**/
|
| 111 |
+
typedef struct xcb_res_resource_id_spec_iterator_t {
|
| 112 |
+
xcb_res_resource_id_spec_t *data;
|
| 113 |
+
int rem;
|
| 114 |
+
int index;
|
| 115 |
+
} xcb_res_resource_id_spec_iterator_t;
|
| 116 |
+
|
| 117 |
+
/**
|
| 118 |
+
* @brief xcb_res_resource_size_spec_t
|
| 119 |
+
**/
|
| 120 |
+
typedef struct xcb_res_resource_size_spec_t {
|
| 121 |
+
xcb_res_resource_id_spec_t spec;
|
| 122 |
+
uint32_t bytes;
|
| 123 |
+
uint32_t ref_count;
|
| 124 |
+
uint32_t use_count;
|
| 125 |
+
} xcb_res_resource_size_spec_t;
|
| 126 |
+
|
| 127 |
+
/**
|
| 128 |
+
* @brief xcb_res_resource_size_spec_iterator_t
|
| 129 |
+
**/
|
| 130 |
+
typedef struct xcb_res_resource_size_spec_iterator_t {
|
| 131 |
+
xcb_res_resource_size_spec_t *data;
|
| 132 |
+
int rem;
|
| 133 |
+
int index;
|
| 134 |
+
} xcb_res_resource_size_spec_iterator_t;
|
| 135 |
+
|
| 136 |
+
/**
|
| 137 |
+
* @brief xcb_res_resource_size_value_t
|
| 138 |
+
**/
|
| 139 |
+
typedef struct xcb_res_resource_size_value_t {
|
| 140 |
+
xcb_res_resource_size_spec_t size;
|
| 141 |
+
uint32_t num_cross_references;
|
| 142 |
+
} xcb_res_resource_size_value_t;
|
| 143 |
+
|
| 144 |
+
/**
|
| 145 |
+
* @brief xcb_res_resource_size_value_iterator_t
|
| 146 |
+
**/
|
| 147 |
+
typedef struct xcb_res_resource_size_value_iterator_t {
|
| 148 |
+
xcb_res_resource_size_value_t *data;
|
| 149 |
+
int rem;
|
| 150 |
+
int index;
|
| 151 |
+
} xcb_res_resource_size_value_iterator_t;
|
| 152 |
+
|
| 153 |
+
/**
|
| 154 |
+
* @brief xcb_res_query_version_cookie_t
|
| 155 |
+
**/
|
| 156 |
+
typedef struct xcb_res_query_version_cookie_t {
|
| 157 |
+
unsigned int sequence;
|
| 158 |
+
} xcb_res_query_version_cookie_t;
|
| 159 |
+
|
| 160 |
+
/** Opcode for xcb_res_query_version. */
|
| 161 |
+
#define XCB_RES_QUERY_VERSION 0
|
| 162 |
+
|
| 163 |
+
/**
|
| 164 |
+
* @brief xcb_res_query_version_request_t
|
| 165 |
+
**/
|
| 166 |
+
typedef struct xcb_res_query_version_request_t {
|
| 167 |
+
uint8_t major_opcode;
|
| 168 |
+
uint8_t minor_opcode;
|
| 169 |
+
uint16_t length;
|
| 170 |
+
uint8_t client_major;
|
| 171 |
+
uint8_t client_minor;
|
| 172 |
+
} xcb_res_query_version_request_t;
|
| 173 |
+
|
| 174 |
+
/**
|
| 175 |
+
* @brief xcb_res_query_version_reply_t
|
| 176 |
+
**/
|
| 177 |
+
typedef struct xcb_res_query_version_reply_t {
|
| 178 |
+
uint8_t response_type;
|
| 179 |
+
uint8_t pad0;
|
| 180 |
+
uint16_t sequence;
|
| 181 |
+
uint32_t length;
|
| 182 |
+
uint16_t server_major;
|
| 183 |
+
uint16_t server_minor;
|
| 184 |
+
} xcb_res_query_version_reply_t;
|
| 185 |
+
|
| 186 |
+
/**
|
| 187 |
+
* @brief xcb_res_query_clients_cookie_t
|
| 188 |
+
**/
|
| 189 |
+
typedef struct xcb_res_query_clients_cookie_t {
|
| 190 |
+
unsigned int sequence;
|
| 191 |
+
} xcb_res_query_clients_cookie_t;
|
| 192 |
+
|
| 193 |
+
/** Opcode for xcb_res_query_clients. */
|
| 194 |
+
#define XCB_RES_QUERY_CLIENTS 1
|
| 195 |
+
|
| 196 |
+
/**
|
| 197 |
+
* @brief xcb_res_query_clients_request_t
|
| 198 |
+
**/
|
| 199 |
+
typedef struct xcb_res_query_clients_request_t {
|
| 200 |
+
uint8_t major_opcode;
|
| 201 |
+
uint8_t minor_opcode;
|
| 202 |
+
uint16_t length;
|
| 203 |
+
} xcb_res_query_clients_request_t;
|
| 204 |
+
|
| 205 |
+
/**
|
| 206 |
+
* @brief xcb_res_query_clients_reply_t
|
| 207 |
+
**/
|
| 208 |
+
typedef struct xcb_res_query_clients_reply_t {
|
| 209 |
+
uint8_t response_type;
|
| 210 |
+
uint8_t pad0;
|
| 211 |
+
uint16_t sequence;
|
| 212 |
+
uint32_t length;
|
| 213 |
+
uint32_t num_clients;
|
| 214 |
+
uint8_t pad1[20];
|
| 215 |
+
} xcb_res_query_clients_reply_t;
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
* @brief xcb_res_query_client_resources_cookie_t
|
| 219 |
+
**/
|
| 220 |
+
typedef struct xcb_res_query_client_resources_cookie_t {
|
| 221 |
+
unsigned int sequence;
|
| 222 |
+
} xcb_res_query_client_resources_cookie_t;
|
| 223 |
+
|
| 224 |
+
/** Opcode for xcb_res_query_client_resources. */
|
| 225 |
+
#define XCB_RES_QUERY_CLIENT_RESOURCES 2
|
| 226 |
+
|
| 227 |
+
/**
|
| 228 |
+
* @brief xcb_res_query_client_resources_request_t
|
| 229 |
+
**/
|
| 230 |
+
typedef struct xcb_res_query_client_resources_request_t {
|
| 231 |
+
uint8_t major_opcode;
|
| 232 |
+
uint8_t minor_opcode;
|
| 233 |
+
uint16_t length;
|
| 234 |
+
uint32_t xid;
|
| 235 |
+
} xcb_res_query_client_resources_request_t;
|
| 236 |
+
|
| 237 |
+
/**
|
| 238 |
+
* @brief xcb_res_query_client_resources_reply_t
|
| 239 |
+
**/
|
| 240 |
+
typedef struct xcb_res_query_client_resources_reply_t {
|
| 241 |
+
uint8_t response_type;
|
| 242 |
+
uint8_t pad0;
|
| 243 |
+
uint16_t sequence;
|
| 244 |
+
uint32_t length;
|
| 245 |
+
uint32_t num_types;
|
| 246 |
+
uint8_t pad1[20];
|
| 247 |
+
} xcb_res_query_client_resources_reply_t;
|
| 248 |
+
|
| 249 |
+
/**
|
| 250 |
+
* @brief xcb_res_query_client_pixmap_bytes_cookie_t
|
| 251 |
+
**/
|
| 252 |
+
typedef struct xcb_res_query_client_pixmap_bytes_cookie_t {
|
| 253 |
+
unsigned int sequence;
|
| 254 |
+
} xcb_res_query_client_pixmap_bytes_cookie_t;
|
| 255 |
+
|
| 256 |
+
/** Opcode for xcb_res_query_client_pixmap_bytes. */
|
| 257 |
+
#define XCB_RES_QUERY_CLIENT_PIXMAP_BYTES 3
|
| 258 |
+
|
| 259 |
+
/**
|
| 260 |
+
* @brief xcb_res_query_client_pixmap_bytes_request_t
|
| 261 |
+
**/
|
| 262 |
+
typedef struct xcb_res_query_client_pixmap_bytes_request_t {
|
| 263 |
+
uint8_t major_opcode;
|
| 264 |
+
uint8_t minor_opcode;
|
| 265 |
+
uint16_t length;
|
| 266 |
+
uint32_t xid;
|
| 267 |
+
} xcb_res_query_client_pixmap_bytes_request_t;
|
| 268 |
+
|
| 269 |
+
/**
|
| 270 |
+
* @brief xcb_res_query_client_pixmap_bytes_reply_t
|
| 271 |
+
**/
|
| 272 |
+
typedef struct xcb_res_query_client_pixmap_bytes_reply_t {
|
| 273 |
+
uint8_t response_type;
|
| 274 |
+
uint8_t pad0;
|
| 275 |
+
uint16_t sequence;
|
| 276 |
+
uint32_t length;
|
| 277 |
+
uint32_t bytes;
|
| 278 |
+
uint32_t bytes_overflow;
|
| 279 |
+
} xcb_res_query_client_pixmap_bytes_reply_t;
|
| 280 |
+
|
| 281 |
+
/**
|
| 282 |
+
* @brief xcb_res_query_client_ids_cookie_t
|
| 283 |
+
**/
|
| 284 |
+
typedef struct xcb_res_query_client_ids_cookie_t {
|
| 285 |
+
unsigned int sequence;
|
| 286 |
+
} xcb_res_query_client_ids_cookie_t;
|
| 287 |
+
|
| 288 |
+
/** Opcode for xcb_res_query_client_ids. */
|
| 289 |
+
#define XCB_RES_QUERY_CLIENT_IDS 4
|
| 290 |
+
|
| 291 |
+
/**
|
| 292 |
+
* @brief xcb_res_query_client_ids_request_t
|
| 293 |
+
**/
|
| 294 |
+
typedef struct xcb_res_query_client_ids_request_t {
|
| 295 |
+
uint8_t major_opcode;
|
| 296 |
+
uint8_t minor_opcode;
|
| 297 |
+
uint16_t length;
|
| 298 |
+
uint32_t num_specs;
|
| 299 |
+
} xcb_res_query_client_ids_request_t;
|
| 300 |
+
|
| 301 |
+
/**
|
| 302 |
+
* @brief xcb_res_query_client_ids_reply_t
|
| 303 |
+
**/
|
| 304 |
+
typedef struct xcb_res_query_client_ids_reply_t {
|
| 305 |
+
uint8_t response_type;
|
| 306 |
+
uint8_t pad0;
|
| 307 |
+
uint16_t sequence;
|
| 308 |
+
uint32_t length;
|
| 309 |
+
uint32_t num_ids;
|
| 310 |
+
uint8_t pad1[20];
|
| 311 |
+
} xcb_res_query_client_ids_reply_t;
|
| 312 |
+
|
| 313 |
+
/**
|
| 314 |
+
* @brief xcb_res_query_resource_bytes_cookie_t
|
| 315 |
+
**/
|
| 316 |
+
typedef struct xcb_res_query_resource_bytes_cookie_t {
|
| 317 |
+
unsigned int sequence;
|
| 318 |
+
} xcb_res_query_resource_bytes_cookie_t;
|
| 319 |
+
|
| 320 |
+
/** Opcode for xcb_res_query_resource_bytes. */
|
| 321 |
+
#define XCB_RES_QUERY_RESOURCE_BYTES 5
|
| 322 |
+
|
| 323 |
+
/**
|
| 324 |
+
* @brief xcb_res_query_resource_bytes_request_t
|
| 325 |
+
**/
|
| 326 |
+
typedef struct xcb_res_query_resource_bytes_request_t {
|
| 327 |
+
uint8_t major_opcode;
|
| 328 |
+
uint8_t minor_opcode;
|
| 329 |
+
uint16_t length;
|
| 330 |
+
uint32_t client;
|
| 331 |
+
uint32_t num_specs;
|
| 332 |
+
} xcb_res_query_resource_bytes_request_t;
|
| 333 |
+
|
| 334 |
+
/**
|
| 335 |
+
* @brief xcb_res_query_resource_bytes_reply_t
|
| 336 |
+
**/
|
| 337 |
+
typedef struct xcb_res_query_resource_bytes_reply_t {
|
| 338 |
+
uint8_t response_type;
|
| 339 |
+
uint8_t pad0;
|
| 340 |
+
uint16_t sequence;
|
| 341 |
+
uint32_t length;
|
| 342 |
+
uint32_t num_sizes;
|
| 343 |
+
uint8_t pad1[20];
|
| 344 |
+
} xcb_res_query_resource_bytes_reply_t;
|
| 345 |
+
|
| 346 |
+
/**
|
| 347 |
+
* Get the next element of the iterator
|
| 348 |
+
* @param i Pointer to a xcb_res_client_iterator_t
|
| 349 |
+
*
|
| 350 |
+
* Get the next element in the iterator. The member rem is
|
| 351 |
+
* decreased by one. The member data points to the next
|
| 352 |
+
* element. The member index is increased by sizeof(xcb_res_client_t)
|
| 353 |
+
*/
|
| 354 |
+
void
|
| 355 |
+
xcb_res_client_next (xcb_res_client_iterator_t *i);
|
| 356 |
+
|
| 357 |
+
/**
|
| 358 |
+
* Return the iterator pointing to the last element
|
| 359 |
+
* @param i An xcb_res_client_iterator_t
|
| 360 |
+
* @return The iterator pointing to the last element
|
| 361 |
+
*
|
| 362 |
+
* Set the current element in the iterator to the last element.
|
| 363 |
+
* The member rem is set to 0. The member data points to the
|
| 364 |
+
* last element.
|
| 365 |
+
*/
|
| 366 |
+
xcb_generic_iterator_t
|
| 367 |
+
xcb_res_client_end (xcb_res_client_iterator_t i);
|
| 368 |
+
|
| 369 |
+
/**
|
| 370 |
+
* Get the next element of the iterator
|
| 371 |
+
* @param i Pointer to a xcb_res_type_iterator_t
|
| 372 |
+
*
|
| 373 |
+
* Get the next element in the iterator. The member rem is
|
| 374 |
+
* decreased by one. The member data points to the next
|
| 375 |
+
* element. The member index is increased by sizeof(xcb_res_type_t)
|
| 376 |
+
*/
|
| 377 |
+
void
|
| 378 |
+
xcb_res_type_next (xcb_res_type_iterator_t *i);
|
| 379 |
+
|
| 380 |
+
/**
|
| 381 |
+
* Return the iterator pointing to the last element
|
| 382 |
+
* @param i An xcb_res_type_iterator_t
|
| 383 |
+
* @return The iterator pointing to the last element
|
| 384 |
+
*
|
| 385 |
+
* Set the current element in the iterator to the last element.
|
| 386 |
+
* The member rem is set to 0. The member data points to the
|
| 387 |
+
* last element.
|
| 388 |
+
*/
|
| 389 |
+
xcb_generic_iterator_t
|
| 390 |
+
xcb_res_type_end (xcb_res_type_iterator_t i);
|
| 391 |
+
|
| 392 |
+
/**
|
| 393 |
+
* Get the next element of the iterator
|
| 394 |
+
* @param i Pointer to a xcb_res_client_id_spec_iterator_t
|
| 395 |
+
*
|
| 396 |
+
* Get the next element in the iterator. The member rem is
|
| 397 |
+
* decreased by one. The member data points to the next
|
| 398 |
+
* element. The member index is increased by sizeof(xcb_res_client_id_spec_t)
|
| 399 |
+
*/
|
| 400 |
+
void
|
| 401 |
+
xcb_res_client_id_spec_next (xcb_res_client_id_spec_iterator_t *i);
|
| 402 |
+
|
| 403 |
+
/**
|
| 404 |
+
* Return the iterator pointing to the last element
|
| 405 |
+
* @param i An xcb_res_client_id_spec_iterator_t
|
| 406 |
+
* @return The iterator pointing to the last element
|
| 407 |
+
*
|
| 408 |
+
* Set the current element in the iterator to the last element.
|
| 409 |
+
* The member rem is set to 0. The member data points to the
|
| 410 |
+
* last element.
|
| 411 |
+
*/
|
| 412 |
+
xcb_generic_iterator_t
|
| 413 |
+
xcb_res_client_id_spec_end (xcb_res_client_id_spec_iterator_t i);
|
| 414 |
+
|
| 415 |
+
int
|
| 416 |
+
xcb_res_client_id_value_sizeof (const void *_buffer);
|
| 417 |
+
|
| 418 |
+
uint32_t *
|
| 419 |
+
xcb_res_client_id_value_value (const xcb_res_client_id_value_t *R);
|
| 420 |
+
|
| 421 |
+
int
|
| 422 |
+
xcb_res_client_id_value_value_length (const xcb_res_client_id_value_t *R);
|
| 423 |
+
|
| 424 |
+
xcb_generic_iterator_t
|
| 425 |
+
xcb_res_client_id_value_value_end (const xcb_res_client_id_value_t *R);
|
| 426 |
+
|
| 427 |
+
/**
|
| 428 |
+
* Get the next element of the iterator
|
| 429 |
+
* @param i Pointer to a xcb_res_client_id_value_iterator_t
|
| 430 |
+
*
|
| 431 |
+
* Get the next element in the iterator. The member rem is
|
| 432 |
+
* decreased by one. The member data points to the next
|
| 433 |
+
* element. The member index is increased by sizeof(xcb_res_client_id_value_t)
|
| 434 |
+
*/
|
| 435 |
+
void
|
| 436 |
+
xcb_res_client_id_value_next (xcb_res_client_id_value_iterator_t *i);
|
| 437 |
+
|
| 438 |
+
/**
|
| 439 |
+
* Return the iterator pointing to the last element
|
| 440 |
+
* @param i An xcb_res_client_id_value_iterator_t
|
| 441 |
+
* @return The iterator pointing to the last element
|
| 442 |
+
*
|
| 443 |
+
* Set the current element in the iterator to the last element.
|
| 444 |
+
* The member rem is set to 0. The member data points to the
|
| 445 |
+
* last element.
|
| 446 |
+
*/
|
| 447 |
+
xcb_generic_iterator_t
|
| 448 |
+
xcb_res_client_id_value_end (xcb_res_client_id_value_iterator_t i);
|
| 449 |
+
|
| 450 |
+
/**
|
| 451 |
+
* Get the next element of the iterator
|
| 452 |
+
* @param i Pointer to a xcb_res_resource_id_spec_iterator_t
|
| 453 |
+
*
|
| 454 |
+
* Get the next element in the iterator. The member rem is
|
| 455 |
+
* decreased by one. The member data points to the next
|
| 456 |
+
* element. The member index is increased by sizeof(xcb_res_resource_id_spec_t)
|
| 457 |
+
*/
|
| 458 |
+
void
|
| 459 |
+
xcb_res_resource_id_spec_next (xcb_res_resource_id_spec_iterator_t *i);
|
| 460 |
+
|
| 461 |
+
/**
|
| 462 |
+
* Return the iterator pointing to the last element
|
| 463 |
+
* @param i An xcb_res_resource_id_spec_iterator_t
|
| 464 |
+
* @return The iterator pointing to the last element
|
| 465 |
+
*
|
| 466 |
+
* Set the current element in the iterator to the last element.
|
| 467 |
+
* The member rem is set to 0. The member data points to the
|
| 468 |
+
* last element.
|
| 469 |
+
*/
|
| 470 |
+
xcb_generic_iterator_t
|
| 471 |
+
xcb_res_resource_id_spec_end (xcb_res_resource_id_spec_iterator_t i);
|
| 472 |
+
|
| 473 |
+
/**
|
| 474 |
+
* Get the next element of the iterator
|
| 475 |
+
* @param i Pointer to a xcb_res_resource_size_spec_iterator_t
|
| 476 |
+
*
|
| 477 |
+
* Get the next element in the iterator. The member rem is
|
| 478 |
+
* decreased by one. The member data points to the next
|
| 479 |
+
* element. The member index is increased by sizeof(xcb_res_resource_size_spec_t)
|
| 480 |
+
*/
|
| 481 |
+
void
|
| 482 |
+
xcb_res_resource_size_spec_next (xcb_res_resource_size_spec_iterator_t *i);
|
| 483 |
+
|
| 484 |
+
/**
|
| 485 |
+
* Return the iterator pointing to the last element
|
| 486 |
+
* @param i An xcb_res_resource_size_spec_iterator_t
|
| 487 |
+
* @return The iterator pointing to the last element
|
| 488 |
+
*
|
| 489 |
+
* Set the current element in the iterator to the last element.
|
| 490 |
+
* The member rem is set to 0. The member data points to the
|
| 491 |
+
* last element.
|
| 492 |
+
*/
|
| 493 |
+
xcb_generic_iterator_t
|
| 494 |
+
xcb_res_resource_size_spec_end (xcb_res_resource_size_spec_iterator_t i);
|
| 495 |
+
|
| 496 |
+
int
|
| 497 |
+
xcb_res_resource_size_value_sizeof (const void *_buffer);
|
| 498 |
+
|
| 499 |
+
xcb_res_resource_size_spec_t *
|
| 500 |
+
xcb_res_resource_size_value_cross_references (const xcb_res_resource_size_value_t *R);
|
| 501 |
+
|
| 502 |
+
int
|
| 503 |
+
xcb_res_resource_size_value_cross_references_length (const xcb_res_resource_size_value_t *R);
|
| 504 |
+
|
| 505 |
+
xcb_res_resource_size_spec_iterator_t
|
| 506 |
+
xcb_res_resource_size_value_cross_references_iterator (const xcb_res_resource_size_value_t *R);
|
| 507 |
+
|
| 508 |
+
/**
|
| 509 |
+
* Get the next element of the iterator
|
| 510 |
+
* @param i Pointer to a xcb_res_resource_size_value_iterator_t
|
| 511 |
+
*
|
| 512 |
+
* Get the next element in the iterator. The member rem is
|
| 513 |
+
* decreased by one. The member data points to the next
|
| 514 |
+
* element. The member index is increased by sizeof(xcb_res_resource_size_value_t)
|
| 515 |
+
*/
|
| 516 |
+
void
|
| 517 |
+
xcb_res_resource_size_value_next (xcb_res_resource_size_value_iterator_t *i);
|
| 518 |
+
|
| 519 |
+
/**
|
| 520 |
+
* Return the iterator pointing to the last element
|
| 521 |
+
* @param i An xcb_res_resource_size_value_iterator_t
|
| 522 |
+
* @return The iterator pointing to the last element
|
| 523 |
+
*
|
| 524 |
+
* Set the current element in the iterator to the last element.
|
| 525 |
+
* The member rem is set to 0. The member data points to the
|
| 526 |
+
* last element.
|
| 527 |
+
*/
|
| 528 |
+
xcb_generic_iterator_t
|
| 529 |
+
xcb_res_resource_size_value_end (xcb_res_resource_size_value_iterator_t i);
|
| 530 |
+
|
| 531 |
+
/**
|
| 532 |
+
*
|
| 533 |
+
* @param c The connection
|
| 534 |
+
* @return A cookie
|
| 535 |
+
*
|
| 536 |
+
* Delivers a request to the X server.
|
| 537 |
+
*
|
| 538 |
+
*/
|
| 539 |
+
xcb_res_query_version_cookie_t
|
| 540 |
+
xcb_res_query_version (xcb_connection_t *c,
|
| 541 |
+
uint8_t client_major,
|
| 542 |
+
uint8_t client_minor);
|
| 543 |
+
|
| 544 |
+
/**
|
| 545 |
+
*
|
| 546 |
+
* @param c The connection
|
| 547 |
+
* @return A cookie
|
| 548 |
+
*
|
| 549 |
+
* Delivers a request to the X server.
|
| 550 |
+
*
|
| 551 |
+
* This form can be used only if the request will cause
|
| 552 |
+
* a reply to be generated. Any returned error will be
|
| 553 |
+
* placed in the event queue.
|
| 554 |
+
*/
|
| 555 |
+
xcb_res_query_version_cookie_t
|
| 556 |
+
xcb_res_query_version_unchecked (xcb_connection_t *c,
|
| 557 |
+
uint8_t client_major,
|
| 558 |
+
uint8_t client_minor);
|
| 559 |
+
|
| 560 |
+
/**
|
| 561 |
+
* Return the reply
|
| 562 |
+
* @param c The connection
|
| 563 |
+
* @param cookie The cookie
|
| 564 |
+
* @param e The xcb_generic_error_t supplied
|
| 565 |
+
*
|
| 566 |
+
* Returns the reply of the request asked by
|
| 567 |
+
*
|
| 568 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 569 |
+
* xcb_res_query_version_unchecked(). is used.
|
| 570 |
+
* Otherwise, it stores the error if any.
|
| 571 |
+
*
|
| 572 |
+
* The returned value must be freed by the caller using free().
|
| 573 |
+
*/
|
| 574 |
+
xcb_res_query_version_reply_t *
|
| 575 |
+
xcb_res_query_version_reply (xcb_connection_t *c,
|
| 576 |
+
xcb_res_query_version_cookie_t cookie /**< */,
|
| 577 |
+
xcb_generic_error_t **e);
|
| 578 |
+
|
| 579 |
+
int
|
| 580 |
+
xcb_res_query_clients_sizeof (const void *_buffer);
|
| 581 |
+
|
| 582 |
+
/**
|
| 583 |
+
*
|
| 584 |
+
* @param c The connection
|
| 585 |
+
* @return A cookie
|
| 586 |
+
*
|
| 587 |
+
* Delivers a request to the X server.
|
| 588 |
+
*
|
| 589 |
+
*/
|
| 590 |
+
xcb_res_query_clients_cookie_t
|
| 591 |
+
xcb_res_query_clients (xcb_connection_t *c);
|
| 592 |
+
|
| 593 |
+
/**
|
| 594 |
+
*
|
| 595 |
+
* @param c The connection
|
| 596 |
+
* @return A cookie
|
| 597 |
+
*
|
| 598 |
+
* Delivers a request to the X server.
|
| 599 |
+
*
|
| 600 |
+
* This form can be used only if the request will cause
|
| 601 |
+
* a reply to be generated. Any returned error will be
|
| 602 |
+
* placed in the event queue.
|
| 603 |
+
*/
|
| 604 |
+
xcb_res_query_clients_cookie_t
|
| 605 |
+
xcb_res_query_clients_unchecked (xcb_connection_t *c);
|
| 606 |
+
|
| 607 |
+
xcb_res_client_t *
|
| 608 |
+
xcb_res_query_clients_clients (const xcb_res_query_clients_reply_t *R);
|
| 609 |
+
|
| 610 |
+
int
|
| 611 |
+
xcb_res_query_clients_clients_length (const xcb_res_query_clients_reply_t *R);
|
| 612 |
+
|
| 613 |
+
xcb_res_client_iterator_t
|
| 614 |
+
xcb_res_query_clients_clients_iterator (const xcb_res_query_clients_reply_t *R);
|
| 615 |
+
|
| 616 |
+
/**
|
| 617 |
+
* Return the reply
|
| 618 |
+
* @param c The connection
|
| 619 |
+
* @param cookie The cookie
|
| 620 |
+
* @param e The xcb_generic_error_t supplied
|
| 621 |
+
*
|
| 622 |
+
* Returns the reply of the request asked by
|
| 623 |
+
*
|
| 624 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 625 |
+
* xcb_res_query_clients_unchecked(). is used.
|
| 626 |
+
* Otherwise, it stores the error if any.
|
| 627 |
+
*
|
| 628 |
+
* The returned value must be freed by the caller using free().
|
| 629 |
+
*/
|
| 630 |
+
xcb_res_query_clients_reply_t *
|
| 631 |
+
xcb_res_query_clients_reply (xcb_connection_t *c,
|
| 632 |
+
xcb_res_query_clients_cookie_t cookie /**< */,
|
| 633 |
+
xcb_generic_error_t **e);
|
| 634 |
+
|
| 635 |
+
int
|
| 636 |
+
xcb_res_query_client_resources_sizeof (const void *_buffer);
|
| 637 |
+
|
| 638 |
+
/**
|
| 639 |
+
*
|
| 640 |
+
* @param c The connection
|
| 641 |
+
* @return A cookie
|
| 642 |
+
*
|
| 643 |
+
* Delivers a request to the X server.
|
| 644 |
+
*
|
| 645 |
+
*/
|
| 646 |
+
xcb_res_query_client_resources_cookie_t
|
| 647 |
+
xcb_res_query_client_resources (xcb_connection_t *c,
|
| 648 |
+
uint32_t xid);
|
| 649 |
+
|
| 650 |
+
/**
|
| 651 |
+
*
|
| 652 |
+
* @param c The connection
|
| 653 |
+
* @return A cookie
|
| 654 |
+
*
|
| 655 |
+
* Delivers a request to the X server.
|
| 656 |
+
*
|
| 657 |
+
* This form can be used only if the request will cause
|
| 658 |
+
* a reply to be generated. Any returned error will be
|
| 659 |
+
* placed in the event queue.
|
| 660 |
+
*/
|
| 661 |
+
xcb_res_query_client_resources_cookie_t
|
| 662 |
+
xcb_res_query_client_resources_unchecked (xcb_connection_t *c,
|
| 663 |
+
uint32_t xid);
|
| 664 |
+
|
| 665 |
+
xcb_res_type_t *
|
| 666 |
+
xcb_res_query_client_resources_types (const xcb_res_query_client_resources_reply_t *R);
|
| 667 |
+
|
| 668 |
+
int
|
| 669 |
+
xcb_res_query_client_resources_types_length (const xcb_res_query_client_resources_reply_t *R);
|
| 670 |
+
|
| 671 |
+
xcb_res_type_iterator_t
|
| 672 |
+
xcb_res_query_client_resources_types_iterator (const xcb_res_query_client_resources_reply_t *R);
|
| 673 |
+
|
| 674 |
+
/**
|
| 675 |
+
* Return the reply
|
| 676 |
+
* @param c The connection
|
| 677 |
+
* @param cookie The cookie
|
| 678 |
+
* @param e The xcb_generic_error_t supplied
|
| 679 |
+
*
|
| 680 |
+
* Returns the reply of the request asked by
|
| 681 |
+
*
|
| 682 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 683 |
+
* xcb_res_query_client_resources_unchecked(). is used.
|
| 684 |
+
* Otherwise, it stores the error if any.
|
| 685 |
+
*
|
| 686 |
+
* The returned value must be freed by the caller using free().
|
| 687 |
+
*/
|
| 688 |
+
xcb_res_query_client_resources_reply_t *
|
| 689 |
+
xcb_res_query_client_resources_reply (xcb_connection_t *c,
|
| 690 |
+
xcb_res_query_client_resources_cookie_t cookie /**< */,
|
| 691 |
+
xcb_generic_error_t **e);
|
| 692 |
+
|
| 693 |
+
/**
|
| 694 |
+
*
|
| 695 |
+
* @param c The connection
|
| 696 |
+
* @return A cookie
|
| 697 |
+
*
|
| 698 |
+
* Delivers a request to the X server.
|
| 699 |
+
*
|
| 700 |
+
*/
|
| 701 |
+
xcb_res_query_client_pixmap_bytes_cookie_t
|
| 702 |
+
xcb_res_query_client_pixmap_bytes (xcb_connection_t *c,
|
| 703 |
+
uint32_t xid);
|
| 704 |
+
|
| 705 |
+
/**
|
| 706 |
+
*
|
| 707 |
+
* @param c The connection
|
| 708 |
+
* @return A cookie
|
| 709 |
+
*
|
| 710 |
+
* Delivers a request to the X server.
|
| 711 |
+
*
|
| 712 |
+
* This form can be used only if the request will cause
|
| 713 |
+
* a reply to be generated. Any returned error will be
|
| 714 |
+
* placed in the event queue.
|
| 715 |
+
*/
|
| 716 |
+
xcb_res_query_client_pixmap_bytes_cookie_t
|
| 717 |
+
xcb_res_query_client_pixmap_bytes_unchecked (xcb_connection_t *c,
|
| 718 |
+
uint32_t xid);
|
| 719 |
+
|
| 720 |
+
/**
|
| 721 |
+
* Return the reply
|
| 722 |
+
* @param c The connection
|
| 723 |
+
* @param cookie The cookie
|
| 724 |
+
* @param e The xcb_generic_error_t supplied
|
| 725 |
+
*
|
| 726 |
+
* Returns the reply of the request asked by
|
| 727 |
+
*
|
| 728 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 729 |
+
* xcb_res_query_client_pixmap_bytes_unchecked(). is used.
|
| 730 |
+
* Otherwise, it stores the error if any.
|
| 731 |
+
*
|
| 732 |
+
* The returned value must be freed by the caller using free().
|
| 733 |
+
*/
|
| 734 |
+
xcb_res_query_client_pixmap_bytes_reply_t *
|
| 735 |
+
xcb_res_query_client_pixmap_bytes_reply (xcb_connection_t *c,
|
| 736 |
+
xcb_res_query_client_pixmap_bytes_cookie_t cookie /**< */,
|
| 737 |
+
xcb_generic_error_t **e);
|
| 738 |
+
|
| 739 |
+
int
|
| 740 |
+
xcb_res_query_client_ids_sizeof (const void *_buffer);
|
| 741 |
+
|
| 742 |
+
/**
|
| 743 |
+
*
|
| 744 |
+
* @param c The connection
|
| 745 |
+
* @return A cookie
|
| 746 |
+
*
|
| 747 |
+
* Delivers a request to the X server.
|
| 748 |
+
*
|
| 749 |
+
*/
|
| 750 |
+
xcb_res_query_client_ids_cookie_t
|
| 751 |
+
xcb_res_query_client_ids (xcb_connection_t *c,
|
| 752 |
+
uint32_t num_specs,
|
| 753 |
+
const xcb_res_client_id_spec_t *specs);
|
| 754 |
+
|
| 755 |
+
/**
|
| 756 |
+
*
|
| 757 |
+
* @param c The connection
|
| 758 |
+
* @return A cookie
|
| 759 |
+
*
|
| 760 |
+
* Delivers a request to the X server.
|
| 761 |
+
*
|
| 762 |
+
* This form can be used only if the request will cause
|
| 763 |
+
* a reply to be generated. Any returned error will be
|
| 764 |
+
* placed in the event queue.
|
| 765 |
+
*/
|
| 766 |
+
xcb_res_query_client_ids_cookie_t
|
| 767 |
+
xcb_res_query_client_ids_unchecked (xcb_connection_t *c,
|
| 768 |
+
uint32_t num_specs,
|
| 769 |
+
const xcb_res_client_id_spec_t *specs);
|
| 770 |
+
|
| 771 |
+
int
|
| 772 |
+
xcb_res_query_client_ids_ids_length (const xcb_res_query_client_ids_reply_t *R);
|
| 773 |
+
|
| 774 |
+
xcb_res_client_id_value_iterator_t
|
| 775 |
+
xcb_res_query_client_ids_ids_iterator (const xcb_res_query_client_ids_reply_t *R);
|
| 776 |
+
|
| 777 |
+
/**
|
| 778 |
+
* Return the reply
|
| 779 |
+
* @param c The connection
|
| 780 |
+
* @param cookie The cookie
|
| 781 |
+
* @param e The xcb_generic_error_t supplied
|
| 782 |
+
*
|
| 783 |
+
* Returns the reply of the request asked by
|
| 784 |
+
*
|
| 785 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 786 |
+
* xcb_res_query_client_ids_unchecked(). is used.
|
| 787 |
+
* Otherwise, it stores the error if any.
|
| 788 |
+
*
|
| 789 |
+
* The returned value must be freed by the caller using free().
|
| 790 |
+
*/
|
| 791 |
+
xcb_res_query_client_ids_reply_t *
|
| 792 |
+
xcb_res_query_client_ids_reply (xcb_connection_t *c,
|
| 793 |
+
xcb_res_query_client_ids_cookie_t cookie /**< */,
|
| 794 |
+
xcb_generic_error_t **e);
|
| 795 |
+
|
| 796 |
+
int
|
| 797 |
+
xcb_res_query_resource_bytes_sizeof (const void *_buffer);
|
| 798 |
+
|
| 799 |
+
/**
|
| 800 |
+
*
|
| 801 |
+
* @param c The connection
|
| 802 |
+
* @return A cookie
|
| 803 |
+
*
|
| 804 |
+
* Delivers a request to the X server.
|
| 805 |
+
*
|
| 806 |
+
*/
|
| 807 |
+
xcb_res_query_resource_bytes_cookie_t
|
| 808 |
+
xcb_res_query_resource_bytes (xcb_connection_t *c,
|
| 809 |
+
uint32_t client,
|
| 810 |
+
uint32_t num_specs,
|
| 811 |
+
const xcb_res_resource_id_spec_t *specs);
|
| 812 |
+
|
| 813 |
+
/**
|
| 814 |
+
*
|
| 815 |
+
* @param c The connection
|
| 816 |
+
* @return A cookie
|
| 817 |
+
*
|
| 818 |
+
* Delivers a request to the X server.
|
| 819 |
+
*
|
| 820 |
+
* This form can be used only if the request will cause
|
| 821 |
+
* a reply to be generated. Any returned error will be
|
| 822 |
+
* placed in the event queue.
|
| 823 |
+
*/
|
| 824 |
+
xcb_res_query_resource_bytes_cookie_t
|
| 825 |
+
xcb_res_query_resource_bytes_unchecked (xcb_connection_t *c,
|
| 826 |
+
uint32_t client,
|
| 827 |
+
uint32_t num_specs,
|
| 828 |
+
const xcb_res_resource_id_spec_t *specs);
|
| 829 |
+
|
| 830 |
+
int
|
| 831 |
+
xcb_res_query_resource_bytes_sizes_length (const xcb_res_query_resource_bytes_reply_t *R);
|
| 832 |
+
|
| 833 |
+
xcb_res_resource_size_value_iterator_t
|
| 834 |
+
xcb_res_query_resource_bytes_sizes_iterator (const xcb_res_query_resource_bytes_reply_t *R);
|
| 835 |
+
|
| 836 |
+
/**
|
| 837 |
+
* Return the reply
|
| 838 |
+
* @param c The connection
|
| 839 |
+
* @param cookie The cookie
|
| 840 |
+
* @param e The xcb_generic_error_t supplied
|
| 841 |
+
*
|
| 842 |
+
* Returns the reply of the request asked by
|
| 843 |
+
*
|
| 844 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 845 |
+
* xcb_res_query_resource_bytes_unchecked(). is used.
|
| 846 |
+
* Otherwise, it stores the error if any.
|
| 847 |
+
*
|
| 848 |
+
* The returned value must be freed by the caller using free().
|
| 849 |
+
*/
|
| 850 |
+
xcb_res_query_resource_bytes_reply_t *
|
| 851 |
+
xcb_res_query_resource_bytes_reply (xcb_connection_t *c,
|
| 852 |
+
xcb_res_query_resource_bytes_cookie_t cookie /**< */,
|
| 853 |
+
xcb_generic_error_t **e);
|
| 854 |
+
|
| 855 |
+
|
| 856 |
+
#ifdef __cplusplus
|
| 857 |
+
}
|
| 858 |
+
#endif
|
| 859 |
+
|
| 860 |
+
#endif
|
| 861 |
+
|
| 862 |
+
/**
|
| 863 |
+
* @}
|
| 864 |
+
*/
|
miniconda3/envs/ladir/include/xcb/screensaver.h
ADDED
|
@@ -0,0 +1,517 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from screensaver.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_ScreenSaver_API XCB ScreenSaver API
|
| 8 |
+
* @brief ScreenSaver XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __SCREENSAVER_H
|
| 13 |
+
#define __SCREENSAVER_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_SCREENSAVER_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_SCREENSAVER_MINOR_VERSION 1
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_screensaver_id;
|
| 26 |
+
|
| 27 |
+
typedef enum xcb_screensaver_kind_t {
|
| 28 |
+
XCB_SCREENSAVER_KIND_BLANKED = 0,
|
| 29 |
+
XCB_SCREENSAVER_KIND_INTERNAL = 1,
|
| 30 |
+
XCB_SCREENSAVER_KIND_EXTERNAL = 2
|
| 31 |
+
} xcb_screensaver_kind_t;
|
| 32 |
+
|
| 33 |
+
typedef enum xcb_screensaver_event_t {
|
| 34 |
+
XCB_SCREENSAVER_EVENT_NOTIFY_MASK = 1,
|
| 35 |
+
XCB_SCREENSAVER_EVENT_CYCLE_MASK = 2
|
| 36 |
+
} xcb_screensaver_event_t;
|
| 37 |
+
|
| 38 |
+
typedef enum xcb_screensaver_state_t {
|
| 39 |
+
XCB_SCREENSAVER_STATE_OFF = 0,
|
| 40 |
+
XCB_SCREENSAVER_STATE_ON = 1,
|
| 41 |
+
XCB_SCREENSAVER_STATE_CYCLE = 2,
|
| 42 |
+
XCB_SCREENSAVER_STATE_DISABLED = 3
|
| 43 |
+
} xcb_screensaver_state_t;
|
| 44 |
+
|
| 45 |
+
/**
|
| 46 |
+
* @brief xcb_screensaver_query_version_cookie_t
|
| 47 |
+
**/
|
| 48 |
+
typedef struct xcb_screensaver_query_version_cookie_t {
|
| 49 |
+
unsigned int sequence;
|
| 50 |
+
} xcb_screensaver_query_version_cookie_t;
|
| 51 |
+
|
| 52 |
+
/** Opcode for xcb_screensaver_query_version. */
|
| 53 |
+
#define XCB_SCREENSAVER_QUERY_VERSION 0
|
| 54 |
+
|
| 55 |
+
/**
|
| 56 |
+
* @brief xcb_screensaver_query_version_request_t
|
| 57 |
+
**/
|
| 58 |
+
typedef struct xcb_screensaver_query_version_request_t {
|
| 59 |
+
uint8_t major_opcode;
|
| 60 |
+
uint8_t minor_opcode;
|
| 61 |
+
uint16_t length;
|
| 62 |
+
uint8_t client_major_version;
|
| 63 |
+
uint8_t client_minor_version;
|
| 64 |
+
uint8_t pad0[2];
|
| 65 |
+
} xcb_screensaver_query_version_request_t;
|
| 66 |
+
|
| 67 |
+
/**
|
| 68 |
+
* @brief xcb_screensaver_query_version_reply_t
|
| 69 |
+
**/
|
| 70 |
+
typedef struct xcb_screensaver_query_version_reply_t {
|
| 71 |
+
uint8_t response_type;
|
| 72 |
+
uint8_t pad0;
|
| 73 |
+
uint16_t sequence;
|
| 74 |
+
uint32_t length;
|
| 75 |
+
uint16_t server_major_version;
|
| 76 |
+
uint16_t server_minor_version;
|
| 77 |
+
uint8_t pad1[20];
|
| 78 |
+
} xcb_screensaver_query_version_reply_t;
|
| 79 |
+
|
| 80 |
+
/**
|
| 81 |
+
* @brief xcb_screensaver_query_info_cookie_t
|
| 82 |
+
**/
|
| 83 |
+
typedef struct xcb_screensaver_query_info_cookie_t {
|
| 84 |
+
unsigned int sequence;
|
| 85 |
+
} xcb_screensaver_query_info_cookie_t;
|
| 86 |
+
|
| 87 |
+
/** Opcode for xcb_screensaver_query_info. */
|
| 88 |
+
#define XCB_SCREENSAVER_QUERY_INFO 1
|
| 89 |
+
|
| 90 |
+
/**
|
| 91 |
+
* @brief xcb_screensaver_query_info_request_t
|
| 92 |
+
**/
|
| 93 |
+
typedef struct xcb_screensaver_query_info_request_t {
|
| 94 |
+
uint8_t major_opcode;
|
| 95 |
+
uint8_t minor_opcode;
|
| 96 |
+
uint16_t length;
|
| 97 |
+
xcb_drawable_t drawable;
|
| 98 |
+
} xcb_screensaver_query_info_request_t;
|
| 99 |
+
|
| 100 |
+
/**
|
| 101 |
+
* @brief xcb_screensaver_query_info_reply_t
|
| 102 |
+
**/
|
| 103 |
+
typedef struct xcb_screensaver_query_info_reply_t {
|
| 104 |
+
uint8_t response_type;
|
| 105 |
+
uint8_t state;
|
| 106 |
+
uint16_t sequence;
|
| 107 |
+
uint32_t length;
|
| 108 |
+
xcb_window_t saver_window;
|
| 109 |
+
uint32_t ms_until_server;
|
| 110 |
+
uint32_t ms_since_user_input;
|
| 111 |
+
uint32_t event_mask;
|
| 112 |
+
uint8_t kind;
|
| 113 |
+
uint8_t pad0[7];
|
| 114 |
+
} xcb_screensaver_query_info_reply_t;
|
| 115 |
+
|
| 116 |
+
/** Opcode for xcb_screensaver_select_input. */
|
| 117 |
+
#define XCB_SCREENSAVER_SELECT_INPUT 2
|
| 118 |
+
|
| 119 |
+
/**
|
| 120 |
+
* @brief xcb_screensaver_select_input_request_t
|
| 121 |
+
**/
|
| 122 |
+
typedef struct xcb_screensaver_select_input_request_t {
|
| 123 |
+
uint8_t major_opcode;
|
| 124 |
+
uint8_t minor_opcode;
|
| 125 |
+
uint16_t length;
|
| 126 |
+
xcb_drawable_t drawable;
|
| 127 |
+
uint32_t event_mask;
|
| 128 |
+
} xcb_screensaver_select_input_request_t;
|
| 129 |
+
|
| 130 |
+
/**
|
| 131 |
+
* @brief xcb_screensaver_set_attributes_value_list_t
|
| 132 |
+
**/
|
| 133 |
+
typedef struct xcb_screensaver_set_attributes_value_list_t {
|
| 134 |
+
xcb_pixmap_t background_pixmap;
|
| 135 |
+
uint32_t background_pixel;
|
| 136 |
+
xcb_pixmap_t border_pixmap;
|
| 137 |
+
uint32_t border_pixel;
|
| 138 |
+
uint32_t bit_gravity;
|
| 139 |
+
uint32_t win_gravity;
|
| 140 |
+
uint32_t backing_store;
|
| 141 |
+
uint32_t backing_planes;
|
| 142 |
+
uint32_t backing_pixel;
|
| 143 |
+
xcb_bool32_t override_redirect;
|
| 144 |
+
xcb_bool32_t save_under;
|
| 145 |
+
uint32_t event_mask;
|
| 146 |
+
uint32_t do_not_propogate_mask;
|
| 147 |
+
xcb_colormap_t colormap;
|
| 148 |
+
xcb_cursor_t cursor;
|
| 149 |
+
} xcb_screensaver_set_attributes_value_list_t;
|
| 150 |
+
|
| 151 |
+
/** Opcode for xcb_screensaver_set_attributes. */
|
| 152 |
+
#define XCB_SCREENSAVER_SET_ATTRIBUTES 3
|
| 153 |
+
|
| 154 |
+
/**
|
| 155 |
+
* @brief xcb_screensaver_set_attributes_request_t
|
| 156 |
+
**/
|
| 157 |
+
typedef struct xcb_screensaver_set_attributes_request_t {
|
| 158 |
+
uint8_t major_opcode;
|
| 159 |
+
uint8_t minor_opcode;
|
| 160 |
+
uint16_t length;
|
| 161 |
+
xcb_drawable_t drawable;
|
| 162 |
+
int16_t x;
|
| 163 |
+
int16_t y;
|
| 164 |
+
uint16_t width;
|
| 165 |
+
uint16_t height;
|
| 166 |
+
uint16_t border_width;
|
| 167 |
+
uint8_t _class;
|
| 168 |
+
uint8_t depth;
|
| 169 |
+
xcb_visualid_t visual;
|
| 170 |
+
uint32_t value_mask;
|
| 171 |
+
} xcb_screensaver_set_attributes_request_t;
|
| 172 |
+
|
| 173 |
+
/** Opcode for xcb_screensaver_unset_attributes. */
|
| 174 |
+
#define XCB_SCREENSAVER_UNSET_ATTRIBUTES 4
|
| 175 |
+
|
| 176 |
+
/**
|
| 177 |
+
* @brief xcb_screensaver_unset_attributes_request_t
|
| 178 |
+
**/
|
| 179 |
+
typedef struct xcb_screensaver_unset_attributes_request_t {
|
| 180 |
+
uint8_t major_opcode;
|
| 181 |
+
uint8_t minor_opcode;
|
| 182 |
+
uint16_t length;
|
| 183 |
+
xcb_drawable_t drawable;
|
| 184 |
+
} xcb_screensaver_unset_attributes_request_t;
|
| 185 |
+
|
| 186 |
+
/** Opcode for xcb_screensaver_suspend. */
|
| 187 |
+
#define XCB_SCREENSAVER_SUSPEND 5
|
| 188 |
+
|
| 189 |
+
/**
|
| 190 |
+
* @brief xcb_screensaver_suspend_request_t
|
| 191 |
+
**/
|
| 192 |
+
typedef struct xcb_screensaver_suspend_request_t {
|
| 193 |
+
uint8_t major_opcode;
|
| 194 |
+
uint8_t minor_opcode;
|
| 195 |
+
uint16_t length;
|
| 196 |
+
uint32_t suspend;
|
| 197 |
+
} xcb_screensaver_suspend_request_t;
|
| 198 |
+
|
| 199 |
+
/** Opcode for xcb_screensaver_notify. */
|
| 200 |
+
#define XCB_SCREENSAVER_NOTIFY 0
|
| 201 |
+
|
| 202 |
+
/**
|
| 203 |
+
* @brief xcb_screensaver_notify_event_t
|
| 204 |
+
**/
|
| 205 |
+
typedef struct xcb_screensaver_notify_event_t {
|
| 206 |
+
uint8_t response_type;
|
| 207 |
+
uint8_t state;
|
| 208 |
+
uint16_t sequence;
|
| 209 |
+
xcb_timestamp_t time;
|
| 210 |
+
xcb_window_t root;
|
| 211 |
+
xcb_window_t window;
|
| 212 |
+
uint8_t kind;
|
| 213 |
+
uint8_t forced;
|
| 214 |
+
uint8_t pad0[14];
|
| 215 |
+
} xcb_screensaver_notify_event_t;
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
*
|
| 219 |
+
* @param c The connection
|
| 220 |
+
* @return A cookie
|
| 221 |
+
*
|
| 222 |
+
* Delivers a request to the X server.
|
| 223 |
+
*
|
| 224 |
+
*/
|
| 225 |
+
xcb_screensaver_query_version_cookie_t
|
| 226 |
+
xcb_screensaver_query_version (xcb_connection_t *c,
|
| 227 |
+
uint8_t client_major_version,
|
| 228 |
+
uint8_t client_minor_version);
|
| 229 |
+
|
| 230 |
+
/**
|
| 231 |
+
*
|
| 232 |
+
* @param c The connection
|
| 233 |
+
* @return A cookie
|
| 234 |
+
*
|
| 235 |
+
* Delivers a request to the X server.
|
| 236 |
+
*
|
| 237 |
+
* This form can be used only if the request will cause
|
| 238 |
+
* a reply to be generated. Any returned error will be
|
| 239 |
+
* placed in the event queue.
|
| 240 |
+
*/
|
| 241 |
+
xcb_screensaver_query_version_cookie_t
|
| 242 |
+
xcb_screensaver_query_version_unchecked (xcb_connection_t *c,
|
| 243 |
+
uint8_t client_major_version,
|
| 244 |
+
uint8_t client_minor_version);
|
| 245 |
+
|
| 246 |
+
/**
|
| 247 |
+
* Return the reply
|
| 248 |
+
* @param c The connection
|
| 249 |
+
* @param cookie The cookie
|
| 250 |
+
* @param e The xcb_generic_error_t supplied
|
| 251 |
+
*
|
| 252 |
+
* Returns the reply of the request asked by
|
| 253 |
+
*
|
| 254 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 255 |
+
* xcb_screensaver_query_version_unchecked(). is used.
|
| 256 |
+
* Otherwise, it stores the error if any.
|
| 257 |
+
*
|
| 258 |
+
* The returned value must be freed by the caller using free().
|
| 259 |
+
*/
|
| 260 |
+
xcb_screensaver_query_version_reply_t *
|
| 261 |
+
xcb_screensaver_query_version_reply (xcb_connection_t *c,
|
| 262 |
+
xcb_screensaver_query_version_cookie_t cookie /**< */,
|
| 263 |
+
xcb_generic_error_t **e);
|
| 264 |
+
|
| 265 |
+
/**
|
| 266 |
+
*
|
| 267 |
+
* @param c The connection
|
| 268 |
+
* @return A cookie
|
| 269 |
+
*
|
| 270 |
+
* Delivers a request to the X server.
|
| 271 |
+
*
|
| 272 |
+
*/
|
| 273 |
+
xcb_screensaver_query_info_cookie_t
|
| 274 |
+
xcb_screensaver_query_info (xcb_connection_t *c,
|
| 275 |
+
xcb_drawable_t drawable);
|
| 276 |
+
|
| 277 |
+
/**
|
| 278 |
+
*
|
| 279 |
+
* @param c The connection
|
| 280 |
+
* @return A cookie
|
| 281 |
+
*
|
| 282 |
+
* Delivers a request to the X server.
|
| 283 |
+
*
|
| 284 |
+
* This form can be used only if the request will cause
|
| 285 |
+
* a reply to be generated. Any returned error will be
|
| 286 |
+
* placed in the event queue.
|
| 287 |
+
*/
|
| 288 |
+
xcb_screensaver_query_info_cookie_t
|
| 289 |
+
xcb_screensaver_query_info_unchecked (xcb_connection_t *c,
|
| 290 |
+
xcb_drawable_t drawable);
|
| 291 |
+
|
| 292 |
+
/**
|
| 293 |
+
* Return the reply
|
| 294 |
+
* @param c The connection
|
| 295 |
+
* @param cookie The cookie
|
| 296 |
+
* @param e The xcb_generic_error_t supplied
|
| 297 |
+
*
|
| 298 |
+
* Returns the reply of the request asked by
|
| 299 |
+
*
|
| 300 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 301 |
+
* xcb_screensaver_query_info_unchecked(). is used.
|
| 302 |
+
* Otherwise, it stores the error if any.
|
| 303 |
+
*
|
| 304 |
+
* The returned value must be freed by the caller using free().
|
| 305 |
+
*/
|
| 306 |
+
xcb_screensaver_query_info_reply_t *
|
| 307 |
+
xcb_screensaver_query_info_reply (xcb_connection_t *c,
|
| 308 |
+
xcb_screensaver_query_info_cookie_t cookie /**< */,
|
| 309 |
+
xcb_generic_error_t **e);
|
| 310 |
+
|
| 311 |
+
/**
|
| 312 |
+
*
|
| 313 |
+
* @param c The connection
|
| 314 |
+
* @return A cookie
|
| 315 |
+
*
|
| 316 |
+
* Delivers a request to the X server.
|
| 317 |
+
*
|
| 318 |
+
* This form can be used only if the request will not cause
|
| 319 |
+
* a reply to be generated. Any returned error will be
|
| 320 |
+
* saved for handling by xcb_request_check().
|
| 321 |
+
*/
|
| 322 |
+
xcb_void_cookie_t
|
| 323 |
+
xcb_screensaver_select_input_checked (xcb_connection_t *c,
|
| 324 |
+
xcb_drawable_t drawable,
|
| 325 |
+
uint32_t event_mask);
|
| 326 |
+
|
| 327 |
+
/**
|
| 328 |
+
*
|
| 329 |
+
* @param c The connection
|
| 330 |
+
* @return A cookie
|
| 331 |
+
*
|
| 332 |
+
* Delivers a request to the X server.
|
| 333 |
+
*
|
| 334 |
+
*/
|
| 335 |
+
xcb_void_cookie_t
|
| 336 |
+
xcb_screensaver_select_input (xcb_connection_t *c,
|
| 337 |
+
xcb_drawable_t drawable,
|
| 338 |
+
uint32_t event_mask);
|
| 339 |
+
|
| 340 |
+
int
|
| 341 |
+
xcb_screensaver_set_attributes_value_list_serialize (void **_buffer,
|
| 342 |
+
uint32_t value_mask,
|
| 343 |
+
const xcb_screensaver_set_attributes_value_list_t *_aux);
|
| 344 |
+
|
| 345 |
+
int
|
| 346 |
+
xcb_screensaver_set_attributes_value_list_unpack (const void *_buffer,
|
| 347 |
+
uint32_t value_mask,
|
| 348 |
+
xcb_screensaver_set_attributes_value_list_t *_aux);
|
| 349 |
+
|
| 350 |
+
int
|
| 351 |
+
xcb_screensaver_set_attributes_value_list_sizeof (const void *_buffer,
|
| 352 |
+
uint32_t value_mask);
|
| 353 |
+
|
| 354 |
+
int
|
| 355 |
+
xcb_screensaver_set_attributes_sizeof (const void *_buffer);
|
| 356 |
+
|
| 357 |
+
/**
|
| 358 |
+
*
|
| 359 |
+
* @param c The connection
|
| 360 |
+
* @return A cookie
|
| 361 |
+
*
|
| 362 |
+
* Delivers a request to the X server.
|
| 363 |
+
*
|
| 364 |
+
* This form can be used only if the request will not cause
|
| 365 |
+
* a reply to be generated. Any returned error will be
|
| 366 |
+
* saved for handling by xcb_request_check().
|
| 367 |
+
*/
|
| 368 |
+
xcb_void_cookie_t
|
| 369 |
+
xcb_screensaver_set_attributes_checked (xcb_connection_t *c,
|
| 370 |
+
xcb_drawable_t drawable,
|
| 371 |
+
int16_t x,
|
| 372 |
+
int16_t y,
|
| 373 |
+
uint16_t width,
|
| 374 |
+
uint16_t height,
|
| 375 |
+
uint16_t border_width,
|
| 376 |
+
uint8_t _class,
|
| 377 |
+
uint8_t depth,
|
| 378 |
+
xcb_visualid_t visual,
|
| 379 |
+
uint32_t value_mask,
|
| 380 |
+
const void *value_list);
|
| 381 |
+
|
| 382 |
+
/**
|
| 383 |
+
*
|
| 384 |
+
* @param c The connection
|
| 385 |
+
* @return A cookie
|
| 386 |
+
*
|
| 387 |
+
* Delivers a request to the X server.
|
| 388 |
+
*
|
| 389 |
+
*/
|
| 390 |
+
xcb_void_cookie_t
|
| 391 |
+
xcb_screensaver_set_attributes (xcb_connection_t *c,
|
| 392 |
+
xcb_drawable_t drawable,
|
| 393 |
+
int16_t x,
|
| 394 |
+
int16_t y,
|
| 395 |
+
uint16_t width,
|
| 396 |
+
uint16_t height,
|
| 397 |
+
uint16_t border_width,
|
| 398 |
+
uint8_t _class,
|
| 399 |
+
uint8_t depth,
|
| 400 |
+
xcb_visualid_t visual,
|
| 401 |
+
uint32_t value_mask,
|
| 402 |
+
const void *value_list);
|
| 403 |
+
|
| 404 |
+
/**
|
| 405 |
+
*
|
| 406 |
+
* @param c The connection
|
| 407 |
+
* @return A cookie
|
| 408 |
+
*
|
| 409 |
+
* Delivers a request to the X server.
|
| 410 |
+
*
|
| 411 |
+
* This form can be used only if the request will not cause
|
| 412 |
+
* a reply to be generated. Any returned error will be
|
| 413 |
+
* saved for handling by xcb_request_check().
|
| 414 |
+
*/
|
| 415 |
+
xcb_void_cookie_t
|
| 416 |
+
xcb_screensaver_set_attributes_aux_checked (xcb_connection_t *c,
|
| 417 |
+
xcb_drawable_t drawable,
|
| 418 |
+
int16_t x,
|
| 419 |
+
int16_t y,
|
| 420 |
+
uint16_t width,
|
| 421 |
+
uint16_t height,
|
| 422 |
+
uint16_t border_width,
|
| 423 |
+
uint8_t _class,
|
| 424 |
+
uint8_t depth,
|
| 425 |
+
xcb_visualid_t visual,
|
| 426 |
+
uint32_t value_mask,
|
| 427 |
+
const xcb_screensaver_set_attributes_value_list_t *value_list);
|
| 428 |
+
|
| 429 |
+
/**
|
| 430 |
+
*
|
| 431 |
+
* @param c The connection
|
| 432 |
+
* @return A cookie
|
| 433 |
+
*
|
| 434 |
+
* Delivers a request to the X server.
|
| 435 |
+
*
|
| 436 |
+
*/
|
| 437 |
+
xcb_void_cookie_t
|
| 438 |
+
xcb_screensaver_set_attributes_aux (xcb_connection_t *c,
|
| 439 |
+
xcb_drawable_t drawable,
|
| 440 |
+
int16_t x,
|
| 441 |
+
int16_t y,
|
| 442 |
+
uint16_t width,
|
| 443 |
+
uint16_t height,
|
| 444 |
+
uint16_t border_width,
|
| 445 |
+
uint8_t _class,
|
| 446 |
+
uint8_t depth,
|
| 447 |
+
xcb_visualid_t visual,
|
| 448 |
+
uint32_t value_mask,
|
| 449 |
+
const xcb_screensaver_set_attributes_value_list_t *value_list);
|
| 450 |
+
|
| 451 |
+
void *
|
| 452 |
+
xcb_screensaver_set_attributes_value_list (const xcb_screensaver_set_attributes_request_t *R);
|
| 453 |
+
|
| 454 |
+
/**
|
| 455 |
+
*
|
| 456 |
+
* @param c The connection
|
| 457 |
+
* @return A cookie
|
| 458 |
+
*
|
| 459 |
+
* Delivers a request to the X server.
|
| 460 |
+
*
|
| 461 |
+
* This form can be used only if the request will not cause
|
| 462 |
+
* a reply to be generated. Any returned error will be
|
| 463 |
+
* saved for handling by xcb_request_check().
|
| 464 |
+
*/
|
| 465 |
+
xcb_void_cookie_t
|
| 466 |
+
xcb_screensaver_unset_attributes_checked (xcb_connection_t *c,
|
| 467 |
+
xcb_drawable_t drawable);
|
| 468 |
+
|
| 469 |
+
/**
|
| 470 |
+
*
|
| 471 |
+
* @param c The connection
|
| 472 |
+
* @return A cookie
|
| 473 |
+
*
|
| 474 |
+
* Delivers a request to the X server.
|
| 475 |
+
*
|
| 476 |
+
*/
|
| 477 |
+
xcb_void_cookie_t
|
| 478 |
+
xcb_screensaver_unset_attributes (xcb_connection_t *c,
|
| 479 |
+
xcb_drawable_t drawable);
|
| 480 |
+
|
| 481 |
+
/**
|
| 482 |
+
*
|
| 483 |
+
* @param c The connection
|
| 484 |
+
* @return A cookie
|
| 485 |
+
*
|
| 486 |
+
* Delivers a request to the X server.
|
| 487 |
+
*
|
| 488 |
+
* This form can be used only if the request will not cause
|
| 489 |
+
* a reply to be generated. Any returned error will be
|
| 490 |
+
* saved for handling by xcb_request_check().
|
| 491 |
+
*/
|
| 492 |
+
xcb_void_cookie_t
|
| 493 |
+
xcb_screensaver_suspend_checked (xcb_connection_t *c,
|
| 494 |
+
uint32_t suspend);
|
| 495 |
+
|
| 496 |
+
/**
|
| 497 |
+
*
|
| 498 |
+
* @param c The connection
|
| 499 |
+
* @return A cookie
|
| 500 |
+
*
|
| 501 |
+
* Delivers a request to the X server.
|
| 502 |
+
*
|
| 503 |
+
*/
|
| 504 |
+
xcb_void_cookie_t
|
| 505 |
+
xcb_screensaver_suspend (xcb_connection_t *c,
|
| 506 |
+
uint32_t suspend);
|
| 507 |
+
|
| 508 |
+
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from shape.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Shape_API XCB Shape API
|
| 8 |
+
* @brief Shape XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __SHAPE_H
|
| 13 |
+
#define __SHAPE_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_SHAPE_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_SHAPE_MINOR_VERSION 1
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_shape_id;
|
| 26 |
+
|
| 27 |
+
typedef uint8_t xcb_shape_op_t;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_shape_op_iterator_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_shape_op_iterator_t {
|
| 33 |
+
xcb_shape_op_t *data;
|
| 34 |
+
int rem;
|
| 35 |
+
int index;
|
| 36 |
+
} xcb_shape_op_iterator_t;
|
| 37 |
+
|
| 38 |
+
typedef uint8_t xcb_shape_kind_t;
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* @brief xcb_shape_kind_iterator_t
|
| 42 |
+
**/
|
| 43 |
+
typedef struct xcb_shape_kind_iterator_t {
|
| 44 |
+
xcb_shape_kind_t *data;
|
| 45 |
+
int rem;
|
| 46 |
+
int index;
|
| 47 |
+
} xcb_shape_kind_iterator_t;
|
| 48 |
+
|
| 49 |
+
typedef enum xcb_shape_so_t {
|
| 50 |
+
XCB_SHAPE_SO_SET = 0,
|
| 51 |
+
XCB_SHAPE_SO_UNION = 1,
|
| 52 |
+
XCB_SHAPE_SO_INTERSECT = 2,
|
| 53 |
+
XCB_SHAPE_SO_SUBTRACT = 3,
|
| 54 |
+
XCB_SHAPE_SO_INVERT = 4
|
| 55 |
+
} xcb_shape_so_t;
|
| 56 |
+
|
| 57 |
+
typedef enum xcb_shape_sk_t {
|
| 58 |
+
XCB_SHAPE_SK_BOUNDING = 0,
|
| 59 |
+
XCB_SHAPE_SK_CLIP = 1,
|
| 60 |
+
XCB_SHAPE_SK_INPUT = 2
|
| 61 |
+
} xcb_shape_sk_t;
|
| 62 |
+
|
| 63 |
+
/** Opcode for xcb_shape_notify. */
|
| 64 |
+
#define XCB_SHAPE_NOTIFY 0
|
| 65 |
+
|
| 66 |
+
/**
|
| 67 |
+
* @brief xcb_shape_notify_event_t
|
| 68 |
+
**/
|
| 69 |
+
typedef struct xcb_shape_notify_event_t {
|
| 70 |
+
uint8_t response_type;
|
| 71 |
+
xcb_shape_kind_t shape_kind;
|
| 72 |
+
uint16_t sequence;
|
| 73 |
+
xcb_window_t affected_window;
|
| 74 |
+
int16_t extents_x;
|
| 75 |
+
int16_t extents_y;
|
| 76 |
+
uint16_t extents_width;
|
| 77 |
+
uint16_t extents_height;
|
| 78 |
+
xcb_timestamp_t server_time;
|
| 79 |
+
uint8_t shaped;
|
| 80 |
+
uint8_t pad0[11];
|
| 81 |
+
} xcb_shape_notify_event_t;
|
| 82 |
+
|
| 83 |
+
/**
|
| 84 |
+
* @brief xcb_shape_query_version_cookie_t
|
| 85 |
+
**/
|
| 86 |
+
typedef struct xcb_shape_query_version_cookie_t {
|
| 87 |
+
unsigned int sequence;
|
| 88 |
+
} xcb_shape_query_version_cookie_t;
|
| 89 |
+
|
| 90 |
+
/** Opcode for xcb_shape_query_version. */
|
| 91 |
+
#define XCB_SHAPE_QUERY_VERSION 0
|
| 92 |
+
|
| 93 |
+
/**
|
| 94 |
+
* @brief xcb_shape_query_version_request_t
|
| 95 |
+
**/
|
| 96 |
+
typedef struct xcb_shape_query_version_request_t {
|
| 97 |
+
uint8_t major_opcode;
|
| 98 |
+
uint8_t minor_opcode;
|
| 99 |
+
uint16_t length;
|
| 100 |
+
} xcb_shape_query_version_request_t;
|
| 101 |
+
|
| 102 |
+
/**
|
| 103 |
+
* @brief xcb_shape_query_version_reply_t
|
| 104 |
+
**/
|
| 105 |
+
typedef struct xcb_shape_query_version_reply_t {
|
| 106 |
+
uint8_t response_type;
|
| 107 |
+
uint8_t pad0;
|
| 108 |
+
uint16_t sequence;
|
| 109 |
+
uint32_t length;
|
| 110 |
+
uint16_t major_version;
|
| 111 |
+
uint16_t minor_version;
|
| 112 |
+
} xcb_shape_query_version_reply_t;
|
| 113 |
+
|
| 114 |
+
/** Opcode for xcb_shape_rectangles. */
|
| 115 |
+
#define XCB_SHAPE_RECTANGLES 1
|
| 116 |
+
|
| 117 |
+
/**
|
| 118 |
+
* @brief xcb_shape_rectangles_request_t
|
| 119 |
+
**/
|
| 120 |
+
typedef struct xcb_shape_rectangles_request_t {
|
| 121 |
+
uint8_t major_opcode;
|
| 122 |
+
uint8_t minor_opcode;
|
| 123 |
+
uint16_t length;
|
| 124 |
+
xcb_shape_op_t operation;
|
| 125 |
+
xcb_shape_kind_t destination_kind;
|
| 126 |
+
uint8_t ordering;
|
| 127 |
+
uint8_t pad0;
|
| 128 |
+
xcb_window_t destination_window;
|
| 129 |
+
int16_t x_offset;
|
| 130 |
+
int16_t y_offset;
|
| 131 |
+
} xcb_shape_rectangles_request_t;
|
| 132 |
+
|
| 133 |
+
/** Opcode for xcb_shape_mask. */
|
| 134 |
+
#define XCB_SHAPE_MASK 2
|
| 135 |
+
|
| 136 |
+
/**
|
| 137 |
+
* @brief xcb_shape_mask_request_t
|
| 138 |
+
**/
|
| 139 |
+
typedef struct xcb_shape_mask_request_t {
|
| 140 |
+
uint8_t major_opcode;
|
| 141 |
+
uint8_t minor_opcode;
|
| 142 |
+
uint16_t length;
|
| 143 |
+
xcb_shape_op_t operation;
|
| 144 |
+
xcb_shape_kind_t destination_kind;
|
| 145 |
+
uint8_t pad0[2];
|
| 146 |
+
xcb_window_t destination_window;
|
| 147 |
+
int16_t x_offset;
|
| 148 |
+
int16_t y_offset;
|
| 149 |
+
xcb_pixmap_t source_bitmap;
|
| 150 |
+
} xcb_shape_mask_request_t;
|
| 151 |
+
|
| 152 |
+
/** Opcode for xcb_shape_combine. */
|
| 153 |
+
#define XCB_SHAPE_COMBINE 3
|
| 154 |
+
|
| 155 |
+
/**
|
| 156 |
+
* @brief xcb_shape_combine_request_t
|
| 157 |
+
**/
|
| 158 |
+
typedef struct xcb_shape_combine_request_t {
|
| 159 |
+
uint8_t major_opcode;
|
| 160 |
+
uint8_t minor_opcode;
|
| 161 |
+
uint16_t length;
|
| 162 |
+
xcb_shape_op_t operation;
|
| 163 |
+
xcb_shape_kind_t destination_kind;
|
| 164 |
+
xcb_shape_kind_t source_kind;
|
| 165 |
+
uint8_t pad0;
|
| 166 |
+
xcb_window_t destination_window;
|
| 167 |
+
int16_t x_offset;
|
| 168 |
+
int16_t y_offset;
|
| 169 |
+
xcb_window_t source_window;
|
| 170 |
+
} xcb_shape_combine_request_t;
|
| 171 |
+
|
| 172 |
+
/** Opcode for xcb_shape_offset. */
|
| 173 |
+
#define XCB_SHAPE_OFFSET 4
|
| 174 |
+
|
| 175 |
+
/**
|
| 176 |
+
* @brief xcb_shape_offset_request_t
|
| 177 |
+
**/
|
| 178 |
+
typedef struct xcb_shape_offset_request_t {
|
| 179 |
+
uint8_t major_opcode;
|
| 180 |
+
uint8_t minor_opcode;
|
| 181 |
+
uint16_t length;
|
| 182 |
+
xcb_shape_kind_t destination_kind;
|
| 183 |
+
uint8_t pad0[3];
|
| 184 |
+
xcb_window_t destination_window;
|
| 185 |
+
int16_t x_offset;
|
| 186 |
+
int16_t y_offset;
|
| 187 |
+
} xcb_shape_offset_request_t;
|
| 188 |
+
|
| 189 |
+
/**
|
| 190 |
+
* @brief xcb_shape_query_extents_cookie_t
|
| 191 |
+
**/
|
| 192 |
+
typedef struct xcb_shape_query_extents_cookie_t {
|
| 193 |
+
unsigned int sequence;
|
| 194 |
+
} xcb_shape_query_extents_cookie_t;
|
| 195 |
+
|
| 196 |
+
/** Opcode for xcb_shape_query_extents. */
|
| 197 |
+
#define XCB_SHAPE_QUERY_EXTENTS 5
|
| 198 |
+
|
| 199 |
+
/**
|
| 200 |
+
* @brief xcb_shape_query_extents_request_t
|
| 201 |
+
**/
|
| 202 |
+
typedef struct xcb_shape_query_extents_request_t {
|
| 203 |
+
uint8_t major_opcode;
|
| 204 |
+
uint8_t minor_opcode;
|
| 205 |
+
uint16_t length;
|
| 206 |
+
xcb_window_t destination_window;
|
| 207 |
+
} xcb_shape_query_extents_request_t;
|
| 208 |
+
|
| 209 |
+
/**
|
| 210 |
+
* @brief xcb_shape_query_extents_reply_t
|
| 211 |
+
**/
|
| 212 |
+
typedef struct xcb_shape_query_extents_reply_t {
|
| 213 |
+
uint8_t response_type;
|
| 214 |
+
uint8_t pad0;
|
| 215 |
+
uint16_t sequence;
|
| 216 |
+
uint32_t length;
|
| 217 |
+
uint8_t bounding_shaped;
|
| 218 |
+
uint8_t clip_shaped;
|
| 219 |
+
uint8_t pad1[2];
|
| 220 |
+
int16_t bounding_shape_extents_x;
|
| 221 |
+
int16_t bounding_shape_extents_y;
|
| 222 |
+
uint16_t bounding_shape_extents_width;
|
| 223 |
+
uint16_t bounding_shape_extents_height;
|
| 224 |
+
int16_t clip_shape_extents_x;
|
| 225 |
+
int16_t clip_shape_extents_y;
|
| 226 |
+
uint16_t clip_shape_extents_width;
|
| 227 |
+
uint16_t clip_shape_extents_height;
|
| 228 |
+
} xcb_shape_query_extents_reply_t;
|
| 229 |
+
|
| 230 |
+
/** Opcode for xcb_shape_select_input. */
|
| 231 |
+
#define XCB_SHAPE_SELECT_INPUT 6
|
| 232 |
+
|
| 233 |
+
/**
|
| 234 |
+
* @brief xcb_shape_select_input_request_t
|
| 235 |
+
**/
|
| 236 |
+
typedef struct xcb_shape_select_input_request_t {
|
| 237 |
+
uint8_t major_opcode;
|
| 238 |
+
uint8_t minor_opcode;
|
| 239 |
+
uint16_t length;
|
| 240 |
+
xcb_window_t destination_window;
|
| 241 |
+
uint8_t enable;
|
| 242 |
+
uint8_t pad0[3];
|
| 243 |
+
} xcb_shape_select_input_request_t;
|
| 244 |
+
|
| 245 |
+
/**
|
| 246 |
+
* @brief xcb_shape_input_selected_cookie_t
|
| 247 |
+
**/
|
| 248 |
+
typedef struct xcb_shape_input_selected_cookie_t {
|
| 249 |
+
unsigned int sequence;
|
| 250 |
+
} xcb_shape_input_selected_cookie_t;
|
| 251 |
+
|
| 252 |
+
/** Opcode for xcb_shape_input_selected. */
|
| 253 |
+
#define XCB_SHAPE_INPUT_SELECTED 7
|
| 254 |
+
|
| 255 |
+
/**
|
| 256 |
+
* @brief xcb_shape_input_selected_request_t
|
| 257 |
+
**/
|
| 258 |
+
typedef struct xcb_shape_input_selected_request_t {
|
| 259 |
+
uint8_t major_opcode;
|
| 260 |
+
uint8_t minor_opcode;
|
| 261 |
+
uint16_t length;
|
| 262 |
+
xcb_window_t destination_window;
|
| 263 |
+
} xcb_shape_input_selected_request_t;
|
| 264 |
+
|
| 265 |
+
/**
|
| 266 |
+
* @brief xcb_shape_input_selected_reply_t
|
| 267 |
+
**/
|
| 268 |
+
typedef struct xcb_shape_input_selected_reply_t {
|
| 269 |
+
uint8_t response_type;
|
| 270 |
+
uint8_t enabled;
|
| 271 |
+
uint16_t sequence;
|
| 272 |
+
uint32_t length;
|
| 273 |
+
} xcb_shape_input_selected_reply_t;
|
| 274 |
+
|
| 275 |
+
/**
|
| 276 |
+
* @brief xcb_shape_get_rectangles_cookie_t
|
| 277 |
+
**/
|
| 278 |
+
typedef struct xcb_shape_get_rectangles_cookie_t {
|
| 279 |
+
unsigned int sequence;
|
| 280 |
+
} xcb_shape_get_rectangles_cookie_t;
|
| 281 |
+
|
| 282 |
+
/** Opcode for xcb_shape_get_rectangles. */
|
| 283 |
+
#define XCB_SHAPE_GET_RECTANGLES 8
|
| 284 |
+
|
| 285 |
+
/**
|
| 286 |
+
* @brief xcb_shape_get_rectangles_request_t
|
| 287 |
+
**/
|
| 288 |
+
typedef struct xcb_shape_get_rectangles_request_t {
|
| 289 |
+
uint8_t major_opcode;
|
| 290 |
+
uint8_t minor_opcode;
|
| 291 |
+
uint16_t length;
|
| 292 |
+
xcb_window_t window;
|
| 293 |
+
xcb_shape_kind_t source_kind;
|
| 294 |
+
uint8_t pad0[3];
|
| 295 |
+
} xcb_shape_get_rectangles_request_t;
|
| 296 |
+
|
| 297 |
+
/**
|
| 298 |
+
* @brief xcb_shape_get_rectangles_reply_t
|
| 299 |
+
**/
|
| 300 |
+
typedef struct xcb_shape_get_rectangles_reply_t {
|
| 301 |
+
uint8_t response_type;
|
| 302 |
+
uint8_t ordering;
|
| 303 |
+
uint16_t sequence;
|
| 304 |
+
uint32_t length;
|
| 305 |
+
uint32_t rectangles_len;
|
| 306 |
+
uint8_t pad0[20];
|
| 307 |
+
} xcb_shape_get_rectangles_reply_t;
|
| 308 |
+
|
| 309 |
+
/**
|
| 310 |
+
* Get the next element of the iterator
|
| 311 |
+
* @param i Pointer to a xcb_shape_op_iterator_t
|
| 312 |
+
*
|
| 313 |
+
* Get the next element in the iterator. The member rem is
|
| 314 |
+
* decreased by one. The member data points to the next
|
| 315 |
+
* element. The member index is increased by sizeof(xcb_shape_op_t)
|
| 316 |
+
*/
|
| 317 |
+
void
|
| 318 |
+
xcb_shape_op_next (xcb_shape_op_iterator_t *i);
|
| 319 |
+
|
| 320 |
+
/**
|
| 321 |
+
* Return the iterator pointing to the last element
|
| 322 |
+
* @param i An xcb_shape_op_iterator_t
|
| 323 |
+
* @return The iterator pointing to the last element
|
| 324 |
+
*
|
| 325 |
+
* Set the current element in the iterator to the last element.
|
| 326 |
+
* The member rem is set to 0. The member data points to the
|
| 327 |
+
* last element.
|
| 328 |
+
*/
|
| 329 |
+
xcb_generic_iterator_t
|
| 330 |
+
xcb_shape_op_end (xcb_shape_op_iterator_t i);
|
| 331 |
+
|
| 332 |
+
/**
|
| 333 |
+
* Get the next element of the iterator
|
| 334 |
+
* @param i Pointer to a xcb_shape_kind_iterator_t
|
| 335 |
+
*
|
| 336 |
+
* Get the next element in the iterator. The member rem is
|
| 337 |
+
* decreased by one. The member data points to the next
|
| 338 |
+
* element. The member index is increased by sizeof(xcb_shape_kind_t)
|
| 339 |
+
*/
|
| 340 |
+
void
|
| 341 |
+
xcb_shape_kind_next (xcb_shape_kind_iterator_t *i);
|
| 342 |
+
|
| 343 |
+
/**
|
| 344 |
+
* Return the iterator pointing to the last element
|
| 345 |
+
* @param i An xcb_shape_kind_iterator_t
|
| 346 |
+
* @return The iterator pointing to the last element
|
| 347 |
+
*
|
| 348 |
+
* Set the current element in the iterator to the last element.
|
| 349 |
+
* The member rem is set to 0. The member data points to the
|
| 350 |
+
* last element.
|
| 351 |
+
*/
|
| 352 |
+
xcb_generic_iterator_t
|
| 353 |
+
xcb_shape_kind_end (xcb_shape_kind_iterator_t i);
|
| 354 |
+
|
| 355 |
+
/**
|
| 356 |
+
*
|
| 357 |
+
* @param c The connection
|
| 358 |
+
* @return A cookie
|
| 359 |
+
*
|
| 360 |
+
* Delivers a request to the X server.
|
| 361 |
+
*
|
| 362 |
+
*/
|
| 363 |
+
xcb_shape_query_version_cookie_t
|
| 364 |
+
xcb_shape_query_version (xcb_connection_t *c);
|
| 365 |
+
|
| 366 |
+
/**
|
| 367 |
+
*
|
| 368 |
+
* @param c The connection
|
| 369 |
+
* @return A cookie
|
| 370 |
+
*
|
| 371 |
+
* Delivers a request to the X server.
|
| 372 |
+
*
|
| 373 |
+
* This form can be used only if the request will cause
|
| 374 |
+
* a reply to be generated. Any returned error will be
|
| 375 |
+
* placed in the event queue.
|
| 376 |
+
*/
|
| 377 |
+
xcb_shape_query_version_cookie_t
|
| 378 |
+
xcb_shape_query_version_unchecked (xcb_connection_t *c);
|
| 379 |
+
|
| 380 |
+
/**
|
| 381 |
+
* Return the reply
|
| 382 |
+
* @param c The connection
|
| 383 |
+
* @param cookie The cookie
|
| 384 |
+
* @param e The xcb_generic_error_t supplied
|
| 385 |
+
*
|
| 386 |
+
* Returns the reply of the request asked by
|
| 387 |
+
*
|
| 388 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 389 |
+
* xcb_shape_query_version_unchecked(). is used.
|
| 390 |
+
* Otherwise, it stores the error if any.
|
| 391 |
+
*
|
| 392 |
+
* The returned value must be freed by the caller using free().
|
| 393 |
+
*/
|
| 394 |
+
xcb_shape_query_version_reply_t *
|
| 395 |
+
xcb_shape_query_version_reply (xcb_connection_t *c,
|
| 396 |
+
xcb_shape_query_version_cookie_t cookie /**< */,
|
| 397 |
+
xcb_generic_error_t **e);
|
| 398 |
+
|
| 399 |
+
int
|
| 400 |
+
xcb_shape_rectangles_sizeof (const void *_buffer,
|
| 401 |
+
uint32_t rectangles_len);
|
| 402 |
+
|
| 403 |
+
/**
|
| 404 |
+
*
|
| 405 |
+
* @param c The connection
|
| 406 |
+
* @return A cookie
|
| 407 |
+
*
|
| 408 |
+
* Delivers a request to the X server.
|
| 409 |
+
*
|
| 410 |
+
* This form can be used only if the request will not cause
|
| 411 |
+
* a reply to be generated. Any returned error will be
|
| 412 |
+
* saved for handling by xcb_request_check().
|
| 413 |
+
*/
|
| 414 |
+
xcb_void_cookie_t
|
| 415 |
+
xcb_shape_rectangles_checked (xcb_connection_t *c,
|
| 416 |
+
xcb_shape_op_t operation,
|
| 417 |
+
xcb_shape_kind_t destination_kind,
|
| 418 |
+
uint8_t ordering,
|
| 419 |
+
xcb_window_t destination_window,
|
| 420 |
+
int16_t x_offset,
|
| 421 |
+
int16_t y_offset,
|
| 422 |
+
uint32_t rectangles_len,
|
| 423 |
+
const xcb_rectangle_t *rectangles);
|
| 424 |
+
|
| 425 |
+
/**
|
| 426 |
+
*
|
| 427 |
+
* @param c The connection
|
| 428 |
+
* @return A cookie
|
| 429 |
+
*
|
| 430 |
+
* Delivers a request to the X server.
|
| 431 |
+
*
|
| 432 |
+
*/
|
| 433 |
+
xcb_void_cookie_t
|
| 434 |
+
xcb_shape_rectangles (xcb_connection_t *c,
|
| 435 |
+
xcb_shape_op_t operation,
|
| 436 |
+
xcb_shape_kind_t destination_kind,
|
| 437 |
+
uint8_t ordering,
|
| 438 |
+
xcb_window_t destination_window,
|
| 439 |
+
int16_t x_offset,
|
| 440 |
+
int16_t y_offset,
|
| 441 |
+
uint32_t rectangles_len,
|
| 442 |
+
const xcb_rectangle_t *rectangles);
|
| 443 |
+
|
| 444 |
+
xcb_rectangle_t *
|
| 445 |
+
xcb_shape_rectangles_rectangles (const xcb_shape_rectangles_request_t *R);
|
| 446 |
+
|
| 447 |
+
int
|
| 448 |
+
xcb_shape_rectangles_rectangles_length (const xcb_shape_rectangles_request_t *R);
|
| 449 |
+
|
| 450 |
+
xcb_rectangle_iterator_t
|
| 451 |
+
xcb_shape_rectangles_rectangles_iterator (const xcb_shape_rectangles_request_t *R);
|
| 452 |
+
|
| 453 |
+
/**
|
| 454 |
+
*
|
| 455 |
+
* @param c The connection
|
| 456 |
+
* @return A cookie
|
| 457 |
+
*
|
| 458 |
+
* Delivers a request to the X server.
|
| 459 |
+
*
|
| 460 |
+
* This form can be used only if the request will not cause
|
| 461 |
+
* a reply to be generated. Any returned error will be
|
| 462 |
+
* saved for handling by xcb_request_check().
|
| 463 |
+
*/
|
| 464 |
+
xcb_void_cookie_t
|
| 465 |
+
xcb_shape_mask_checked (xcb_connection_t *c,
|
| 466 |
+
xcb_shape_op_t operation,
|
| 467 |
+
xcb_shape_kind_t destination_kind,
|
| 468 |
+
xcb_window_t destination_window,
|
| 469 |
+
int16_t x_offset,
|
| 470 |
+
int16_t y_offset,
|
| 471 |
+
xcb_pixmap_t source_bitmap);
|
| 472 |
+
|
| 473 |
+
/**
|
| 474 |
+
*
|
| 475 |
+
* @param c The connection
|
| 476 |
+
* @return A cookie
|
| 477 |
+
*
|
| 478 |
+
* Delivers a request to the X server.
|
| 479 |
+
*
|
| 480 |
+
*/
|
| 481 |
+
xcb_void_cookie_t
|
| 482 |
+
xcb_shape_mask (xcb_connection_t *c,
|
| 483 |
+
xcb_shape_op_t operation,
|
| 484 |
+
xcb_shape_kind_t destination_kind,
|
| 485 |
+
xcb_window_t destination_window,
|
| 486 |
+
int16_t x_offset,
|
| 487 |
+
int16_t y_offset,
|
| 488 |
+
xcb_pixmap_t source_bitmap);
|
| 489 |
+
|
| 490 |
+
/**
|
| 491 |
+
*
|
| 492 |
+
* @param c The connection
|
| 493 |
+
* @return A cookie
|
| 494 |
+
*
|
| 495 |
+
* Delivers a request to the X server.
|
| 496 |
+
*
|
| 497 |
+
* This form can be used only if the request will not cause
|
| 498 |
+
* a reply to be generated. Any returned error will be
|
| 499 |
+
* saved for handling by xcb_request_check().
|
| 500 |
+
*/
|
| 501 |
+
xcb_void_cookie_t
|
| 502 |
+
xcb_shape_combine_checked (xcb_connection_t *c,
|
| 503 |
+
xcb_shape_op_t operation,
|
| 504 |
+
xcb_shape_kind_t destination_kind,
|
| 505 |
+
xcb_shape_kind_t source_kind,
|
| 506 |
+
xcb_window_t destination_window,
|
| 507 |
+
int16_t x_offset,
|
| 508 |
+
int16_t y_offset,
|
| 509 |
+
xcb_window_t source_window);
|
| 510 |
+
|
| 511 |
+
/**
|
| 512 |
+
*
|
| 513 |
+
* @param c The connection
|
| 514 |
+
* @return A cookie
|
| 515 |
+
*
|
| 516 |
+
* Delivers a request to the X server.
|
| 517 |
+
*
|
| 518 |
+
*/
|
| 519 |
+
xcb_void_cookie_t
|
| 520 |
+
xcb_shape_combine (xcb_connection_t *c,
|
| 521 |
+
xcb_shape_op_t operation,
|
| 522 |
+
xcb_shape_kind_t destination_kind,
|
| 523 |
+
xcb_shape_kind_t source_kind,
|
| 524 |
+
xcb_window_t destination_window,
|
| 525 |
+
int16_t x_offset,
|
| 526 |
+
int16_t y_offset,
|
| 527 |
+
xcb_window_t source_window);
|
| 528 |
+
|
| 529 |
+
/**
|
| 530 |
+
*
|
| 531 |
+
* @param c The connection
|
| 532 |
+
* @return A cookie
|
| 533 |
+
*
|
| 534 |
+
* Delivers a request to the X server.
|
| 535 |
+
*
|
| 536 |
+
* This form can be used only if the request will not cause
|
| 537 |
+
* a reply to be generated. Any returned error will be
|
| 538 |
+
* saved for handling by xcb_request_check().
|
| 539 |
+
*/
|
| 540 |
+
xcb_void_cookie_t
|
| 541 |
+
xcb_shape_offset_checked (xcb_connection_t *c,
|
| 542 |
+
xcb_shape_kind_t destination_kind,
|
| 543 |
+
xcb_window_t destination_window,
|
| 544 |
+
int16_t x_offset,
|
| 545 |
+
int16_t y_offset);
|
| 546 |
+
|
| 547 |
+
/**
|
| 548 |
+
*
|
| 549 |
+
* @param c The connection
|
| 550 |
+
* @return A cookie
|
| 551 |
+
*
|
| 552 |
+
* Delivers a request to the X server.
|
| 553 |
+
*
|
| 554 |
+
*/
|
| 555 |
+
xcb_void_cookie_t
|
| 556 |
+
xcb_shape_offset (xcb_connection_t *c,
|
| 557 |
+
xcb_shape_kind_t destination_kind,
|
| 558 |
+
xcb_window_t destination_window,
|
| 559 |
+
int16_t x_offset,
|
| 560 |
+
int16_t y_offset);
|
| 561 |
+
|
| 562 |
+
/**
|
| 563 |
+
*
|
| 564 |
+
* @param c The connection
|
| 565 |
+
* @return A cookie
|
| 566 |
+
*
|
| 567 |
+
* Delivers a request to the X server.
|
| 568 |
+
*
|
| 569 |
+
*/
|
| 570 |
+
xcb_shape_query_extents_cookie_t
|
| 571 |
+
xcb_shape_query_extents (xcb_connection_t *c,
|
| 572 |
+
xcb_window_t destination_window);
|
| 573 |
+
|
| 574 |
+
/**
|
| 575 |
+
*
|
| 576 |
+
* @param c The connection
|
| 577 |
+
* @return A cookie
|
| 578 |
+
*
|
| 579 |
+
* Delivers a request to the X server.
|
| 580 |
+
*
|
| 581 |
+
* This form can be used only if the request will cause
|
| 582 |
+
* a reply to be generated. Any returned error will be
|
| 583 |
+
* placed in the event queue.
|
| 584 |
+
*/
|
| 585 |
+
xcb_shape_query_extents_cookie_t
|
| 586 |
+
xcb_shape_query_extents_unchecked (xcb_connection_t *c,
|
| 587 |
+
xcb_window_t destination_window);
|
| 588 |
+
|
| 589 |
+
/**
|
| 590 |
+
* Return the reply
|
| 591 |
+
* @param c The connection
|
| 592 |
+
* @param cookie The cookie
|
| 593 |
+
* @param e The xcb_generic_error_t supplied
|
| 594 |
+
*
|
| 595 |
+
* Returns the reply of the request asked by
|
| 596 |
+
*
|
| 597 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 598 |
+
* xcb_shape_query_extents_unchecked(). is used.
|
| 599 |
+
* Otherwise, it stores the error if any.
|
| 600 |
+
*
|
| 601 |
+
* The returned value must be freed by the caller using free().
|
| 602 |
+
*/
|
| 603 |
+
xcb_shape_query_extents_reply_t *
|
| 604 |
+
xcb_shape_query_extents_reply (xcb_connection_t *c,
|
| 605 |
+
xcb_shape_query_extents_cookie_t cookie /**< */,
|
| 606 |
+
xcb_generic_error_t **e);
|
| 607 |
+
|
| 608 |
+
/**
|
| 609 |
+
*
|
| 610 |
+
* @param c The connection
|
| 611 |
+
* @return A cookie
|
| 612 |
+
*
|
| 613 |
+
* Delivers a request to the X server.
|
| 614 |
+
*
|
| 615 |
+
* This form can be used only if the request will not cause
|
| 616 |
+
* a reply to be generated. Any returned error will be
|
| 617 |
+
* saved for handling by xcb_request_check().
|
| 618 |
+
*/
|
| 619 |
+
xcb_void_cookie_t
|
| 620 |
+
xcb_shape_select_input_checked (xcb_connection_t *c,
|
| 621 |
+
xcb_window_t destination_window,
|
| 622 |
+
uint8_t enable);
|
| 623 |
+
|
| 624 |
+
/**
|
| 625 |
+
*
|
| 626 |
+
* @param c The connection
|
| 627 |
+
* @return A cookie
|
| 628 |
+
*
|
| 629 |
+
* Delivers a request to the X server.
|
| 630 |
+
*
|
| 631 |
+
*/
|
| 632 |
+
xcb_void_cookie_t
|
| 633 |
+
xcb_shape_select_input (xcb_connection_t *c,
|
| 634 |
+
xcb_window_t destination_window,
|
| 635 |
+
uint8_t enable);
|
| 636 |
+
|
| 637 |
+
/**
|
| 638 |
+
*
|
| 639 |
+
* @param c The connection
|
| 640 |
+
* @return A cookie
|
| 641 |
+
*
|
| 642 |
+
* Delivers a request to the X server.
|
| 643 |
+
*
|
| 644 |
+
*/
|
| 645 |
+
xcb_shape_input_selected_cookie_t
|
| 646 |
+
xcb_shape_input_selected (xcb_connection_t *c,
|
| 647 |
+
xcb_window_t destination_window);
|
| 648 |
+
|
| 649 |
+
/**
|
| 650 |
+
*
|
| 651 |
+
* @param c The connection
|
| 652 |
+
* @return A cookie
|
| 653 |
+
*
|
| 654 |
+
* Delivers a request to the X server.
|
| 655 |
+
*
|
| 656 |
+
* This form can be used only if the request will cause
|
| 657 |
+
* a reply to be generated. Any returned error will be
|
| 658 |
+
* placed in the event queue.
|
| 659 |
+
*/
|
| 660 |
+
xcb_shape_input_selected_cookie_t
|
| 661 |
+
xcb_shape_input_selected_unchecked (xcb_connection_t *c,
|
| 662 |
+
xcb_window_t destination_window);
|
| 663 |
+
|
| 664 |
+
/**
|
| 665 |
+
* Return the reply
|
| 666 |
+
* @param c The connection
|
| 667 |
+
* @param cookie The cookie
|
| 668 |
+
* @param e The xcb_generic_error_t supplied
|
| 669 |
+
*
|
| 670 |
+
* Returns the reply of the request asked by
|
| 671 |
+
*
|
| 672 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 673 |
+
* xcb_shape_input_selected_unchecked(). is used.
|
| 674 |
+
* Otherwise, it stores the error if any.
|
| 675 |
+
*
|
| 676 |
+
* The returned value must be freed by the caller using free().
|
| 677 |
+
*/
|
| 678 |
+
xcb_shape_input_selected_reply_t *
|
| 679 |
+
xcb_shape_input_selected_reply (xcb_connection_t *c,
|
| 680 |
+
xcb_shape_input_selected_cookie_t cookie /**< */,
|
| 681 |
+
xcb_generic_error_t **e);
|
| 682 |
+
|
| 683 |
+
int
|
| 684 |
+
xcb_shape_get_rectangles_sizeof (const void *_buffer);
|
| 685 |
+
|
| 686 |
+
/**
|
| 687 |
+
*
|
| 688 |
+
* @param c The connection
|
| 689 |
+
* @return A cookie
|
| 690 |
+
*
|
| 691 |
+
* Delivers a request to the X server.
|
| 692 |
+
*
|
| 693 |
+
*/
|
| 694 |
+
xcb_shape_get_rectangles_cookie_t
|
| 695 |
+
xcb_shape_get_rectangles (xcb_connection_t *c,
|
| 696 |
+
xcb_window_t window,
|
| 697 |
+
xcb_shape_kind_t source_kind);
|
| 698 |
+
|
| 699 |
+
/**
|
| 700 |
+
*
|
| 701 |
+
* @param c The connection
|
| 702 |
+
* @return A cookie
|
| 703 |
+
*
|
| 704 |
+
* Delivers a request to the X server.
|
| 705 |
+
*
|
| 706 |
+
* This form can be used only if the request will cause
|
| 707 |
+
* a reply to be generated. Any returned error will be
|
| 708 |
+
* placed in the event queue.
|
| 709 |
+
*/
|
| 710 |
+
xcb_shape_get_rectangles_cookie_t
|
| 711 |
+
xcb_shape_get_rectangles_unchecked (xcb_connection_t *c,
|
| 712 |
+
xcb_window_t window,
|
| 713 |
+
xcb_shape_kind_t source_kind);
|
| 714 |
+
|
| 715 |
+
xcb_rectangle_t *
|
| 716 |
+
xcb_shape_get_rectangles_rectangles (const xcb_shape_get_rectangles_reply_t *R);
|
| 717 |
+
|
| 718 |
+
int
|
| 719 |
+
xcb_shape_get_rectangles_rectangles_length (const xcb_shape_get_rectangles_reply_t *R);
|
| 720 |
+
|
| 721 |
+
xcb_rectangle_iterator_t
|
| 722 |
+
xcb_shape_get_rectangles_rectangles_iterator (const xcb_shape_get_rectangles_reply_t *R);
|
| 723 |
+
|
| 724 |
+
/**
|
| 725 |
+
* Return the reply
|
| 726 |
+
* @param c The connection
|
| 727 |
+
* @param cookie The cookie
|
| 728 |
+
* @param e The xcb_generic_error_t supplied
|
| 729 |
+
*
|
| 730 |
+
* Returns the reply of the request asked by
|
| 731 |
+
*
|
| 732 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 733 |
+
* xcb_shape_get_rectangles_unchecked(). is used.
|
| 734 |
+
* Otherwise, it stores the error if any.
|
| 735 |
+
*
|
| 736 |
+
* The returned value must be freed by the caller using free().
|
| 737 |
+
*/
|
| 738 |
+
xcb_shape_get_rectangles_reply_t *
|
| 739 |
+
xcb_shape_get_rectangles_reply (xcb_connection_t *c,
|
| 740 |
+
xcb_shape_get_rectangles_cookie_t cookie /**< */,
|
| 741 |
+
xcb_generic_error_t **e);
|
| 742 |
+
|
| 743 |
+
|
| 744 |
+
#ifdef __cplusplus
|
| 745 |
+
}
|
| 746 |
+
#endif
|
| 747 |
+
|
| 748 |
+
#endif
|
| 749 |
+
|
| 750 |
+
/**
|
| 751 |
+
* @}
|
| 752 |
+
*/
|
miniconda3/envs/ladir/include/xcb/shm.h
ADDED
|
@@ -0,0 +1,792 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from shm.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Shm_API XCB Shm API
|
| 8 |
+
* @brief Shm XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __SHM_H
|
| 13 |
+
#define __SHM_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_SHM_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_SHM_MINOR_VERSION 2
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_shm_id;
|
| 26 |
+
|
| 27 |
+
typedef uint32_t xcb_shm_seg_t;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_shm_seg_iterator_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_shm_seg_iterator_t {
|
| 33 |
+
xcb_shm_seg_t *data;
|
| 34 |
+
int rem;
|
| 35 |
+
int index;
|
| 36 |
+
} xcb_shm_seg_iterator_t;
|
| 37 |
+
|
| 38 |
+
/** Opcode for xcb_shm_completion. */
|
| 39 |
+
#define XCB_SHM_COMPLETION 0
|
| 40 |
+
|
| 41 |
+
/**
|
| 42 |
+
* @brief xcb_shm_completion_event_t
|
| 43 |
+
**/
|
| 44 |
+
typedef struct xcb_shm_completion_event_t {
|
| 45 |
+
uint8_t response_type;
|
| 46 |
+
uint8_t pad0;
|
| 47 |
+
uint16_t sequence;
|
| 48 |
+
xcb_drawable_t drawable;
|
| 49 |
+
uint16_t minor_event;
|
| 50 |
+
uint8_t major_event;
|
| 51 |
+
uint8_t pad1;
|
| 52 |
+
xcb_shm_seg_t shmseg;
|
| 53 |
+
uint32_t offset;
|
| 54 |
+
} xcb_shm_completion_event_t;
|
| 55 |
+
|
| 56 |
+
/** Opcode for xcb_shm_bad_seg. */
|
| 57 |
+
#define XCB_SHM_BAD_SEG 0
|
| 58 |
+
|
| 59 |
+
typedef xcb_value_error_t xcb_shm_bad_seg_error_t;
|
| 60 |
+
|
| 61 |
+
/**
|
| 62 |
+
* @brief xcb_shm_query_version_cookie_t
|
| 63 |
+
**/
|
| 64 |
+
typedef struct xcb_shm_query_version_cookie_t {
|
| 65 |
+
unsigned int sequence;
|
| 66 |
+
} xcb_shm_query_version_cookie_t;
|
| 67 |
+
|
| 68 |
+
/** Opcode for xcb_shm_query_version. */
|
| 69 |
+
#define XCB_SHM_QUERY_VERSION 0
|
| 70 |
+
|
| 71 |
+
/**
|
| 72 |
+
* @brief xcb_shm_query_version_request_t
|
| 73 |
+
**/
|
| 74 |
+
typedef struct xcb_shm_query_version_request_t {
|
| 75 |
+
uint8_t major_opcode;
|
| 76 |
+
uint8_t minor_opcode;
|
| 77 |
+
uint16_t length;
|
| 78 |
+
} xcb_shm_query_version_request_t;
|
| 79 |
+
|
| 80 |
+
/**
|
| 81 |
+
* @brief xcb_shm_query_version_reply_t
|
| 82 |
+
**/
|
| 83 |
+
typedef struct xcb_shm_query_version_reply_t {
|
| 84 |
+
uint8_t response_type;
|
| 85 |
+
uint8_t shared_pixmaps;
|
| 86 |
+
uint16_t sequence;
|
| 87 |
+
uint32_t length;
|
| 88 |
+
uint16_t major_version;
|
| 89 |
+
uint16_t minor_version;
|
| 90 |
+
uint16_t uid;
|
| 91 |
+
uint16_t gid;
|
| 92 |
+
uint8_t pixmap_format;
|
| 93 |
+
uint8_t pad0[15];
|
| 94 |
+
} xcb_shm_query_version_reply_t;
|
| 95 |
+
|
| 96 |
+
/** Opcode for xcb_shm_attach. */
|
| 97 |
+
#define XCB_SHM_ATTACH 1
|
| 98 |
+
|
| 99 |
+
/**
|
| 100 |
+
* @brief xcb_shm_attach_request_t
|
| 101 |
+
**/
|
| 102 |
+
typedef struct xcb_shm_attach_request_t {
|
| 103 |
+
uint8_t major_opcode;
|
| 104 |
+
uint8_t minor_opcode;
|
| 105 |
+
uint16_t length;
|
| 106 |
+
xcb_shm_seg_t shmseg;
|
| 107 |
+
uint32_t shmid;
|
| 108 |
+
uint8_t read_only;
|
| 109 |
+
uint8_t pad0[3];
|
| 110 |
+
} xcb_shm_attach_request_t;
|
| 111 |
+
|
| 112 |
+
/** Opcode for xcb_shm_detach. */
|
| 113 |
+
#define XCB_SHM_DETACH 2
|
| 114 |
+
|
| 115 |
+
/**
|
| 116 |
+
* @brief xcb_shm_detach_request_t
|
| 117 |
+
**/
|
| 118 |
+
typedef struct xcb_shm_detach_request_t {
|
| 119 |
+
uint8_t major_opcode;
|
| 120 |
+
uint8_t minor_opcode;
|
| 121 |
+
uint16_t length;
|
| 122 |
+
xcb_shm_seg_t shmseg;
|
| 123 |
+
} xcb_shm_detach_request_t;
|
| 124 |
+
|
| 125 |
+
/** Opcode for xcb_shm_put_image. */
|
| 126 |
+
#define XCB_SHM_PUT_IMAGE 3
|
| 127 |
+
|
| 128 |
+
/**
|
| 129 |
+
* @brief xcb_shm_put_image_request_t
|
| 130 |
+
**/
|
| 131 |
+
typedef struct xcb_shm_put_image_request_t {
|
| 132 |
+
uint8_t major_opcode;
|
| 133 |
+
uint8_t minor_opcode;
|
| 134 |
+
uint16_t length;
|
| 135 |
+
xcb_drawable_t drawable;
|
| 136 |
+
xcb_gcontext_t gc;
|
| 137 |
+
uint16_t total_width;
|
| 138 |
+
uint16_t total_height;
|
| 139 |
+
uint16_t src_x;
|
| 140 |
+
uint16_t src_y;
|
| 141 |
+
uint16_t src_width;
|
| 142 |
+
uint16_t src_height;
|
| 143 |
+
int16_t dst_x;
|
| 144 |
+
int16_t dst_y;
|
| 145 |
+
uint8_t depth;
|
| 146 |
+
uint8_t format;
|
| 147 |
+
uint8_t send_event;
|
| 148 |
+
uint8_t pad0;
|
| 149 |
+
xcb_shm_seg_t shmseg;
|
| 150 |
+
uint32_t offset;
|
| 151 |
+
} xcb_shm_put_image_request_t;
|
| 152 |
+
|
| 153 |
+
/**
|
| 154 |
+
* @brief xcb_shm_get_image_cookie_t
|
| 155 |
+
**/
|
| 156 |
+
typedef struct xcb_shm_get_image_cookie_t {
|
| 157 |
+
unsigned int sequence;
|
| 158 |
+
} xcb_shm_get_image_cookie_t;
|
| 159 |
+
|
| 160 |
+
/** Opcode for xcb_shm_get_image. */
|
| 161 |
+
#define XCB_SHM_GET_IMAGE 4
|
| 162 |
+
|
| 163 |
+
/**
|
| 164 |
+
* @brief xcb_shm_get_image_request_t
|
| 165 |
+
**/
|
| 166 |
+
typedef struct xcb_shm_get_image_request_t {
|
| 167 |
+
uint8_t major_opcode;
|
| 168 |
+
uint8_t minor_opcode;
|
| 169 |
+
uint16_t length;
|
| 170 |
+
xcb_drawable_t drawable;
|
| 171 |
+
int16_t x;
|
| 172 |
+
int16_t y;
|
| 173 |
+
uint16_t width;
|
| 174 |
+
uint16_t height;
|
| 175 |
+
uint32_t plane_mask;
|
| 176 |
+
uint8_t format;
|
| 177 |
+
uint8_t pad0[3];
|
| 178 |
+
xcb_shm_seg_t shmseg;
|
| 179 |
+
uint32_t offset;
|
| 180 |
+
} xcb_shm_get_image_request_t;
|
| 181 |
+
|
| 182 |
+
/**
|
| 183 |
+
* @brief xcb_shm_get_image_reply_t
|
| 184 |
+
**/
|
| 185 |
+
typedef struct xcb_shm_get_image_reply_t {
|
| 186 |
+
uint8_t response_type;
|
| 187 |
+
uint8_t depth;
|
| 188 |
+
uint16_t sequence;
|
| 189 |
+
uint32_t length;
|
| 190 |
+
xcb_visualid_t visual;
|
| 191 |
+
uint32_t size;
|
| 192 |
+
} xcb_shm_get_image_reply_t;
|
| 193 |
+
|
| 194 |
+
/** Opcode for xcb_shm_create_pixmap. */
|
| 195 |
+
#define XCB_SHM_CREATE_PIXMAP 5
|
| 196 |
+
|
| 197 |
+
/**
|
| 198 |
+
* @brief xcb_shm_create_pixmap_request_t
|
| 199 |
+
**/
|
| 200 |
+
typedef struct xcb_shm_create_pixmap_request_t {
|
| 201 |
+
uint8_t major_opcode;
|
| 202 |
+
uint8_t minor_opcode;
|
| 203 |
+
uint16_t length;
|
| 204 |
+
xcb_pixmap_t pid;
|
| 205 |
+
xcb_drawable_t drawable;
|
| 206 |
+
uint16_t width;
|
| 207 |
+
uint16_t height;
|
| 208 |
+
uint8_t depth;
|
| 209 |
+
uint8_t pad0[3];
|
| 210 |
+
xcb_shm_seg_t shmseg;
|
| 211 |
+
uint32_t offset;
|
| 212 |
+
} xcb_shm_create_pixmap_request_t;
|
| 213 |
+
|
| 214 |
+
/** Opcode for xcb_shm_attach_fd. */
|
| 215 |
+
#define XCB_SHM_ATTACH_FD 6
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
* @brief xcb_shm_attach_fd_request_t
|
| 219 |
+
**/
|
| 220 |
+
typedef struct xcb_shm_attach_fd_request_t {
|
| 221 |
+
uint8_t major_opcode;
|
| 222 |
+
uint8_t minor_opcode;
|
| 223 |
+
uint16_t length;
|
| 224 |
+
xcb_shm_seg_t shmseg;
|
| 225 |
+
uint8_t read_only;
|
| 226 |
+
uint8_t pad0[3];
|
| 227 |
+
} xcb_shm_attach_fd_request_t;
|
| 228 |
+
|
| 229 |
+
/**
|
| 230 |
+
* @brief xcb_shm_create_segment_cookie_t
|
| 231 |
+
**/
|
| 232 |
+
typedef struct xcb_shm_create_segment_cookie_t {
|
| 233 |
+
unsigned int sequence;
|
| 234 |
+
} xcb_shm_create_segment_cookie_t;
|
| 235 |
+
|
| 236 |
+
/** Opcode for xcb_shm_create_segment. */
|
| 237 |
+
#define XCB_SHM_CREATE_SEGMENT 7
|
| 238 |
+
|
| 239 |
+
/**
|
| 240 |
+
* @brief xcb_shm_create_segment_request_t
|
| 241 |
+
**/
|
| 242 |
+
typedef struct xcb_shm_create_segment_request_t {
|
| 243 |
+
uint8_t major_opcode;
|
| 244 |
+
uint8_t minor_opcode;
|
| 245 |
+
uint16_t length;
|
| 246 |
+
xcb_shm_seg_t shmseg;
|
| 247 |
+
uint32_t size;
|
| 248 |
+
uint8_t read_only;
|
| 249 |
+
uint8_t pad0[3];
|
| 250 |
+
} xcb_shm_create_segment_request_t;
|
| 251 |
+
|
| 252 |
+
/**
|
| 253 |
+
* @brief xcb_shm_create_segment_reply_t
|
| 254 |
+
**/
|
| 255 |
+
typedef struct xcb_shm_create_segment_reply_t {
|
| 256 |
+
uint8_t response_type;
|
| 257 |
+
uint8_t nfd;
|
| 258 |
+
uint16_t sequence;
|
| 259 |
+
uint32_t length;
|
| 260 |
+
uint8_t pad0[24];
|
| 261 |
+
} xcb_shm_create_segment_reply_t;
|
| 262 |
+
|
| 263 |
+
/**
|
| 264 |
+
* Get the next element of the iterator
|
| 265 |
+
* @param i Pointer to a xcb_shm_seg_iterator_t
|
| 266 |
+
*
|
| 267 |
+
* Get the next element in the iterator. The member rem is
|
| 268 |
+
* decreased by one. The member data points to the next
|
| 269 |
+
* element. The member index is increased by sizeof(xcb_shm_seg_t)
|
| 270 |
+
*/
|
| 271 |
+
void
|
| 272 |
+
xcb_shm_seg_next (xcb_shm_seg_iterator_t *i);
|
| 273 |
+
|
| 274 |
+
/**
|
| 275 |
+
* Return the iterator pointing to the last element
|
| 276 |
+
* @param i An xcb_shm_seg_iterator_t
|
| 277 |
+
* @return The iterator pointing to the last element
|
| 278 |
+
*
|
| 279 |
+
* Set the current element in the iterator to the last element.
|
| 280 |
+
* The member rem is set to 0. The member data points to the
|
| 281 |
+
* last element.
|
| 282 |
+
*/
|
| 283 |
+
xcb_generic_iterator_t
|
| 284 |
+
xcb_shm_seg_end (xcb_shm_seg_iterator_t i);
|
| 285 |
+
|
| 286 |
+
/**
|
| 287 |
+
* @brief Query the version of the MIT-SHM extension.
|
| 288 |
+
*
|
| 289 |
+
* @param c The connection
|
| 290 |
+
* @return A cookie
|
| 291 |
+
*
|
| 292 |
+
* This is used to determine the version of the MIT-SHM extension supported by the
|
| 293 |
+
* X server. Clients MUST NOT make other requests in this extension until a reply
|
| 294 |
+
* to this requests indicates the X server supports them.
|
| 295 |
+
*
|
| 296 |
+
*/
|
| 297 |
+
xcb_shm_query_version_cookie_t
|
| 298 |
+
xcb_shm_query_version (xcb_connection_t *c);
|
| 299 |
+
|
| 300 |
+
/**
|
| 301 |
+
* @brief Query the version of the MIT-SHM extension.
|
| 302 |
+
*
|
| 303 |
+
* @param c The connection
|
| 304 |
+
* @return A cookie
|
| 305 |
+
*
|
| 306 |
+
* This is used to determine the version of the MIT-SHM extension supported by the
|
| 307 |
+
* X server. Clients MUST NOT make other requests in this extension until a reply
|
| 308 |
+
* to this requests indicates the X server supports them.
|
| 309 |
+
*
|
| 310 |
+
* This form can be used only if the request will cause
|
| 311 |
+
* a reply to be generated. Any returned error will be
|
| 312 |
+
* placed in the event queue.
|
| 313 |
+
*/
|
| 314 |
+
xcb_shm_query_version_cookie_t
|
| 315 |
+
xcb_shm_query_version_unchecked (xcb_connection_t *c);
|
| 316 |
+
|
| 317 |
+
/**
|
| 318 |
+
* Return the reply
|
| 319 |
+
* @param c The connection
|
| 320 |
+
* @param cookie The cookie
|
| 321 |
+
* @param e The xcb_generic_error_t supplied
|
| 322 |
+
*
|
| 323 |
+
* Returns the reply of the request asked by
|
| 324 |
+
*
|
| 325 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 326 |
+
* xcb_shm_query_version_unchecked(). is used.
|
| 327 |
+
* Otherwise, it stores the error if any.
|
| 328 |
+
*
|
| 329 |
+
* The returned value must be freed by the caller using free().
|
| 330 |
+
*/
|
| 331 |
+
xcb_shm_query_version_reply_t *
|
| 332 |
+
xcb_shm_query_version_reply (xcb_connection_t *c,
|
| 333 |
+
xcb_shm_query_version_cookie_t cookie /**< */,
|
| 334 |
+
xcb_generic_error_t **e);
|
| 335 |
+
|
| 336 |
+
/**
|
| 337 |
+
* @brief Attach a System V shared memory segment.
|
| 338 |
+
*
|
| 339 |
+
* @param c The connection
|
| 340 |
+
* @param shmseg A shared memory segment ID created with xcb_generate_id().
|
| 341 |
+
* @param shmid The System V shared memory segment the server should map.
|
| 342 |
+
* @param read_only True if the segment shall be mapped read only by the X11 server, otherwise false.
|
| 343 |
+
* @return A cookie
|
| 344 |
+
*
|
| 345 |
+
* Attach a System V shared memory segment to the server. This will fail unless
|
| 346 |
+
* the server has permission to map the segment. The client may destroy the segment
|
| 347 |
+
* as soon as it receives a XCB_SHM_COMPLETION event with the shmseg value in this
|
| 348 |
+
* request and with the appropriate serial number.
|
| 349 |
+
*
|
| 350 |
+
* This form can be used only if the request will not cause
|
| 351 |
+
* a reply to be generated. Any returned error will be
|
| 352 |
+
* saved for handling by xcb_request_check().
|
| 353 |
+
*/
|
| 354 |
+
xcb_void_cookie_t
|
| 355 |
+
xcb_shm_attach_checked (xcb_connection_t *c,
|
| 356 |
+
xcb_shm_seg_t shmseg,
|
| 357 |
+
uint32_t shmid,
|
| 358 |
+
uint8_t read_only);
|
| 359 |
+
|
| 360 |
+
/**
|
| 361 |
+
* @brief Attach a System V shared memory segment.
|
| 362 |
+
*
|
| 363 |
+
* @param c The connection
|
| 364 |
+
* @param shmseg A shared memory segment ID created with xcb_generate_id().
|
| 365 |
+
* @param shmid The System V shared memory segment the server should map.
|
| 366 |
+
* @param read_only True if the segment shall be mapped read only by the X11 server, otherwise false.
|
| 367 |
+
* @return A cookie
|
| 368 |
+
*
|
| 369 |
+
* Attach a System V shared memory segment to the server. This will fail unless
|
| 370 |
+
* the server has permission to map the segment. The client may destroy the segment
|
| 371 |
+
* as soon as it receives a XCB_SHM_COMPLETION event with the shmseg value in this
|
| 372 |
+
* request and with the appropriate serial number.
|
| 373 |
+
*
|
| 374 |
+
*/
|
| 375 |
+
xcb_void_cookie_t
|
| 376 |
+
xcb_shm_attach (xcb_connection_t *c,
|
| 377 |
+
xcb_shm_seg_t shmseg,
|
| 378 |
+
uint32_t shmid,
|
| 379 |
+
uint8_t read_only);
|
| 380 |
+
|
| 381 |
+
/**
|
| 382 |
+
* @brief Destroys the specified shared memory segment.
|
| 383 |
+
*
|
| 384 |
+
* @param c The connection
|
| 385 |
+
* @param shmseg The segment to be destroyed.
|
| 386 |
+
* @return A cookie
|
| 387 |
+
*
|
| 388 |
+
* Destroys the specified shared memory segment. This will never fail unless the
|
| 389 |
+
* segment number is incorrect.
|
| 390 |
+
*
|
| 391 |
+
* This form can be used only if the request will not cause
|
| 392 |
+
* a reply to be generated. Any returned error will be
|
| 393 |
+
* saved for handling by xcb_request_check().
|
| 394 |
+
*/
|
| 395 |
+
xcb_void_cookie_t
|
| 396 |
+
xcb_shm_detach_checked (xcb_connection_t *c,
|
| 397 |
+
xcb_shm_seg_t shmseg);
|
| 398 |
+
|
| 399 |
+
/**
|
| 400 |
+
* @brief Destroys the specified shared memory segment.
|
| 401 |
+
*
|
| 402 |
+
* @param c The connection
|
| 403 |
+
* @param shmseg The segment to be destroyed.
|
| 404 |
+
* @return A cookie
|
| 405 |
+
*
|
| 406 |
+
* Destroys the specified shared memory segment. This will never fail unless the
|
| 407 |
+
* segment number is incorrect.
|
| 408 |
+
*
|
| 409 |
+
*/
|
| 410 |
+
xcb_void_cookie_t
|
| 411 |
+
xcb_shm_detach (xcb_connection_t *c,
|
| 412 |
+
xcb_shm_seg_t shmseg);
|
| 413 |
+
|
| 414 |
+
/**
|
| 415 |
+
* @brief Copy data from the shared memory to the specified drawable.
|
| 416 |
+
*
|
| 417 |
+
* @param c The connection
|
| 418 |
+
* @param drawable The drawable to draw to.
|
| 419 |
+
* @param gc The graphics context to use.
|
| 420 |
+
* @param total_width The total width of the source image.
|
| 421 |
+
* @param total_height The total height of the source image.
|
| 422 |
+
* @param src_x The source X coordinate of the sub-image to copy.
|
| 423 |
+
* @param src_y The source Y coordinate of the sub-image to copy.
|
| 424 |
+
* @param src_width The width, in source image coordinates, of the data to copy from the source.
|
| 425 |
+
* The X server will use this to determine the amount of data to copy. The amount
|
| 426 |
+
* of the destination image that is overwritten is determined automatically.
|
| 427 |
+
* @param src_height The height, in source image coordinates, of the data to copy from the source.
|
| 428 |
+
* The X server will use this to determine the amount of data to copy. The amount
|
| 429 |
+
* of the destination image that is overwritten is determined automatically.
|
| 430 |
+
* @param dst_x The X coordinate on the destination drawable to copy to.
|
| 431 |
+
* @param dst_y The Y coordinate on the destination drawable to copy to.
|
| 432 |
+
* @param depth The depth to use.
|
| 433 |
+
* @param format The format of the image being drawn. If it is XYBitmap, depth must be 1, or a
|
| 434 |
+
* "BadMatch" error results. The foreground pixel in the GC determines the source
|
| 435 |
+
* for the one bits in the image, and the background pixel determines the source
|
| 436 |
+
* for the zero bits. For XYPixmap and ZPixmap, the depth must match the depth of
|
| 437 |
+
* the drawable, or a "BadMatch" error results.
|
| 438 |
+
* @param send_event True if the server should send an XCB_SHM_COMPLETION event when the blit
|
| 439 |
+
* completes.
|
| 440 |
+
* @param offset The offset that the source image starts at.
|
| 441 |
+
* @return A cookie
|
| 442 |
+
*
|
| 443 |
+
* Copy data from the shared memory to the specified drawable. The amount of bytes
|
| 444 |
+
* written to the destination image is always equal to the number of bytes read
|
| 445 |
+
* from the shared memory segment.
|
| 446 |
+
*
|
| 447 |
+
* This form can be used only if the request will not cause
|
| 448 |
+
* a reply to be generated. Any returned error will be
|
| 449 |
+
* saved for handling by xcb_request_check().
|
| 450 |
+
*/
|
| 451 |
+
xcb_void_cookie_t
|
| 452 |
+
xcb_shm_put_image_checked (xcb_connection_t *c,
|
| 453 |
+
xcb_drawable_t drawable,
|
| 454 |
+
xcb_gcontext_t gc,
|
| 455 |
+
uint16_t total_width,
|
| 456 |
+
uint16_t total_height,
|
| 457 |
+
uint16_t src_x,
|
| 458 |
+
uint16_t src_y,
|
| 459 |
+
uint16_t src_width,
|
| 460 |
+
uint16_t src_height,
|
| 461 |
+
int16_t dst_x,
|
| 462 |
+
int16_t dst_y,
|
| 463 |
+
uint8_t depth,
|
| 464 |
+
uint8_t format,
|
| 465 |
+
uint8_t send_event,
|
| 466 |
+
xcb_shm_seg_t shmseg,
|
| 467 |
+
uint32_t offset);
|
| 468 |
+
|
| 469 |
+
/**
|
| 470 |
+
* @brief Copy data from the shared memory to the specified drawable.
|
| 471 |
+
*
|
| 472 |
+
* @param c The connection
|
| 473 |
+
* @param drawable The drawable to draw to.
|
| 474 |
+
* @param gc The graphics context to use.
|
| 475 |
+
* @param total_width The total width of the source image.
|
| 476 |
+
* @param total_height The total height of the source image.
|
| 477 |
+
* @param src_x The source X coordinate of the sub-image to copy.
|
| 478 |
+
* @param src_y The source Y coordinate of the sub-image to copy.
|
| 479 |
+
* @param src_width The width, in source image coordinates, of the data to copy from the source.
|
| 480 |
+
* The X server will use this to determine the amount of data to copy. The amount
|
| 481 |
+
* of the destination image that is overwritten is determined automatically.
|
| 482 |
+
* @param src_height The height, in source image coordinates, of the data to copy from the source.
|
| 483 |
+
* The X server will use this to determine the amount of data to copy. The amount
|
| 484 |
+
* of the destination image that is overwritten is determined automatically.
|
| 485 |
+
* @param dst_x The X coordinate on the destination drawable to copy to.
|
| 486 |
+
* @param dst_y The Y coordinate on the destination drawable to copy to.
|
| 487 |
+
* @param depth The depth to use.
|
| 488 |
+
* @param format The format of the image being drawn. If it is XYBitmap, depth must be 1, or a
|
| 489 |
+
* "BadMatch" error results. The foreground pixel in the GC determines the source
|
| 490 |
+
* for the one bits in the image, and the background pixel determines the source
|
| 491 |
+
* for the zero bits. For XYPixmap and ZPixmap, the depth must match the depth of
|
| 492 |
+
* the drawable, or a "BadMatch" error results.
|
| 493 |
+
* @param send_event True if the server should send an XCB_SHM_COMPLETION event when the blit
|
| 494 |
+
* completes.
|
| 495 |
+
* @param offset The offset that the source image starts at.
|
| 496 |
+
* @return A cookie
|
| 497 |
+
*
|
| 498 |
+
* Copy data from the shared memory to the specified drawable. The amount of bytes
|
| 499 |
+
* written to the destination image is always equal to the number of bytes read
|
| 500 |
+
* from the shared memory segment.
|
| 501 |
+
*
|
| 502 |
+
*/
|
| 503 |
+
xcb_void_cookie_t
|
| 504 |
+
xcb_shm_put_image (xcb_connection_t *c,
|
| 505 |
+
xcb_drawable_t drawable,
|
| 506 |
+
xcb_gcontext_t gc,
|
| 507 |
+
uint16_t total_width,
|
| 508 |
+
uint16_t total_height,
|
| 509 |
+
uint16_t src_x,
|
| 510 |
+
uint16_t src_y,
|
| 511 |
+
uint16_t src_width,
|
| 512 |
+
uint16_t src_height,
|
| 513 |
+
int16_t dst_x,
|
| 514 |
+
int16_t dst_y,
|
| 515 |
+
uint8_t depth,
|
| 516 |
+
uint8_t format,
|
| 517 |
+
uint8_t send_event,
|
| 518 |
+
xcb_shm_seg_t shmseg,
|
| 519 |
+
uint32_t offset);
|
| 520 |
+
|
| 521 |
+
/**
|
| 522 |
+
* @brief Copies data from the specified drawable to the shared memory segment.
|
| 523 |
+
*
|
| 524 |
+
* @param c The connection
|
| 525 |
+
* @param drawable The drawable to copy the image out of.
|
| 526 |
+
* @param x The X coordinate in the drawable to begin copying at.
|
| 527 |
+
* @param y The Y coordinate in the drawable to begin copying at.
|
| 528 |
+
* @param width The width of the image to copy.
|
| 529 |
+
* @param height The height of the image to copy.
|
| 530 |
+
* @param plane_mask A mask that determines which planes are used.
|
| 531 |
+
* @param format The format to use for the copy (???).
|
| 532 |
+
* @param shmseg The destination shared memory segment.
|
| 533 |
+
* @param offset The offset in the shared memory segment to copy data to.
|
| 534 |
+
* @return A cookie
|
| 535 |
+
*
|
| 536 |
+
* Copy data from the specified drawable to the shared memory segment. The amount
|
| 537 |
+
* of bytes written to the destination image is always equal to the number of bytes
|
| 538 |
+
* read from the shared memory segment.
|
| 539 |
+
*
|
| 540 |
+
*/
|
| 541 |
+
xcb_shm_get_image_cookie_t
|
| 542 |
+
xcb_shm_get_image (xcb_connection_t *c,
|
| 543 |
+
xcb_drawable_t drawable,
|
| 544 |
+
int16_t x,
|
| 545 |
+
int16_t y,
|
| 546 |
+
uint16_t width,
|
| 547 |
+
uint16_t height,
|
| 548 |
+
uint32_t plane_mask,
|
| 549 |
+
uint8_t format,
|
| 550 |
+
xcb_shm_seg_t shmseg,
|
| 551 |
+
uint32_t offset);
|
| 552 |
+
|
| 553 |
+
/**
|
| 554 |
+
* @brief Copies data from the specified drawable to the shared memory segment.
|
| 555 |
+
*
|
| 556 |
+
* @param c The connection
|
| 557 |
+
* @param drawable The drawable to copy the image out of.
|
| 558 |
+
* @param x The X coordinate in the drawable to begin copying at.
|
| 559 |
+
* @param y The Y coordinate in the drawable to begin copying at.
|
| 560 |
+
* @param width The width of the image to copy.
|
| 561 |
+
* @param height The height of the image to copy.
|
| 562 |
+
* @param plane_mask A mask that determines which planes are used.
|
| 563 |
+
* @param format The format to use for the copy (???).
|
| 564 |
+
* @param shmseg The destination shared memory segment.
|
| 565 |
+
* @param offset The offset in the shared memory segment to copy data to.
|
| 566 |
+
* @return A cookie
|
| 567 |
+
*
|
| 568 |
+
* Copy data from the specified drawable to the shared memory segment. The amount
|
| 569 |
+
* of bytes written to the destination image is always equal to the number of bytes
|
| 570 |
+
* read from the shared memory segment.
|
| 571 |
+
*
|
| 572 |
+
* This form can be used only if the request will cause
|
| 573 |
+
* a reply to be generated. Any returned error will be
|
| 574 |
+
* placed in the event queue.
|
| 575 |
+
*/
|
| 576 |
+
xcb_shm_get_image_cookie_t
|
| 577 |
+
xcb_shm_get_image_unchecked (xcb_connection_t *c,
|
| 578 |
+
xcb_drawable_t drawable,
|
| 579 |
+
int16_t x,
|
| 580 |
+
int16_t y,
|
| 581 |
+
uint16_t width,
|
| 582 |
+
uint16_t height,
|
| 583 |
+
uint32_t plane_mask,
|
| 584 |
+
uint8_t format,
|
| 585 |
+
xcb_shm_seg_t shmseg,
|
| 586 |
+
uint32_t offset);
|
| 587 |
+
|
| 588 |
+
/**
|
| 589 |
+
* Return the reply
|
| 590 |
+
* @param c The connection
|
| 591 |
+
* @param cookie The cookie
|
| 592 |
+
* @param e The xcb_generic_error_t supplied
|
| 593 |
+
*
|
| 594 |
+
* Returns the reply of the request asked by
|
| 595 |
+
*
|
| 596 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 597 |
+
* xcb_shm_get_image_unchecked(). is used.
|
| 598 |
+
* Otherwise, it stores the error if any.
|
| 599 |
+
*
|
| 600 |
+
* The returned value must be freed by the caller using free().
|
| 601 |
+
*/
|
| 602 |
+
xcb_shm_get_image_reply_t *
|
| 603 |
+
xcb_shm_get_image_reply (xcb_connection_t *c,
|
| 604 |
+
xcb_shm_get_image_cookie_t cookie /**< */,
|
| 605 |
+
xcb_generic_error_t **e);
|
| 606 |
+
|
| 607 |
+
/**
|
| 608 |
+
* @brief Create a pixmap backed by shared memory.
|
| 609 |
+
*
|
| 610 |
+
* @param c The connection
|
| 611 |
+
* @param pid A pixmap ID created with xcb_generate_id().
|
| 612 |
+
* @param drawable The drawable to create the pixmap in.
|
| 613 |
+
* @param width The width of the pixmap to create. Must be nonzero, or a Value error results.
|
| 614 |
+
* @param height The height of the pixmap to create. Must be nonzero, or a Value error results.
|
| 615 |
+
* @param depth The depth of the pixmap to create. Must be nonzero, or a Value error results.
|
| 616 |
+
* @param shmseg The shared memory segment to use to create the pixmap.
|
| 617 |
+
* @param offset The offset in the segment to create the pixmap at.
|
| 618 |
+
* @return A cookie
|
| 619 |
+
*
|
| 620 |
+
* Create a pixmap backed by shared memory. Writes to the shared memory will be
|
| 621 |
+
* reflected in the contents of the pixmap, and writes to the pixmap will be
|
| 622 |
+
* reflected in the contents of the shared memory.
|
| 623 |
+
*
|
| 624 |
+
* This form can be used only if the request will not cause
|
| 625 |
+
* a reply to be generated. Any returned error will be
|
| 626 |
+
* saved for handling by xcb_request_check().
|
| 627 |
+
*/
|
| 628 |
+
xcb_void_cookie_t
|
| 629 |
+
xcb_shm_create_pixmap_checked (xcb_connection_t *c,
|
| 630 |
+
xcb_pixmap_t pid,
|
| 631 |
+
xcb_drawable_t drawable,
|
| 632 |
+
uint16_t width,
|
| 633 |
+
uint16_t height,
|
| 634 |
+
uint8_t depth,
|
| 635 |
+
xcb_shm_seg_t shmseg,
|
| 636 |
+
uint32_t offset);
|
| 637 |
+
|
| 638 |
+
/**
|
| 639 |
+
* @brief Create a pixmap backed by shared memory.
|
| 640 |
+
*
|
| 641 |
+
* @param c The connection
|
| 642 |
+
* @param pid A pixmap ID created with xcb_generate_id().
|
| 643 |
+
* @param drawable The drawable to create the pixmap in.
|
| 644 |
+
* @param width The width of the pixmap to create. Must be nonzero, or a Value error results.
|
| 645 |
+
* @param height The height of the pixmap to create. Must be nonzero, or a Value error results.
|
| 646 |
+
* @param depth The depth of the pixmap to create. Must be nonzero, or a Value error results.
|
| 647 |
+
* @param shmseg The shared memory segment to use to create the pixmap.
|
| 648 |
+
* @param offset The offset in the segment to create the pixmap at.
|
| 649 |
+
* @return A cookie
|
| 650 |
+
*
|
| 651 |
+
* Create a pixmap backed by shared memory. Writes to the shared memory will be
|
| 652 |
+
* reflected in the contents of the pixmap, and writes to the pixmap will be
|
| 653 |
+
* reflected in the contents of the shared memory.
|
| 654 |
+
*
|
| 655 |
+
*/
|
| 656 |
+
xcb_void_cookie_t
|
| 657 |
+
xcb_shm_create_pixmap (xcb_connection_t *c,
|
| 658 |
+
xcb_pixmap_t pid,
|
| 659 |
+
xcb_drawable_t drawable,
|
| 660 |
+
uint16_t width,
|
| 661 |
+
uint16_t height,
|
| 662 |
+
uint8_t depth,
|
| 663 |
+
xcb_shm_seg_t shmseg,
|
| 664 |
+
uint32_t offset);
|
| 665 |
+
|
| 666 |
+
/**
|
| 667 |
+
* @brief Create a shared memory segment
|
| 668 |
+
*
|
| 669 |
+
* @param c The connection
|
| 670 |
+
* @param shmseg A shared memory segment ID created with xcb_generate_id().
|
| 671 |
+
* @param shm_fd The file descriptor the server should mmap().
|
| 672 |
+
* @param read_only True if the segment shall be mapped read only by the X11 server, otherwise false.
|
| 673 |
+
* @return A cookie
|
| 674 |
+
*
|
| 675 |
+
* Create a shared memory segment. The file descriptor will be mapped at offset
|
| 676 |
+
* zero, and the size will be obtained using fstat(). A zero size will result in a
|
| 677 |
+
* Value error.
|
| 678 |
+
*
|
| 679 |
+
* This form can be used only if the request will not cause
|
| 680 |
+
* a reply to be generated. Any returned error will be
|
| 681 |
+
* saved for handling by xcb_request_check().
|
| 682 |
+
*/
|
| 683 |
+
xcb_void_cookie_t
|
| 684 |
+
xcb_shm_attach_fd_checked (xcb_connection_t *c,
|
| 685 |
+
xcb_shm_seg_t shmseg,
|
| 686 |
+
int32_t shm_fd,
|
| 687 |
+
uint8_t read_only);
|
| 688 |
+
|
| 689 |
+
/**
|
| 690 |
+
* @brief Create a shared memory segment
|
| 691 |
+
*
|
| 692 |
+
* @param c The connection
|
| 693 |
+
* @param shmseg A shared memory segment ID created with xcb_generate_id().
|
| 694 |
+
* @param shm_fd The file descriptor the server should mmap().
|
| 695 |
+
* @param read_only True if the segment shall be mapped read only by the X11 server, otherwise false.
|
| 696 |
+
* @return A cookie
|
| 697 |
+
*
|
| 698 |
+
* Create a shared memory segment. The file descriptor will be mapped at offset
|
| 699 |
+
* zero, and the size will be obtained using fstat(). A zero size will result in a
|
| 700 |
+
* Value error.
|
| 701 |
+
*
|
| 702 |
+
*/
|
| 703 |
+
xcb_void_cookie_t
|
| 704 |
+
xcb_shm_attach_fd (xcb_connection_t *c,
|
| 705 |
+
xcb_shm_seg_t shmseg,
|
| 706 |
+
int32_t shm_fd,
|
| 707 |
+
uint8_t read_only);
|
| 708 |
+
|
| 709 |
+
/**
|
| 710 |
+
* @brief Asks the server to allocate a shared memory segment.
|
| 711 |
+
*
|
| 712 |
+
* @param c The connection
|
| 713 |
+
* @param shmseg A shared memory segment ID created with xcb_generate_id().
|
| 714 |
+
* @param size The size of the segment to create.
|
| 715 |
+
* @param read_only True if the server should map the segment read-only; otherwise false.
|
| 716 |
+
* @return A cookie
|
| 717 |
+
*
|
| 718 |
+
* Asks the server to allocate a shared memory segment. The server’s reply will
|
| 719 |
+
* include a file descriptor for the client to pass to mmap().
|
| 720 |
+
*
|
| 721 |
+
*/
|
| 722 |
+
xcb_shm_create_segment_cookie_t
|
| 723 |
+
xcb_shm_create_segment (xcb_connection_t *c,
|
| 724 |
+
xcb_shm_seg_t shmseg,
|
| 725 |
+
uint32_t size,
|
| 726 |
+
uint8_t read_only);
|
| 727 |
+
|
| 728 |
+
/**
|
| 729 |
+
* @brief Asks the server to allocate a shared memory segment.
|
| 730 |
+
*
|
| 731 |
+
* @param c The connection
|
| 732 |
+
* @param shmseg A shared memory segment ID created with xcb_generate_id().
|
| 733 |
+
* @param size The size of the segment to create.
|
| 734 |
+
* @param read_only True if the server should map the segment read-only; otherwise false.
|
| 735 |
+
* @return A cookie
|
| 736 |
+
*
|
| 737 |
+
* Asks the server to allocate a shared memory segment. The server’s reply will
|
| 738 |
+
* include a file descriptor for the client to pass to mmap().
|
| 739 |
+
*
|
| 740 |
+
* This form can be used only if the request will cause
|
| 741 |
+
* a reply to be generated. Any returned error will be
|
| 742 |
+
* placed in the event queue.
|
| 743 |
+
*/
|
| 744 |
+
xcb_shm_create_segment_cookie_t
|
| 745 |
+
xcb_shm_create_segment_unchecked (xcb_connection_t *c,
|
| 746 |
+
xcb_shm_seg_t shmseg,
|
| 747 |
+
uint32_t size,
|
| 748 |
+
uint8_t read_only);
|
| 749 |
+
|
| 750 |
+
/**
|
| 751 |
+
* Return the reply
|
| 752 |
+
* @param c The connection
|
| 753 |
+
* @param cookie The cookie
|
| 754 |
+
* @param e The xcb_generic_error_t supplied
|
| 755 |
+
*
|
| 756 |
+
* Returns the reply of the request asked by
|
| 757 |
+
*
|
| 758 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 759 |
+
* xcb_shm_create_segment_unchecked(). is used.
|
| 760 |
+
* Otherwise, it stores the error if any.
|
| 761 |
+
*
|
| 762 |
+
* The returned value must be freed by the caller using free().
|
| 763 |
+
*/
|
| 764 |
+
xcb_shm_create_segment_reply_t *
|
| 765 |
+
xcb_shm_create_segment_reply (xcb_connection_t *c,
|
| 766 |
+
xcb_shm_create_segment_cookie_t cookie /**< */,
|
| 767 |
+
xcb_generic_error_t **e);
|
| 768 |
+
|
| 769 |
+
/**
|
| 770 |
+
* Return the reply fds
|
| 771 |
+
* @param c The connection
|
| 772 |
+
* @param reply The reply
|
| 773 |
+
*
|
| 774 |
+
* Returns a pointer to the array of reply fds of the reply.
|
| 775 |
+
*
|
| 776 |
+
* The returned value points into the reply and must not be free().
|
| 777 |
+
* The fds are not managed by xcb. You must close() them before freeing the reply.
|
| 778 |
+
*/
|
| 779 |
+
int *
|
| 780 |
+
xcb_shm_create_segment_reply_fds (xcb_connection_t *c /**< */,
|
| 781 |
+
xcb_shm_create_segment_reply_t *reply);
|
| 782 |
+
|
| 783 |
+
|
| 784 |
+
#ifdef __cplusplus
|
| 785 |
+
}
|
| 786 |
+
#endif
|
| 787 |
+
|
| 788 |
+
#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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from sync.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Sync_API XCB Sync API
|
| 8 |
+
* @brief Sync XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __SYNC_H
|
| 13 |
+
#define __SYNC_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_SYNC_MAJOR_VERSION 3
|
| 23 |
+
#define XCB_SYNC_MINOR_VERSION 1
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_sync_id;
|
| 26 |
+
|
| 27 |
+
typedef uint32_t xcb_sync_alarm_t;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_sync_alarm_iterator_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_sync_alarm_iterator_t {
|
| 33 |
+
xcb_sync_alarm_t *data;
|
| 34 |
+
int rem;
|
| 35 |
+
int index;
|
| 36 |
+
} xcb_sync_alarm_iterator_t;
|
| 37 |
+
|
| 38 |
+
typedef enum xcb_sync_alarmstate_t {
|
| 39 |
+
XCB_SYNC_ALARMSTATE_ACTIVE = 0,
|
| 40 |
+
XCB_SYNC_ALARMSTATE_INACTIVE = 1,
|
| 41 |
+
XCB_SYNC_ALARMSTATE_DESTROYED = 2
|
| 42 |
+
} xcb_sync_alarmstate_t;
|
| 43 |
+
|
| 44 |
+
typedef uint32_t xcb_sync_counter_t;
|
| 45 |
+
|
| 46 |
+
/**
|
| 47 |
+
* @brief xcb_sync_counter_iterator_t
|
| 48 |
+
**/
|
| 49 |
+
typedef struct xcb_sync_counter_iterator_t {
|
| 50 |
+
xcb_sync_counter_t *data;
|
| 51 |
+
int rem;
|
| 52 |
+
int index;
|
| 53 |
+
} xcb_sync_counter_iterator_t;
|
| 54 |
+
|
| 55 |
+
typedef uint32_t xcb_sync_fence_t;
|
| 56 |
+
|
| 57 |
+
/**
|
| 58 |
+
* @brief xcb_sync_fence_iterator_t
|
| 59 |
+
**/
|
| 60 |
+
typedef struct xcb_sync_fence_iterator_t {
|
| 61 |
+
xcb_sync_fence_t *data;
|
| 62 |
+
int rem;
|
| 63 |
+
int index;
|
| 64 |
+
} xcb_sync_fence_iterator_t;
|
| 65 |
+
|
| 66 |
+
typedef enum xcb_sync_testtype_t {
|
| 67 |
+
XCB_SYNC_TESTTYPE_POSITIVE_TRANSITION = 0,
|
| 68 |
+
XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION = 1,
|
| 69 |
+
XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON = 2,
|
| 70 |
+
XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON = 3
|
| 71 |
+
} xcb_sync_testtype_t;
|
| 72 |
+
|
| 73 |
+
typedef enum xcb_sync_valuetype_t {
|
| 74 |
+
XCB_SYNC_VALUETYPE_ABSOLUTE = 0,
|
| 75 |
+
XCB_SYNC_VALUETYPE_RELATIVE = 1
|
| 76 |
+
} xcb_sync_valuetype_t;
|
| 77 |
+
|
| 78 |
+
typedef enum xcb_sync_ca_t {
|
| 79 |
+
XCB_SYNC_CA_COUNTER = 1,
|
| 80 |
+
XCB_SYNC_CA_VALUE_TYPE = 2,
|
| 81 |
+
XCB_SYNC_CA_VALUE = 4,
|
| 82 |
+
XCB_SYNC_CA_TEST_TYPE = 8,
|
| 83 |
+
XCB_SYNC_CA_DELTA = 16,
|
| 84 |
+
XCB_SYNC_CA_EVENTS = 32
|
| 85 |
+
} xcb_sync_ca_t;
|
| 86 |
+
|
| 87 |
+
/**
|
| 88 |
+
* @brief xcb_sync_int64_t
|
| 89 |
+
**/
|
| 90 |
+
typedef struct xcb_sync_int64_t {
|
| 91 |
+
int32_t hi;
|
| 92 |
+
uint32_t lo;
|
| 93 |
+
} xcb_sync_int64_t;
|
| 94 |
+
|
| 95 |
+
/**
|
| 96 |
+
* @brief xcb_sync_int64_iterator_t
|
| 97 |
+
**/
|
| 98 |
+
typedef struct xcb_sync_int64_iterator_t {
|
| 99 |
+
xcb_sync_int64_t *data;
|
| 100 |
+
int rem;
|
| 101 |
+
int index;
|
| 102 |
+
} xcb_sync_int64_iterator_t;
|
| 103 |
+
|
| 104 |
+
/**
|
| 105 |
+
* @brief xcb_sync_systemcounter_t
|
| 106 |
+
**/
|
| 107 |
+
typedef struct xcb_sync_systemcounter_t {
|
| 108 |
+
xcb_sync_counter_t counter;
|
| 109 |
+
xcb_sync_int64_t resolution;
|
| 110 |
+
uint16_t name_len;
|
| 111 |
+
} xcb_sync_systemcounter_t;
|
| 112 |
+
|
| 113 |
+
/**
|
| 114 |
+
* @brief xcb_sync_systemcounter_iterator_t
|
| 115 |
+
**/
|
| 116 |
+
typedef struct xcb_sync_systemcounter_iterator_t {
|
| 117 |
+
xcb_sync_systemcounter_t *data;
|
| 118 |
+
int rem;
|
| 119 |
+
int index;
|
| 120 |
+
} xcb_sync_systemcounter_iterator_t;
|
| 121 |
+
|
| 122 |
+
/**
|
| 123 |
+
* @brief xcb_sync_trigger_t
|
| 124 |
+
**/
|
| 125 |
+
typedef struct xcb_sync_trigger_t {
|
| 126 |
+
xcb_sync_counter_t counter;
|
| 127 |
+
uint32_t wait_type;
|
| 128 |
+
xcb_sync_int64_t wait_value;
|
| 129 |
+
uint32_t test_type;
|
| 130 |
+
} xcb_sync_trigger_t;
|
| 131 |
+
|
| 132 |
+
/**
|
| 133 |
+
* @brief xcb_sync_trigger_iterator_t
|
| 134 |
+
**/
|
| 135 |
+
typedef struct xcb_sync_trigger_iterator_t {
|
| 136 |
+
xcb_sync_trigger_t *data;
|
| 137 |
+
int rem;
|
| 138 |
+
int index;
|
| 139 |
+
} xcb_sync_trigger_iterator_t;
|
| 140 |
+
|
| 141 |
+
/**
|
| 142 |
+
* @brief xcb_sync_waitcondition_t
|
| 143 |
+
**/
|
| 144 |
+
typedef struct xcb_sync_waitcondition_t {
|
| 145 |
+
xcb_sync_trigger_t trigger;
|
| 146 |
+
xcb_sync_int64_t event_threshold;
|
| 147 |
+
} xcb_sync_waitcondition_t;
|
| 148 |
+
|
| 149 |
+
/**
|
| 150 |
+
* @brief xcb_sync_waitcondition_iterator_t
|
| 151 |
+
**/
|
| 152 |
+
typedef struct xcb_sync_waitcondition_iterator_t {
|
| 153 |
+
xcb_sync_waitcondition_t *data;
|
| 154 |
+
int rem;
|
| 155 |
+
int index;
|
| 156 |
+
} xcb_sync_waitcondition_iterator_t;
|
| 157 |
+
|
| 158 |
+
/** Opcode for xcb_sync_counter. */
|
| 159 |
+
#define XCB_SYNC_COUNTER 0
|
| 160 |
+
|
| 161 |
+
/**
|
| 162 |
+
* @brief xcb_sync_counter_error_t
|
| 163 |
+
**/
|
| 164 |
+
typedef struct xcb_sync_counter_error_t {
|
| 165 |
+
uint8_t response_type;
|
| 166 |
+
uint8_t error_code;
|
| 167 |
+
uint16_t sequence;
|
| 168 |
+
uint32_t bad_counter;
|
| 169 |
+
uint16_t minor_opcode;
|
| 170 |
+
uint8_t major_opcode;
|
| 171 |
+
} xcb_sync_counter_error_t;
|
| 172 |
+
|
| 173 |
+
/** Opcode for xcb_sync_alarm. */
|
| 174 |
+
#define XCB_SYNC_ALARM 1
|
| 175 |
+
|
| 176 |
+
/**
|
| 177 |
+
* @brief xcb_sync_alarm_error_t
|
| 178 |
+
**/
|
| 179 |
+
typedef struct xcb_sync_alarm_error_t {
|
| 180 |
+
uint8_t response_type;
|
| 181 |
+
uint8_t error_code;
|
| 182 |
+
uint16_t sequence;
|
| 183 |
+
uint32_t bad_alarm;
|
| 184 |
+
uint16_t minor_opcode;
|
| 185 |
+
uint8_t major_opcode;
|
| 186 |
+
} xcb_sync_alarm_error_t;
|
| 187 |
+
|
| 188 |
+
/**
|
| 189 |
+
* @brief xcb_sync_initialize_cookie_t
|
| 190 |
+
**/
|
| 191 |
+
typedef struct xcb_sync_initialize_cookie_t {
|
| 192 |
+
unsigned int sequence;
|
| 193 |
+
} xcb_sync_initialize_cookie_t;
|
| 194 |
+
|
| 195 |
+
/** Opcode for xcb_sync_initialize. */
|
| 196 |
+
#define XCB_SYNC_INITIALIZE 0
|
| 197 |
+
|
| 198 |
+
/**
|
| 199 |
+
* @brief xcb_sync_initialize_request_t
|
| 200 |
+
**/
|
| 201 |
+
typedef struct xcb_sync_initialize_request_t {
|
| 202 |
+
uint8_t major_opcode;
|
| 203 |
+
uint8_t minor_opcode;
|
| 204 |
+
uint16_t length;
|
| 205 |
+
uint8_t desired_major_version;
|
| 206 |
+
uint8_t desired_minor_version;
|
| 207 |
+
} xcb_sync_initialize_request_t;
|
| 208 |
+
|
| 209 |
+
/**
|
| 210 |
+
* @brief xcb_sync_initialize_reply_t
|
| 211 |
+
**/
|
| 212 |
+
typedef struct xcb_sync_initialize_reply_t {
|
| 213 |
+
uint8_t response_type;
|
| 214 |
+
uint8_t pad0;
|
| 215 |
+
uint16_t sequence;
|
| 216 |
+
uint32_t length;
|
| 217 |
+
uint8_t major_version;
|
| 218 |
+
uint8_t minor_version;
|
| 219 |
+
uint8_t pad1[22];
|
| 220 |
+
} xcb_sync_initialize_reply_t;
|
| 221 |
+
|
| 222 |
+
/**
|
| 223 |
+
* @brief xcb_sync_list_system_counters_cookie_t
|
| 224 |
+
**/
|
| 225 |
+
typedef struct xcb_sync_list_system_counters_cookie_t {
|
| 226 |
+
unsigned int sequence;
|
| 227 |
+
} xcb_sync_list_system_counters_cookie_t;
|
| 228 |
+
|
| 229 |
+
/** Opcode for xcb_sync_list_system_counters. */
|
| 230 |
+
#define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
|
| 231 |
+
|
| 232 |
+
/**
|
| 233 |
+
* @brief xcb_sync_list_system_counters_request_t
|
| 234 |
+
**/
|
| 235 |
+
typedef struct xcb_sync_list_system_counters_request_t {
|
| 236 |
+
uint8_t major_opcode;
|
| 237 |
+
uint8_t minor_opcode;
|
| 238 |
+
uint16_t length;
|
| 239 |
+
} xcb_sync_list_system_counters_request_t;
|
| 240 |
+
|
| 241 |
+
/**
|
| 242 |
+
* @brief xcb_sync_list_system_counters_reply_t
|
| 243 |
+
**/
|
| 244 |
+
typedef struct xcb_sync_list_system_counters_reply_t {
|
| 245 |
+
uint8_t response_type;
|
| 246 |
+
uint8_t pad0;
|
| 247 |
+
uint16_t sequence;
|
| 248 |
+
uint32_t length;
|
| 249 |
+
uint32_t counters_len;
|
| 250 |
+
uint8_t pad1[20];
|
| 251 |
+
} xcb_sync_list_system_counters_reply_t;
|
| 252 |
+
|
| 253 |
+
/** Opcode for xcb_sync_create_counter. */
|
| 254 |
+
#define XCB_SYNC_CREATE_COUNTER 2
|
| 255 |
+
|
| 256 |
+
/**
|
| 257 |
+
* @brief xcb_sync_create_counter_request_t
|
| 258 |
+
**/
|
| 259 |
+
typedef struct xcb_sync_create_counter_request_t {
|
| 260 |
+
uint8_t major_opcode;
|
| 261 |
+
uint8_t minor_opcode;
|
| 262 |
+
uint16_t length;
|
| 263 |
+
xcb_sync_counter_t id;
|
| 264 |
+
xcb_sync_int64_t initial_value;
|
| 265 |
+
} xcb_sync_create_counter_request_t;
|
| 266 |
+
|
| 267 |
+
/** Opcode for xcb_sync_destroy_counter. */
|
| 268 |
+
#define XCB_SYNC_DESTROY_COUNTER 6
|
| 269 |
+
|
| 270 |
+
/**
|
| 271 |
+
* @brief xcb_sync_destroy_counter_request_t
|
| 272 |
+
**/
|
| 273 |
+
typedef struct xcb_sync_destroy_counter_request_t {
|
| 274 |
+
uint8_t major_opcode;
|
| 275 |
+
uint8_t minor_opcode;
|
| 276 |
+
uint16_t length;
|
| 277 |
+
xcb_sync_counter_t counter;
|
| 278 |
+
} xcb_sync_destroy_counter_request_t;
|
| 279 |
+
|
| 280 |
+
/**
|
| 281 |
+
* @brief xcb_sync_query_counter_cookie_t
|
| 282 |
+
**/
|
| 283 |
+
typedef struct xcb_sync_query_counter_cookie_t {
|
| 284 |
+
unsigned int sequence;
|
| 285 |
+
} xcb_sync_query_counter_cookie_t;
|
| 286 |
+
|
| 287 |
+
/** Opcode for xcb_sync_query_counter. */
|
| 288 |
+
#define XCB_SYNC_QUERY_COUNTER 5
|
| 289 |
+
|
| 290 |
+
/**
|
| 291 |
+
* @brief xcb_sync_query_counter_request_t
|
| 292 |
+
**/
|
| 293 |
+
typedef struct xcb_sync_query_counter_request_t {
|
| 294 |
+
uint8_t major_opcode;
|
| 295 |
+
uint8_t minor_opcode;
|
| 296 |
+
uint16_t length;
|
| 297 |
+
xcb_sync_counter_t counter;
|
| 298 |
+
} xcb_sync_query_counter_request_t;
|
| 299 |
+
|
| 300 |
+
/**
|
| 301 |
+
* @brief xcb_sync_query_counter_reply_t
|
| 302 |
+
**/
|
| 303 |
+
typedef struct xcb_sync_query_counter_reply_t {
|
| 304 |
+
uint8_t response_type;
|
| 305 |
+
uint8_t pad0;
|
| 306 |
+
uint16_t sequence;
|
| 307 |
+
uint32_t length;
|
| 308 |
+
xcb_sync_int64_t counter_value;
|
| 309 |
+
} xcb_sync_query_counter_reply_t;
|
| 310 |
+
|
| 311 |
+
/** Opcode for xcb_sync_await. */
|
| 312 |
+
#define XCB_SYNC_AWAIT 7
|
| 313 |
+
|
| 314 |
+
/**
|
| 315 |
+
* @brief xcb_sync_await_request_t
|
| 316 |
+
**/
|
| 317 |
+
typedef struct xcb_sync_await_request_t {
|
| 318 |
+
uint8_t major_opcode;
|
| 319 |
+
uint8_t minor_opcode;
|
| 320 |
+
uint16_t length;
|
| 321 |
+
} xcb_sync_await_request_t;
|
| 322 |
+
|
| 323 |
+
/** Opcode for xcb_sync_change_counter. */
|
| 324 |
+
#define XCB_SYNC_CHANGE_COUNTER 4
|
| 325 |
+
|
| 326 |
+
/**
|
| 327 |
+
* @brief xcb_sync_change_counter_request_t
|
| 328 |
+
**/
|
| 329 |
+
typedef struct xcb_sync_change_counter_request_t {
|
| 330 |
+
uint8_t major_opcode;
|
| 331 |
+
uint8_t minor_opcode;
|
| 332 |
+
uint16_t length;
|
| 333 |
+
xcb_sync_counter_t counter;
|
| 334 |
+
xcb_sync_int64_t amount;
|
| 335 |
+
} xcb_sync_change_counter_request_t;
|
| 336 |
+
|
| 337 |
+
/** Opcode for xcb_sync_set_counter. */
|
| 338 |
+
#define XCB_SYNC_SET_COUNTER 3
|
| 339 |
+
|
| 340 |
+
/**
|
| 341 |
+
* @brief xcb_sync_set_counter_request_t
|
| 342 |
+
**/
|
| 343 |
+
typedef struct xcb_sync_set_counter_request_t {
|
| 344 |
+
uint8_t major_opcode;
|
| 345 |
+
uint8_t minor_opcode;
|
| 346 |
+
uint16_t length;
|
| 347 |
+
xcb_sync_counter_t counter;
|
| 348 |
+
xcb_sync_int64_t value;
|
| 349 |
+
} xcb_sync_set_counter_request_t;
|
| 350 |
+
|
| 351 |
+
/**
|
| 352 |
+
* @brief xcb_sync_create_alarm_value_list_t
|
| 353 |
+
**/
|
| 354 |
+
typedef struct xcb_sync_create_alarm_value_list_t {
|
| 355 |
+
xcb_sync_counter_t counter;
|
| 356 |
+
uint32_t valueType;
|
| 357 |
+
xcb_sync_int64_t value;
|
| 358 |
+
uint32_t testType;
|
| 359 |
+
xcb_sync_int64_t delta;
|
| 360 |
+
uint32_t events;
|
| 361 |
+
} xcb_sync_create_alarm_value_list_t;
|
| 362 |
+
|
| 363 |
+
/** Opcode for xcb_sync_create_alarm. */
|
| 364 |
+
#define XCB_SYNC_CREATE_ALARM 8
|
| 365 |
+
|
| 366 |
+
/**
|
| 367 |
+
* @brief xcb_sync_create_alarm_request_t
|
| 368 |
+
**/
|
| 369 |
+
typedef struct xcb_sync_create_alarm_request_t {
|
| 370 |
+
uint8_t major_opcode;
|
| 371 |
+
uint8_t minor_opcode;
|
| 372 |
+
uint16_t length;
|
| 373 |
+
xcb_sync_alarm_t id;
|
| 374 |
+
uint32_t value_mask;
|
| 375 |
+
} xcb_sync_create_alarm_request_t;
|
| 376 |
+
|
| 377 |
+
/**
|
| 378 |
+
* @brief xcb_sync_change_alarm_value_list_t
|
| 379 |
+
**/
|
| 380 |
+
typedef struct xcb_sync_change_alarm_value_list_t {
|
| 381 |
+
xcb_sync_counter_t counter;
|
| 382 |
+
uint32_t valueType;
|
| 383 |
+
xcb_sync_int64_t value;
|
| 384 |
+
uint32_t testType;
|
| 385 |
+
xcb_sync_int64_t delta;
|
| 386 |
+
uint32_t events;
|
| 387 |
+
} xcb_sync_change_alarm_value_list_t;
|
| 388 |
+
|
| 389 |
+
/** Opcode for xcb_sync_change_alarm. */
|
| 390 |
+
#define XCB_SYNC_CHANGE_ALARM 9
|
| 391 |
+
|
| 392 |
+
/**
|
| 393 |
+
* @brief xcb_sync_change_alarm_request_t
|
| 394 |
+
**/
|
| 395 |
+
typedef struct xcb_sync_change_alarm_request_t {
|
| 396 |
+
uint8_t major_opcode;
|
| 397 |
+
uint8_t minor_opcode;
|
| 398 |
+
uint16_t length;
|
| 399 |
+
xcb_sync_alarm_t id;
|
| 400 |
+
uint32_t value_mask;
|
| 401 |
+
} xcb_sync_change_alarm_request_t;
|
| 402 |
+
|
| 403 |
+
/** Opcode for xcb_sync_destroy_alarm. */
|
| 404 |
+
#define XCB_SYNC_DESTROY_ALARM 11
|
| 405 |
+
|
| 406 |
+
/**
|
| 407 |
+
* @brief xcb_sync_destroy_alarm_request_t
|
| 408 |
+
**/
|
| 409 |
+
typedef struct xcb_sync_destroy_alarm_request_t {
|
| 410 |
+
uint8_t major_opcode;
|
| 411 |
+
uint8_t minor_opcode;
|
| 412 |
+
uint16_t length;
|
| 413 |
+
xcb_sync_alarm_t alarm;
|
| 414 |
+
} xcb_sync_destroy_alarm_request_t;
|
| 415 |
+
|
| 416 |
+
/**
|
| 417 |
+
* @brief xcb_sync_query_alarm_cookie_t
|
| 418 |
+
**/
|
| 419 |
+
typedef struct xcb_sync_query_alarm_cookie_t {
|
| 420 |
+
unsigned int sequence;
|
| 421 |
+
} xcb_sync_query_alarm_cookie_t;
|
| 422 |
+
|
| 423 |
+
/** Opcode for xcb_sync_query_alarm. */
|
| 424 |
+
#define XCB_SYNC_QUERY_ALARM 10
|
| 425 |
+
|
| 426 |
+
/**
|
| 427 |
+
* @brief xcb_sync_query_alarm_request_t
|
| 428 |
+
**/
|
| 429 |
+
typedef struct xcb_sync_query_alarm_request_t {
|
| 430 |
+
uint8_t major_opcode;
|
| 431 |
+
uint8_t minor_opcode;
|
| 432 |
+
uint16_t length;
|
| 433 |
+
xcb_sync_alarm_t alarm;
|
| 434 |
+
} xcb_sync_query_alarm_request_t;
|
| 435 |
+
|
| 436 |
+
/**
|
| 437 |
+
* @brief xcb_sync_query_alarm_reply_t
|
| 438 |
+
**/
|
| 439 |
+
typedef struct xcb_sync_query_alarm_reply_t {
|
| 440 |
+
uint8_t response_type;
|
| 441 |
+
uint8_t pad0;
|
| 442 |
+
uint16_t sequence;
|
| 443 |
+
uint32_t length;
|
| 444 |
+
xcb_sync_trigger_t trigger;
|
| 445 |
+
xcb_sync_int64_t delta;
|
| 446 |
+
uint8_t events;
|
| 447 |
+
uint8_t state;
|
| 448 |
+
uint8_t pad1[2];
|
| 449 |
+
} xcb_sync_query_alarm_reply_t;
|
| 450 |
+
|
| 451 |
+
/** Opcode for xcb_sync_set_priority. */
|
| 452 |
+
#define XCB_SYNC_SET_PRIORITY 12
|
| 453 |
+
|
| 454 |
+
/**
|
| 455 |
+
* @brief xcb_sync_set_priority_request_t
|
| 456 |
+
**/
|
| 457 |
+
typedef struct xcb_sync_set_priority_request_t {
|
| 458 |
+
uint8_t major_opcode;
|
| 459 |
+
uint8_t minor_opcode;
|
| 460 |
+
uint16_t length;
|
| 461 |
+
uint32_t id;
|
| 462 |
+
int32_t priority;
|
| 463 |
+
} xcb_sync_set_priority_request_t;
|
| 464 |
+
|
| 465 |
+
/**
|
| 466 |
+
* @brief xcb_sync_get_priority_cookie_t
|
| 467 |
+
**/
|
| 468 |
+
typedef struct xcb_sync_get_priority_cookie_t {
|
| 469 |
+
unsigned int sequence;
|
| 470 |
+
} xcb_sync_get_priority_cookie_t;
|
| 471 |
+
|
| 472 |
+
/** Opcode for xcb_sync_get_priority. */
|
| 473 |
+
#define XCB_SYNC_GET_PRIORITY 13
|
| 474 |
+
|
| 475 |
+
/**
|
| 476 |
+
* @brief xcb_sync_get_priority_request_t
|
| 477 |
+
**/
|
| 478 |
+
typedef struct xcb_sync_get_priority_request_t {
|
| 479 |
+
uint8_t major_opcode;
|
| 480 |
+
uint8_t minor_opcode;
|
| 481 |
+
uint16_t length;
|
| 482 |
+
uint32_t id;
|
| 483 |
+
} xcb_sync_get_priority_request_t;
|
| 484 |
+
|
| 485 |
+
/**
|
| 486 |
+
* @brief xcb_sync_get_priority_reply_t
|
| 487 |
+
**/
|
| 488 |
+
typedef struct xcb_sync_get_priority_reply_t {
|
| 489 |
+
uint8_t response_type;
|
| 490 |
+
uint8_t pad0;
|
| 491 |
+
uint16_t sequence;
|
| 492 |
+
uint32_t length;
|
| 493 |
+
int32_t priority;
|
| 494 |
+
} xcb_sync_get_priority_reply_t;
|
| 495 |
+
|
| 496 |
+
/** Opcode for xcb_sync_create_fence. */
|
| 497 |
+
#define XCB_SYNC_CREATE_FENCE 14
|
| 498 |
+
|
| 499 |
+
/**
|
| 500 |
+
* @brief xcb_sync_create_fence_request_t
|
| 501 |
+
**/
|
| 502 |
+
typedef struct xcb_sync_create_fence_request_t {
|
| 503 |
+
uint8_t major_opcode;
|
| 504 |
+
uint8_t minor_opcode;
|
| 505 |
+
uint16_t length;
|
| 506 |
+
xcb_drawable_t drawable;
|
| 507 |
+
xcb_sync_fence_t fence;
|
| 508 |
+
uint8_t initially_triggered;
|
| 509 |
+
} xcb_sync_create_fence_request_t;
|
| 510 |
+
|
| 511 |
+
/** Opcode for xcb_sync_trigger_fence. */
|
| 512 |
+
#define XCB_SYNC_TRIGGER_FENCE 15
|
| 513 |
+
|
| 514 |
+
/**
|
| 515 |
+
* @brief xcb_sync_trigger_fence_request_t
|
| 516 |
+
**/
|
| 517 |
+
typedef struct xcb_sync_trigger_fence_request_t {
|
| 518 |
+
uint8_t major_opcode;
|
| 519 |
+
uint8_t minor_opcode;
|
| 520 |
+
uint16_t length;
|
| 521 |
+
xcb_sync_fence_t fence;
|
| 522 |
+
} xcb_sync_trigger_fence_request_t;
|
| 523 |
+
|
| 524 |
+
/** Opcode for xcb_sync_reset_fence. */
|
| 525 |
+
#define XCB_SYNC_RESET_FENCE 16
|
| 526 |
+
|
| 527 |
+
/**
|
| 528 |
+
* @brief xcb_sync_reset_fence_request_t
|
| 529 |
+
**/
|
| 530 |
+
typedef struct xcb_sync_reset_fence_request_t {
|
| 531 |
+
uint8_t major_opcode;
|
| 532 |
+
uint8_t minor_opcode;
|
| 533 |
+
uint16_t length;
|
| 534 |
+
xcb_sync_fence_t fence;
|
| 535 |
+
} xcb_sync_reset_fence_request_t;
|
| 536 |
+
|
| 537 |
+
/** Opcode for xcb_sync_destroy_fence. */
|
| 538 |
+
#define XCB_SYNC_DESTROY_FENCE 17
|
| 539 |
+
|
| 540 |
+
/**
|
| 541 |
+
* @brief xcb_sync_destroy_fence_request_t
|
| 542 |
+
**/
|
| 543 |
+
typedef struct xcb_sync_destroy_fence_request_t {
|
| 544 |
+
uint8_t major_opcode;
|
| 545 |
+
uint8_t minor_opcode;
|
| 546 |
+
uint16_t length;
|
| 547 |
+
xcb_sync_fence_t fence;
|
| 548 |
+
} xcb_sync_destroy_fence_request_t;
|
| 549 |
+
|
| 550 |
+
/**
|
| 551 |
+
* @brief xcb_sync_query_fence_cookie_t
|
| 552 |
+
**/
|
| 553 |
+
typedef struct xcb_sync_query_fence_cookie_t {
|
| 554 |
+
unsigned int sequence;
|
| 555 |
+
} xcb_sync_query_fence_cookie_t;
|
| 556 |
+
|
| 557 |
+
/** Opcode for xcb_sync_query_fence. */
|
| 558 |
+
#define XCB_SYNC_QUERY_FENCE 18
|
| 559 |
+
|
| 560 |
+
/**
|
| 561 |
+
* @brief xcb_sync_query_fence_request_t
|
| 562 |
+
**/
|
| 563 |
+
typedef struct xcb_sync_query_fence_request_t {
|
| 564 |
+
uint8_t major_opcode;
|
| 565 |
+
uint8_t minor_opcode;
|
| 566 |
+
uint16_t length;
|
| 567 |
+
xcb_sync_fence_t fence;
|
| 568 |
+
} xcb_sync_query_fence_request_t;
|
| 569 |
+
|
| 570 |
+
/**
|
| 571 |
+
* @brief xcb_sync_query_fence_reply_t
|
| 572 |
+
**/
|
| 573 |
+
typedef struct xcb_sync_query_fence_reply_t {
|
| 574 |
+
uint8_t response_type;
|
| 575 |
+
uint8_t pad0;
|
| 576 |
+
uint16_t sequence;
|
| 577 |
+
uint32_t length;
|
| 578 |
+
uint8_t triggered;
|
| 579 |
+
uint8_t pad1[23];
|
| 580 |
+
} xcb_sync_query_fence_reply_t;
|
| 581 |
+
|
| 582 |
+
/** Opcode for xcb_sync_await_fence. */
|
| 583 |
+
#define XCB_SYNC_AWAIT_FENCE 19
|
| 584 |
+
|
| 585 |
+
/**
|
| 586 |
+
* @brief xcb_sync_await_fence_request_t
|
| 587 |
+
**/
|
| 588 |
+
typedef struct xcb_sync_await_fence_request_t {
|
| 589 |
+
uint8_t major_opcode;
|
| 590 |
+
uint8_t minor_opcode;
|
| 591 |
+
uint16_t length;
|
| 592 |
+
} xcb_sync_await_fence_request_t;
|
| 593 |
+
|
| 594 |
+
/** Opcode for xcb_sync_counter_notify. */
|
| 595 |
+
#define XCB_SYNC_COUNTER_NOTIFY 0
|
| 596 |
+
|
| 597 |
+
/**
|
| 598 |
+
* @brief xcb_sync_counter_notify_event_t
|
| 599 |
+
**/
|
| 600 |
+
typedef struct xcb_sync_counter_notify_event_t {
|
| 601 |
+
uint8_t response_type;
|
| 602 |
+
uint8_t kind;
|
| 603 |
+
uint16_t sequence;
|
| 604 |
+
xcb_sync_counter_t counter;
|
| 605 |
+
xcb_sync_int64_t wait_value;
|
| 606 |
+
xcb_sync_int64_t counter_value;
|
| 607 |
+
xcb_timestamp_t timestamp;
|
| 608 |
+
uint16_t count;
|
| 609 |
+
uint8_t destroyed;
|
| 610 |
+
uint8_t pad0;
|
| 611 |
+
} xcb_sync_counter_notify_event_t;
|
| 612 |
+
|
| 613 |
+
/** Opcode for xcb_sync_alarm_notify. */
|
| 614 |
+
#define XCB_SYNC_ALARM_NOTIFY 1
|
| 615 |
+
|
| 616 |
+
/**
|
| 617 |
+
* @brief xcb_sync_alarm_notify_event_t
|
| 618 |
+
**/
|
| 619 |
+
typedef struct xcb_sync_alarm_notify_event_t {
|
| 620 |
+
uint8_t response_type;
|
| 621 |
+
uint8_t kind;
|
| 622 |
+
uint16_t sequence;
|
| 623 |
+
xcb_sync_alarm_t alarm;
|
| 624 |
+
xcb_sync_int64_t counter_value;
|
| 625 |
+
xcb_sync_int64_t alarm_value;
|
| 626 |
+
xcb_timestamp_t timestamp;
|
| 627 |
+
uint8_t state;
|
| 628 |
+
uint8_t pad0[3];
|
| 629 |
+
} xcb_sync_alarm_notify_event_t;
|
| 630 |
+
|
| 631 |
+
/**
|
| 632 |
+
* Get the next element of the iterator
|
| 633 |
+
* @param i Pointer to a xcb_sync_alarm_iterator_t
|
| 634 |
+
*
|
| 635 |
+
* Get the next element in the iterator. The member rem is
|
| 636 |
+
* decreased by one. The member data points to the next
|
| 637 |
+
* element. The member index is increased by sizeof(xcb_sync_alarm_t)
|
| 638 |
+
*/
|
| 639 |
+
void
|
| 640 |
+
xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i);
|
| 641 |
+
|
| 642 |
+
/**
|
| 643 |
+
* Return the iterator pointing to the last element
|
| 644 |
+
* @param i An xcb_sync_alarm_iterator_t
|
| 645 |
+
* @return The iterator pointing to the last element
|
| 646 |
+
*
|
| 647 |
+
* Set the current element in the iterator to the last element.
|
| 648 |
+
* The member rem is set to 0. The member data points to the
|
| 649 |
+
* last element.
|
| 650 |
+
*/
|
| 651 |
+
xcb_generic_iterator_t
|
| 652 |
+
xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i);
|
| 653 |
+
|
| 654 |
+
/**
|
| 655 |
+
* Get the next element of the iterator
|
| 656 |
+
* @param i Pointer to a xcb_sync_counter_iterator_t
|
| 657 |
+
*
|
| 658 |
+
* Get the next element in the iterator. The member rem is
|
| 659 |
+
* decreased by one. The member data points to the next
|
| 660 |
+
* element. The member index is increased by sizeof(xcb_sync_counter_t)
|
| 661 |
+
*/
|
| 662 |
+
void
|
| 663 |
+
xcb_sync_counter_next (xcb_sync_counter_iterator_t *i);
|
| 664 |
+
|
| 665 |
+
/**
|
| 666 |
+
* Return the iterator pointing to the last element
|
| 667 |
+
* @param i An xcb_sync_counter_iterator_t
|
| 668 |
+
* @return The iterator pointing to the last element
|
| 669 |
+
*
|
| 670 |
+
* Set the current element in the iterator to the last element.
|
| 671 |
+
* The member rem is set to 0. The member data points to the
|
| 672 |
+
* last element.
|
| 673 |
+
*/
|
| 674 |
+
xcb_generic_iterator_t
|
| 675 |
+
xcb_sync_counter_end (xcb_sync_counter_iterator_t i);
|
| 676 |
+
|
| 677 |
+
/**
|
| 678 |
+
* Get the next element of the iterator
|
| 679 |
+
* @param i Pointer to a xcb_sync_fence_iterator_t
|
| 680 |
+
*
|
| 681 |
+
* Get the next element in the iterator. The member rem is
|
| 682 |
+
* decreased by one. The member data points to the next
|
| 683 |
+
* element. The member index is increased by sizeof(xcb_sync_fence_t)
|
| 684 |
+
*/
|
| 685 |
+
void
|
| 686 |
+
xcb_sync_fence_next (xcb_sync_fence_iterator_t *i);
|
| 687 |
+
|
| 688 |
+
/**
|
| 689 |
+
* Return the iterator pointing to the last element
|
| 690 |
+
* @param i An xcb_sync_fence_iterator_t
|
| 691 |
+
* @return The iterator pointing to the last element
|
| 692 |
+
*
|
| 693 |
+
* Set the current element in the iterator to the last element.
|
| 694 |
+
* The member rem is set to 0. The member data points to the
|
| 695 |
+
* last element.
|
| 696 |
+
*/
|
| 697 |
+
xcb_generic_iterator_t
|
| 698 |
+
xcb_sync_fence_end (xcb_sync_fence_iterator_t i);
|
| 699 |
+
|
| 700 |
+
/**
|
| 701 |
+
* Get the next element of the iterator
|
| 702 |
+
* @param i Pointer to a xcb_sync_int64_iterator_t
|
| 703 |
+
*
|
| 704 |
+
* Get the next element in the iterator. The member rem is
|
| 705 |
+
* decreased by one. The member data points to the next
|
| 706 |
+
* element. The member index is increased by sizeof(xcb_sync_int64_t)
|
| 707 |
+
*/
|
| 708 |
+
void
|
| 709 |
+
xcb_sync_int64_next (xcb_sync_int64_iterator_t *i);
|
| 710 |
+
|
| 711 |
+
/**
|
| 712 |
+
* Return the iterator pointing to the last element
|
| 713 |
+
* @param i An xcb_sync_int64_iterator_t
|
| 714 |
+
* @return The iterator pointing to the last element
|
| 715 |
+
*
|
| 716 |
+
* Set the current element in the iterator to the last element.
|
| 717 |
+
* The member rem is set to 0. The member data points to the
|
| 718 |
+
* last element.
|
| 719 |
+
*/
|
| 720 |
+
xcb_generic_iterator_t
|
| 721 |
+
xcb_sync_int64_end (xcb_sync_int64_iterator_t i);
|
| 722 |
+
|
| 723 |
+
int
|
| 724 |
+
xcb_sync_systemcounter_sizeof (const void *_buffer);
|
| 725 |
+
|
| 726 |
+
char *
|
| 727 |
+
xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R);
|
| 728 |
+
|
| 729 |
+
int
|
| 730 |
+
xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R);
|
| 731 |
+
|
| 732 |
+
xcb_generic_iterator_t
|
| 733 |
+
xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R);
|
| 734 |
+
|
| 735 |
+
/**
|
| 736 |
+
* Get the next element of the iterator
|
| 737 |
+
* @param i Pointer to a xcb_sync_systemcounter_iterator_t
|
| 738 |
+
*
|
| 739 |
+
* Get the next element in the iterator. The member rem is
|
| 740 |
+
* decreased by one. The member data points to the next
|
| 741 |
+
* element. The member index is increased by sizeof(xcb_sync_systemcounter_t)
|
| 742 |
+
*/
|
| 743 |
+
void
|
| 744 |
+
xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i);
|
| 745 |
+
|
| 746 |
+
/**
|
| 747 |
+
* Return the iterator pointing to the last element
|
| 748 |
+
* @param i An xcb_sync_systemcounter_iterator_t
|
| 749 |
+
* @return The iterator pointing to the last element
|
| 750 |
+
*
|
| 751 |
+
* Set the current element in the iterator to the last element.
|
| 752 |
+
* The member rem is set to 0. The member data points to the
|
| 753 |
+
* last element.
|
| 754 |
+
*/
|
| 755 |
+
xcb_generic_iterator_t
|
| 756 |
+
xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i);
|
| 757 |
+
|
| 758 |
+
/**
|
| 759 |
+
* Get the next element of the iterator
|
| 760 |
+
* @param i Pointer to a xcb_sync_trigger_iterator_t
|
| 761 |
+
*
|
| 762 |
+
* Get the next element in the iterator. The member rem is
|
| 763 |
+
* decreased by one. The member data points to the next
|
| 764 |
+
* element. The member index is increased by sizeof(xcb_sync_trigger_t)
|
| 765 |
+
*/
|
| 766 |
+
void
|
| 767 |
+
xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i);
|
| 768 |
+
|
| 769 |
+
/**
|
| 770 |
+
* Return the iterator pointing to the last element
|
| 771 |
+
* @param i An xcb_sync_trigger_iterator_t
|
| 772 |
+
* @return The iterator pointing to the last element
|
| 773 |
+
*
|
| 774 |
+
* Set the current element in the iterator to the last element.
|
| 775 |
+
* The member rem is set to 0. The member data points to the
|
| 776 |
+
* last element.
|
| 777 |
+
*/
|
| 778 |
+
xcb_generic_iterator_t
|
| 779 |
+
xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i);
|
| 780 |
+
|
| 781 |
+
/**
|
| 782 |
+
* Get the next element of the iterator
|
| 783 |
+
* @param i Pointer to a xcb_sync_waitcondition_iterator_t
|
| 784 |
+
*
|
| 785 |
+
* Get the next element in the iterator. The member rem is
|
| 786 |
+
* decreased by one. The member data points to the next
|
| 787 |
+
* element. The member index is increased by sizeof(xcb_sync_waitcondition_t)
|
| 788 |
+
*/
|
| 789 |
+
void
|
| 790 |
+
xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i);
|
| 791 |
+
|
| 792 |
+
/**
|
| 793 |
+
* Return the iterator pointing to the last element
|
| 794 |
+
* @param i An xcb_sync_waitcondition_iterator_t
|
| 795 |
+
* @return The iterator pointing to the last element
|
| 796 |
+
*
|
| 797 |
+
* Set the current element in the iterator to the last element.
|
| 798 |
+
* The member rem is set to 0. The member data points to the
|
| 799 |
+
* last element.
|
| 800 |
+
*/
|
| 801 |
+
xcb_generic_iterator_t
|
| 802 |
+
xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i);
|
| 803 |
+
|
| 804 |
+
/**
|
| 805 |
+
*
|
| 806 |
+
* @param c The connection
|
| 807 |
+
* @return A cookie
|
| 808 |
+
*
|
| 809 |
+
* Delivers a request to the X server.
|
| 810 |
+
*
|
| 811 |
+
*/
|
| 812 |
+
xcb_sync_initialize_cookie_t
|
| 813 |
+
xcb_sync_initialize (xcb_connection_t *c,
|
| 814 |
+
uint8_t desired_major_version,
|
| 815 |
+
uint8_t desired_minor_version);
|
| 816 |
+
|
| 817 |
+
/**
|
| 818 |
+
*
|
| 819 |
+
* @param c The connection
|
| 820 |
+
* @return A cookie
|
| 821 |
+
*
|
| 822 |
+
* Delivers a request to the X server.
|
| 823 |
+
*
|
| 824 |
+
* This form can be used only if the request will cause
|
| 825 |
+
* a reply to be generated. Any returned error will be
|
| 826 |
+
* placed in the event queue.
|
| 827 |
+
*/
|
| 828 |
+
xcb_sync_initialize_cookie_t
|
| 829 |
+
xcb_sync_initialize_unchecked (xcb_connection_t *c,
|
| 830 |
+
uint8_t desired_major_version,
|
| 831 |
+
uint8_t desired_minor_version);
|
| 832 |
+
|
| 833 |
+
/**
|
| 834 |
+
* Return the reply
|
| 835 |
+
* @param c The connection
|
| 836 |
+
* @param cookie The cookie
|
| 837 |
+
* @param e The xcb_generic_error_t supplied
|
| 838 |
+
*
|
| 839 |
+
* Returns the reply of the request asked by
|
| 840 |
+
*
|
| 841 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 842 |
+
* xcb_sync_initialize_unchecked(). is used.
|
| 843 |
+
* Otherwise, it stores the error if any.
|
| 844 |
+
*
|
| 845 |
+
* The returned value must be freed by the caller using free().
|
| 846 |
+
*/
|
| 847 |
+
xcb_sync_initialize_reply_t *
|
| 848 |
+
xcb_sync_initialize_reply (xcb_connection_t *c,
|
| 849 |
+
xcb_sync_initialize_cookie_t cookie /**< */,
|
| 850 |
+
xcb_generic_error_t **e);
|
| 851 |
+
|
| 852 |
+
int
|
| 853 |
+
xcb_sync_list_system_counters_sizeof (const void *_buffer);
|
| 854 |
+
|
| 855 |
+
/**
|
| 856 |
+
*
|
| 857 |
+
* @param c The connection
|
| 858 |
+
* @return A cookie
|
| 859 |
+
*
|
| 860 |
+
* Delivers a request to the X server.
|
| 861 |
+
*
|
| 862 |
+
*/
|
| 863 |
+
xcb_sync_list_system_counters_cookie_t
|
| 864 |
+
xcb_sync_list_system_counters (xcb_connection_t *c);
|
| 865 |
+
|
| 866 |
+
/**
|
| 867 |
+
*
|
| 868 |
+
* @param c The connection
|
| 869 |
+
* @return A cookie
|
| 870 |
+
*
|
| 871 |
+
* Delivers a request to the X server.
|
| 872 |
+
*
|
| 873 |
+
* This form can be used only if the request will cause
|
| 874 |
+
* a reply to be generated. Any returned error will be
|
| 875 |
+
* placed in the event queue.
|
| 876 |
+
*/
|
| 877 |
+
xcb_sync_list_system_counters_cookie_t
|
| 878 |
+
xcb_sync_list_system_counters_unchecked (xcb_connection_t *c);
|
| 879 |
+
|
| 880 |
+
int
|
| 881 |
+
xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R);
|
| 882 |
+
|
| 883 |
+
xcb_sync_systemcounter_iterator_t
|
| 884 |
+
xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R);
|
| 885 |
+
|
| 886 |
+
/**
|
| 887 |
+
* Return the reply
|
| 888 |
+
* @param c The connection
|
| 889 |
+
* @param cookie The cookie
|
| 890 |
+
* @param e The xcb_generic_error_t supplied
|
| 891 |
+
*
|
| 892 |
+
* Returns the reply of the request asked by
|
| 893 |
+
*
|
| 894 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 895 |
+
* xcb_sync_list_system_counters_unchecked(). is used.
|
| 896 |
+
* Otherwise, it stores the error if any.
|
| 897 |
+
*
|
| 898 |
+
* The returned value must be freed by the caller using free().
|
| 899 |
+
*/
|
| 900 |
+
xcb_sync_list_system_counters_reply_t *
|
| 901 |
+
xcb_sync_list_system_counters_reply (xcb_connection_t *c,
|
| 902 |
+
xcb_sync_list_system_counters_cookie_t cookie /**< */,
|
| 903 |
+
xcb_generic_error_t **e);
|
| 904 |
+
|
| 905 |
+
/**
|
| 906 |
+
*
|
| 907 |
+
* @param c The connection
|
| 908 |
+
* @return A cookie
|
| 909 |
+
*
|
| 910 |
+
* Delivers a request to the X server.
|
| 911 |
+
*
|
| 912 |
+
* This form can be used only if the request will not cause
|
| 913 |
+
* a reply to be generated. Any returned error will be
|
| 914 |
+
* saved for handling by xcb_request_check().
|
| 915 |
+
*/
|
| 916 |
+
xcb_void_cookie_t
|
| 917 |
+
xcb_sync_create_counter_checked (xcb_connection_t *c,
|
| 918 |
+
xcb_sync_counter_t id,
|
| 919 |
+
xcb_sync_int64_t initial_value);
|
| 920 |
+
|
| 921 |
+
/**
|
| 922 |
+
*
|
| 923 |
+
* @param c The connection
|
| 924 |
+
* @return A cookie
|
| 925 |
+
*
|
| 926 |
+
* Delivers a request to the X server.
|
| 927 |
+
*
|
| 928 |
+
*/
|
| 929 |
+
xcb_void_cookie_t
|
| 930 |
+
xcb_sync_create_counter (xcb_connection_t *c,
|
| 931 |
+
xcb_sync_counter_t id,
|
| 932 |
+
xcb_sync_int64_t initial_value);
|
| 933 |
+
|
| 934 |
+
/**
|
| 935 |
+
*
|
| 936 |
+
* @param c The connection
|
| 937 |
+
* @return A cookie
|
| 938 |
+
*
|
| 939 |
+
* Delivers a request to the X server.
|
| 940 |
+
*
|
| 941 |
+
* This form can be used only if the request will not cause
|
| 942 |
+
* a reply to be generated. Any returned error will be
|
| 943 |
+
* saved for handling by xcb_request_check().
|
| 944 |
+
*/
|
| 945 |
+
xcb_void_cookie_t
|
| 946 |
+
xcb_sync_destroy_counter_checked (xcb_connection_t *c,
|
| 947 |
+
xcb_sync_counter_t counter);
|
| 948 |
+
|
| 949 |
+
/**
|
| 950 |
+
*
|
| 951 |
+
* @param c The connection
|
| 952 |
+
* @return A cookie
|
| 953 |
+
*
|
| 954 |
+
* Delivers a request to the X server.
|
| 955 |
+
*
|
| 956 |
+
*/
|
| 957 |
+
xcb_void_cookie_t
|
| 958 |
+
xcb_sync_destroy_counter (xcb_connection_t *c,
|
| 959 |
+
xcb_sync_counter_t counter);
|
| 960 |
+
|
| 961 |
+
/**
|
| 962 |
+
*
|
| 963 |
+
* @param c The connection
|
| 964 |
+
* @return A cookie
|
| 965 |
+
*
|
| 966 |
+
* Delivers a request to the X server.
|
| 967 |
+
*
|
| 968 |
+
*/
|
| 969 |
+
xcb_sync_query_counter_cookie_t
|
| 970 |
+
xcb_sync_query_counter (xcb_connection_t *c,
|
| 971 |
+
xcb_sync_counter_t counter);
|
| 972 |
+
|
| 973 |
+
/**
|
| 974 |
+
*
|
| 975 |
+
* @param c The connection
|
| 976 |
+
* @return A cookie
|
| 977 |
+
*
|
| 978 |
+
* Delivers a request to the X server.
|
| 979 |
+
*
|
| 980 |
+
* This form can be used only if the request will cause
|
| 981 |
+
* a reply to be generated. Any returned error will be
|
| 982 |
+
* placed in the event queue.
|
| 983 |
+
*/
|
| 984 |
+
xcb_sync_query_counter_cookie_t
|
| 985 |
+
xcb_sync_query_counter_unchecked (xcb_connection_t *c,
|
| 986 |
+
xcb_sync_counter_t counter);
|
| 987 |
+
|
| 988 |
+
/**
|
| 989 |
+
* Return the reply
|
| 990 |
+
* @param c The connection
|
| 991 |
+
* @param cookie The cookie
|
| 992 |
+
* @param e The xcb_generic_error_t supplied
|
| 993 |
+
*
|
| 994 |
+
* Returns the reply of the request asked by
|
| 995 |
+
*
|
| 996 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 997 |
+
* xcb_sync_query_counter_unchecked(). is used.
|
| 998 |
+
* Otherwise, it stores the error if any.
|
| 999 |
+
*
|
| 1000 |
+
* The returned value must be freed by the caller using free().
|
| 1001 |
+
*/
|
| 1002 |
+
xcb_sync_query_counter_reply_t *
|
| 1003 |
+
xcb_sync_query_counter_reply (xcb_connection_t *c,
|
| 1004 |
+
xcb_sync_query_counter_cookie_t cookie /**< */,
|
| 1005 |
+
xcb_generic_error_t **e);
|
| 1006 |
+
|
| 1007 |
+
int
|
| 1008 |
+
xcb_sync_await_sizeof (const void *_buffer,
|
| 1009 |
+
uint32_t wait_list_len);
|
| 1010 |
+
|
| 1011 |
+
/**
|
| 1012 |
+
*
|
| 1013 |
+
* @param c The connection
|
| 1014 |
+
* @return A cookie
|
| 1015 |
+
*
|
| 1016 |
+
* Delivers a request to the X server.
|
| 1017 |
+
*
|
| 1018 |
+
* This form can be used only if the request will not cause
|
| 1019 |
+
* a reply to be generated. Any returned error will be
|
| 1020 |
+
* saved for handling by xcb_request_check().
|
| 1021 |
+
*/
|
| 1022 |
+
xcb_void_cookie_t
|
| 1023 |
+
xcb_sync_await_checked (xcb_connection_t *c,
|
| 1024 |
+
uint32_t wait_list_len,
|
| 1025 |
+
const xcb_sync_waitcondition_t *wait_list);
|
| 1026 |
+
|
| 1027 |
+
/**
|
| 1028 |
+
*
|
| 1029 |
+
* @param c The connection
|
| 1030 |
+
* @return A cookie
|
| 1031 |
+
*
|
| 1032 |
+
* Delivers a request to the X server.
|
| 1033 |
+
*
|
| 1034 |
+
*/
|
| 1035 |
+
xcb_void_cookie_t
|
| 1036 |
+
xcb_sync_await (xcb_connection_t *c,
|
| 1037 |
+
uint32_t wait_list_len,
|
| 1038 |
+
const xcb_sync_waitcondition_t *wait_list);
|
| 1039 |
+
|
| 1040 |
+
xcb_sync_waitcondition_t *
|
| 1041 |
+
xcb_sync_await_wait_list (const xcb_sync_await_request_t *R);
|
| 1042 |
+
|
| 1043 |
+
int
|
| 1044 |
+
xcb_sync_await_wait_list_length (const xcb_sync_await_request_t *R);
|
| 1045 |
+
|
| 1046 |
+
xcb_sync_waitcondition_iterator_t
|
| 1047 |
+
xcb_sync_await_wait_list_iterator (const xcb_sync_await_request_t *R);
|
| 1048 |
+
|
| 1049 |
+
/**
|
| 1050 |
+
*
|
| 1051 |
+
* @param c The connection
|
| 1052 |
+
* @return A cookie
|
| 1053 |
+
*
|
| 1054 |
+
* Delivers a request to the X server.
|
| 1055 |
+
*
|
| 1056 |
+
* This form can be used only if the request will not cause
|
| 1057 |
+
* a reply to be generated. Any returned error will be
|
| 1058 |
+
* saved for handling by xcb_request_check().
|
| 1059 |
+
*/
|
| 1060 |
+
xcb_void_cookie_t
|
| 1061 |
+
xcb_sync_change_counter_checked (xcb_connection_t *c,
|
| 1062 |
+
xcb_sync_counter_t counter,
|
| 1063 |
+
xcb_sync_int64_t amount);
|
| 1064 |
+
|
| 1065 |
+
/**
|
| 1066 |
+
*
|
| 1067 |
+
* @param c The connection
|
| 1068 |
+
* @return A cookie
|
| 1069 |
+
*
|
| 1070 |
+
* Delivers a request to the X server.
|
| 1071 |
+
*
|
| 1072 |
+
*/
|
| 1073 |
+
xcb_void_cookie_t
|
| 1074 |
+
xcb_sync_change_counter (xcb_connection_t *c,
|
| 1075 |
+
xcb_sync_counter_t counter,
|
| 1076 |
+
xcb_sync_int64_t amount);
|
| 1077 |
+
|
| 1078 |
+
/**
|
| 1079 |
+
*
|
| 1080 |
+
* @param c The connection
|
| 1081 |
+
* @return A cookie
|
| 1082 |
+
*
|
| 1083 |
+
* Delivers a request to the X server.
|
| 1084 |
+
*
|
| 1085 |
+
* This form can be used only if the request will not cause
|
| 1086 |
+
* a reply to be generated. Any returned error will be
|
| 1087 |
+
* saved for handling by xcb_request_check().
|
| 1088 |
+
*/
|
| 1089 |
+
xcb_void_cookie_t
|
| 1090 |
+
xcb_sync_set_counter_checked (xcb_connection_t *c,
|
| 1091 |
+
xcb_sync_counter_t counter,
|
| 1092 |
+
xcb_sync_int64_t value);
|
| 1093 |
+
|
| 1094 |
+
/**
|
| 1095 |
+
*
|
| 1096 |
+
* @param c The connection
|
| 1097 |
+
* @return A cookie
|
| 1098 |
+
*
|
| 1099 |
+
* Delivers a request to the X server.
|
| 1100 |
+
*
|
| 1101 |
+
*/
|
| 1102 |
+
xcb_void_cookie_t
|
| 1103 |
+
xcb_sync_set_counter (xcb_connection_t *c,
|
| 1104 |
+
xcb_sync_counter_t counter,
|
| 1105 |
+
xcb_sync_int64_t value);
|
| 1106 |
+
|
| 1107 |
+
int
|
| 1108 |
+
xcb_sync_create_alarm_value_list_serialize (void **_buffer,
|
| 1109 |
+
uint32_t value_mask,
|
| 1110 |
+
const xcb_sync_create_alarm_value_list_t *_aux);
|
| 1111 |
+
|
| 1112 |
+
int
|
| 1113 |
+
xcb_sync_create_alarm_value_list_unpack (const void *_buffer,
|
| 1114 |
+
uint32_t value_mask,
|
| 1115 |
+
xcb_sync_create_alarm_value_list_t *_aux);
|
| 1116 |
+
|
| 1117 |
+
int
|
| 1118 |
+
xcb_sync_create_alarm_value_list_sizeof (const void *_buffer,
|
| 1119 |
+
uint32_t value_mask);
|
| 1120 |
+
|
| 1121 |
+
int
|
| 1122 |
+
xcb_sync_create_alarm_sizeof (const void *_buffer);
|
| 1123 |
+
|
| 1124 |
+
/**
|
| 1125 |
+
*
|
| 1126 |
+
* @param c The connection
|
| 1127 |
+
* @return A cookie
|
| 1128 |
+
*
|
| 1129 |
+
* Delivers a request to the X server.
|
| 1130 |
+
*
|
| 1131 |
+
* This form can be used only if the request will not cause
|
| 1132 |
+
* a reply to be generated. Any returned error will be
|
| 1133 |
+
* saved for handling by xcb_request_check().
|
| 1134 |
+
*/
|
| 1135 |
+
xcb_void_cookie_t
|
| 1136 |
+
xcb_sync_create_alarm_checked (xcb_connection_t *c,
|
| 1137 |
+
xcb_sync_alarm_t id,
|
| 1138 |
+
uint32_t value_mask,
|
| 1139 |
+
const void *value_list);
|
| 1140 |
+
|
| 1141 |
+
/**
|
| 1142 |
+
*
|
| 1143 |
+
* @param c The connection
|
| 1144 |
+
* @return A cookie
|
| 1145 |
+
*
|
| 1146 |
+
* Delivers a request to the X server.
|
| 1147 |
+
*
|
| 1148 |
+
*/
|
| 1149 |
+
xcb_void_cookie_t
|
| 1150 |
+
xcb_sync_create_alarm (xcb_connection_t *c,
|
| 1151 |
+
xcb_sync_alarm_t id,
|
| 1152 |
+
uint32_t value_mask,
|
| 1153 |
+
const void *value_list);
|
| 1154 |
+
|
| 1155 |
+
/**
|
| 1156 |
+
*
|
| 1157 |
+
* @param c The connection
|
| 1158 |
+
* @return A cookie
|
| 1159 |
+
*
|
| 1160 |
+
* Delivers a request to the X server.
|
| 1161 |
+
*
|
| 1162 |
+
* This form can be used only if the request will not cause
|
| 1163 |
+
* a reply to be generated. Any returned error will be
|
| 1164 |
+
* saved for handling by xcb_request_check().
|
| 1165 |
+
*/
|
| 1166 |
+
xcb_void_cookie_t
|
| 1167 |
+
xcb_sync_create_alarm_aux_checked (xcb_connection_t *c,
|
| 1168 |
+
xcb_sync_alarm_t id,
|
| 1169 |
+
uint32_t value_mask,
|
| 1170 |
+
const xcb_sync_create_alarm_value_list_t *value_list);
|
| 1171 |
+
|
| 1172 |
+
/**
|
| 1173 |
+
*
|
| 1174 |
+
* @param c The connection
|
| 1175 |
+
* @return A cookie
|
| 1176 |
+
*
|
| 1177 |
+
* Delivers a request to the X server.
|
| 1178 |
+
*
|
| 1179 |
+
*/
|
| 1180 |
+
xcb_void_cookie_t
|
| 1181 |
+
xcb_sync_create_alarm_aux (xcb_connection_t *c,
|
| 1182 |
+
xcb_sync_alarm_t id,
|
| 1183 |
+
uint32_t value_mask,
|
| 1184 |
+
const xcb_sync_create_alarm_value_list_t *value_list);
|
| 1185 |
+
|
| 1186 |
+
void *
|
| 1187 |
+
xcb_sync_create_alarm_value_list (const xcb_sync_create_alarm_request_t *R);
|
| 1188 |
+
|
| 1189 |
+
int
|
| 1190 |
+
xcb_sync_change_alarm_value_list_serialize (void **_buffer,
|
| 1191 |
+
uint32_t value_mask,
|
| 1192 |
+
const xcb_sync_change_alarm_value_list_t *_aux);
|
| 1193 |
+
|
| 1194 |
+
int
|
| 1195 |
+
xcb_sync_change_alarm_value_list_unpack (const void *_buffer,
|
| 1196 |
+
uint32_t value_mask,
|
| 1197 |
+
xcb_sync_change_alarm_value_list_t *_aux);
|
| 1198 |
+
|
| 1199 |
+
int
|
| 1200 |
+
xcb_sync_change_alarm_value_list_sizeof (const void *_buffer,
|
| 1201 |
+
uint32_t value_mask);
|
| 1202 |
+
|
| 1203 |
+
int
|
| 1204 |
+
xcb_sync_change_alarm_sizeof (const void *_buffer);
|
| 1205 |
+
|
| 1206 |
+
/**
|
| 1207 |
+
*
|
| 1208 |
+
* @param c The connection
|
| 1209 |
+
* @return A cookie
|
| 1210 |
+
*
|
| 1211 |
+
* Delivers a request to the X server.
|
| 1212 |
+
*
|
| 1213 |
+
* This form can be used only if the request will not cause
|
| 1214 |
+
* a reply to be generated. Any returned error will be
|
| 1215 |
+
* saved for handling by xcb_request_check().
|
| 1216 |
+
*/
|
| 1217 |
+
xcb_void_cookie_t
|
| 1218 |
+
xcb_sync_change_alarm_checked (xcb_connection_t *c,
|
| 1219 |
+
xcb_sync_alarm_t id,
|
| 1220 |
+
uint32_t value_mask,
|
| 1221 |
+
const void *value_list);
|
| 1222 |
+
|
| 1223 |
+
/**
|
| 1224 |
+
*
|
| 1225 |
+
* @param c The connection
|
| 1226 |
+
* @return A cookie
|
| 1227 |
+
*
|
| 1228 |
+
* Delivers a request to the X server.
|
| 1229 |
+
*
|
| 1230 |
+
*/
|
| 1231 |
+
xcb_void_cookie_t
|
| 1232 |
+
xcb_sync_change_alarm (xcb_connection_t *c,
|
| 1233 |
+
xcb_sync_alarm_t id,
|
| 1234 |
+
uint32_t value_mask,
|
| 1235 |
+
const void *value_list);
|
| 1236 |
+
|
| 1237 |
+
/**
|
| 1238 |
+
*
|
| 1239 |
+
* @param c The connection
|
| 1240 |
+
* @return A cookie
|
| 1241 |
+
*
|
| 1242 |
+
* Delivers a request to the X server.
|
| 1243 |
+
*
|
| 1244 |
+
* This form can be used only if the request will not cause
|
| 1245 |
+
* a reply to be generated. Any returned error will be
|
| 1246 |
+
* saved for handling by xcb_request_check().
|
| 1247 |
+
*/
|
| 1248 |
+
xcb_void_cookie_t
|
| 1249 |
+
xcb_sync_change_alarm_aux_checked (xcb_connection_t *c,
|
| 1250 |
+
xcb_sync_alarm_t id,
|
| 1251 |
+
uint32_t value_mask,
|
| 1252 |
+
const xcb_sync_change_alarm_value_list_t *value_list);
|
| 1253 |
+
|
| 1254 |
+
/**
|
| 1255 |
+
*
|
| 1256 |
+
* @param c The connection
|
| 1257 |
+
* @return A cookie
|
| 1258 |
+
*
|
| 1259 |
+
* Delivers a request to the X server.
|
| 1260 |
+
*
|
| 1261 |
+
*/
|
| 1262 |
+
xcb_void_cookie_t
|
| 1263 |
+
xcb_sync_change_alarm_aux (xcb_connection_t *c,
|
| 1264 |
+
xcb_sync_alarm_t id,
|
| 1265 |
+
uint32_t value_mask,
|
| 1266 |
+
const xcb_sync_change_alarm_value_list_t *value_list);
|
| 1267 |
+
|
| 1268 |
+
void *
|
| 1269 |
+
xcb_sync_change_alarm_value_list (const xcb_sync_change_alarm_request_t *R);
|
| 1270 |
+
|
| 1271 |
+
/**
|
| 1272 |
+
*
|
| 1273 |
+
* @param c The connection
|
| 1274 |
+
* @return A cookie
|
| 1275 |
+
*
|
| 1276 |
+
* Delivers a request to the X server.
|
| 1277 |
+
*
|
| 1278 |
+
* This form can be used only if the request will not cause
|
| 1279 |
+
* a reply to be generated. Any returned error will be
|
| 1280 |
+
* saved for handling by xcb_request_check().
|
| 1281 |
+
*/
|
| 1282 |
+
xcb_void_cookie_t
|
| 1283 |
+
xcb_sync_destroy_alarm_checked (xcb_connection_t *c,
|
| 1284 |
+
xcb_sync_alarm_t alarm);
|
| 1285 |
+
|
| 1286 |
+
/**
|
| 1287 |
+
*
|
| 1288 |
+
* @param c The connection
|
| 1289 |
+
* @return A cookie
|
| 1290 |
+
*
|
| 1291 |
+
* Delivers a request to the X server.
|
| 1292 |
+
*
|
| 1293 |
+
*/
|
| 1294 |
+
xcb_void_cookie_t
|
| 1295 |
+
xcb_sync_destroy_alarm (xcb_connection_t *c,
|
| 1296 |
+
xcb_sync_alarm_t alarm);
|
| 1297 |
+
|
| 1298 |
+
/**
|
| 1299 |
+
*
|
| 1300 |
+
* @param c The connection
|
| 1301 |
+
* @return A cookie
|
| 1302 |
+
*
|
| 1303 |
+
* Delivers a request to the X server.
|
| 1304 |
+
*
|
| 1305 |
+
*/
|
| 1306 |
+
xcb_sync_query_alarm_cookie_t
|
| 1307 |
+
xcb_sync_query_alarm (xcb_connection_t *c,
|
| 1308 |
+
xcb_sync_alarm_t alarm);
|
| 1309 |
+
|
| 1310 |
+
/**
|
| 1311 |
+
*
|
| 1312 |
+
* @param c The connection
|
| 1313 |
+
* @return A cookie
|
| 1314 |
+
*
|
| 1315 |
+
* Delivers a request to the X server.
|
| 1316 |
+
*
|
| 1317 |
+
* This form can be used only if the request will cause
|
| 1318 |
+
* a reply to be generated. Any returned error will be
|
| 1319 |
+
* placed in the event queue.
|
| 1320 |
+
*/
|
| 1321 |
+
xcb_sync_query_alarm_cookie_t
|
| 1322 |
+
xcb_sync_query_alarm_unchecked (xcb_connection_t *c,
|
| 1323 |
+
xcb_sync_alarm_t alarm);
|
| 1324 |
+
|
| 1325 |
+
/**
|
| 1326 |
+
* Return the reply
|
| 1327 |
+
* @param c The connection
|
| 1328 |
+
* @param cookie The cookie
|
| 1329 |
+
* @param e The xcb_generic_error_t supplied
|
| 1330 |
+
*
|
| 1331 |
+
* Returns the reply of the request asked by
|
| 1332 |
+
*
|
| 1333 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1334 |
+
* xcb_sync_query_alarm_unchecked(). is used.
|
| 1335 |
+
* Otherwise, it stores the error if any.
|
| 1336 |
+
*
|
| 1337 |
+
* The returned value must be freed by the caller using free().
|
| 1338 |
+
*/
|
| 1339 |
+
xcb_sync_query_alarm_reply_t *
|
| 1340 |
+
xcb_sync_query_alarm_reply (xcb_connection_t *c,
|
| 1341 |
+
xcb_sync_query_alarm_cookie_t cookie /**< */,
|
| 1342 |
+
xcb_generic_error_t **e);
|
| 1343 |
+
|
| 1344 |
+
/**
|
| 1345 |
+
*
|
| 1346 |
+
* @param c The connection
|
| 1347 |
+
* @return A cookie
|
| 1348 |
+
*
|
| 1349 |
+
* Delivers a request to the X server.
|
| 1350 |
+
*
|
| 1351 |
+
* This form can be used only if the request will not cause
|
| 1352 |
+
* a reply to be generated. Any returned error will be
|
| 1353 |
+
* saved for handling by xcb_request_check().
|
| 1354 |
+
*/
|
| 1355 |
+
xcb_void_cookie_t
|
| 1356 |
+
xcb_sync_set_priority_checked (xcb_connection_t *c,
|
| 1357 |
+
uint32_t id,
|
| 1358 |
+
int32_t priority);
|
| 1359 |
+
|
| 1360 |
+
/**
|
| 1361 |
+
*
|
| 1362 |
+
* @param c The connection
|
| 1363 |
+
* @return A cookie
|
| 1364 |
+
*
|
| 1365 |
+
* Delivers a request to the X server.
|
| 1366 |
+
*
|
| 1367 |
+
*/
|
| 1368 |
+
xcb_void_cookie_t
|
| 1369 |
+
xcb_sync_set_priority (xcb_connection_t *c,
|
| 1370 |
+
uint32_t id,
|
| 1371 |
+
int32_t priority);
|
| 1372 |
+
|
| 1373 |
+
/**
|
| 1374 |
+
*
|
| 1375 |
+
* @param c The connection
|
| 1376 |
+
* @return A cookie
|
| 1377 |
+
*
|
| 1378 |
+
* Delivers a request to the X server.
|
| 1379 |
+
*
|
| 1380 |
+
*/
|
| 1381 |
+
xcb_sync_get_priority_cookie_t
|
| 1382 |
+
xcb_sync_get_priority (xcb_connection_t *c,
|
| 1383 |
+
uint32_t id);
|
| 1384 |
+
|
| 1385 |
+
/**
|
| 1386 |
+
*
|
| 1387 |
+
* @param c The connection
|
| 1388 |
+
* @return A cookie
|
| 1389 |
+
*
|
| 1390 |
+
* Delivers a request to the X server.
|
| 1391 |
+
*
|
| 1392 |
+
* This form can be used only if the request will cause
|
| 1393 |
+
* a reply to be generated. Any returned error will be
|
| 1394 |
+
* placed in the event queue.
|
| 1395 |
+
*/
|
| 1396 |
+
xcb_sync_get_priority_cookie_t
|
| 1397 |
+
xcb_sync_get_priority_unchecked (xcb_connection_t *c,
|
| 1398 |
+
uint32_t id);
|
| 1399 |
+
|
| 1400 |
+
/**
|
| 1401 |
+
* Return the reply
|
| 1402 |
+
* @param c The connection
|
| 1403 |
+
* @param cookie The cookie
|
| 1404 |
+
* @param e The xcb_generic_error_t supplied
|
| 1405 |
+
*
|
| 1406 |
+
* Returns the reply of the request asked by
|
| 1407 |
+
*
|
| 1408 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1409 |
+
* xcb_sync_get_priority_unchecked(). is used.
|
| 1410 |
+
* Otherwise, it stores the error if any.
|
| 1411 |
+
*
|
| 1412 |
+
* The returned value must be freed by the caller using free().
|
| 1413 |
+
*/
|
| 1414 |
+
xcb_sync_get_priority_reply_t *
|
| 1415 |
+
xcb_sync_get_priority_reply (xcb_connection_t *c,
|
| 1416 |
+
xcb_sync_get_priority_cookie_t cookie /**< */,
|
| 1417 |
+
xcb_generic_error_t **e);
|
| 1418 |
+
|
| 1419 |
+
/**
|
| 1420 |
+
*
|
| 1421 |
+
* @param c The connection
|
| 1422 |
+
* @return A cookie
|
| 1423 |
+
*
|
| 1424 |
+
* Delivers a request to the X server.
|
| 1425 |
+
*
|
| 1426 |
+
* This form can be used only if the request will not cause
|
| 1427 |
+
* a reply to be generated. Any returned error will be
|
| 1428 |
+
* saved for handling by xcb_request_check().
|
| 1429 |
+
*/
|
| 1430 |
+
xcb_void_cookie_t
|
| 1431 |
+
xcb_sync_create_fence_checked (xcb_connection_t *c,
|
| 1432 |
+
xcb_drawable_t drawable,
|
| 1433 |
+
xcb_sync_fence_t fence,
|
| 1434 |
+
uint8_t initially_triggered);
|
| 1435 |
+
|
| 1436 |
+
/**
|
| 1437 |
+
*
|
| 1438 |
+
* @param c The connection
|
| 1439 |
+
* @return A cookie
|
| 1440 |
+
*
|
| 1441 |
+
* Delivers a request to the X server.
|
| 1442 |
+
*
|
| 1443 |
+
*/
|
| 1444 |
+
xcb_void_cookie_t
|
| 1445 |
+
xcb_sync_create_fence (xcb_connection_t *c,
|
| 1446 |
+
xcb_drawable_t drawable,
|
| 1447 |
+
xcb_sync_fence_t fence,
|
| 1448 |
+
uint8_t initially_triggered);
|
| 1449 |
+
|
| 1450 |
+
/**
|
| 1451 |
+
*
|
| 1452 |
+
* @param c The connection
|
| 1453 |
+
* @return A cookie
|
| 1454 |
+
*
|
| 1455 |
+
* Delivers a request to the X server.
|
| 1456 |
+
*
|
| 1457 |
+
* This form can be used only if the request will not cause
|
| 1458 |
+
* a reply to be generated. Any returned error will be
|
| 1459 |
+
* saved for handling by xcb_request_check().
|
| 1460 |
+
*/
|
| 1461 |
+
xcb_void_cookie_t
|
| 1462 |
+
xcb_sync_trigger_fence_checked (xcb_connection_t *c,
|
| 1463 |
+
xcb_sync_fence_t fence);
|
| 1464 |
+
|
| 1465 |
+
/**
|
| 1466 |
+
*
|
| 1467 |
+
* @param c The connection
|
| 1468 |
+
* @return A cookie
|
| 1469 |
+
*
|
| 1470 |
+
* Delivers a request to the X server.
|
| 1471 |
+
*
|
| 1472 |
+
*/
|
| 1473 |
+
xcb_void_cookie_t
|
| 1474 |
+
xcb_sync_trigger_fence (xcb_connection_t *c,
|
| 1475 |
+
xcb_sync_fence_t fence);
|
| 1476 |
+
|
| 1477 |
+
/**
|
| 1478 |
+
*
|
| 1479 |
+
* @param c The connection
|
| 1480 |
+
* @return A cookie
|
| 1481 |
+
*
|
| 1482 |
+
* Delivers a request to the X server.
|
| 1483 |
+
*
|
| 1484 |
+
* This form can be used only if the request will not cause
|
| 1485 |
+
* a reply to be generated. Any returned error will be
|
| 1486 |
+
* saved for handling by xcb_request_check().
|
| 1487 |
+
*/
|
| 1488 |
+
xcb_void_cookie_t
|
| 1489 |
+
xcb_sync_reset_fence_checked (xcb_connection_t *c,
|
| 1490 |
+
xcb_sync_fence_t fence);
|
| 1491 |
+
|
| 1492 |
+
/**
|
| 1493 |
+
*
|
| 1494 |
+
* @param c The connection
|
| 1495 |
+
* @return A cookie
|
| 1496 |
+
*
|
| 1497 |
+
* Delivers a request to the X server.
|
| 1498 |
+
*
|
| 1499 |
+
*/
|
| 1500 |
+
xcb_void_cookie_t
|
| 1501 |
+
xcb_sync_reset_fence (xcb_connection_t *c,
|
| 1502 |
+
xcb_sync_fence_t fence);
|
| 1503 |
+
|
| 1504 |
+
/**
|
| 1505 |
+
*
|
| 1506 |
+
* @param c The connection
|
| 1507 |
+
* @return A cookie
|
| 1508 |
+
*
|
| 1509 |
+
* Delivers a request to the X server.
|
| 1510 |
+
*
|
| 1511 |
+
* This form can be used only if the request will not cause
|
| 1512 |
+
* a reply to be generated. Any returned error will be
|
| 1513 |
+
* saved for handling by xcb_request_check().
|
| 1514 |
+
*/
|
| 1515 |
+
xcb_void_cookie_t
|
| 1516 |
+
xcb_sync_destroy_fence_checked (xcb_connection_t *c,
|
| 1517 |
+
xcb_sync_fence_t fence);
|
| 1518 |
+
|
| 1519 |
+
/**
|
| 1520 |
+
*
|
| 1521 |
+
* @param c The connection
|
| 1522 |
+
* @return A cookie
|
| 1523 |
+
*
|
| 1524 |
+
* Delivers a request to the X server.
|
| 1525 |
+
*
|
| 1526 |
+
*/
|
| 1527 |
+
xcb_void_cookie_t
|
| 1528 |
+
xcb_sync_destroy_fence (xcb_connection_t *c,
|
| 1529 |
+
xcb_sync_fence_t fence);
|
| 1530 |
+
|
| 1531 |
+
/**
|
| 1532 |
+
*
|
| 1533 |
+
* @param c The connection
|
| 1534 |
+
* @return A cookie
|
| 1535 |
+
*
|
| 1536 |
+
* Delivers a request to the X server.
|
| 1537 |
+
*
|
| 1538 |
+
*/
|
| 1539 |
+
xcb_sync_query_fence_cookie_t
|
| 1540 |
+
xcb_sync_query_fence (xcb_connection_t *c,
|
| 1541 |
+
xcb_sync_fence_t fence);
|
| 1542 |
+
|
| 1543 |
+
/**
|
| 1544 |
+
*
|
| 1545 |
+
* @param c The connection
|
| 1546 |
+
* @return A cookie
|
| 1547 |
+
*
|
| 1548 |
+
* Delivers a request to the X server.
|
| 1549 |
+
*
|
| 1550 |
+
* This form can be used only if the request will cause
|
| 1551 |
+
* a reply to be generated. Any returned error will be
|
| 1552 |
+
* placed in the event queue.
|
| 1553 |
+
*/
|
| 1554 |
+
xcb_sync_query_fence_cookie_t
|
| 1555 |
+
xcb_sync_query_fence_unchecked (xcb_connection_t *c,
|
| 1556 |
+
xcb_sync_fence_t fence);
|
| 1557 |
+
|
| 1558 |
+
/**
|
| 1559 |
+
* Return the reply
|
| 1560 |
+
* @param c The connection
|
| 1561 |
+
* @param cookie The cookie
|
| 1562 |
+
* @param e The xcb_generic_error_t supplied
|
| 1563 |
+
*
|
| 1564 |
+
* Returns the reply of the request asked by
|
| 1565 |
+
*
|
| 1566 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1567 |
+
* xcb_sync_query_fence_unchecked(). is used.
|
| 1568 |
+
* Otherwise, it stores the error if any.
|
| 1569 |
+
*
|
| 1570 |
+
* The returned value must be freed by the caller using free().
|
| 1571 |
+
*/
|
| 1572 |
+
xcb_sync_query_fence_reply_t *
|
| 1573 |
+
xcb_sync_query_fence_reply (xcb_connection_t *c,
|
| 1574 |
+
xcb_sync_query_fence_cookie_t cookie /**< */,
|
| 1575 |
+
xcb_generic_error_t **e);
|
| 1576 |
+
|
| 1577 |
+
int
|
| 1578 |
+
xcb_sync_await_fence_sizeof (const void *_buffer,
|
| 1579 |
+
uint32_t fence_list_len);
|
| 1580 |
+
|
| 1581 |
+
/**
|
| 1582 |
+
*
|
| 1583 |
+
* @param c The connection
|
| 1584 |
+
* @return A cookie
|
| 1585 |
+
*
|
| 1586 |
+
* Delivers a request to the X server.
|
| 1587 |
+
*
|
| 1588 |
+
* This form can be used only if the request will not cause
|
| 1589 |
+
* a reply to be generated. Any returned error will be
|
| 1590 |
+
* saved for handling by xcb_request_check().
|
| 1591 |
+
*/
|
| 1592 |
+
xcb_void_cookie_t
|
| 1593 |
+
xcb_sync_await_fence_checked (xcb_connection_t *c,
|
| 1594 |
+
uint32_t fence_list_len,
|
| 1595 |
+
const xcb_sync_fence_t *fence_list);
|
| 1596 |
+
|
| 1597 |
+
/**
|
| 1598 |
+
*
|
| 1599 |
+
* @param c The connection
|
| 1600 |
+
* @return A cookie
|
| 1601 |
+
*
|
| 1602 |
+
* Delivers a request to the X server.
|
| 1603 |
+
*
|
| 1604 |
+
*/
|
| 1605 |
+
xcb_void_cookie_t
|
| 1606 |
+
xcb_sync_await_fence (xcb_connection_t *c,
|
| 1607 |
+
uint32_t fence_list_len,
|
| 1608 |
+
const xcb_sync_fence_t *fence_list);
|
| 1609 |
+
|
| 1610 |
+
xcb_sync_fence_t *
|
| 1611 |
+
xcb_sync_await_fence_fence_list (const xcb_sync_await_fence_request_t *R);
|
| 1612 |
+
|
| 1613 |
+
int
|
| 1614 |
+
xcb_sync_await_fence_fence_list_length (const xcb_sync_await_fence_request_t *R);
|
| 1615 |
+
|
| 1616 |
+
xcb_generic_iterator_t
|
| 1617 |
+
xcb_sync_await_fence_fence_list_end (const xcb_sync_await_fence_request_t *R);
|
| 1618 |
+
|
| 1619 |
+
|
| 1620 |
+
#ifdef __cplusplus
|
| 1621 |
+
}
|
| 1622 |
+
#endif
|
| 1623 |
+
|
| 1624 |
+
#endif
|
| 1625 |
+
|
| 1626 |
+
/**
|
| 1627 |
+
* @}
|
| 1628 |
+
*/
|
miniconda3/envs/ladir/include/xcb/xc_misc.h
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xc_misc.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_XCMisc_API XCB XCMisc API
|
| 8 |
+
* @brief XCMisc XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XC_MISC_H
|
| 13 |
+
#define __XC_MISC_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
|
| 17 |
+
#ifdef __cplusplus
|
| 18 |
+
extern "C" {
|
| 19 |
+
#endif
|
| 20 |
+
|
| 21 |
+
#define XCB_XCMISC_MAJOR_VERSION 1
|
| 22 |
+
#define XCB_XCMISC_MINOR_VERSION 1
|
| 23 |
+
|
| 24 |
+
extern xcb_extension_t xcb_xc_misc_id;
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* @brief xcb_xc_misc_get_version_cookie_t
|
| 28 |
+
**/
|
| 29 |
+
typedef struct xcb_xc_misc_get_version_cookie_t {
|
| 30 |
+
unsigned int sequence;
|
| 31 |
+
} xcb_xc_misc_get_version_cookie_t;
|
| 32 |
+
|
| 33 |
+
/** Opcode for xcb_xc_misc_get_version. */
|
| 34 |
+
#define XCB_XC_MISC_GET_VERSION 0
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
* @brief xcb_xc_misc_get_version_request_t
|
| 38 |
+
**/
|
| 39 |
+
typedef struct xcb_xc_misc_get_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_xc_misc_get_version_request_t;
|
| 46 |
+
|
| 47 |
+
/**
|
| 48 |
+
* @brief xcb_xc_misc_get_version_reply_t
|
| 49 |
+
**/
|
| 50 |
+
typedef struct xcb_xc_misc_get_version_reply_t {
|
| 51 |
+
uint8_t response_type;
|
| 52 |
+
uint8_t pad0;
|
| 53 |
+
uint16_t sequence;
|
| 54 |
+
uint32_t length;
|
| 55 |
+
uint16_t server_major_version;
|
| 56 |
+
uint16_t server_minor_version;
|
| 57 |
+
} xcb_xc_misc_get_version_reply_t;
|
| 58 |
+
|
| 59 |
+
/**
|
| 60 |
+
* @brief xcb_xc_misc_get_xid_range_cookie_t
|
| 61 |
+
**/
|
| 62 |
+
typedef struct xcb_xc_misc_get_xid_range_cookie_t {
|
| 63 |
+
unsigned int sequence;
|
| 64 |
+
} xcb_xc_misc_get_xid_range_cookie_t;
|
| 65 |
+
|
| 66 |
+
/** Opcode for xcb_xc_misc_get_xid_range. */
|
| 67 |
+
#define XCB_XC_MISC_GET_XID_RANGE 1
|
| 68 |
+
|
| 69 |
+
/**
|
| 70 |
+
* @brief xcb_xc_misc_get_xid_range_request_t
|
| 71 |
+
**/
|
| 72 |
+
typedef struct xcb_xc_misc_get_xid_range_request_t {
|
| 73 |
+
uint8_t major_opcode;
|
| 74 |
+
uint8_t minor_opcode;
|
| 75 |
+
uint16_t length;
|
| 76 |
+
} xcb_xc_misc_get_xid_range_request_t;
|
| 77 |
+
|
| 78 |
+
/**
|
| 79 |
+
* @brief xcb_xc_misc_get_xid_range_reply_t
|
| 80 |
+
**/
|
| 81 |
+
typedef struct xcb_xc_misc_get_xid_range_reply_t {
|
| 82 |
+
uint8_t response_type;
|
| 83 |
+
uint8_t pad0;
|
| 84 |
+
uint16_t sequence;
|
| 85 |
+
uint32_t length;
|
| 86 |
+
uint32_t start_id;
|
| 87 |
+
uint32_t count;
|
| 88 |
+
} xcb_xc_misc_get_xid_range_reply_t;
|
| 89 |
+
|
| 90 |
+
/**
|
| 91 |
+
* @brief xcb_xc_misc_get_xid_list_cookie_t
|
| 92 |
+
**/
|
| 93 |
+
typedef struct xcb_xc_misc_get_xid_list_cookie_t {
|
| 94 |
+
unsigned int sequence;
|
| 95 |
+
} xcb_xc_misc_get_xid_list_cookie_t;
|
| 96 |
+
|
| 97 |
+
/** Opcode for xcb_xc_misc_get_xid_list. */
|
| 98 |
+
#define XCB_XC_MISC_GET_XID_LIST 2
|
| 99 |
+
|
| 100 |
+
/**
|
| 101 |
+
* @brief xcb_xc_misc_get_xid_list_request_t
|
| 102 |
+
**/
|
| 103 |
+
typedef struct xcb_xc_misc_get_xid_list_request_t {
|
| 104 |
+
uint8_t major_opcode;
|
| 105 |
+
uint8_t minor_opcode;
|
| 106 |
+
uint16_t length;
|
| 107 |
+
uint32_t count;
|
| 108 |
+
} xcb_xc_misc_get_xid_list_request_t;
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* @brief xcb_xc_misc_get_xid_list_reply_t
|
| 112 |
+
**/
|
| 113 |
+
typedef struct xcb_xc_misc_get_xid_list_reply_t {
|
| 114 |
+
uint8_t response_type;
|
| 115 |
+
uint8_t pad0;
|
| 116 |
+
uint16_t sequence;
|
| 117 |
+
uint32_t length;
|
| 118 |
+
uint32_t ids_len;
|
| 119 |
+
uint8_t pad1[20];
|
| 120 |
+
} xcb_xc_misc_get_xid_list_reply_t;
|
| 121 |
+
|
| 122 |
+
/**
|
| 123 |
+
*
|
| 124 |
+
* @param c The connection
|
| 125 |
+
* @return A cookie
|
| 126 |
+
*
|
| 127 |
+
* Delivers a request to the X server.
|
| 128 |
+
*
|
| 129 |
+
*/
|
| 130 |
+
xcb_xc_misc_get_version_cookie_t
|
| 131 |
+
xcb_xc_misc_get_version (xcb_connection_t *c,
|
| 132 |
+
uint16_t client_major_version,
|
| 133 |
+
uint16_t client_minor_version);
|
| 134 |
+
|
| 135 |
+
/**
|
| 136 |
+
*
|
| 137 |
+
* @param c The connection
|
| 138 |
+
* @return A cookie
|
| 139 |
+
*
|
| 140 |
+
* Delivers a request to the X server.
|
| 141 |
+
*
|
| 142 |
+
* This form can be used only if the request will cause
|
| 143 |
+
* a reply to be generated. Any returned error will be
|
| 144 |
+
* placed in the event queue.
|
| 145 |
+
*/
|
| 146 |
+
xcb_xc_misc_get_version_cookie_t
|
| 147 |
+
xcb_xc_misc_get_version_unchecked (xcb_connection_t *c,
|
| 148 |
+
uint16_t client_major_version,
|
| 149 |
+
uint16_t client_minor_version);
|
| 150 |
+
|
| 151 |
+
/**
|
| 152 |
+
* Return the reply
|
| 153 |
+
* @param c The connection
|
| 154 |
+
* @param cookie The cookie
|
| 155 |
+
* @param e The xcb_generic_error_t supplied
|
| 156 |
+
*
|
| 157 |
+
* Returns the reply of the request asked by
|
| 158 |
+
*
|
| 159 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 160 |
+
* xcb_xc_misc_get_version_unchecked(). is used.
|
| 161 |
+
* Otherwise, it stores the error if any.
|
| 162 |
+
*
|
| 163 |
+
* The returned value must be freed by the caller using free().
|
| 164 |
+
*/
|
| 165 |
+
xcb_xc_misc_get_version_reply_t *
|
| 166 |
+
xcb_xc_misc_get_version_reply (xcb_connection_t *c,
|
| 167 |
+
xcb_xc_misc_get_version_cookie_t cookie /**< */,
|
| 168 |
+
xcb_generic_error_t **e);
|
| 169 |
+
|
| 170 |
+
/**
|
| 171 |
+
*
|
| 172 |
+
* @param c The connection
|
| 173 |
+
* @return A cookie
|
| 174 |
+
*
|
| 175 |
+
* Delivers a request to the X server.
|
| 176 |
+
*
|
| 177 |
+
*/
|
| 178 |
+
xcb_xc_misc_get_xid_range_cookie_t
|
| 179 |
+
xcb_xc_misc_get_xid_range (xcb_connection_t *c);
|
| 180 |
+
|
| 181 |
+
/**
|
| 182 |
+
*
|
| 183 |
+
* @param c The connection
|
| 184 |
+
* @return A cookie
|
| 185 |
+
*
|
| 186 |
+
* Delivers a request to the X server.
|
| 187 |
+
*
|
| 188 |
+
* This form can be used only if the request will cause
|
| 189 |
+
* a reply to be generated. Any returned error will be
|
| 190 |
+
* placed in the event queue.
|
| 191 |
+
*/
|
| 192 |
+
xcb_xc_misc_get_xid_range_cookie_t
|
| 193 |
+
xcb_xc_misc_get_xid_range_unchecked (xcb_connection_t *c);
|
| 194 |
+
|
| 195 |
+
/**
|
| 196 |
+
* Return the reply
|
| 197 |
+
* @param c The connection
|
| 198 |
+
* @param cookie The cookie
|
| 199 |
+
* @param e The xcb_generic_error_t supplied
|
| 200 |
+
*
|
| 201 |
+
* Returns the reply of the request asked by
|
| 202 |
+
*
|
| 203 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 204 |
+
* xcb_xc_misc_get_xid_range_unchecked(). is used.
|
| 205 |
+
* Otherwise, it stores the error if any.
|
| 206 |
+
*
|
| 207 |
+
* The returned value must be freed by the caller using free().
|
| 208 |
+
*/
|
| 209 |
+
xcb_xc_misc_get_xid_range_reply_t *
|
| 210 |
+
xcb_xc_misc_get_xid_range_reply (xcb_connection_t *c,
|
| 211 |
+
xcb_xc_misc_get_xid_range_cookie_t cookie /**< */,
|
| 212 |
+
xcb_generic_error_t **e);
|
| 213 |
+
|
| 214 |
+
int
|
| 215 |
+
xcb_xc_misc_get_xid_list_sizeof (const void *_buffer);
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
*
|
| 219 |
+
* @param c The connection
|
| 220 |
+
* @return A cookie
|
| 221 |
+
*
|
| 222 |
+
* Delivers a request to the X server.
|
| 223 |
+
*
|
| 224 |
+
*/
|
| 225 |
+
xcb_xc_misc_get_xid_list_cookie_t
|
| 226 |
+
xcb_xc_misc_get_xid_list (xcb_connection_t *c,
|
| 227 |
+
uint32_t count);
|
| 228 |
+
|
| 229 |
+
/**
|
| 230 |
+
*
|
| 231 |
+
* @param c The connection
|
| 232 |
+
* @return A cookie
|
| 233 |
+
*
|
| 234 |
+
* Delivers a request to the X server.
|
| 235 |
+
*
|
| 236 |
+
* This form can be used only if the request will cause
|
| 237 |
+
* a reply to be generated. Any returned error will be
|
| 238 |
+
* placed in the event queue.
|
| 239 |
+
*/
|
| 240 |
+
xcb_xc_misc_get_xid_list_cookie_t
|
| 241 |
+
xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c,
|
| 242 |
+
uint32_t count);
|
| 243 |
+
|
| 244 |
+
uint32_t *
|
| 245 |
+
xcb_xc_misc_get_xid_list_ids (const xcb_xc_misc_get_xid_list_reply_t *R);
|
| 246 |
+
|
| 247 |
+
int
|
| 248 |
+
xcb_xc_misc_get_xid_list_ids_length (const xcb_xc_misc_get_xid_list_reply_t *R);
|
| 249 |
+
|
| 250 |
+
xcb_generic_iterator_t
|
| 251 |
+
xcb_xc_misc_get_xid_list_ids_end (const xcb_xc_misc_get_xid_list_reply_t *R);
|
| 252 |
+
|
| 253 |
+
/**
|
| 254 |
+
* Return the reply
|
| 255 |
+
* @param c The connection
|
| 256 |
+
* @param cookie The cookie
|
| 257 |
+
* @param e The xcb_generic_error_t supplied
|
| 258 |
+
*
|
| 259 |
+
* Returns the reply of the request asked by
|
| 260 |
+
*
|
| 261 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 262 |
+
* xcb_xc_misc_get_xid_list_unchecked(). is used.
|
| 263 |
+
* Otherwise, it stores the error if any.
|
| 264 |
+
*
|
| 265 |
+
* The returned value must be freed by the caller using free().
|
| 266 |
+
*/
|
| 267 |
+
xcb_xc_misc_get_xid_list_reply_t *
|
| 268 |
+
xcb_xc_misc_get_xid_list_reply (xcb_connection_t *c,
|
| 269 |
+
xcb_xc_misc_get_xid_list_cookie_t cookie /**< */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+
/*
|
| 2 |
+
* Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
|
| 3 |
+
* All Rights Reserved.
|
| 4 |
+
*
|
| 5 |
+
* Permission is hereby granted, free of charge, to any person obtaining a
|
| 6 |
+
* copy of this software and associated documentation files (the "Software"),
|
| 7 |
+
* to deal in the Software without restriction, including without limitation
|
| 8 |
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
| 9 |
+
* and/or sell copies of the Software, and to permit persons to whom the
|
| 10 |
+
* Software is furnished to do so, subject to the following conditions:
|
| 11 |
+
*
|
| 12 |
+
* The above copyright notice and this permission notice shall be included in
|
| 13 |
+
* all copies or substantial portions of the Software.
|
| 14 |
+
*
|
| 15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
| 19 |
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
| 20 |
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 21 |
+
*
|
| 22 |
+
* Except as contained in this notice, the names of the authors or their
|
| 23 |
+
* institutions shall not be used in advertising or otherwise to promote the
|
| 24 |
+
* sale, use or other dealings in this Software without prior written
|
| 25 |
+
* authorization from the authors.
|
| 26 |
+
*/
|
| 27 |
+
|
| 28 |
+
#ifndef __XCB_H__
|
| 29 |
+
#define __XCB_H__
|
| 30 |
+
#include <sys/types.h>
|
| 31 |
+
|
| 32 |
+
#if defined(__solaris__)
|
| 33 |
+
#include <inttypes.h>
|
| 34 |
+
#else
|
| 35 |
+
#include <stdint.h>
|
| 36 |
+
#endif
|
| 37 |
+
|
| 38 |
+
#ifndef _WIN32
|
| 39 |
+
#include <sys/uio.h>
|
| 40 |
+
#else
|
| 41 |
+
#include "xcb_windefs.h"
|
| 42 |
+
#endif
|
| 43 |
+
#include <pthread.h>
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
#ifdef __cplusplus
|
| 47 |
+
extern "C" {
|
| 48 |
+
#endif
|
| 49 |
+
|
| 50 |
+
/**
|
| 51 |
+
* @file xcb.h
|
| 52 |
+
*/
|
| 53 |
+
|
| 54 |
+
#ifdef __GNUC__
|
| 55 |
+
#define XCB_PACKED __attribute__((__packed__))
|
| 56 |
+
#else
|
| 57 |
+
#define XCB_PACKED
|
| 58 |
+
#endif
|
| 59 |
+
|
| 60 |
+
/**
|
| 61 |
+
* @defgroup XCB_Core_API XCB Core API
|
| 62 |
+
* @brief Core API of the XCB library.
|
| 63 |
+
*
|
| 64 |
+
* @{
|
| 65 |
+
*/
|
| 66 |
+
|
| 67 |
+
/* Pre-defined constants */
|
| 68 |
+
|
| 69 |
+
/** Current protocol version */
|
| 70 |
+
#define X_PROTOCOL 11
|
| 71 |
+
|
| 72 |
+
/** Current minor version */
|
| 73 |
+
#define X_PROTOCOL_REVISION 0
|
| 74 |
+
|
| 75 |
+
/** X_TCP_PORT + display number = server port for TCP transport */
|
| 76 |
+
#define X_TCP_PORT 6000
|
| 77 |
+
|
| 78 |
+
/** xcb connection errors because of socket, pipe and other stream errors. */
|
| 79 |
+
#define XCB_CONN_ERROR 1
|
| 80 |
+
|
| 81 |
+
/** xcb connection shutdown because of extension not supported */
|
| 82 |
+
#define XCB_CONN_CLOSED_EXT_NOTSUPPORTED 2
|
| 83 |
+
|
| 84 |
+
/** malloc(), calloc() and realloc() error upon failure, for eg ENOMEM */
|
| 85 |
+
#define XCB_CONN_CLOSED_MEM_INSUFFICIENT 3
|
| 86 |
+
|
| 87 |
+
/** Connection closed, exceeding request length that server accepts. */
|
| 88 |
+
#define XCB_CONN_CLOSED_REQ_LEN_EXCEED 4
|
| 89 |
+
|
| 90 |
+
/** Connection closed, error during parsing display string. */
|
| 91 |
+
#define XCB_CONN_CLOSED_PARSE_ERR 5
|
| 92 |
+
|
| 93 |
+
/** Connection closed because the server does not have a screen matching the display. */
|
| 94 |
+
#define XCB_CONN_CLOSED_INVALID_SCREEN 6
|
| 95 |
+
|
| 96 |
+
/** Connection closed because some FD passing operation failed */
|
| 97 |
+
#define XCB_CONN_CLOSED_FDPASSING_FAILED 7
|
| 98 |
+
|
| 99 |
+
#define XCB_TYPE_PAD(T,I) (-(I) & (sizeof(T) > 4 ? 3 : sizeof(T) - 1))
|
| 100 |
+
|
| 101 |
+
/* Opaque structures */
|
| 102 |
+
|
| 103 |
+
/**
|
| 104 |
+
* @brief XCB Connection structure.
|
| 105 |
+
*
|
| 106 |
+
* A structure that contain all data that XCB needs to communicate with an X server.
|
| 107 |
+
*/
|
| 108 |
+
typedef struct xcb_connection_t xcb_connection_t; /**< Opaque structure containing all data that XCB needs to communicate with an X server. */
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
/* Other types */
|
| 112 |
+
|
| 113 |
+
/**
|
| 114 |
+
* @brief Generic iterator.
|
| 115 |
+
*
|
| 116 |
+
* A generic iterator structure.
|
| 117 |
+
*/
|
| 118 |
+
typedef struct {
|
| 119 |
+
void *data; /**< Data of the current iterator */
|
| 120 |
+
int rem; /**< remaining elements */
|
| 121 |
+
int index; /**< index of the current iterator */
|
| 122 |
+
} xcb_generic_iterator_t;
|
| 123 |
+
|
| 124 |
+
/**
|
| 125 |
+
* @brief Generic reply.
|
| 126 |
+
*
|
| 127 |
+
* A generic reply structure.
|
| 128 |
+
*/
|
| 129 |
+
typedef struct {
|
| 130 |
+
uint8_t response_type; /**< Type of the response */
|
| 131 |
+
uint8_t pad0; /**< Padding */
|
| 132 |
+
uint16_t sequence; /**< Sequence number */
|
| 133 |
+
uint32_t length; /**< Length of the response */
|
| 134 |
+
} xcb_generic_reply_t;
|
| 135 |
+
|
| 136 |
+
/**
|
| 137 |
+
* @brief Generic event.
|
| 138 |
+
*
|
| 139 |
+
* A generic event structure.
|
| 140 |
+
*/
|
| 141 |
+
typedef struct {
|
| 142 |
+
uint8_t response_type; /**< Type of the response */
|
| 143 |
+
uint8_t pad0; /**< Padding */
|
| 144 |
+
uint16_t sequence; /**< Sequence number */
|
| 145 |
+
uint32_t pad[7]; /**< Padding */
|
| 146 |
+
uint32_t full_sequence; /**< full sequence */
|
| 147 |
+
} xcb_generic_event_t;
|
| 148 |
+
|
| 149 |
+
/**
|
| 150 |
+
* @brief Raw Generic event.
|
| 151 |
+
*
|
| 152 |
+
* A generic event structure as used on the wire, i.e., without the full_sequence field
|
| 153 |
+
*/
|
| 154 |
+
typedef struct {
|
| 155 |
+
uint8_t response_type; /**< Type of the response */
|
| 156 |
+
uint8_t pad0; /**< Padding */
|
| 157 |
+
uint16_t sequence; /**< Sequence number */
|
| 158 |
+
uint32_t pad[7]; /**< Padding */
|
| 159 |
+
} xcb_raw_generic_event_t;
|
| 160 |
+
|
| 161 |
+
/**
|
| 162 |
+
* @brief GE event
|
| 163 |
+
*
|
| 164 |
+
* An event as sent by the XGE extension. The length field specifies the
|
| 165 |
+
* number of 4-byte blocks trailing the struct.
|
| 166 |
+
*
|
| 167 |
+
* @deprecated Since some fields in this struct have unfortunate names, it is
|
| 168 |
+
* recommended to use xcb_ge_generic_event_t instead.
|
| 169 |
+
*/
|
| 170 |
+
typedef struct {
|
| 171 |
+
uint8_t response_type; /**< Type of the response */
|
| 172 |
+
uint8_t pad0; /**< Padding */
|
| 173 |
+
uint16_t sequence; /**< Sequence number */
|
| 174 |
+
uint32_t length;
|
| 175 |
+
uint16_t event_type;
|
| 176 |
+
uint16_t pad1;
|
| 177 |
+
uint32_t pad[5]; /**< Padding */
|
| 178 |
+
uint32_t full_sequence; /**< full sequence */
|
| 179 |
+
} xcb_ge_event_t;
|
| 180 |
+
|
| 181 |
+
/**
|
| 182 |
+
* @brief Generic error.
|
| 183 |
+
*
|
| 184 |
+
* A generic error structure.
|
| 185 |
+
*/
|
| 186 |
+
typedef struct {
|
| 187 |
+
uint8_t response_type; /**< Type of the response */
|
| 188 |
+
uint8_t error_code; /**< Error code */
|
| 189 |
+
uint16_t sequence; /**< Sequence number */
|
| 190 |
+
uint32_t resource_id; /** < Resource ID for requests with side effects only */
|
| 191 |
+
uint16_t minor_code; /** < Minor opcode of the failed request */
|
| 192 |
+
uint8_t major_code; /** < Major opcode of the failed request */
|
| 193 |
+
uint8_t pad0;
|
| 194 |
+
uint32_t pad[5]; /**< Padding */
|
| 195 |
+
uint32_t full_sequence; /**< full sequence */
|
| 196 |
+
} xcb_generic_error_t;
|
| 197 |
+
|
| 198 |
+
/**
|
| 199 |
+
* @brief Generic cookie.
|
| 200 |
+
*
|
| 201 |
+
* A generic cookie structure.
|
| 202 |
+
*/
|
| 203 |
+
typedef struct {
|
| 204 |
+
unsigned int sequence; /**< Sequence number */
|
| 205 |
+
} xcb_void_cookie_t;
|
| 206 |
+
|
| 207 |
+
|
| 208 |
+
/* Include the generated xproto header. */
|
| 209 |
+
#include "xproto.h"
|
| 210 |
+
|
| 211 |
+
|
| 212 |
+
/** XCB_NONE is the universal null resource or null atom parameter value for many core X requests */
|
| 213 |
+
#define XCB_NONE 0L
|
| 214 |
+
|
| 215 |
+
/** XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters */
|
| 216 |
+
#define XCB_COPY_FROM_PARENT 0L
|
| 217 |
+
|
| 218 |
+
/** XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t */
|
| 219 |
+
#define XCB_CURRENT_TIME 0L
|
| 220 |
+
|
| 221 |
+
/** XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables */
|
| 222 |
+
#define XCB_NO_SYMBOL 0L
|
| 223 |
+
|
| 224 |
+
|
| 225 |
+
/* xcb_auth.c */
|
| 226 |
+
|
| 227 |
+
/**
|
| 228 |
+
* @brief Container for authorization information.
|
| 229 |
+
*
|
| 230 |
+
* A container for authorization information to be sent to the X server.
|
| 231 |
+
*/
|
| 232 |
+
typedef struct xcb_auth_info_t {
|
| 233 |
+
int namelen; /**< Length of the string name (as returned by strlen). */
|
| 234 |
+
char *name; /**< String containing the authentication protocol name, such as "MIT-MAGIC-COOKIE-1" or "XDM-AUTHORIZATION-1". */
|
| 235 |
+
int datalen; /**< Length of the data member. */
|
| 236 |
+
char *data; /**< Data interpreted in a protocol-specific manner. */
|
| 237 |
+
} xcb_auth_info_t;
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
/* xcb_out.c */
|
| 241 |
+
|
| 242 |
+
/**
|
| 243 |
+
* @brief Forces any buffered output to be written to the server.
|
| 244 |
+
* @param c The connection to the X server.
|
| 245 |
+
* @return > @c 0 on success, <= @c 0 otherwise.
|
| 246 |
+
*
|
| 247 |
+
* Forces any buffered output to be written to the server. Blocks
|
| 248 |
+
* until the write is complete.
|
| 249 |
+
*/
|
| 250 |
+
int xcb_flush(xcb_connection_t *c);
|
| 251 |
+
|
| 252 |
+
/**
|
| 253 |
+
* @brief Returns the maximum request length that this server accepts.
|
| 254 |
+
* @param c The connection to the X server.
|
| 255 |
+
* @return The maximum request length field.
|
| 256 |
+
*
|
| 257 |
+
* In the absence of the BIG-REQUESTS extension, returns the
|
| 258 |
+
* maximum request length field from the connection setup data, which
|
| 259 |
+
* may be as much as 65535. If the server supports BIG-REQUESTS, then
|
| 260 |
+
* the maximum request length field from the reply to the
|
| 261 |
+
* BigRequestsEnable request will be returned instead.
|
| 262 |
+
*
|
| 263 |
+
* Note that this length is measured in four-byte units, making the
|
| 264 |
+
* theoretical maximum lengths roughly 256kB without BIG-REQUESTS and
|
| 265 |
+
* 16GB with.
|
| 266 |
+
*/
|
| 267 |
+
uint32_t xcb_get_maximum_request_length(xcb_connection_t *c);
|
| 268 |
+
|
| 269 |
+
/**
|
| 270 |
+
* @brief Prefetch the maximum request length without blocking.
|
| 271 |
+
* @param c The connection to the X server.
|
| 272 |
+
*
|
| 273 |
+
* Without blocking, does as much work as possible toward computing
|
| 274 |
+
* the maximum request length accepted by the X server.
|
| 275 |
+
*
|
| 276 |
+
* Invoking this function may cause a call to xcb_big_requests_enable,
|
| 277 |
+
* but will not block waiting for the reply.
|
| 278 |
+
* xcb_get_maximum_request_length will return the prefetched data
|
| 279 |
+
* after possibly blocking while the reply is retrieved.
|
| 280 |
+
*
|
| 281 |
+
* Note that in order for this function to be fully non-blocking, the
|
| 282 |
+
* application must previously have called
|
| 283 |
+
* xcb_prefetch_extension_data(c, &xcb_big_requests_id) and the reply
|
| 284 |
+
* must have already arrived.
|
| 285 |
+
*/
|
| 286 |
+
void xcb_prefetch_maximum_request_length(xcb_connection_t *c);
|
| 287 |
+
|
| 288 |
+
|
| 289 |
+
/* xcb_in.c */
|
| 290 |
+
|
| 291 |
+
/**
|
| 292 |
+
* @brief Returns the next event or error from the server.
|
| 293 |
+
* @param c The connection to the X server.
|
| 294 |
+
* @return The next event from the server.
|
| 295 |
+
*
|
| 296 |
+
* Returns the next event or error from the server, or returns null in
|
| 297 |
+
* the event of an I/O error. Blocks until either an event or error
|
| 298 |
+
* arrive, or an I/O error occurs.
|
| 299 |
+
*/
|
| 300 |
+
xcb_generic_event_t *xcb_wait_for_event(xcb_connection_t *c);
|
| 301 |
+
|
| 302 |
+
/**
|
| 303 |
+
* @brief Returns the next event or error from the server.
|
| 304 |
+
* @param c The connection to the X server.
|
| 305 |
+
* @return The next event from the server.
|
| 306 |
+
*
|
| 307 |
+
* Returns the next event or error from the server, if one is
|
| 308 |
+
* available, or returns @c NULL otherwise. If no event is available, that
|
| 309 |
+
* might be because an I/O error like connection close occurred while
|
| 310 |
+
* attempting to read the next event, in which case the connection is
|
| 311 |
+
* shut down when this function returns.
|
| 312 |
+
*/
|
| 313 |
+
xcb_generic_event_t *xcb_poll_for_event(xcb_connection_t *c);
|
| 314 |
+
|
| 315 |
+
/**
|
| 316 |
+
* @brief Returns the next event without reading from the connection.
|
| 317 |
+
* @param c The connection to the X server.
|
| 318 |
+
* @return The next already queued event from the server.
|
| 319 |
+
*
|
| 320 |
+
* This is a version of xcb_poll_for_event that only examines the
|
| 321 |
+
* event queue for new events. The function doesn't try to read new
|
| 322 |
+
* events from the connection if no queued events are found.
|
| 323 |
+
*
|
| 324 |
+
* This function is useful for callers that know in advance that all
|
| 325 |
+
* interesting events have already been read from the connection. For
|
| 326 |
+
* example, callers might use xcb_wait_for_reply and be interested
|
| 327 |
+
* only of events that preceded a specific reply.
|
| 328 |
+
*/
|
| 329 |
+
xcb_generic_event_t *xcb_poll_for_queued_event(xcb_connection_t *c);
|
| 330 |
+
|
| 331 |
+
typedef struct xcb_special_event xcb_special_event_t;
|
| 332 |
+
|
| 333 |
+
/**
|
| 334 |
+
* @brief Returns the next event from a special queue
|
| 335 |
+
*/
|
| 336 |
+
xcb_generic_event_t *xcb_poll_for_special_event(xcb_connection_t *c,
|
| 337 |
+
xcb_special_event_t *se);
|
| 338 |
+
|
| 339 |
+
/**
|
| 340 |
+
* @brief Returns the next event from a special queue, blocking until one arrives
|
| 341 |
+
*/
|
| 342 |
+
xcb_generic_event_t *xcb_wait_for_special_event(xcb_connection_t *c,
|
| 343 |
+
xcb_special_event_t *se);
|
| 344 |
+
/**
|
| 345 |
+
* @typedef typedef struct xcb_extension_t xcb_extension_t
|
| 346 |
+
*/
|
| 347 |
+
typedef struct xcb_extension_t xcb_extension_t; /**< Opaque structure used as key for xcb_get_extension_data_t. */
|
| 348 |
+
|
| 349 |
+
/**
|
| 350 |
+
* @brief Listen for a special event
|
| 351 |
+
*/
|
| 352 |
+
xcb_special_event_t *xcb_register_for_special_xge(xcb_connection_t *c,
|
| 353 |
+
xcb_extension_t *ext,
|
| 354 |
+
uint32_t eid,
|
| 355 |
+
uint32_t *stamp);
|
| 356 |
+
|
| 357 |
+
/**
|
| 358 |
+
* @brief Stop listening for a special event
|
| 359 |
+
*/
|
| 360 |
+
void xcb_unregister_for_special_event(xcb_connection_t *c,
|
| 361 |
+
xcb_special_event_t *se);
|
| 362 |
+
|
| 363 |
+
/**
|
| 364 |
+
* @brief Return the error for a request, or NULL if none can ever arrive.
|
| 365 |
+
* @param c The connection to the X server.
|
| 366 |
+
* @param cookie The request cookie.
|
| 367 |
+
* @return The error for the request, or NULL if none can ever arrive.
|
| 368 |
+
*
|
| 369 |
+
* The xcb_void_cookie_t cookie supplied to this function must have resulted
|
| 370 |
+
* from a call to xcb_[request_name]_checked(). This function will block
|
| 371 |
+
* until one of two conditions happens. If an error is received, it will be
|
| 372 |
+
* returned. If a reply to a subsequent request has already arrived, no error
|
| 373 |
+
* can arrive for this request, so this function will return NULL.
|
| 374 |
+
*
|
| 375 |
+
* Note that this function will perform a sync if needed to ensure that the
|
| 376 |
+
* sequence number will advance beyond that provided in cookie; this is a
|
| 377 |
+
* convenience to avoid races in determining whether the sync is needed.
|
| 378 |
+
*/
|
| 379 |
+
xcb_generic_error_t *xcb_request_check(xcb_connection_t *c, xcb_void_cookie_t cookie);
|
| 380 |
+
|
| 381 |
+
/**
|
| 382 |
+
* @brief Discards the reply for a request.
|
| 383 |
+
* @param c The connection to the X server.
|
| 384 |
+
* @param sequence The request sequence number from a cookie.
|
| 385 |
+
*
|
| 386 |
+
* Discards the reply for a request. Additionally, any error generated
|
| 387 |
+
* by the request is also discarded (unless it was an _unchecked request
|
| 388 |
+
* and the error has already arrived).
|
| 389 |
+
*
|
| 390 |
+
* This function will not block even if the reply is not yet available.
|
| 391 |
+
*
|
| 392 |
+
* Note that the sequence really does have to come from an xcb cookie;
|
| 393 |
+
* this function is not designed to operate on socket-handoff replies.
|
| 394 |
+
*/
|
| 395 |
+
void xcb_discard_reply(xcb_connection_t *c, unsigned int sequence);
|
| 396 |
+
|
| 397 |
+
/**
|
| 398 |
+
* @brief Discards the reply for a request, given by a 64bit sequence number
|
| 399 |
+
* @param c The connection to the X server.
|
| 400 |
+
* @param sequence 64-bit sequence number as returned by xcb_send_request64().
|
| 401 |
+
*
|
| 402 |
+
* Discards the reply for a request. Additionally, any error generated
|
| 403 |
+
* by the request is also discarded (unless it was an _unchecked request
|
| 404 |
+
* and the error has already arrived).
|
| 405 |
+
*
|
| 406 |
+
* This function will not block even if the reply is not yet available.
|
| 407 |
+
*
|
| 408 |
+
* Note that the sequence really does have to come from xcb_send_request64();
|
| 409 |
+
* the cookie sequence number is defined as "unsigned" int and therefore
|
| 410 |
+
* not 64-bit on all platforms.
|
| 411 |
+
* This function is not designed to operate on socket-handoff replies.
|
| 412 |
+
*
|
| 413 |
+
* Unlike its xcb_discard_reply() counterpart, the given sequence number is not
|
| 414 |
+
* automatically "widened" to 64-bit.
|
| 415 |
+
*/
|
| 416 |
+
void xcb_discard_reply64(xcb_connection_t *c, uint64_t sequence);
|
| 417 |
+
|
| 418 |
+
/* xcb_ext.c */
|
| 419 |
+
|
| 420 |
+
/**
|
| 421 |
+
* @brief Caches reply information from QueryExtension requests.
|
| 422 |
+
* @param c The connection.
|
| 423 |
+
* @param ext The extension data.
|
| 424 |
+
* @return A pointer to the xcb_query_extension_reply_t for the extension.
|
| 425 |
+
*
|
| 426 |
+
* This function is the primary interface to the "extension cache",
|
| 427 |
+
* which caches reply information from QueryExtension
|
| 428 |
+
* requests. Invoking this function may cause a call to
|
| 429 |
+
* xcb_query_extension to retrieve extension information from the
|
| 430 |
+
* server, and may block until extension data is received from the
|
| 431 |
+
* server.
|
| 432 |
+
*
|
| 433 |
+
* The result must not be freed. This storage is managed by the cache
|
| 434 |
+
* itself.
|
| 435 |
+
*/
|
| 436 |
+
const struct xcb_query_extension_reply_t *xcb_get_extension_data(xcb_connection_t *c, xcb_extension_t *ext);
|
| 437 |
+
|
| 438 |
+
/**
|
| 439 |
+
* @brief Prefetch of extension data into the extension cache
|
| 440 |
+
* @param c The connection.
|
| 441 |
+
* @param ext The extension data.
|
| 442 |
+
*
|
| 443 |
+
* This function allows a "prefetch" of extension data into the
|
| 444 |
+
* extension cache. Invoking the function may cause a call to
|
| 445 |
+
* xcb_query_extension, but will not block waiting for the
|
| 446 |
+
* reply. xcb_get_extension_data will return the prefetched data after
|
| 447 |
+
* possibly blocking while it is retrieved.
|
| 448 |
+
*/
|
| 449 |
+
void xcb_prefetch_extension_data(xcb_connection_t *c, xcb_extension_t *ext);
|
| 450 |
+
|
| 451 |
+
|
| 452 |
+
/* xcb_conn.c */
|
| 453 |
+
|
| 454 |
+
/**
|
| 455 |
+
* @brief Access the data returned by the server.
|
| 456 |
+
* @param c The connection.
|
| 457 |
+
* @return A pointer to an xcb_setup_t structure.
|
| 458 |
+
*
|
| 459 |
+
* Accessor for the data returned by the server when the xcb_connection_t
|
| 460 |
+
* was initialized. This data includes
|
| 461 |
+
* - the server's required format for images,
|
| 462 |
+
* - a list of available visuals,
|
| 463 |
+
* - a list of available screens,
|
| 464 |
+
* - the server's maximum request length (in the absence of the
|
| 465 |
+
* BIG-REQUESTS extension),
|
| 466 |
+
* - and other assorted information.
|
| 467 |
+
*
|
| 468 |
+
* See the X protocol specification for more details.
|
| 469 |
+
*
|
| 470 |
+
* The result must not be freed.
|
| 471 |
+
*/
|
| 472 |
+
const struct xcb_setup_t *xcb_get_setup(xcb_connection_t *c);
|
| 473 |
+
|
| 474 |
+
/**
|
| 475 |
+
* @brief Access the file descriptor of the connection.
|
| 476 |
+
* @param c The connection.
|
| 477 |
+
* @return The file descriptor.
|
| 478 |
+
*
|
| 479 |
+
* Accessor for the file descriptor that was passed to the
|
| 480 |
+
* xcb_connect_to_fd call that returned @p c.
|
| 481 |
+
*/
|
| 482 |
+
int xcb_get_file_descriptor(xcb_connection_t *c);
|
| 483 |
+
|
| 484 |
+
/**
|
| 485 |
+
* @brief Test whether the connection has shut down due to a fatal error.
|
| 486 |
+
* @param c The connection.
|
| 487 |
+
* @return > 0 if the connection is in an error state; 0 otherwise.
|
| 488 |
+
*
|
| 489 |
+
* Some errors that occur in the context of an xcb_connection_t
|
| 490 |
+
* are unrecoverable. When such an error occurs, the
|
| 491 |
+
* connection is shut down and further operations on the
|
| 492 |
+
* xcb_connection_t have no effect, but memory will not be freed until
|
| 493 |
+
* xcb_disconnect() is called on the xcb_connection_t.
|
| 494 |
+
*
|
| 495 |
+
* @return XCB_CONN_ERROR, because of socket errors, pipe errors or other stream errors.
|
| 496 |
+
* @return XCB_CONN_CLOSED_EXT_NOTSUPPORTED, when extension not supported.
|
| 497 |
+
* @return XCB_CONN_CLOSED_MEM_INSUFFICIENT, when memory not available.
|
| 498 |
+
* @return XCB_CONN_CLOSED_REQ_LEN_EXCEED, exceeding request length that server accepts.
|
| 499 |
+
* @return XCB_CONN_CLOSED_PARSE_ERR, error during parsing display string.
|
| 500 |
+
* @return XCB_CONN_CLOSED_INVALID_SCREEN, because the server does not have a screen matching the display.
|
| 501 |
+
*/
|
| 502 |
+
int xcb_connection_has_error(xcb_connection_t *c);
|
| 503 |
+
|
| 504 |
+
/**
|
| 505 |
+
* @brief Connects to the X server.
|
| 506 |
+
* @param fd The file descriptor.
|
| 507 |
+
* @param auth_info Authentication data.
|
| 508 |
+
* @return A newly allocated xcb_connection_t structure.
|
| 509 |
+
*
|
| 510 |
+
* Connects to an X server, given the open socket @p fd and the
|
| 511 |
+
* xcb_auth_info_t @p auth_info. The file descriptor @p fd is
|
| 512 |
+
* bidirectionally connected to an X server. If the connection
|
| 513 |
+
* should be unauthenticated, @p auth_info must be @c
|
| 514 |
+
* NULL.
|
| 515 |
+
*
|
| 516 |
+
* Always returns a non-NULL pointer to a xcb_connection_t, even on failure.
|
| 517 |
+
* Callers need to use xcb_connection_has_error() to check for failure.
|
| 518 |
+
* When finished, use xcb_disconnect() to close the connection and free
|
| 519 |
+
* the structure.
|
| 520 |
+
*/
|
| 521 |
+
xcb_connection_t *xcb_connect_to_fd(int fd, xcb_auth_info_t *auth_info);
|
| 522 |
+
|
| 523 |
+
/**
|
| 524 |
+
* @brief Closes the connection.
|
| 525 |
+
* @param c The connection.
|
| 526 |
+
*
|
| 527 |
+
* Closes the file descriptor and frees all memory associated with the
|
| 528 |
+
* connection @c c. If @p c is @c NULL, nothing is done.
|
| 529 |
+
*/
|
| 530 |
+
void xcb_disconnect(xcb_connection_t *c);
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
/* xcb_util.c */
|
| 534 |
+
|
| 535 |
+
/**
|
| 536 |
+
* @brief Parses a display string name in the form documented by X(7x).
|
| 537 |
+
* @param name The name of the display.
|
| 538 |
+
* @param host A pointer to a malloc'd copy of the hostname.
|
| 539 |
+
* @param display A pointer to the display number.
|
| 540 |
+
* @param screen A pointer to the screen number.
|
| 541 |
+
* @return 0 on failure, non 0 otherwise.
|
| 542 |
+
*
|
| 543 |
+
* Parses the display string name @p display_name in the form
|
| 544 |
+
* documented by X(7x). Has no side effects on failure. If
|
| 545 |
+
* @p displayname is @c NULL or empty, it uses the environment
|
| 546 |
+
* variable DISPLAY. @p hostp is a pointer to a newly allocated string
|
| 547 |
+
* that contain the host name. @p displayp is set to the display
|
| 548 |
+
* number and @p screenp to the preferred screen number. @p screenp
|
| 549 |
+
* can be @c NULL. If @p displayname does not contain a screen number,
|
| 550 |
+
* it is set to @c 0.
|
| 551 |
+
*/
|
| 552 |
+
int xcb_parse_display(const char *name, char **host, int *display, int *screen);
|
| 553 |
+
|
| 554 |
+
/**
|
| 555 |
+
* @brief Connects to the X server.
|
| 556 |
+
* @param displayname The name of the display.
|
| 557 |
+
* @param screenp A pointer to a preferred screen number.
|
| 558 |
+
* @return A newly allocated xcb_connection_t structure.
|
| 559 |
+
*
|
| 560 |
+
* Connects to the X server specified by @p displayname. If @p
|
| 561 |
+
* displayname is @c NULL, uses the value of the DISPLAY environment
|
| 562 |
+
* variable. If a particular screen on that server is preferred, the
|
| 563 |
+
* int pointed to by @p screenp (if not @c NULL) will be set to that
|
| 564 |
+
* screen; otherwise the screen will be set to 0.
|
| 565 |
+
*
|
| 566 |
+
* Always returns a non-NULL pointer to a xcb_connection_t, even on failure.
|
| 567 |
+
* Callers need to use xcb_connection_has_error() to check for failure.
|
| 568 |
+
* When finished, use xcb_disconnect() to close the connection and free
|
| 569 |
+
* the structure.
|
| 570 |
+
*/
|
| 571 |
+
xcb_connection_t *xcb_connect(const char *displayname, int *screenp);
|
| 572 |
+
|
| 573 |
+
/**
|
| 574 |
+
* @brief Connects to the X server, using an authorization information.
|
| 575 |
+
* @param display The name of the display.
|
| 576 |
+
* @param auth The authorization information.
|
| 577 |
+
* @param screen A pointer to a preferred screen number.
|
| 578 |
+
* @return A newly allocated xcb_connection_t structure.
|
| 579 |
+
*
|
| 580 |
+
* Connects to the X server specified by @p displayname, using the
|
| 581 |
+
* authorization @p auth. If a particular screen on that server is
|
| 582 |
+
* preferred, the int pointed to by @p screenp (if not @c NULL) will
|
| 583 |
+
* be set to that screen; otherwise @p screenp will be set to 0.
|
| 584 |
+
*
|
| 585 |
+
* Always returns a non-NULL pointer to a xcb_connection_t, even on failure.
|
| 586 |
+
* Callers need to use xcb_connection_has_error() to check for failure.
|
| 587 |
+
* When finished, use xcb_disconnect() to close the connection and free
|
| 588 |
+
* the structure.
|
| 589 |
+
*/
|
| 590 |
+
xcb_connection_t *xcb_connect_to_display_with_auth_info(const char *display, xcb_auth_info_t *auth, int *screen);
|
| 591 |
+
|
| 592 |
+
|
| 593 |
+
/* xcb_xid.c */
|
| 594 |
+
|
| 595 |
+
/**
|
| 596 |
+
* @brief Allocates an XID for a new object.
|
| 597 |
+
* @param c The connection.
|
| 598 |
+
* @return A newly allocated XID, or -1 on failure.
|
| 599 |
+
*
|
| 600 |
+
* Allocates an XID for a new object. Typically used just prior to
|
| 601 |
+
* various object creation functions, such as xcb_create_window.
|
| 602 |
+
*/
|
| 603 |
+
uint32_t xcb_generate_id(xcb_connection_t *c);
|
| 604 |
+
|
| 605 |
+
|
| 606 |
+
/**
|
| 607 |
+
* @brief Obtain number of bytes read from the connection.
|
| 608 |
+
* @param c The connection
|
| 609 |
+
* @return Number of bytes read from the server.
|
| 610 |
+
*
|
| 611 |
+
* Returns cumulative number of bytes received from the connection.
|
| 612 |
+
*
|
| 613 |
+
* This retrieves the total number of bytes read from this connection,
|
| 614 |
+
* to be used for diagnostic/monitoring/informative purposes.
|
| 615 |
+
*/
|
| 616 |
+
|
| 617 |
+
uint64_t
|
| 618 |
+
xcb_total_read(xcb_connection_t *c);
|
| 619 |
+
|
| 620 |
+
/**
|
| 621 |
+
*
|
| 622 |
+
* @brief Obtain number of bytes written to the connection.
|
| 623 |
+
* @param c The connection
|
| 624 |
+
* @return Number of bytes written to the server.
|
| 625 |
+
*
|
| 626 |
+
* Returns cumulative number of bytes sent to the connection.
|
| 627 |
+
*
|
| 628 |
+
* This retrieves the total number of bytes written to this connection,
|
| 629 |
+
* to be used for diagnostic/monitoring/informative purposes.
|
| 630 |
+
*/
|
| 631 |
+
|
| 632 |
+
uint64_t
|
| 633 |
+
xcb_total_written(xcb_connection_t *c);
|
| 634 |
+
|
| 635 |
+
/**
|
| 636 |
+
* @}
|
| 637 |
+
*/
|
| 638 |
+
|
| 639 |
+
#ifdef __cplusplus
|
| 640 |
+
}
|
| 641 |
+
#endif
|
| 642 |
+
|
| 643 |
+
|
| 644 |
+
#endif /* __XCB_H__ */
|
miniconda3/envs/ladir/include/xcb/xcbext.h
ADDED
|
@@ -0,0 +1,322 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* Copyright (C) 2001-2004 Bart Massey and Jamey Sharp.
|
| 3 |
+
* All Rights Reserved.
|
| 4 |
+
*
|
| 5 |
+
* Permission is hereby granted, free of charge, to any person obtaining a
|
| 6 |
+
* copy of this software and associated documentation files (the "Software"),
|
| 7 |
+
* to deal in the Software without restriction, including without limitation
|
| 8 |
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
| 9 |
+
* and/or sell copies of the Software, and to permit persons to whom the
|
| 10 |
+
* Software is furnished to do so, subject to the following conditions:
|
| 11 |
+
*
|
| 12 |
+
* The above copyright notice and this permission notice shall be included in
|
| 13 |
+
* all copies or substantial portions of the Software.
|
| 14 |
+
*
|
| 15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
| 19 |
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
| 20 |
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 21 |
+
*
|
| 22 |
+
* Except as contained in this notice, the names of the authors or their
|
| 23 |
+
* institutions shall not be used in advertising or otherwise to promote the
|
| 24 |
+
* sale, use or other dealings in this Software without prior written
|
| 25 |
+
* authorization from the authors.
|
| 26 |
+
*/
|
| 27 |
+
|
| 28 |
+
#ifndef __XCBEXT_H
|
| 29 |
+
#define __XCBEXT_H
|
| 30 |
+
|
| 31 |
+
#include "xcb.h"
|
| 32 |
+
|
| 33 |
+
#ifdef __cplusplus
|
| 34 |
+
extern "C" {
|
| 35 |
+
#endif
|
| 36 |
+
|
| 37 |
+
/* xcb_ext.c */
|
| 38 |
+
|
| 39 |
+
struct xcb_extension_t {
|
| 40 |
+
const char *name;
|
| 41 |
+
int global_id;
|
| 42 |
+
};
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
/* xcb_out.c */
|
| 46 |
+
|
| 47 |
+
typedef struct {
|
| 48 |
+
size_t count;
|
| 49 |
+
xcb_extension_t *ext;
|
| 50 |
+
uint8_t opcode;
|
| 51 |
+
uint8_t isvoid;
|
| 52 |
+
} xcb_protocol_request_t;
|
| 53 |
+
|
| 54 |
+
enum xcb_send_request_flags_t {
|
| 55 |
+
XCB_REQUEST_CHECKED = 1 << 0,
|
| 56 |
+
XCB_REQUEST_RAW = 1 << 1,
|
| 57 |
+
XCB_REQUEST_DISCARD_REPLY = 1 << 2,
|
| 58 |
+
XCB_REQUEST_REPLY_FDS = 1 << 3
|
| 59 |
+
};
|
| 60 |
+
|
| 61 |
+
/**
|
| 62 |
+
* @brief Send a request to the server.
|
| 63 |
+
* @param c The connection to the X server.
|
| 64 |
+
* @param flags A combination of flags from the xcb_send_request_flags_t enumeration.
|
| 65 |
+
* @param vector Data to send; must have two iovecs before start for internal use.
|
| 66 |
+
* @param request Information about the request to be sent.
|
| 67 |
+
* @return The request's sequence number on success, 0 otherwise.
|
| 68 |
+
*
|
| 69 |
+
* This function sends a new request to the X server. The data of the request is
|
| 70 |
+
* given as an array of @c iovecs in the @p vector argument. The length of that
|
| 71 |
+
* array and the necessary management information are given in the @p request
|
| 72 |
+
* argument.
|
| 73 |
+
*
|
| 74 |
+
* When this function returns, the request might or might not be sent already.
|
| 75 |
+
* Use xcb_flush() to make sure that it really was sent.
|
| 76 |
+
*
|
| 77 |
+
* Please note that this function is not the preferred way for sending requests.
|
| 78 |
+
* It's better to use the generated wrapper functions.
|
| 79 |
+
*
|
| 80 |
+
* Please note that xcb might use index -1 and -2 of the @p vector array internally,
|
| 81 |
+
* so they must be valid!
|
| 82 |
+
*/
|
| 83 |
+
unsigned int xcb_send_request(xcb_connection_t *c, int flags, struct iovec *vector, const xcb_protocol_request_t *request);
|
| 84 |
+
|
| 85 |
+
/**
|
| 86 |
+
* @brief Send a request to the server.
|
| 87 |
+
* @param c The connection to the X server.
|
| 88 |
+
* @param flags A combination of flags from the xcb_send_request_flags_t enumeration.
|
| 89 |
+
* @param vector Data to send; must have two iovecs before start for internal use.
|
| 90 |
+
* @param request Information about the request to be sent.
|
| 91 |
+
* @param num_fds Number of additional file descriptors to send to the server
|
| 92 |
+
* @param fds Additional file descriptors that should be send to the server.
|
| 93 |
+
* @return The request's sequence number on success, 0 otherwise.
|
| 94 |
+
*
|
| 95 |
+
* This function sends a new request to the X server. The data of the request is
|
| 96 |
+
* given as an array of @c iovecs in the @p vector argument. The length of that
|
| 97 |
+
* array and the necessary management information are given in the @p request
|
| 98 |
+
* argument.
|
| 99 |
+
*
|
| 100 |
+
* If @p num_fds is non-zero, @p fds points to an array of file descriptors that
|
| 101 |
+
* will be sent to the X server along with this request. After this function
|
| 102 |
+
* returns, all file descriptors sent are owned by xcb and will be closed
|
| 103 |
+
* eventually.
|
| 104 |
+
*
|
| 105 |
+
* When this function returns, the request might or might not be sent already.
|
| 106 |
+
* Use xcb_flush() to make sure that it really was sent.
|
| 107 |
+
*
|
| 108 |
+
* Please note that this function is not the preferred way for sending requests.
|
| 109 |
+
*
|
| 110 |
+
* Please note that xcb might use index -1 and -2 of the @p vector array internally,
|
| 111 |
+
* so they must be valid!
|
| 112 |
+
*/
|
| 113 |
+
unsigned int xcb_send_request_with_fds(xcb_connection_t *c, int flags, struct iovec *vector,
|
| 114 |
+
const xcb_protocol_request_t *request, unsigned int num_fds, int *fds);
|
| 115 |
+
|
| 116 |
+
/**
|
| 117 |
+
* @brief Send a request to the server, with 64-bit sequence number returned.
|
| 118 |
+
* @param c The connection to the X server.
|
| 119 |
+
* @param flags A combination of flags from the xcb_send_request_flags_t enumeration.
|
| 120 |
+
* @param vector Data to send; must have two iovecs before start for internal use.
|
| 121 |
+
* @param request Information about the request to be sent.
|
| 122 |
+
* @return The request's sequence number on success, 0 otherwise.
|
| 123 |
+
*
|
| 124 |
+
* This function sends a new request to the X server. The data of the request is
|
| 125 |
+
* given as an array of @c iovecs in the @p vector argument. The length of that
|
| 126 |
+
* array and the necessary management information are given in the @p request
|
| 127 |
+
* argument.
|
| 128 |
+
*
|
| 129 |
+
* When this function returns, the request might or might not be sent already.
|
| 130 |
+
* Use xcb_flush() to make sure that it really was sent.
|
| 131 |
+
*
|
| 132 |
+
* Please note that this function is not the preferred way for sending requests.
|
| 133 |
+
* It's better to use the generated wrapper functions.
|
| 134 |
+
*
|
| 135 |
+
* Please note that xcb might use index -1 and -2 of the @p vector array internally,
|
| 136 |
+
* so they must be valid!
|
| 137 |
+
*/
|
| 138 |
+
uint64_t xcb_send_request64(xcb_connection_t *c, int flags, struct iovec *vector, const xcb_protocol_request_t *request);
|
| 139 |
+
|
| 140 |
+
/**
|
| 141 |
+
* @brief Send a request to the server, with 64-bit sequence number returned.
|
| 142 |
+
* @param c The connection to the X server.
|
| 143 |
+
* @param flags A combination of flags from the xcb_send_request_flags_t enumeration.
|
| 144 |
+
* @param vector Data to send; must have two iovecs before start for internal use.
|
| 145 |
+
* @param request Information about the request to be sent.
|
| 146 |
+
* @param num_fds Number of additional file descriptors to send to the server
|
| 147 |
+
* @param fds Additional file descriptors that should be send to the server.
|
| 148 |
+
* @return The request's sequence number on success, 0 otherwise.
|
| 149 |
+
*
|
| 150 |
+
* This function sends a new request to the X server. The data of the request is
|
| 151 |
+
* given as an array of @c iovecs in the @p vector argument. The length of that
|
| 152 |
+
* array and the necessary management information are given in the @p request
|
| 153 |
+
* argument.
|
| 154 |
+
*
|
| 155 |
+
* If @p num_fds is non-zero, @p fds points to an array of file descriptors that
|
| 156 |
+
* will be sent to the X server along with this request. After this function
|
| 157 |
+
* returns, all file descriptors sent are owned by xcb and will be closed
|
| 158 |
+
* eventually.
|
| 159 |
+
*
|
| 160 |
+
* When this function returns, the request might or might not be sent already.
|
| 161 |
+
* Use xcb_flush() to make sure that it really was sent.
|
| 162 |
+
*
|
| 163 |
+
* Please note that this function is not the preferred way for sending requests.
|
| 164 |
+
* It's better to use the generated wrapper functions.
|
| 165 |
+
*
|
| 166 |
+
* Please note that xcb might use index -1 and -2 of the @p vector array internally,
|
| 167 |
+
* so they must be valid!
|
| 168 |
+
*/
|
| 169 |
+
uint64_t xcb_send_request_with_fds64(xcb_connection_t *c, int flags, struct iovec *vector,
|
| 170 |
+
const xcb_protocol_request_t *request, unsigned int num_fds, int *fds);
|
| 171 |
+
|
| 172 |
+
/**
|
| 173 |
+
* @brief Send a file descriptor to the server in the next call to xcb_send_request.
|
| 174 |
+
* @param c The connection to the X server.
|
| 175 |
+
* @param fd The file descriptor to send.
|
| 176 |
+
*
|
| 177 |
+
* After this function returns, the file descriptor given is owned by xcb and
|
| 178 |
+
* will be closed eventually.
|
| 179 |
+
*
|
| 180 |
+
* @deprecated This function cannot be used in a thread-safe way. Two threads
|
| 181 |
+
* that run xcb_send_fd(); xcb_send_request(); could mix up their file
|
| 182 |
+
* descriptors. Instead, xcb_send_request_with_fds() should be used.
|
| 183 |
+
*/
|
| 184 |
+
void xcb_send_fd(xcb_connection_t *c, int fd);
|
| 185 |
+
|
| 186 |
+
/**
|
| 187 |
+
* @brief Take over the write side of the socket
|
| 188 |
+
* @param c The connection to the X server.
|
| 189 |
+
* @param return_socket Callback function that will be called when xcb wants
|
| 190 |
+
* to use the socket again.
|
| 191 |
+
* @param closure Argument to the callback function.
|
| 192 |
+
* @param flags A combination of flags from the xcb_send_request_flags_t enumeration.
|
| 193 |
+
* @param sent Location to the sequence number of the last sequence request.
|
| 194 |
+
* Must not be NULL.
|
| 195 |
+
* @return 1 on success, else 0.
|
| 196 |
+
*
|
| 197 |
+
* xcb_take_socket allows external code to ask XCB for permission to
|
| 198 |
+
* take over the write side of the socket and send raw data with
|
| 199 |
+
* xcb_writev. xcb_take_socket provides the sequence number of the last
|
| 200 |
+
* request XCB sent. The caller of xcb_take_socket must supply a
|
| 201 |
+
* callback which XCB can call when it wants the write side of the
|
| 202 |
+
* socket back to make a request. This callback synchronizes with the
|
| 203 |
+
* external socket owner and flushes any output queues if appropriate.
|
| 204 |
+
* If you are sending requests which won't cause a reply, please note the
|
| 205 |
+
* comment for xcb_writev which explains some sequence number wrap issues.
|
| 206 |
+
*
|
| 207 |
+
* All replies that are generated while the socket is owned externally have
|
| 208 |
+
* @p flags applied to them. For example, use XCB_REQUEST_CHECK if you don't
|
| 209 |
+
* want errors to go to xcb's normal error handling, but instead having to be
|
| 210 |
+
* picked up via xcb_wait_for_reply(), xcb_poll_for_reply() or
|
| 211 |
+
* xcb_request_check().
|
| 212 |
+
*/
|
| 213 |
+
int xcb_take_socket(xcb_connection_t *c, void (*return_socket)(void *closure), void *closure, int flags, uint64_t *sent);
|
| 214 |
+
|
| 215 |
+
/**
|
| 216 |
+
* @brief Send raw data to the X server.
|
| 217 |
+
* @param c The connection to the X server.
|
| 218 |
+
* @param vector Array of data to be sent.
|
| 219 |
+
* @param count Number of entries in @p vector.
|
| 220 |
+
* @param requests Number of requests that are being sent.
|
| 221 |
+
* @return 1 on success, else 0.
|
| 222 |
+
*
|
| 223 |
+
* You must own the write-side of the socket (you've called
|
| 224 |
+
* xcb_take_socket, and haven't returned from return_socket yet) to call
|
| 225 |
+
* xcb_writev. Also, the iovec must have at least 1 byte of data in it.
|
| 226 |
+
* You have to make sure that xcb can detect sequence number wraps correctly.
|
| 227 |
+
* This means that the first request you send after xcb_take_socket must cause a
|
| 228 |
+
* reply (e.g. just insert a GetInputFocus request). After every (1 << 16) - 1
|
| 229 |
+
* requests without a reply, you have to insert a request which will cause a
|
| 230 |
+
* reply. You can again use GetInputFocus for this. You do not have to wait for
|
| 231 |
+
* any of the GetInputFocus replies, but can instead handle them via
|
| 232 |
+
* xcb_discard_reply().
|
| 233 |
+
*/
|
| 234 |
+
int xcb_writev(xcb_connection_t *c, struct iovec *vector, int count, uint64_t requests);
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
/* xcb_in.c */
|
| 238 |
+
|
| 239 |
+
/**
|
| 240 |
+
* @brief Wait for the reply of a given request.
|
| 241 |
+
* @param c The connection to the X server.
|
| 242 |
+
* @param request Sequence number of the request as returned by xcb_send_request().
|
| 243 |
+
* @param e Location to store errors in, or NULL. Ignored for unchecked requests.
|
| 244 |
+
*
|
| 245 |
+
* Returns the reply to the given request or returns null in the event of
|
| 246 |
+
* errors. Blocks until the reply or error for the request arrives, or an I/O
|
| 247 |
+
* error occurs.
|
| 248 |
+
*/
|
| 249 |
+
void *xcb_wait_for_reply(xcb_connection_t *c, unsigned int request, xcb_generic_error_t **e);
|
| 250 |
+
|
| 251 |
+
/**
|
| 252 |
+
* @brief Wait for the reply of a given request, with 64-bit sequence number
|
| 253 |
+
* @param c The connection to the X server.
|
| 254 |
+
* @param request 64-bit sequence number of the request as returned by xcb_send_request64().
|
| 255 |
+
* @param e Location to store errors in, or NULL. Ignored for unchecked requests.
|
| 256 |
+
*
|
| 257 |
+
* Returns the reply to the given request or returns null in the event of
|
| 258 |
+
* errors. Blocks until the reply or error for the request arrives, or an I/O
|
| 259 |
+
* error occurs.
|
| 260 |
+
*
|
| 261 |
+
* Unlike its xcb_wait_for_reply() counterpart, the given sequence number is not
|
| 262 |
+
* automatically "widened" to 64-bit.
|
| 263 |
+
*/
|
| 264 |
+
void *xcb_wait_for_reply64(xcb_connection_t *c, uint64_t request, xcb_generic_error_t **e);
|
| 265 |
+
|
| 266 |
+
/**
|
| 267 |
+
* @brief Poll for the reply of a given request.
|
| 268 |
+
* @param c The connection to the X server.
|
| 269 |
+
* @param request Sequence number of the request as returned by xcb_send_request().
|
| 270 |
+
* @param reply Location to store the reply in, must not be NULL.
|
| 271 |
+
* @param error Location to store errors in, or NULL. Ignored for unchecked requests.
|
| 272 |
+
* @return 1 when the reply to the request was returned, else 0.
|
| 273 |
+
*
|
| 274 |
+
* Checks if the reply to the given request already received. Does not block.
|
| 275 |
+
*/
|
| 276 |
+
int xcb_poll_for_reply(xcb_connection_t *c, unsigned int request, void **reply, xcb_generic_error_t **error);
|
| 277 |
+
|
| 278 |
+
/**
|
| 279 |
+
* @brief Poll for the reply of a given request, with 64-bit sequence number.
|
| 280 |
+
* @param c The connection to the X server.
|
| 281 |
+
* @param request 64-bit sequence number of the request as returned by xcb_send_request().
|
| 282 |
+
* @param reply Location to store the reply in, must not be NULL.
|
| 283 |
+
* @param error Location to store errors in, or NULL. Ignored for unchecked requests.
|
| 284 |
+
* @return 1 when the reply to the request was returned, else 0.
|
| 285 |
+
*
|
| 286 |
+
* Checks if the reply to the given request already received. Does not block.
|
| 287 |
+
*
|
| 288 |
+
* Unlike its xcb_poll_for_reply() counterpart, the given sequence number is not
|
| 289 |
+
* automatically "widened" to 64-bit.
|
| 290 |
+
*/
|
| 291 |
+
int xcb_poll_for_reply64(xcb_connection_t *c, uint64_t request, void **reply, xcb_generic_error_t **error);
|
| 292 |
+
|
| 293 |
+
/**
|
| 294 |
+
* @brief Don't use this, only needed by the generated code.
|
| 295 |
+
* @param c The connection to the X server.
|
| 296 |
+
* @param reply A reply that was received from the server
|
| 297 |
+
* @param replylen The size of the reply.
|
| 298 |
+
* @return Pointer to the location where received file descriptors are stored.
|
| 299 |
+
*/
|
| 300 |
+
int *xcb_get_reply_fds(xcb_connection_t *c, void *reply, size_t replylen);
|
| 301 |
+
|
| 302 |
+
|
| 303 |
+
/* xcb_util.c */
|
| 304 |
+
|
| 305 |
+
/**
|
| 306 |
+
* @param mask The mask to check
|
| 307 |
+
* @return The number of set bits in the mask
|
| 308 |
+
*/
|
| 309 |
+
int xcb_popcount(uint32_t mask);
|
| 310 |
+
|
| 311 |
+
/**
|
| 312 |
+
* @param list The base of an array
|
| 313 |
+
* @param len The length of the array
|
| 314 |
+
* @return The sum of all entries in the array.
|
| 315 |
+
*/
|
| 316 |
+
int xcb_sumof(uint8_t *list, int len);
|
| 317 |
+
|
| 318 |
+
#ifdef __cplusplus
|
| 319 |
+
}
|
| 320 |
+
#endif
|
| 321 |
+
|
| 322 |
+
#endif
|
miniconda3/envs/ladir/include/xcb/xevie.h
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xevie.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Xevie_API XCB Xevie API
|
| 8 |
+
* @brief Xevie XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XEVIE_H
|
| 13 |
+
#define __XEVIE_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
|
| 17 |
+
#ifdef __cplusplus
|
| 18 |
+
extern "C" {
|
| 19 |
+
#endif
|
| 20 |
+
|
| 21 |
+
#define XCB_XEVIE_MAJOR_VERSION 1
|
| 22 |
+
#define XCB_XEVIE_MINOR_VERSION 0
|
| 23 |
+
|
| 24 |
+
extern xcb_extension_t xcb_xevie_id;
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* @brief xcb_xevie_query_version_cookie_t
|
| 28 |
+
**/
|
| 29 |
+
typedef struct xcb_xevie_query_version_cookie_t {
|
| 30 |
+
unsigned int sequence;
|
| 31 |
+
} xcb_xevie_query_version_cookie_t;
|
| 32 |
+
|
| 33 |
+
/** Opcode for xcb_xevie_query_version. */
|
| 34 |
+
#define XCB_XEVIE_QUERY_VERSION 0
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
* @brief xcb_xevie_query_version_request_t
|
| 38 |
+
**/
|
| 39 |
+
typedef struct xcb_xevie_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_xevie_query_version_request_t;
|
| 46 |
+
|
| 47 |
+
/**
|
| 48 |
+
* @brief xcb_xevie_query_version_reply_t
|
| 49 |
+
**/
|
| 50 |
+
typedef struct xcb_xevie_query_version_reply_t {
|
| 51 |
+
uint8_t response_type;
|
| 52 |
+
uint8_t pad0;
|
| 53 |
+
uint16_t sequence;
|
| 54 |
+
uint32_t length;
|
| 55 |
+
uint16_t server_major_version;
|
| 56 |
+
uint16_t server_minor_version;
|
| 57 |
+
uint8_t pad1[20];
|
| 58 |
+
} xcb_xevie_query_version_reply_t;
|
| 59 |
+
|
| 60 |
+
/**
|
| 61 |
+
* @brief xcb_xevie_start_cookie_t
|
| 62 |
+
**/
|
| 63 |
+
typedef struct xcb_xevie_start_cookie_t {
|
| 64 |
+
unsigned int sequence;
|
| 65 |
+
} xcb_xevie_start_cookie_t;
|
| 66 |
+
|
| 67 |
+
/** Opcode for xcb_xevie_start. */
|
| 68 |
+
#define XCB_XEVIE_START 1
|
| 69 |
+
|
| 70 |
+
/**
|
| 71 |
+
* @brief xcb_xevie_start_request_t
|
| 72 |
+
**/
|
| 73 |
+
typedef struct xcb_xevie_start_request_t {
|
| 74 |
+
uint8_t major_opcode;
|
| 75 |
+
uint8_t minor_opcode;
|
| 76 |
+
uint16_t length;
|
| 77 |
+
uint32_t screen;
|
| 78 |
+
} xcb_xevie_start_request_t;
|
| 79 |
+
|
| 80 |
+
/**
|
| 81 |
+
* @brief xcb_xevie_start_reply_t
|
| 82 |
+
**/
|
| 83 |
+
typedef struct xcb_xevie_start_reply_t {
|
| 84 |
+
uint8_t response_type;
|
| 85 |
+
uint8_t pad0;
|
| 86 |
+
uint16_t sequence;
|
| 87 |
+
uint32_t length;
|
| 88 |
+
uint8_t pad1[24];
|
| 89 |
+
} xcb_xevie_start_reply_t;
|
| 90 |
+
|
| 91 |
+
/**
|
| 92 |
+
* @brief xcb_xevie_end_cookie_t
|
| 93 |
+
**/
|
| 94 |
+
typedef struct xcb_xevie_end_cookie_t {
|
| 95 |
+
unsigned int sequence;
|
| 96 |
+
} xcb_xevie_end_cookie_t;
|
| 97 |
+
|
| 98 |
+
/** Opcode for xcb_xevie_end. */
|
| 99 |
+
#define XCB_XEVIE_END 2
|
| 100 |
+
|
| 101 |
+
/**
|
| 102 |
+
* @brief xcb_xevie_end_request_t
|
| 103 |
+
**/
|
| 104 |
+
typedef struct xcb_xevie_end_request_t {
|
| 105 |
+
uint8_t major_opcode;
|
| 106 |
+
uint8_t minor_opcode;
|
| 107 |
+
uint16_t length;
|
| 108 |
+
uint32_t cmap;
|
| 109 |
+
} xcb_xevie_end_request_t;
|
| 110 |
+
|
| 111 |
+
/**
|
| 112 |
+
* @brief xcb_xevie_end_reply_t
|
| 113 |
+
**/
|
| 114 |
+
typedef struct xcb_xevie_end_reply_t {
|
| 115 |
+
uint8_t response_type;
|
| 116 |
+
uint8_t pad0;
|
| 117 |
+
uint16_t sequence;
|
| 118 |
+
uint32_t length;
|
| 119 |
+
uint8_t pad1[24];
|
| 120 |
+
} xcb_xevie_end_reply_t;
|
| 121 |
+
|
| 122 |
+
typedef enum xcb_xevie_datatype_t {
|
| 123 |
+
XCB_XEVIE_DATATYPE_UNMODIFIED = 0,
|
| 124 |
+
XCB_XEVIE_DATATYPE_MODIFIED = 1
|
| 125 |
+
} xcb_xevie_datatype_t;
|
| 126 |
+
|
| 127 |
+
/**
|
| 128 |
+
* @brief xcb_xevie_event_t
|
| 129 |
+
**/
|
| 130 |
+
typedef struct xcb_xevie_event_t {
|
| 131 |
+
uint8_t pad0[32];
|
| 132 |
+
} xcb_xevie_event_t;
|
| 133 |
+
|
| 134 |
+
/**
|
| 135 |
+
* @brief xcb_xevie_event_iterator_t
|
| 136 |
+
**/
|
| 137 |
+
typedef struct xcb_xevie_event_iterator_t {
|
| 138 |
+
xcb_xevie_event_t *data;
|
| 139 |
+
int rem;
|
| 140 |
+
int index;
|
| 141 |
+
} xcb_xevie_event_iterator_t;
|
| 142 |
+
|
| 143 |
+
/**
|
| 144 |
+
* @brief xcb_xevie_send_cookie_t
|
| 145 |
+
**/
|
| 146 |
+
typedef struct xcb_xevie_send_cookie_t {
|
| 147 |
+
unsigned int sequence;
|
| 148 |
+
} xcb_xevie_send_cookie_t;
|
| 149 |
+
|
| 150 |
+
/** Opcode for xcb_xevie_send. */
|
| 151 |
+
#define XCB_XEVIE_SEND 3
|
| 152 |
+
|
| 153 |
+
/**
|
| 154 |
+
* @brief xcb_xevie_send_request_t
|
| 155 |
+
**/
|
| 156 |
+
typedef struct xcb_xevie_send_request_t {
|
| 157 |
+
uint8_t major_opcode;
|
| 158 |
+
uint8_t minor_opcode;
|
| 159 |
+
uint16_t length;
|
| 160 |
+
xcb_xevie_event_t event;
|
| 161 |
+
uint32_t data_type;
|
| 162 |
+
uint8_t pad0[64];
|
| 163 |
+
} xcb_xevie_send_request_t;
|
| 164 |
+
|
| 165 |
+
/**
|
| 166 |
+
* @brief xcb_xevie_send_reply_t
|
| 167 |
+
**/
|
| 168 |
+
typedef struct xcb_xevie_send_reply_t {
|
| 169 |
+
uint8_t response_type;
|
| 170 |
+
uint8_t pad0;
|
| 171 |
+
uint16_t sequence;
|
| 172 |
+
uint32_t length;
|
| 173 |
+
uint8_t pad1[24];
|
| 174 |
+
} xcb_xevie_send_reply_t;
|
| 175 |
+
|
| 176 |
+
/**
|
| 177 |
+
* @brief xcb_xevie_select_input_cookie_t
|
| 178 |
+
**/
|
| 179 |
+
typedef struct xcb_xevie_select_input_cookie_t {
|
| 180 |
+
unsigned int sequence;
|
| 181 |
+
} xcb_xevie_select_input_cookie_t;
|
| 182 |
+
|
| 183 |
+
/** Opcode for xcb_xevie_select_input. */
|
| 184 |
+
#define XCB_XEVIE_SELECT_INPUT 4
|
| 185 |
+
|
| 186 |
+
/**
|
| 187 |
+
* @brief xcb_xevie_select_input_request_t
|
| 188 |
+
**/
|
| 189 |
+
typedef struct xcb_xevie_select_input_request_t {
|
| 190 |
+
uint8_t major_opcode;
|
| 191 |
+
uint8_t minor_opcode;
|
| 192 |
+
uint16_t length;
|
| 193 |
+
uint32_t event_mask;
|
| 194 |
+
} xcb_xevie_select_input_request_t;
|
| 195 |
+
|
| 196 |
+
/**
|
| 197 |
+
* @brief xcb_xevie_select_input_reply_t
|
| 198 |
+
**/
|
| 199 |
+
typedef struct xcb_xevie_select_input_reply_t {
|
| 200 |
+
uint8_t response_type;
|
| 201 |
+
uint8_t pad0;
|
| 202 |
+
uint16_t sequence;
|
| 203 |
+
uint32_t length;
|
| 204 |
+
uint8_t pad1[24];
|
| 205 |
+
} xcb_xevie_select_input_reply_t;
|
| 206 |
+
|
| 207 |
+
/**
|
| 208 |
+
*
|
| 209 |
+
* @param c The connection
|
| 210 |
+
* @return A cookie
|
| 211 |
+
*
|
| 212 |
+
* Delivers a request to the X server.
|
| 213 |
+
*
|
| 214 |
+
*/
|
| 215 |
+
xcb_xevie_query_version_cookie_t
|
| 216 |
+
xcb_xevie_query_version (xcb_connection_t *c,
|
| 217 |
+
uint16_t client_major_version,
|
| 218 |
+
uint16_t client_minor_version);
|
| 219 |
+
|
| 220 |
+
/**
|
| 221 |
+
*
|
| 222 |
+
* @param c The connection
|
| 223 |
+
* @return A cookie
|
| 224 |
+
*
|
| 225 |
+
* Delivers a request to the X server.
|
| 226 |
+
*
|
| 227 |
+
* This form can be used only if the request will cause
|
| 228 |
+
* a reply to be generated. Any returned error will be
|
| 229 |
+
* placed in the event queue.
|
| 230 |
+
*/
|
| 231 |
+
xcb_xevie_query_version_cookie_t
|
| 232 |
+
xcb_xevie_query_version_unchecked (xcb_connection_t *c,
|
| 233 |
+
uint16_t client_major_version,
|
| 234 |
+
uint16_t client_minor_version);
|
| 235 |
+
|
| 236 |
+
/**
|
| 237 |
+
* Return the reply
|
| 238 |
+
* @param c The connection
|
| 239 |
+
* @param cookie The cookie
|
| 240 |
+
* @param e The xcb_generic_error_t supplied
|
| 241 |
+
*
|
| 242 |
+
* Returns the reply of the request asked by
|
| 243 |
+
*
|
| 244 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 245 |
+
* xcb_xevie_query_version_unchecked(). is used.
|
| 246 |
+
* Otherwise, it stores the error if any.
|
| 247 |
+
*
|
| 248 |
+
* The returned value must be freed by the caller using free().
|
| 249 |
+
*/
|
| 250 |
+
xcb_xevie_query_version_reply_t *
|
| 251 |
+
xcb_xevie_query_version_reply (xcb_connection_t *c,
|
| 252 |
+
xcb_xevie_query_version_cookie_t cookie /**< */,
|
| 253 |
+
xcb_generic_error_t **e);
|
| 254 |
+
|
| 255 |
+
/**
|
| 256 |
+
*
|
| 257 |
+
* @param c The connection
|
| 258 |
+
* @return A cookie
|
| 259 |
+
*
|
| 260 |
+
* Delivers a request to the X server.
|
| 261 |
+
*
|
| 262 |
+
*/
|
| 263 |
+
xcb_xevie_start_cookie_t
|
| 264 |
+
xcb_xevie_start (xcb_connection_t *c,
|
| 265 |
+
uint32_t screen);
|
| 266 |
+
|
| 267 |
+
/**
|
| 268 |
+
*
|
| 269 |
+
* @param c The connection
|
| 270 |
+
* @return A cookie
|
| 271 |
+
*
|
| 272 |
+
* Delivers a request to the X server.
|
| 273 |
+
*
|
| 274 |
+
* This form can be used only if the request will cause
|
| 275 |
+
* a reply to be generated. Any returned error will be
|
| 276 |
+
* placed in the event queue.
|
| 277 |
+
*/
|
| 278 |
+
xcb_xevie_start_cookie_t
|
| 279 |
+
xcb_xevie_start_unchecked (xcb_connection_t *c,
|
| 280 |
+
uint32_t screen);
|
| 281 |
+
|
| 282 |
+
/**
|
| 283 |
+
* Return the reply
|
| 284 |
+
* @param c The connection
|
| 285 |
+
* @param cookie The cookie
|
| 286 |
+
* @param e The xcb_generic_error_t supplied
|
| 287 |
+
*
|
| 288 |
+
* Returns the reply of the request asked by
|
| 289 |
+
*
|
| 290 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 291 |
+
* xcb_xevie_start_unchecked(). is used.
|
| 292 |
+
* Otherwise, it stores the error if any.
|
| 293 |
+
*
|
| 294 |
+
* The returned value must be freed by the caller using free().
|
| 295 |
+
*/
|
| 296 |
+
xcb_xevie_start_reply_t *
|
| 297 |
+
xcb_xevie_start_reply (xcb_connection_t *c,
|
| 298 |
+
xcb_xevie_start_cookie_t cookie /**< */,
|
| 299 |
+
xcb_generic_error_t **e);
|
| 300 |
+
|
| 301 |
+
/**
|
| 302 |
+
*
|
| 303 |
+
* @param c The connection
|
| 304 |
+
* @return A cookie
|
| 305 |
+
*
|
| 306 |
+
* Delivers a request to the X server.
|
| 307 |
+
*
|
| 308 |
+
*/
|
| 309 |
+
xcb_xevie_end_cookie_t
|
| 310 |
+
xcb_xevie_end (xcb_connection_t *c,
|
| 311 |
+
uint32_t cmap);
|
| 312 |
+
|
| 313 |
+
/**
|
| 314 |
+
*
|
| 315 |
+
* @param c The connection
|
| 316 |
+
* @return A cookie
|
| 317 |
+
*
|
| 318 |
+
* Delivers a request to the X server.
|
| 319 |
+
*
|
| 320 |
+
* This form can be used only if the request will cause
|
| 321 |
+
* a reply to be generated. Any returned error will be
|
| 322 |
+
* placed in the event queue.
|
| 323 |
+
*/
|
| 324 |
+
xcb_xevie_end_cookie_t
|
| 325 |
+
xcb_xevie_end_unchecked (xcb_connection_t *c,
|
| 326 |
+
uint32_t cmap);
|
| 327 |
+
|
| 328 |
+
/**
|
| 329 |
+
* Return the reply
|
| 330 |
+
* @param c The connection
|
| 331 |
+
* @param cookie The cookie
|
| 332 |
+
* @param e The xcb_generic_error_t supplied
|
| 333 |
+
*
|
| 334 |
+
* Returns the reply of the request asked by
|
| 335 |
+
*
|
| 336 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 337 |
+
* xcb_xevie_end_unchecked(). is used.
|
| 338 |
+
* Otherwise, it stores the error if any.
|
| 339 |
+
*
|
| 340 |
+
* The returned value must be freed by the caller using free().
|
| 341 |
+
*/
|
| 342 |
+
xcb_xevie_end_reply_t *
|
| 343 |
+
xcb_xevie_end_reply (xcb_connection_t *c,
|
| 344 |
+
xcb_xevie_end_cookie_t cookie /**< */,
|
| 345 |
+
xcb_generic_error_t **e);
|
| 346 |
+
|
| 347 |
+
/**
|
| 348 |
+
* Get the next element of the iterator
|
| 349 |
+
* @param i Pointer to a xcb_xevie_event_iterator_t
|
| 350 |
+
*
|
| 351 |
+
* Get the next element in the iterator. The member rem is
|
| 352 |
+
* decreased by one. The member data points to the next
|
| 353 |
+
* element. The member index is increased by sizeof(xcb_xevie_event_t)
|
| 354 |
+
*/
|
| 355 |
+
void
|
| 356 |
+
xcb_xevie_event_next (xcb_xevie_event_iterator_t *i);
|
| 357 |
+
|
| 358 |
+
/**
|
| 359 |
+
* Return the iterator pointing to the last element
|
| 360 |
+
* @param i An xcb_xevie_event_iterator_t
|
| 361 |
+
* @return The iterator pointing to the last element
|
| 362 |
+
*
|
| 363 |
+
* Set the current element in the iterator to the last element.
|
| 364 |
+
* The member rem is set to 0. The member data points to the
|
| 365 |
+
* last element.
|
| 366 |
+
*/
|
| 367 |
+
xcb_generic_iterator_t
|
| 368 |
+
xcb_xevie_event_end (xcb_xevie_event_iterator_t i);
|
| 369 |
+
|
| 370 |
+
/**
|
| 371 |
+
*
|
| 372 |
+
* @param c The connection
|
| 373 |
+
* @return A cookie
|
| 374 |
+
*
|
| 375 |
+
* Delivers a request to the X server.
|
| 376 |
+
*
|
| 377 |
+
*/
|
| 378 |
+
xcb_xevie_send_cookie_t
|
| 379 |
+
xcb_xevie_send (xcb_connection_t *c,
|
| 380 |
+
xcb_xevie_event_t event,
|
| 381 |
+
uint32_t data_type);
|
| 382 |
+
|
| 383 |
+
/**
|
| 384 |
+
*
|
| 385 |
+
* @param c The connection
|
| 386 |
+
* @return A cookie
|
| 387 |
+
*
|
| 388 |
+
* Delivers a request to the X server.
|
| 389 |
+
*
|
| 390 |
+
* This form can be used only if the request will cause
|
| 391 |
+
* a reply to be generated. Any returned error will be
|
| 392 |
+
* placed in the event queue.
|
| 393 |
+
*/
|
| 394 |
+
xcb_xevie_send_cookie_t
|
| 395 |
+
xcb_xevie_send_unchecked (xcb_connection_t *c,
|
| 396 |
+
xcb_xevie_event_t event,
|
| 397 |
+
uint32_t data_type);
|
| 398 |
+
|
| 399 |
+
/**
|
| 400 |
+
* Return the reply
|
| 401 |
+
* @param c The connection
|
| 402 |
+
* @param cookie The cookie
|
| 403 |
+
* @param e The xcb_generic_error_t supplied
|
| 404 |
+
*
|
| 405 |
+
* Returns the reply of the request asked by
|
| 406 |
+
*
|
| 407 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 408 |
+
* xcb_xevie_send_unchecked(). is used.
|
| 409 |
+
* Otherwise, it stores the error if any.
|
| 410 |
+
*
|
| 411 |
+
* The returned value must be freed by the caller using free().
|
| 412 |
+
*/
|
| 413 |
+
xcb_xevie_send_reply_t *
|
| 414 |
+
xcb_xevie_send_reply (xcb_connection_t *c,
|
| 415 |
+
xcb_xevie_send_cookie_t cookie /**< */,
|
| 416 |
+
xcb_generic_error_t **e);
|
| 417 |
+
|
| 418 |
+
/**
|
| 419 |
+
*
|
| 420 |
+
* @param c The connection
|
| 421 |
+
* @return A cookie
|
| 422 |
+
*
|
| 423 |
+
* Delivers a request to the X server.
|
| 424 |
+
*
|
| 425 |
+
*/
|
| 426 |
+
xcb_xevie_select_input_cookie_t
|
| 427 |
+
xcb_xevie_select_input (xcb_connection_t *c,
|
| 428 |
+
uint32_t event_mask);
|
| 429 |
+
|
| 430 |
+
/**
|
| 431 |
+
*
|
| 432 |
+
* @param c The connection
|
| 433 |
+
* @return A cookie
|
| 434 |
+
*
|
| 435 |
+
* Delivers a request to the X server.
|
| 436 |
+
*
|
| 437 |
+
* This form can be used only if the request will cause
|
| 438 |
+
* a reply to be generated. Any returned error will be
|
| 439 |
+
* placed in the event queue.
|
| 440 |
+
*/
|
| 441 |
+
xcb_xevie_select_input_cookie_t
|
| 442 |
+
xcb_xevie_select_input_unchecked (xcb_connection_t *c,
|
| 443 |
+
uint32_t event_mask);
|
| 444 |
+
|
| 445 |
+
/**
|
| 446 |
+
* Return the reply
|
| 447 |
+
* @param c The connection
|
| 448 |
+
* @param cookie The cookie
|
| 449 |
+
* @param e The xcb_generic_error_t supplied
|
| 450 |
+
*
|
| 451 |
+
* Returns the reply of the request asked by
|
| 452 |
+
*
|
| 453 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 454 |
+
* xcb_xevie_select_input_unchecked(). is used.
|
| 455 |
+
* Otherwise, it stores the error if any.
|
| 456 |
+
*
|
| 457 |
+
* The returned value must be freed by the caller using free().
|
| 458 |
+
*/
|
| 459 |
+
xcb_xevie_select_input_reply_t *
|
| 460 |
+
xcb_xevie_select_input_reply (xcb_connection_t *c,
|
| 461 |
+
xcb_xevie_select_input_cookie_t cookie /**< */,
|
| 462 |
+
xcb_generic_error_t **e);
|
| 463 |
+
|
| 464 |
+
|
| 465 |
+
#ifdef __cplusplus
|
| 466 |
+
}
|
| 467 |
+
#endif
|
| 468 |
+
|
| 469 |
+
#endif
|
| 470 |
+
|
| 471 |
+
/**
|
| 472 |
+
* @}
|
| 473 |
+
*/
|
miniconda3/envs/ladir/include/xcb/xf86dri.h
ADDED
|
@@ -0,0 +1,988 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xf86dri.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_XF86Dri_API XCB XF86Dri API
|
| 8 |
+
* @brief XF86Dri XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XF86DRI_H
|
| 13 |
+
#define __XF86DRI_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
|
| 17 |
+
#ifdef __cplusplus
|
| 18 |
+
extern "C" {
|
| 19 |
+
#endif
|
| 20 |
+
|
| 21 |
+
#define XCB_XF86DRI_MAJOR_VERSION 4
|
| 22 |
+
#define XCB_XF86DRI_MINOR_VERSION 1
|
| 23 |
+
|
| 24 |
+
extern xcb_extension_t xcb_xf86dri_id;
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* @brief xcb_xf86dri_drm_clip_rect_t
|
| 28 |
+
**/
|
| 29 |
+
typedef struct xcb_xf86dri_drm_clip_rect_t {
|
| 30 |
+
int16_t x1;
|
| 31 |
+
int16_t y1;
|
| 32 |
+
int16_t x2;
|
| 33 |
+
int16_t x3;
|
| 34 |
+
} xcb_xf86dri_drm_clip_rect_t;
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
* @brief xcb_xf86dri_drm_clip_rect_iterator_t
|
| 38 |
+
**/
|
| 39 |
+
typedef struct xcb_xf86dri_drm_clip_rect_iterator_t {
|
| 40 |
+
xcb_xf86dri_drm_clip_rect_t *data;
|
| 41 |
+
int rem;
|
| 42 |
+
int index;
|
| 43 |
+
} xcb_xf86dri_drm_clip_rect_iterator_t;
|
| 44 |
+
|
| 45 |
+
/**
|
| 46 |
+
* @brief xcb_xf86dri_query_version_cookie_t
|
| 47 |
+
**/
|
| 48 |
+
typedef struct xcb_xf86dri_query_version_cookie_t {
|
| 49 |
+
unsigned int sequence;
|
| 50 |
+
} xcb_xf86dri_query_version_cookie_t;
|
| 51 |
+
|
| 52 |
+
/** Opcode for xcb_xf86dri_query_version. */
|
| 53 |
+
#define XCB_XF86DRI_QUERY_VERSION 0
|
| 54 |
+
|
| 55 |
+
/**
|
| 56 |
+
* @brief xcb_xf86dri_query_version_request_t
|
| 57 |
+
**/
|
| 58 |
+
typedef struct xcb_xf86dri_query_version_request_t {
|
| 59 |
+
uint8_t major_opcode;
|
| 60 |
+
uint8_t minor_opcode;
|
| 61 |
+
uint16_t length;
|
| 62 |
+
} xcb_xf86dri_query_version_request_t;
|
| 63 |
+
|
| 64 |
+
/**
|
| 65 |
+
* @brief xcb_xf86dri_query_version_reply_t
|
| 66 |
+
**/
|
| 67 |
+
typedef struct xcb_xf86dri_query_version_reply_t {
|
| 68 |
+
uint8_t response_type;
|
| 69 |
+
uint8_t pad0;
|
| 70 |
+
uint16_t sequence;
|
| 71 |
+
uint32_t length;
|
| 72 |
+
uint16_t dri_major_version;
|
| 73 |
+
uint16_t dri_minor_version;
|
| 74 |
+
uint32_t dri_minor_patch;
|
| 75 |
+
} xcb_xf86dri_query_version_reply_t;
|
| 76 |
+
|
| 77 |
+
/**
|
| 78 |
+
* @brief xcb_xf86dri_query_direct_rendering_capable_cookie_t
|
| 79 |
+
**/
|
| 80 |
+
typedef struct xcb_xf86dri_query_direct_rendering_capable_cookie_t {
|
| 81 |
+
unsigned int sequence;
|
| 82 |
+
} xcb_xf86dri_query_direct_rendering_capable_cookie_t;
|
| 83 |
+
|
| 84 |
+
/** Opcode for xcb_xf86dri_query_direct_rendering_capable. */
|
| 85 |
+
#define XCB_XF86DRI_QUERY_DIRECT_RENDERING_CAPABLE 1
|
| 86 |
+
|
| 87 |
+
/**
|
| 88 |
+
* @brief xcb_xf86dri_query_direct_rendering_capable_request_t
|
| 89 |
+
**/
|
| 90 |
+
typedef struct xcb_xf86dri_query_direct_rendering_capable_request_t {
|
| 91 |
+
uint8_t major_opcode;
|
| 92 |
+
uint8_t minor_opcode;
|
| 93 |
+
uint16_t length;
|
| 94 |
+
uint32_t screen;
|
| 95 |
+
} xcb_xf86dri_query_direct_rendering_capable_request_t;
|
| 96 |
+
|
| 97 |
+
/**
|
| 98 |
+
* @brief xcb_xf86dri_query_direct_rendering_capable_reply_t
|
| 99 |
+
**/
|
| 100 |
+
typedef struct xcb_xf86dri_query_direct_rendering_capable_reply_t {
|
| 101 |
+
uint8_t response_type;
|
| 102 |
+
uint8_t pad0;
|
| 103 |
+
uint16_t sequence;
|
| 104 |
+
uint32_t length;
|
| 105 |
+
uint8_t is_capable;
|
| 106 |
+
} xcb_xf86dri_query_direct_rendering_capable_reply_t;
|
| 107 |
+
|
| 108 |
+
/**
|
| 109 |
+
* @brief xcb_xf86dri_open_connection_cookie_t
|
| 110 |
+
**/
|
| 111 |
+
typedef struct xcb_xf86dri_open_connection_cookie_t {
|
| 112 |
+
unsigned int sequence;
|
| 113 |
+
} xcb_xf86dri_open_connection_cookie_t;
|
| 114 |
+
|
| 115 |
+
/** Opcode for xcb_xf86dri_open_connection. */
|
| 116 |
+
#define XCB_XF86DRI_OPEN_CONNECTION 2
|
| 117 |
+
|
| 118 |
+
/**
|
| 119 |
+
* @brief xcb_xf86dri_open_connection_request_t
|
| 120 |
+
**/
|
| 121 |
+
typedef struct xcb_xf86dri_open_connection_request_t {
|
| 122 |
+
uint8_t major_opcode;
|
| 123 |
+
uint8_t minor_opcode;
|
| 124 |
+
uint16_t length;
|
| 125 |
+
uint32_t screen;
|
| 126 |
+
} xcb_xf86dri_open_connection_request_t;
|
| 127 |
+
|
| 128 |
+
/**
|
| 129 |
+
* @brief xcb_xf86dri_open_connection_reply_t
|
| 130 |
+
**/
|
| 131 |
+
typedef struct xcb_xf86dri_open_connection_reply_t {
|
| 132 |
+
uint8_t response_type;
|
| 133 |
+
uint8_t pad0;
|
| 134 |
+
uint16_t sequence;
|
| 135 |
+
uint32_t length;
|
| 136 |
+
uint32_t sarea_handle_low;
|
| 137 |
+
uint32_t sarea_handle_high;
|
| 138 |
+
uint32_t bus_id_len;
|
| 139 |
+
uint8_t pad1[12];
|
| 140 |
+
} xcb_xf86dri_open_connection_reply_t;
|
| 141 |
+
|
| 142 |
+
/** Opcode for xcb_xf86dri_close_connection. */
|
| 143 |
+
#define XCB_XF86DRI_CLOSE_CONNECTION 3
|
| 144 |
+
|
| 145 |
+
/**
|
| 146 |
+
* @brief xcb_xf86dri_close_connection_request_t
|
| 147 |
+
**/
|
| 148 |
+
typedef struct xcb_xf86dri_close_connection_request_t {
|
| 149 |
+
uint8_t major_opcode;
|
| 150 |
+
uint8_t minor_opcode;
|
| 151 |
+
uint16_t length;
|
| 152 |
+
uint32_t screen;
|
| 153 |
+
} xcb_xf86dri_close_connection_request_t;
|
| 154 |
+
|
| 155 |
+
/**
|
| 156 |
+
* @brief xcb_xf86dri_get_client_driver_name_cookie_t
|
| 157 |
+
**/
|
| 158 |
+
typedef struct xcb_xf86dri_get_client_driver_name_cookie_t {
|
| 159 |
+
unsigned int sequence;
|
| 160 |
+
} xcb_xf86dri_get_client_driver_name_cookie_t;
|
| 161 |
+
|
| 162 |
+
/** Opcode for xcb_xf86dri_get_client_driver_name. */
|
| 163 |
+
#define XCB_XF86DRI_GET_CLIENT_DRIVER_NAME 4
|
| 164 |
+
|
| 165 |
+
/**
|
| 166 |
+
* @brief xcb_xf86dri_get_client_driver_name_request_t
|
| 167 |
+
**/
|
| 168 |
+
typedef struct xcb_xf86dri_get_client_driver_name_request_t {
|
| 169 |
+
uint8_t major_opcode;
|
| 170 |
+
uint8_t minor_opcode;
|
| 171 |
+
uint16_t length;
|
| 172 |
+
uint32_t screen;
|
| 173 |
+
} xcb_xf86dri_get_client_driver_name_request_t;
|
| 174 |
+
|
| 175 |
+
/**
|
| 176 |
+
* @brief xcb_xf86dri_get_client_driver_name_reply_t
|
| 177 |
+
**/
|
| 178 |
+
typedef struct xcb_xf86dri_get_client_driver_name_reply_t {
|
| 179 |
+
uint8_t response_type;
|
| 180 |
+
uint8_t pad0;
|
| 181 |
+
uint16_t sequence;
|
| 182 |
+
uint32_t length;
|
| 183 |
+
uint32_t client_driver_major_version;
|
| 184 |
+
uint32_t client_driver_minor_version;
|
| 185 |
+
uint32_t client_driver_patch_version;
|
| 186 |
+
uint32_t client_driver_name_len;
|
| 187 |
+
uint8_t pad1[8];
|
| 188 |
+
} xcb_xf86dri_get_client_driver_name_reply_t;
|
| 189 |
+
|
| 190 |
+
/**
|
| 191 |
+
* @brief xcb_xf86dri_create_context_cookie_t
|
| 192 |
+
**/
|
| 193 |
+
typedef struct xcb_xf86dri_create_context_cookie_t {
|
| 194 |
+
unsigned int sequence;
|
| 195 |
+
} xcb_xf86dri_create_context_cookie_t;
|
| 196 |
+
|
| 197 |
+
/** Opcode for xcb_xf86dri_create_context. */
|
| 198 |
+
#define XCB_XF86DRI_CREATE_CONTEXT 5
|
| 199 |
+
|
| 200 |
+
/**
|
| 201 |
+
* @brief xcb_xf86dri_create_context_request_t
|
| 202 |
+
**/
|
| 203 |
+
typedef struct xcb_xf86dri_create_context_request_t {
|
| 204 |
+
uint8_t major_opcode;
|
| 205 |
+
uint8_t minor_opcode;
|
| 206 |
+
uint16_t length;
|
| 207 |
+
uint32_t screen;
|
| 208 |
+
uint32_t visual;
|
| 209 |
+
uint32_t context;
|
| 210 |
+
} xcb_xf86dri_create_context_request_t;
|
| 211 |
+
|
| 212 |
+
/**
|
| 213 |
+
* @brief xcb_xf86dri_create_context_reply_t
|
| 214 |
+
**/
|
| 215 |
+
typedef struct xcb_xf86dri_create_context_reply_t {
|
| 216 |
+
uint8_t response_type;
|
| 217 |
+
uint8_t pad0;
|
| 218 |
+
uint16_t sequence;
|
| 219 |
+
uint32_t length;
|
| 220 |
+
uint32_t hw_context;
|
| 221 |
+
} xcb_xf86dri_create_context_reply_t;
|
| 222 |
+
|
| 223 |
+
/** Opcode for xcb_xf86dri_destroy_context. */
|
| 224 |
+
#define XCB_XF86DRI_DESTROY_CONTEXT 6
|
| 225 |
+
|
| 226 |
+
/**
|
| 227 |
+
* @brief xcb_xf86dri_destroy_context_request_t
|
| 228 |
+
**/
|
| 229 |
+
typedef struct xcb_xf86dri_destroy_context_request_t {
|
| 230 |
+
uint8_t major_opcode;
|
| 231 |
+
uint8_t minor_opcode;
|
| 232 |
+
uint16_t length;
|
| 233 |
+
uint32_t screen;
|
| 234 |
+
uint32_t context;
|
| 235 |
+
} xcb_xf86dri_destroy_context_request_t;
|
| 236 |
+
|
| 237 |
+
/**
|
| 238 |
+
* @brief xcb_xf86dri_create_drawable_cookie_t
|
| 239 |
+
**/
|
| 240 |
+
typedef struct xcb_xf86dri_create_drawable_cookie_t {
|
| 241 |
+
unsigned int sequence;
|
| 242 |
+
} xcb_xf86dri_create_drawable_cookie_t;
|
| 243 |
+
|
| 244 |
+
/** Opcode for xcb_xf86dri_create_drawable. */
|
| 245 |
+
#define XCB_XF86DRI_CREATE_DRAWABLE 7
|
| 246 |
+
|
| 247 |
+
/**
|
| 248 |
+
* @brief xcb_xf86dri_create_drawable_request_t
|
| 249 |
+
**/
|
| 250 |
+
typedef struct xcb_xf86dri_create_drawable_request_t {
|
| 251 |
+
uint8_t major_opcode;
|
| 252 |
+
uint8_t minor_opcode;
|
| 253 |
+
uint16_t length;
|
| 254 |
+
uint32_t screen;
|
| 255 |
+
uint32_t drawable;
|
| 256 |
+
} xcb_xf86dri_create_drawable_request_t;
|
| 257 |
+
|
| 258 |
+
/**
|
| 259 |
+
* @brief xcb_xf86dri_create_drawable_reply_t
|
| 260 |
+
**/
|
| 261 |
+
typedef struct xcb_xf86dri_create_drawable_reply_t {
|
| 262 |
+
uint8_t response_type;
|
| 263 |
+
uint8_t pad0;
|
| 264 |
+
uint16_t sequence;
|
| 265 |
+
uint32_t length;
|
| 266 |
+
uint32_t hw_drawable_handle;
|
| 267 |
+
} xcb_xf86dri_create_drawable_reply_t;
|
| 268 |
+
|
| 269 |
+
/** Opcode for xcb_xf86dri_destroy_drawable. */
|
| 270 |
+
#define XCB_XF86DRI_DESTROY_DRAWABLE 8
|
| 271 |
+
|
| 272 |
+
/**
|
| 273 |
+
* @brief xcb_xf86dri_destroy_drawable_request_t
|
| 274 |
+
**/
|
| 275 |
+
typedef struct xcb_xf86dri_destroy_drawable_request_t {
|
| 276 |
+
uint8_t major_opcode;
|
| 277 |
+
uint8_t minor_opcode;
|
| 278 |
+
uint16_t length;
|
| 279 |
+
uint32_t screen;
|
| 280 |
+
uint32_t drawable;
|
| 281 |
+
} xcb_xf86dri_destroy_drawable_request_t;
|
| 282 |
+
|
| 283 |
+
/**
|
| 284 |
+
* @brief xcb_xf86dri_get_drawable_info_cookie_t
|
| 285 |
+
**/
|
| 286 |
+
typedef struct xcb_xf86dri_get_drawable_info_cookie_t {
|
| 287 |
+
unsigned int sequence;
|
| 288 |
+
} xcb_xf86dri_get_drawable_info_cookie_t;
|
| 289 |
+
|
| 290 |
+
/** Opcode for xcb_xf86dri_get_drawable_info. */
|
| 291 |
+
#define XCB_XF86DRI_GET_DRAWABLE_INFO 9
|
| 292 |
+
|
| 293 |
+
/**
|
| 294 |
+
* @brief xcb_xf86dri_get_drawable_info_request_t
|
| 295 |
+
**/
|
| 296 |
+
typedef struct xcb_xf86dri_get_drawable_info_request_t {
|
| 297 |
+
uint8_t major_opcode;
|
| 298 |
+
uint8_t minor_opcode;
|
| 299 |
+
uint16_t length;
|
| 300 |
+
uint32_t screen;
|
| 301 |
+
uint32_t drawable;
|
| 302 |
+
} xcb_xf86dri_get_drawable_info_request_t;
|
| 303 |
+
|
| 304 |
+
/**
|
| 305 |
+
* @brief xcb_xf86dri_get_drawable_info_reply_t
|
| 306 |
+
**/
|
| 307 |
+
typedef struct xcb_xf86dri_get_drawable_info_reply_t {
|
| 308 |
+
uint8_t response_type;
|
| 309 |
+
uint8_t pad0;
|
| 310 |
+
uint16_t sequence;
|
| 311 |
+
uint32_t length;
|
| 312 |
+
uint32_t drawable_table_index;
|
| 313 |
+
uint32_t drawable_table_stamp;
|
| 314 |
+
int16_t drawable_origin_X;
|
| 315 |
+
int16_t drawable_origin_Y;
|
| 316 |
+
int16_t drawable_size_W;
|
| 317 |
+
int16_t drawable_size_H;
|
| 318 |
+
uint32_t num_clip_rects;
|
| 319 |
+
int16_t back_x;
|
| 320 |
+
int16_t back_y;
|
| 321 |
+
uint32_t num_back_clip_rects;
|
| 322 |
+
} xcb_xf86dri_get_drawable_info_reply_t;
|
| 323 |
+
|
| 324 |
+
/**
|
| 325 |
+
* @brief xcb_xf86dri_get_device_info_cookie_t
|
| 326 |
+
**/
|
| 327 |
+
typedef struct xcb_xf86dri_get_device_info_cookie_t {
|
| 328 |
+
unsigned int sequence;
|
| 329 |
+
} xcb_xf86dri_get_device_info_cookie_t;
|
| 330 |
+
|
| 331 |
+
/** Opcode for xcb_xf86dri_get_device_info. */
|
| 332 |
+
#define XCB_XF86DRI_GET_DEVICE_INFO 10
|
| 333 |
+
|
| 334 |
+
/**
|
| 335 |
+
* @brief xcb_xf86dri_get_device_info_request_t
|
| 336 |
+
**/
|
| 337 |
+
typedef struct xcb_xf86dri_get_device_info_request_t {
|
| 338 |
+
uint8_t major_opcode;
|
| 339 |
+
uint8_t minor_opcode;
|
| 340 |
+
uint16_t length;
|
| 341 |
+
uint32_t screen;
|
| 342 |
+
} xcb_xf86dri_get_device_info_request_t;
|
| 343 |
+
|
| 344 |
+
/**
|
| 345 |
+
* @brief xcb_xf86dri_get_device_info_reply_t
|
| 346 |
+
**/
|
| 347 |
+
typedef struct xcb_xf86dri_get_device_info_reply_t {
|
| 348 |
+
uint8_t response_type;
|
| 349 |
+
uint8_t pad0;
|
| 350 |
+
uint16_t sequence;
|
| 351 |
+
uint32_t length;
|
| 352 |
+
uint32_t framebuffer_handle_low;
|
| 353 |
+
uint32_t framebuffer_handle_high;
|
| 354 |
+
uint32_t framebuffer_origin_offset;
|
| 355 |
+
uint32_t framebuffer_size;
|
| 356 |
+
uint32_t framebuffer_stride;
|
| 357 |
+
uint32_t device_private_size;
|
| 358 |
+
} xcb_xf86dri_get_device_info_reply_t;
|
| 359 |
+
|
| 360 |
+
/**
|
| 361 |
+
* @brief xcb_xf86dri_auth_connection_cookie_t
|
| 362 |
+
**/
|
| 363 |
+
typedef struct xcb_xf86dri_auth_connection_cookie_t {
|
| 364 |
+
unsigned int sequence;
|
| 365 |
+
} xcb_xf86dri_auth_connection_cookie_t;
|
| 366 |
+
|
| 367 |
+
/** Opcode for xcb_xf86dri_auth_connection. */
|
| 368 |
+
#define XCB_XF86DRI_AUTH_CONNECTION 11
|
| 369 |
+
|
| 370 |
+
/**
|
| 371 |
+
* @brief xcb_xf86dri_auth_connection_request_t
|
| 372 |
+
**/
|
| 373 |
+
typedef struct xcb_xf86dri_auth_connection_request_t {
|
| 374 |
+
uint8_t major_opcode;
|
| 375 |
+
uint8_t minor_opcode;
|
| 376 |
+
uint16_t length;
|
| 377 |
+
uint32_t screen;
|
| 378 |
+
uint32_t magic;
|
| 379 |
+
} xcb_xf86dri_auth_connection_request_t;
|
| 380 |
+
|
| 381 |
+
/**
|
| 382 |
+
* @brief xcb_xf86dri_auth_connection_reply_t
|
| 383 |
+
**/
|
| 384 |
+
typedef struct xcb_xf86dri_auth_connection_reply_t {
|
| 385 |
+
uint8_t response_type;
|
| 386 |
+
uint8_t pad0;
|
| 387 |
+
uint16_t sequence;
|
| 388 |
+
uint32_t length;
|
| 389 |
+
uint32_t authenticated;
|
| 390 |
+
} xcb_xf86dri_auth_connection_reply_t;
|
| 391 |
+
|
| 392 |
+
/**
|
| 393 |
+
* Get the next element of the iterator
|
| 394 |
+
* @param i Pointer to a xcb_xf86dri_drm_clip_rect_iterator_t
|
| 395 |
+
*
|
| 396 |
+
* Get the next element in the iterator. The member rem is
|
| 397 |
+
* decreased by one. The member data points to the next
|
| 398 |
+
* element. The member index is increased by sizeof(xcb_xf86dri_drm_clip_rect_t)
|
| 399 |
+
*/
|
| 400 |
+
void
|
| 401 |
+
xcb_xf86dri_drm_clip_rect_next (xcb_xf86dri_drm_clip_rect_iterator_t *i);
|
| 402 |
+
|
| 403 |
+
/**
|
| 404 |
+
* Return the iterator pointing to the last element
|
| 405 |
+
* @param i An xcb_xf86dri_drm_clip_rect_iterator_t
|
| 406 |
+
* @return The iterator pointing to the last element
|
| 407 |
+
*
|
| 408 |
+
* Set the current element in the iterator to the last element.
|
| 409 |
+
* The member rem is set to 0. The member data points to the
|
| 410 |
+
* last element.
|
| 411 |
+
*/
|
| 412 |
+
xcb_generic_iterator_t
|
| 413 |
+
xcb_xf86dri_drm_clip_rect_end (xcb_xf86dri_drm_clip_rect_iterator_t i);
|
| 414 |
+
|
| 415 |
+
/**
|
| 416 |
+
*
|
| 417 |
+
* @param c The connection
|
| 418 |
+
* @return A cookie
|
| 419 |
+
*
|
| 420 |
+
* Delivers a request to the X server.
|
| 421 |
+
*
|
| 422 |
+
*/
|
| 423 |
+
xcb_xf86dri_query_version_cookie_t
|
| 424 |
+
xcb_xf86dri_query_version (xcb_connection_t *c);
|
| 425 |
+
|
| 426 |
+
/**
|
| 427 |
+
*
|
| 428 |
+
* @param c The connection
|
| 429 |
+
* @return A cookie
|
| 430 |
+
*
|
| 431 |
+
* Delivers a request to the X server.
|
| 432 |
+
*
|
| 433 |
+
* This form can be used only if the request will cause
|
| 434 |
+
* a reply to be generated. Any returned error will be
|
| 435 |
+
* placed in the event queue.
|
| 436 |
+
*/
|
| 437 |
+
xcb_xf86dri_query_version_cookie_t
|
| 438 |
+
xcb_xf86dri_query_version_unchecked (xcb_connection_t *c);
|
| 439 |
+
|
| 440 |
+
/**
|
| 441 |
+
* Return the reply
|
| 442 |
+
* @param c The connection
|
| 443 |
+
* @param cookie The cookie
|
| 444 |
+
* @param e The xcb_generic_error_t supplied
|
| 445 |
+
*
|
| 446 |
+
* Returns the reply of the request asked by
|
| 447 |
+
*
|
| 448 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 449 |
+
* xcb_xf86dri_query_version_unchecked(). is used.
|
| 450 |
+
* Otherwise, it stores the error if any.
|
| 451 |
+
*
|
| 452 |
+
* The returned value must be freed by the caller using free().
|
| 453 |
+
*/
|
| 454 |
+
xcb_xf86dri_query_version_reply_t *
|
| 455 |
+
xcb_xf86dri_query_version_reply (xcb_connection_t *c,
|
| 456 |
+
xcb_xf86dri_query_version_cookie_t cookie /**< */,
|
| 457 |
+
xcb_generic_error_t **e);
|
| 458 |
+
|
| 459 |
+
/**
|
| 460 |
+
*
|
| 461 |
+
* @param c The connection
|
| 462 |
+
* @return A cookie
|
| 463 |
+
*
|
| 464 |
+
* Delivers a request to the X server.
|
| 465 |
+
*
|
| 466 |
+
*/
|
| 467 |
+
xcb_xf86dri_query_direct_rendering_capable_cookie_t
|
| 468 |
+
xcb_xf86dri_query_direct_rendering_capable (xcb_connection_t *c,
|
| 469 |
+
uint32_t screen);
|
| 470 |
+
|
| 471 |
+
/**
|
| 472 |
+
*
|
| 473 |
+
* @param c The connection
|
| 474 |
+
* @return A cookie
|
| 475 |
+
*
|
| 476 |
+
* Delivers a request to the X server.
|
| 477 |
+
*
|
| 478 |
+
* This form can be used only if the request will cause
|
| 479 |
+
* a reply to be generated. Any returned error will be
|
| 480 |
+
* placed in the event queue.
|
| 481 |
+
*/
|
| 482 |
+
xcb_xf86dri_query_direct_rendering_capable_cookie_t
|
| 483 |
+
xcb_xf86dri_query_direct_rendering_capable_unchecked (xcb_connection_t *c,
|
| 484 |
+
uint32_t screen);
|
| 485 |
+
|
| 486 |
+
/**
|
| 487 |
+
* Return the reply
|
| 488 |
+
* @param c The connection
|
| 489 |
+
* @param cookie The cookie
|
| 490 |
+
* @param e The xcb_generic_error_t supplied
|
| 491 |
+
*
|
| 492 |
+
* Returns the reply of the request asked by
|
| 493 |
+
*
|
| 494 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 495 |
+
* xcb_xf86dri_query_direct_rendering_capable_unchecked(). is used.
|
| 496 |
+
* Otherwise, it stores the error if any.
|
| 497 |
+
*
|
| 498 |
+
* The returned value must be freed by the caller using free().
|
| 499 |
+
*/
|
| 500 |
+
xcb_xf86dri_query_direct_rendering_capable_reply_t *
|
| 501 |
+
xcb_xf86dri_query_direct_rendering_capable_reply (xcb_connection_t *c,
|
| 502 |
+
xcb_xf86dri_query_direct_rendering_capable_cookie_t cookie /**< */,
|
| 503 |
+
xcb_generic_error_t **e);
|
| 504 |
+
|
| 505 |
+
int
|
| 506 |
+
xcb_xf86dri_open_connection_sizeof (const void *_buffer);
|
| 507 |
+
|
| 508 |
+
/**
|
| 509 |
+
*
|
| 510 |
+
* @param c The connection
|
| 511 |
+
* @return A cookie
|
| 512 |
+
*
|
| 513 |
+
* Delivers a request to the X server.
|
| 514 |
+
*
|
| 515 |
+
*/
|
| 516 |
+
xcb_xf86dri_open_connection_cookie_t
|
| 517 |
+
xcb_xf86dri_open_connection (xcb_connection_t *c,
|
| 518 |
+
uint32_t screen);
|
| 519 |
+
|
| 520 |
+
/**
|
| 521 |
+
*
|
| 522 |
+
* @param c The connection
|
| 523 |
+
* @return A cookie
|
| 524 |
+
*
|
| 525 |
+
* Delivers a request to the X server.
|
| 526 |
+
*
|
| 527 |
+
* This form can be used only if the request will cause
|
| 528 |
+
* a reply to be generated. Any returned error will be
|
| 529 |
+
* placed in the event queue.
|
| 530 |
+
*/
|
| 531 |
+
xcb_xf86dri_open_connection_cookie_t
|
| 532 |
+
xcb_xf86dri_open_connection_unchecked (xcb_connection_t *c,
|
| 533 |
+
uint32_t screen);
|
| 534 |
+
|
| 535 |
+
char *
|
| 536 |
+
xcb_xf86dri_open_connection_bus_id (const xcb_xf86dri_open_connection_reply_t *R);
|
| 537 |
+
|
| 538 |
+
int
|
| 539 |
+
xcb_xf86dri_open_connection_bus_id_length (const xcb_xf86dri_open_connection_reply_t *R);
|
| 540 |
+
|
| 541 |
+
xcb_generic_iterator_t
|
| 542 |
+
xcb_xf86dri_open_connection_bus_id_end (const xcb_xf86dri_open_connection_reply_t *R);
|
| 543 |
+
|
| 544 |
+
/**
|
| 545 |
+
* Return the reply
|
| 546 |
+
* @param c The connection
|
| 547 |
+
* @param cookie The cookie
|
| 548 |
+
* @param e The xcb_generic_error_t supplied
|
| 549 |
+
*
|
| 550 |
+
* Returns the reply of the request asked by
|
| 551 |
+
*
|
| 552 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 553 |
+
* xcb_xf86dri_open_connection_unchecked(). is used.
|
| 554 |
+
* Otherwise, it stores the error if any.
|
| 555 |
+
*
|
| 556 |
+
* The returned value must be freed by the caller using free().
|
| 557 |
+
*/
|
| 558 |
+
xcb_xf86dri_open_connection_reply_t *
|
| 559 |
+
xcb_xf86dri_open_connection_reply (xcb_connection_t *c,
|
| 560 |
+
xcb_xf86dri_open_connection_cookie_t cookie /**< */,
|
| 561 |
+
xcb_generic_error_t **e);
|
| 562 |
+
|
| 563 |
+
/**
|
| 564 |
+
*
|
| 565 |
+
* @param c The connection
|
| 566 |
+
* @return A cookie
|
| 567 |
+
*
|
| 568 |
+
* Delivers a request to the X server.
|
| 569 |
+
*
|
| 570 |
+
* This form can be used only if the request will not cause
|
| 571 |
+
* a reply to be generated. Any returned error will be
|
| 572 |
+
* saved for handling by xcb_request_check().
|
| 573 |
+
*/
|
| 574 |
+
xcb_void_cookie_t
|
| 575 |
+
xcb_xf86dri_close_connection_checked (xcb_connection_t *c,
|
| 576 |
+
uint32_t screen);
|
| 577 |
+
|
| 578 |
+
/**
|
| 579 |
+
*
|
| 580 |
+
* @param c The connection
|
| 581 |
+
* @return A cookie
|
| 582 |
+
*
|
| 583 |
+
* Delivers a request to the X server.
|
| 584 |
+
*
|
| 585 |
+
*/
|
| 586 |
+
xcb_void_cookie_t
|
| 587 |
+
xcb_xf86dri_close_connection (xcb_connection_t *c,
|
| 588 |
+
uint32_t screen);
|
| 589 |
+
|
| 590 |
+
int
|
| 591 |
+
xcb_xf86dri_get_client_driver_name_sizeof (const void *_buffer);
|
| 592 |
+
|
| 593 |
+
/**
|
| 594 |
+
*
|
| 595 |
+
* @param c The connection
|
| 596 |
+
* @return A cookie
|
| 597 |
+
*
|
| 598 |
+
* Delivers a request to the X server.
|
| 599 |
+
*
|
| 600 |
+
*/
|
| 601 |
+
xcb_xf86dri_get_client_driver_name_cookie_t
|
| 602 |
+
xcb_xf86dri_get_client_driver_name (xcb_connection_t *c,
|
| 603 |
+
uint32_t screen);
|
| 604 |
+
|
| 605 |
+
/**
|
| 606 |
+
*
|
| 607 |
+
* @param c The connection
|
| 608 |
+
* @return A cookie
|
| 609 |
+
*
|
| 610 |
+
* Delivers a request to the X server.
|
| 611 |
+
*
|
| 612 |
+
* This form can be used only if the request will cause
|
| 613 |
+
* a reply to be generated. Any returned error will be
|
| 614 |
+
* placed in the event queue.
|
| 615 |
+
*/
|
| 616 |
+
xcb_xf86dri_get_client_driver_name_cookie_t
|
| 617 |
+
xcb_xf86dri_get_client_driver_name_unchecked (xcb_connection_t *c,
|
| 618 |
+
uint32_t screen);
|
| 619 |
+
|
| 620 |
+
char *
|
| 621 |
+
xcb_xf86dri_get_client_driver_name_client_driver_name (const xcb_xf86dri_get_client_driver_name_reply_t *R);
|
| 622 |
+
|
| 623 |
+
int
|
| 624 |
+
xcb_xf86dri_get_client_driver_name_client_driver_name_length (const xcb_xf86dri_get_client_driver_name_reply_t *R);
|
| 625 |
+
|
| 626 |
+
xcb_generic_iterator_t
|
| 627 |
+
xcb_xf86dri_get_client_driver_name_client_driver_name_end (const xcb_xf86dri_get_client_driver_name_reply_t *R);
|
| 628 |
+
|
| 629 |
+
/**
|
| 630 |
+
* Return the reply
|
| 631 |
+
* @param c The connection
|
| 632 |
+
* @param cookie The cookie
|
| 633 |
+
* @param e The xcb_generic_error_t supplied
|
| 634 |
+
*
|
| 635 |
+
* Returns the reply of the request asked by
|
| 636 |
+
*
|
| 637 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 638 |
+
* xcb_xf86dri_get_client_driver_name_unchecked(). is used.
|
| 639 |
+
* Otherwise, it stores the error if any.
|
| 640 |
+
*
|
| 641 |
+
* The returned value must be freed by the caller using free().
|
| 642 |
+
*/
|
| 643 |
+
xcb_xf86dri_get_client_driver_name_reply_t *
|
| 644 |
+
xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t *c,
|
| 645 |
+
xcb_xf86dri_get_client_driver_name_cookie_t cookie /**< */,
|
| 646 |
+
xcb_generic_error_t **e);
|
| 647 |
+
|
| 648 |
+
/**
|
| 649 |
+
*
|
| 650 |
+
* @param c The connection
|
| 651 |
+
* @return A cookie
|
| 652 |
+
*
|
| 653 |
+
* Delivers a request to the X server.
|
| 654 |
+
*
|
| 655 |
+
*/
|
| 656 |
+
xcb_xf86dri_create_context_cookie_t
|
| 657 |
+
xcb_xf86dri_create_context (xcb_connection_t *c,
|
| 658 |
+
uint32_t screen,
|
| 659 |
+
uint32_t visual,
|
| 660 |
+
uint32_t context);
|
| 661 |
+
|
| 662 |
+
/**
|
| 663 |
+
*
|
| 664 |
+
* @param c The connection
|
| 665 |
+
* @return A cookie
|
| 666 |
+
*
|
| 667 |
+
* Delivers a request to the X server.
|
| 668 |
+
*
|
| 669 |
+
* This form can be used only if the request will cause
|
| 670 |
+
* a reply to be generated. Any returned error will be
|
| 671 |
+
* placed in the event queue.
|
| 672 |
+
*/
|
| 673 |
+
xcb_xf86dri_create_context_cookie_t
|
| 674 |
+
xcb_xf86dri_create_context_unchecked (xcb_connection_t *c,
|
| 675 |
+
uint32_t screen,
|
| 676 |
+
uint32_t visual,
|
| 677 |
+
uint32_t context);
|
| 678 |
+
|
| 679 |
+
/**
|
| 680 |
+
* Return the reply
|
| 681 |
+
* @param c The connection
|
| 682 |
+
* @param cookie The cookie
|
| 683 |
+
* @param e The xcb_generic_error_t supplied
|
| 684 |
+
*
|
| 685 |
+
* Returns the reply of the request asked by
|
| 686 |
+
*
|
| 687 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 688 |
+
* xcb_xf86dri_create_context_unchecked(). is used.
|
| 689 |
+
* Otherwise, it stores the error if any.
|
| 690 |
+
*
|
| 691 |
+
* The returned value must be freed by the caller using free().
|
| 692 |
+
*/
|
| 693 |
+
xcb_xf86dri_create_context_reply_t *
|
| 694 |
+
xcb_xf86dri_create_context_reply (xcb_connection_t *c,
|
| 695 |
+
xcb_xf86dri_create_context_cookie_t cookie /**< */,
|
| 696 |
+
xcb_generic_error_t **e);
|
| 697 |
+
|
| 698 |
+
/**
|
| 699 |
+
*
|
| 700 |
+
* @param c The connection
|
| 701 |
+
* @return A cookie
|
| 702 |
+
*
|
| 703 |
+
* Delivers a request to the X server.
|
| 704 |
+
*
|
| 705 |
+
* This form can be used only if the request will not cause
|
| 706 |
+
* a reply to be generated. Any returned error will be
|
| 707 |
+
* saved for handling by xcb_request_check().
|
| 708 |
+
*/
|
| 709 |
+
xcb_void_cookie_t
|
| 710 |
+
xcb_xf86dri_destroy_context_checked (xcb_connection_t *c,
|
| 711 |
+
uint32_t screen,
|
| 712 |
+
uint32_t context);
|
| 713 |
+
|
| 714 |
+
/**
|
| 715 |
+
*
|
| 716 |
+
* @param c The connection
|
| 717 |
+
* @return A cookie
|
| 718 |
+
*
|
| 719 |
+
* Delivers a request to the X server.
|
| 720 |
+
*
|
| 721 |
+
*/
|
| 722 |
+
xcb_void_cookie_t
|
| 723 |
+
xcb_xf86dri_destroy_context (xcb_connection_t *c,
|
| 724 |
+
uint32_t screen,
|
| 725 |
+
uint32_t context);
|
| 726 |
+
|
| 727 |
+
/**
|
| 728 |
+
*
|
| 729 |
+
* @param c The connection
|
| 730 |
+
* @return A cookie
|
| 731 |
+
*
|
| 732 |
+
* Delivers a request to the X server.
|
| 733 |
+
*
|
| 734 |
+
*/
|
| 735 |
+
xcb_xf86dri_create_drawable_cookie_t
|
| 736 |
+
xcb_xf86dri_create_drawable (xcb_connection_t *c,
|
| 737 |
+
uint32_t screen,
|
| 738 |
+
uint32_t drawable);
|
| 739 |
+
|
| 740 |
+
/**
|
| 741 |
+
*
|
| 742 |
+
* @param c The connection
|
| 743 |
+
* @return A cookie
|
| 744 |
+
*
|
| 745 |
+
* Delivers a request to the X server.
|
| 746 |
+
*
|
| 747 |
+
* This form can be used only if the request will cause
|
| 748 |
+
* a reply to be generated. Any returned error will be
|
| 749 |
+
* placed in the event queue.
|
| 750 |
+
*/
|
| 751 |
+
xcb_xf86dri_create_drawable_cookie_t
|
| 752 |
+
xcb_xf86dri_create_drawable_unchecked (xcb_connection_t *c,
|
| 753 |
+
uint32_t screen,
|
| 754 |
+
uint32_t drawable);
|
| 755 |
+
|
| 756 |
+
/**
|
| 757 |
+
* Return the reply
|
| 758 |
+
* @param c The connection
|
| 759 |
+
* @param cookie The cookie
|
| 760 |
+
* @param e The xcb_generic_error_t supplied
|
| 761 |
+
*
|
| 762 |
+
* Returns the reply of the request asked by
|
| 763 |
+
*
|
| 764 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 765 |
+
* xcb_xf86dri_create_drawable_unchecked(). is used.
|
| 766 |
+
* Otherwise, it stores the error if any.
|
| 767 |
+
*
|
| 768 |
+
* The returned value must be freed by the caller using free().
|
| 769 |
+
*/
|
| 770 |
+
xcb_xf86dri_create_drawable_reply_t *
|
| 771 |
+
xcb_xf86dri_create_drawable_reply (xcb_connection_t *c,
|
| 772 |
+
xcb_xf86dri_create_drawable_cookie_t cookie /**< */,
|
| 773 |
+
xcb_generic_error_t **e);
|
| 774 |
+
|
| 775 |
+
/**
|
| 776 |
+
*
|
| 777 |
+
* @param c The connection
|
| 778 |
+
* @return A cookie
|
| 779 |
+
*
|
| 780 |
+
* Delivers a request to the X server.
|
| 781 |
+
*
|
| 782 |
+
* This form can be used only if the request will not cause
|
| 783 |
+
* a reply to be generated. Any returned error will be
|
| 784 |
+
* saved for handling by xcb_request_check().
|
| 785 |
+
*/
|
| 786 |
+
xcb_void_cookie_t
|
| 787 |
+
xcb_xf86dri_destroy_drawable_checked (xcb_connection_t *c,
|
| 788 |
+
uint32_t screen,
|
| 789 |
+
uint32_t drawable);
|
| 790 |
+
|
| 791 |
+
/**
|
| 792 |
+
*
|
| 793 |
+
* @param c The connection
|
| 794 |
+
* @return A cookie
|
| 795 |
+
*
|
| 796 |
+
* Delivers a request to the X server.
|
| 797 |
+
*
|
| 798 |
+
*/
|
| 799 |
+
xcb_void_cookie_t
|
| 800 |
+
xcb_xf86dri_destroy_drawable (xcb_connection_t *c,
|
| 801 |
+
uint32_t screen,
|
| 802 |
+
uint32_t drawable);
|
| 803 |
+
|
| 804 |
+
int
|
| 805 |
+
xcb_xf86dri_get_drawable_info_sizeof (const void *_buffer);
|
| 806 |
+
|
| 807 |
+
/**
|
| 808 |
+
*
|
| 809 |
+
* @param c The connection
|
| 810 |
+
* @return A cookie
|
| 811 |
+
*
|
| 812 |
+
* Delivers a request to the X server.
|
| 813 |
+
*
|
| 814 |
+
*/
|
| 815 |
+
xcb_xf86dri_get_drawable_info_cookie_t
|
| 816 |
+
xcb_xf86dri_get_drawable_info (xcb_connection_t *c,
|
| 817 |
+
uint32_t screen,
|
| 818 |
+
uint32_t drawable);
|
| 819 |
+
|
| 820 |
+
/**
|
| 821 |
+
*
|
| 822 |
+
* @param c The connection
|
| 823 |
+
* @return A cookie
|
| 824 |
+
*
|
| 825 |
+
* Delivers a request to the X server.
|
| 826 |
+
*
|
| 827 |
+
* This form can be used only if the request will cause
|
| 828 |
+
* a reply to be generated. Any returned error will be
|
| 829 |
+
* placed in the event queue.
|
| 830 |
+
*/
|
| 831 |
+
xcb_xf86dri_get_drawable_info_cookie_t
|
| 832 |
+
xcb_xf86dri_get_drawable_info_unchecked (xcb_connection_t *c,
|
| 833 |
+
uint32_t screen,
|
| 834 |
+
uint32_t drawable);
|
| 835 |
+
|
| 836 |
+
xcb_xf86dri_drm_clip_rect_t *
|
| 837 |
+
xcb_xf86dri_get_drawable_info_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R);
|
| 838 |
+
|
| 839 |
+
int
|
| 840 |
+
xcb_xf86dri_get_drawable_info_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R);
|
| 841 |
+
|
| 842 |
+
xcb_xf86dri_drm_clip_rect_iterator_t
|
| 843 |
+
xcb_xf86dri_get_drawable_info_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R);
|
| 844 |
+
|
| 845 |
+
xcb_xf86dri_drm_clip_rect_t *
|
| 846 |
+
xcb_xf86dri_get_drawable_info_back_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R);
|
| 847 |
+
|
| 848 |
+
int
|
| 849 |
+
xcb_xf86dri_get_drawable_info_back_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R);
|
| 850 |
+
|
| 851 |
+
xcb_xf86dri_drm_clip_rect_iterator_t
|
| 852 |
+
xcb_xf86dri_get_drawable_info_back_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R);
|
| 853 |
+
|
| 854 |
+
/**
|
| 855 |
+
* Return the reply
|
| 856 |
+
* @param c The connection
|
| 857 |
+
* @param cookie The cookie
|
| 858 |
+
* @param e The xcb_generic_error_t supplied
|
| 859 |
+
*
|
| 860 |
+
* Returns the reply of the request asked by
|
| 861 |
+
*
|
| 862 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 863 |
+
* xcb_xf86dri_get_drawable_info_unchecked(). is used.
|
| 864 |
+
* Otherwise, it stores the error if any.
|
| 865 |
+
*
|
| 866 |
+
* The returned value must be freed by the caller using free().
|
| 867 |
+
*/
|
| 868 |
+
xcb_xf86dri_get_drawable_info_reply_t *
|
| 869 |
+
xcb_xf86dri_get_drawable_info_reply (xcb_connection_t *c,
|
| 870 |
+
xcb_xf86dri_get_drawable_info_cookie_t cookie /**< */,
|
| 871 |
+
xcb_generic_error_t **e);
|
| 872 |
+
|
| 873 |
+
int
|
| 874 |
+
xcb_xf86dri_get_device_info_sizeof (const void *_buffer);
|
| 875 |
+
|
| 876 |
+
/**
|
| 877 |
+
*
|
| 878 |
+
* @param c The connection
|
| 879 |
+
* @return A cookie
|
| 880 |
+
*
|
| 881 |
+
* Delivers a request to the X server.
|
| 882 |
+
*
|
| 883 |
+
*/
|
| 884 |
+
xcb_xf86dri_get_device_info_cookie_t
|
| 885 |
+
xcb_xf86dri_get_device_info (xcb_connection_t *c,
|
| 886 |
+
uint32_t screen);
|
| 887 |
+
|
| 888 |
+
/**
|
| 889 |
+
*
|
| 890 |
+
* @param c The connection
|
| 891 |
+
* @return A cookie
|
| 892 |
+
*
|
| 893 |
+
* Delivers a request to the X server.
|
| 894 |
+
*
|
| 895 |
+
* This form can be used only if the request will cause
|
| 896 |
+
* a reply to be generated. Any returned error will be
|
| 897 |
+
* placed in the event queue.
|
| 898 |
+
*/
|
| 899 |
+
xcb_xf86dri_get_device_info_cookie_t
|
| 900 |
+
xcb_xf86dri_get_device_info_unchecked (xcb_connection_t *c,
|
| 901 |
+
uint32_t screen);
|
| 902 |
+
|
| 903 |
+
uint32_t *
|
| 904 |
+
xcb_xf86dri_get_device_info_device_private (const xcb_xf86dri_get_device_info_reply_t *R);
|
| 905 |
+
|
| 906 |
+
int
|
| 907 |
+
xcb_xf86dri_get_device_info_device_private_length (const xcb_xf86dri_get_device_info_reply_t *R);
|
| 908 |
+
|
| 909 |
+
xcb_generic_iterator_t
|
| 910 |
+
xcb_xf86dri_get_device_info_device_private_end (const xcb_xf86dri_get_device_info_reply_t *R);
|
| 911 |
+
|
| 912 |
+
/**
|
| 913 |
+
* Return the reply
|
| 914 |
+
* @param c The connection
|
| 915 |
+
* @param cookie The cookie
|
| 916 |
+
* @param e The xcb_generic_error_t supplied
|
| 917 |
+
*
|
| 918 |
+
* Returns the reply of the request asked by
|
| 919 |
+
*
|
| 920 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 921 |
+
* xcb_xf86dri_get_device_info_unchecked(). is used.
|
| 922 |
+
* Otherwise, it stores the error if any.
|
| 923 |
+
*
|
| 924 |
+
* The returned value must be freed by the caller using free().
|
| 925 |
+
*/
|
| 926 |
+
xcb_xf86dri_get_device_info_reply_t *
|
| 927 |
+
xcb_xf86dri_get_device_info_reply (xcb_connection_t *c,
|
| 928 |
+
xcb_xf86dri_get_device_info_cookie_t cookie /**< */,
|
| 929 |
+
xcb_generic_error_t **e);
|
| 930 |
+
|
| 931 |
+
/**
|
| 932 |
+
*
|
| 933 |
+
* @param c The connection
|
| 934 |
+
* @return A cookie
|
| 935 |
+
*
|
| 936 |
+
* Delivers a request to the X server.
|
| 937 |
+
*
|
| 938 |
+
*/
|
| 939 |
+
xcb_xf86dri_auth_connection_cookie_t
|
| 940 |
+
xcb_xf86dri_auth_connection (xcb_connection_t *c,
|
| 941 |
+
uint32_t screen,
|
| 942 |
+
uint32_t magic);
|
| 943 |
+
|
| 944 |
+
/**
|
| 945 |
+
*
|
| 946 |
+
* @param c The connection
|
| 947 |
+
* @return A cookie
|
| 948 |
+
*
|
| 949 |
+
* Delivers a request to the X server.
|
| 950 |
+
*
|
| 951 |
+
* This form can be used only if the request will cause
|
| 952 |
+
* a reply to be generated. Any returned error will be
|
| 953 |
+
* placed in the event queue.
|
| 954 |
+
*/
|
| 955 |
+
xcb_xf86dri_auth_connection_cookie_t
|
| 956 |
+
xcb_xf86dri_auth_connection_unchecked (xcb_connection_t *c,
|
| 957 |
+
uint32_t screen,
|
| 958 |
+
uint32_t magic);
|
| 959 |
+
|
| 960 |
+
/**
|
| 961 |
+
* Return the reply
|
| 962 |
+
* @param c The connection
|
| 963 |
+
* @param cookie The cookie
|
| 964 |
+
* @param e The xcb_generic_error_t supplied
|
| 965 |
+
*
|
| 966 |
+
* Returns the reply of the request asked by
|
| 967 |
+
*
|
| 968 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 969 |
+
* xcb_xf86dri_auth_connection_unchecked(). is used.
|
| 970 |
+
* Otherwise, it stores the error if any.
|
| 971 |
+
*
|
| 972 |
+
* The returned value must be freed by the caller using free().
|
| 973 |
+
*/
|
| 974 |
+
xcb_xf86dri_auth_connection_reply_t *
|
| 975 |
+
xcb_xf86dri_auth_connection_reply (xcb_connection_t *c,
|
| 976 |
+
xcb_xf86dri_auth_connection_cookie_t cookie /**< */,
|
| 977 |
+
xcb_generic_error_t **e);
|
| 978 |
+
|
| 979 |
+
|
| 980 |
+
#ifdef __cplusplus
|
| 981 |
+
}
|
| 982 |
+
#endif
|
| 983 |
+
|
| 984 |
+
#endif
|
| 985 |
+
|
| 986 |
+
/**
|
| 987 |
+
* @}
|
| 988 |
+
*/
|
miniconda3/envs/ladir/include/xcb/xfixes.h
ADDED
|
@@ -0,0 +1,2140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xfixes.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_XFixes_API XCB XFixes API
|
| 8 |
+
* @brief XFixes XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XFIXES_H
|
| 13 |
+
#define __XFIXES_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
#include "render.h"
|
| 18 |
+
#include "shape.h"
|
| 19 |
+
|
| 20 |
+
#ifdef __cplusplus
|
| 21 |
+
extern "C" {
|
| 22 |
+
#endif
|
| 23 |
+
|
| 24 |
+
#define XCB_XFIXES_MAJOR_VERSION 6
|
| 25 |
+
#define XCB_XFIXES_MINOR_VERSION 0
|
| 26 |
+
|
| 27 |
+
extern xcb_extension_t xcb_xfixes_id;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_xfixes_query_version_cookie_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_xfixes_query_version_cookie_t {
|
| 33 |
+
unsigned int sequence;
|
| 34 |
+
} xcb_xfixes_query_version_cookie_t;
|
| 35 |
+
|
| 36 |
+
/** Opcode for xcb_xfixes_query_version. */
|
| 37 |
+
#define XCB_XFIXES_QUERY_VERSION 0
|
| 38 |
+
|
| 39 |
+
/**
|
| 40 |
+
* @brief xcb_xfixes_query_version_request_t
|
| 41 |
+
**/
|
| 42 |
+
typedef struct xcb_xfixes_query_version_request_t {
|
| 43 |
+
uint8_t major_opcode;
|
| 44 |
+
uint8_t minor_opcode;
|
| 45 |
+
uint16_t length;
|
| 46 |
+
uint32_t client_major_version;
|
| 47 |
+
uint32_t client_minor_version;
|
| 48 |
+
} xcb_xfixes_query_version_request_t;
|
| 49 |
+
|
| 50 |
+
/**
|
| 51 |
+
* @brief xcb_xfixes_query_version_reply_t
|
| 52 |
+
**/
|
| 53 |
+
typedef struct xcb_xfixes_query_version_reply_t {
|
| 54 |
+
uint8_t response_type;
|
| 55 |
+
uint8_t pad0;
|
| 56 |
+
uint16_t sequence;
|
| 57 |
+
uint32_t length;
|
| 58 |
+
uint32_t major_version;
|
| 59 |
+
uint32_t minor_version;
|
| 60 |
+
uint8_t pad1[16];
|
| 61 |
+
} xcb_xfixes_query_version_reply_t;
|
| 62 |
+
|
| 63 |
+
typedef enum xcb_xfixes_save_set_mode_t {
|
| 64 |
+
XCB_XFIXES_SAVE_SET_MODE_INSERT = 0,
|
| 65 |
+
XCB_XFIXES_SAVE_SET_MODE_DELETE = 1
|
| 66 |
+
} xcb_xfixes_save_set_mode_t;
|
| 67 |
+
|
| 68 |
+
typedef enum xcb_xfixes_save_set_target_t {
|
| 69 |
+
XCB_XFIXES_SAVE_SET_TARGET_NEAREST = 0,
|
| 70 |
+
XCB_XFIXES_SAVE_SET_TARGET_ROOT = 1
|
| 71 |
+
} xcb_xfixes_save_set_target_t;
|
| 72 |
+
|
| 73 |
+
typedef enum xcb_xfixes_save_set_mapping_t {
|
| 74 |
+
XCB_XFIXES_SAVE_SET_MAPPING_MAP = 0,
|
| 75 |
+
XCB_XFIXES_SAVE_SET_MAPPING_UNMAP = 1
|
| 76 |
+
} xcb_xfixes_save_set_mapping_t;
|
| 77 |
+
|
| 78 |
+
/** Opcode for xcb_xfixes_change_save_set. */
|
| 79 |
+
#define XCB_XFIXES_CHANGE_SAVE_SET 1
|
| 80 |
+
|
| 81 |
+
/**
|
| 82 |
+
* @brief xcb_xfixes_change_save_set_request_t
|
| 83 |
+
**/
|
| 84 |
+
typedef struct xcb_xfixes_change_save_set_request_t {
|
| 85 |
+
uint8_t major_opcode;
|
| 86 |
+
uint8_t minor_opcode;
|
| 87 |
+
uint16_t length;
|
| 88 |
+
uint8_t mode;
|
| 89 |
+
uint8_t target;
|
| 90 |
+
uint8_t map;
|
| 91 |
+
uint8_t pad0;
|
| 92 |
+
xcb_window_t window;
|
| 93 |
+
} xcb_xfixes_change_save_set_request_t;
|
| 94 |
+
|
| 95 |
+
typedef enum xcb_xfixes_selection_event_t {
|
| 96 |
+
XCB_XFIXES_SELECTION_EVENT_SET_SELECTION_OWNER = 0,
|
| 97 |
+
XCB_XFIXES_SELECTION_EVENT_SELECTION_WINDOW_DESTROY = 1,
|
| 98 |
+
XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE = 2
|
| 99 |
+
} xcb_xfixes_selection_event_t;
|
| 100 |
+
|
| 101 |
+
typedef enum xcb_xfixes_selection_event_mask_t {
|
| 102 |
+
XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER = 1,
|
| 103 |
+
XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY = 2,
|
| 104 |
+
XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE = 4
|
| 105 |
+
} xcb_xfixes_selection_event_mask_t;
|
| 106 |
+
|
| 107 |
+
/** Opcode for xcb_xfixes_selection_notify. */
|
| 108 |
+
#define XCB_XFIXES_SELECTION_NOTIFY 0
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* @brief xcb_xfixes_selection_notify_event_t
|
| 112 |
+
**/
|
| 113 |
+
typedef struct xcb_xfixes_selection_notify_event_t {
|
| 114 |
+
uint8_t response_type;
|
| 115 |
+
uint8_t subtype;
|
| 116 |
+
uint16_t sequence;
|
| 117 |
+
xcb_window_t window;
|
| 118 |
+
xcb_window_t owner;
|
| 119 |
+
xcb_atom_t selection;
|
| 120 |
+
xcb_timestamp_t timestamp;
|
| 121 |
+
xcb_timestamp_t selection_timestamp;
|
| 122 |
+
uint8_t pad0[8];
|
| 123 |
+
} xcb_xfixes_selection_notify_event_t;
|
| 124 |
+
|
| 125 |
+
/** Opcode for xcb_xfixes_select_selection_input. */
|
| 126 |
+
#define XCB_XFIXES_SELECT_SELECTION_INPUT 2
|
| 127 |
+
|
| 128 |
+
/**
|
| 129 |
+
* @brief xcb_xfixes_select_selection_input_request_t
|
| 130 |
+
**/
|
| 131 |
+
typedef struct xcb_xfixes_select_selection_input_request_t {
|
| 132 |
+
uint8_t major_opcode;
|
| 133 |
+
uint8_t minor_opcode;
|
| 134 |
+
uint16_t length;
|
| 135 |
+
xcb_window_t window;
|
| 136 |
+
xcb_atom_t selection;
|
| 137 |
+
uint32_t event_mask;
|
| 138 |
+
} xcb_xfixes_select_selection_input_request_t;
|
| 139 |
+
|
| 140 |
+
typedef enum xcb_xfixes_cursor_notify_t {
|
| 141 |
+
XCB_XFIXES_CURSOR_NOTIFY_DISPLAY_CURSOR = 0
|
| 142 |
+
} xcb_xfixes_cursor_notify_t;
|
| 143 |
+
|
| 144 |
+
typedef enum xcb_xfixes_cursor_notify_mask_t {
|
| 145 |
+
XCB_XFIXES_CURSOR_NOTIFY_MASK_DISPLAY_CURSOR = 1
|
| 146 |
+
} xcb_xfixes_cursor_notify_mask_t;
|
| 147 |
+
|
| 148 |
+
/** Opcode for xcb_xfixes_cursor_notify. */
|
| 149 |
+
#define XCB_XFIXES_CURSOR_NOTIFY 1
|
| 150 |
+
|
| 151 |
+
/**
|
| 152 |
+
* @brief xcb_xfixes_cursor_notify_event_t
|
| 153 |
+
**/
|
| 154 |
+
typedef struct xcb_xfixes_cursor_notify_event_t {
|
| 155 |
+
uint8_t response_type;
|
| 156 |
+
uint8_t subtype;
|
| 157 |
+
uint16_t sequence;
|
| 158 |
+
xcb_window_t window;
|
| 159 |
+
uint32_t cursor_serial;
|
| 160 |
+
xcb_timestamp_t timestamp;
|
| 161 |
+
xcb_atom_t name;
|
| 162 |
+
uint8_t pad0[12];
|
| 163 |
+
} xcb_xfixes_cursor_notify_event_t;
|
| 164 |
+
|
| 165 |
+
/** Opcode for xcb_xfixes_select_cursor_input. */
|
| 166 |
+
#define XCB_XFIXES_SELECT_CURSOR_INPUT 3
|
| 167 |
+
|
| 168 |
+
/**
|
| 169 |
+
* @brief xcb_xfixes_select_cursor_input_request_t
|
| 170 |
+
**/
|
| 171 |
+
typedef struct xcb_xfixes_select_cursor_input_request_t {
|
| 172 |
+
uint8_t major_opcode;
|
| 173 |
+
uint8_t minor_opcode;
|
| 174 |
+
uint16_t length;
|
| 175 |
+
xcb_window_t window;
|
| 176 |
+
uint32_t event_mask;
|
| 177 |
+
} xcb_xfixes_select_cursor_input_request_t;
|
| 178 |
+
|
| 179 |
+
/**
|
| 180 |
+
* @brief xcb_xfixes_get_cursor_image_cookie_t
|
| 181 |
+
**/
|
| 182 |
+
typedef struct xcb_xfixes_get_cursor_image_cookie_t {
|
| 183 |
+
unsigned int sequence;
|
| 184 |
+
} xcb_xfixes_get_cursor_image_cookie_t;
|
| 185 |
+
|
| 186 |
+
/** Opcode for xcb_xfixes_get_cursor_image. */
|
| 187 |
+
#define XCB_XFIXES_GET_CURSOR_IMAGE 4
|
| 188 |
+
|
| 189 |
+
/**
|
| 190 |
+
* @brief xcb_xfixes_get_cursor_image_request_t
|
| 191 |
+
**/
|
| 192 |
+
typedef struct xcb_xfixes_get_cursor_image_request_t {
|
| 193 |
+
uint8_t major_opcode;
|
| 194 |
+
uint8_t minor_opcode;
|
| 195 |
+
uint16_t length;
|
| 196 |
+
} xcb_xfixes_get_cursor_image_request_t;
|
| 197 |
+
|
| 198 |
+
/**
|
| 199 |
+
* @brief xcb_xfixes_get_cursor_image_reply_t
|
| 200 |
+
**/
|
| 201 |
+
typedef struct xcb_xfixes_get_cursor_image_reply_t {
|
| 202 |
+
uint8_t response_type;
|
| 203 |
+
uint8_t pad0;
|
| 204 |
+
uint16_t sequence;
|
| 205 |
+
uint32_t length;
|
| 206 |
+
int16_t x;
|
| 207 |
+
int16_t y;
|
| 208 |
+
uint16_t width;
|
| 209 |
+
uint16_t height;
|
| 210 |
+
uint16_t xhot;
|
| 211 |
+
uint16_t yhot;
|
| 212 |
+
uint32_t cursor_serial;
|
| 213 |
+
uint8_t pad1[8];
|
| 214 |
+
} xcb_xfixes_get_cursor_image_reply_t;
|
| 215 |
+
|
| 216 |
+
typedef uint32_t xcb_xfixes_region_t;
|
| 217 |
+
|
| 218 |
+
/**
|
| 219 |
+
* @brief xcb_xfixes_region_iterator_t
|
| 220 |
+
**/
|
| 221 |
+
typedef struct xcb_xfixes_region_iterator_t {
|
| 222 |
+
xcb_xfixes_region_t *data;
|
| 223 |
+
int rem;
|
| 224 |
+
int index;
|
| 225 |
+
} xcb_xfixes_region_iterator_t;
|
| 226 |
+
|
| 227 |
+
/** Opcode for xcb_xfixes_bad_region. */
|
| 228 |
+
#define XCB_XFIXES_BAD_REGION 0
|
| 229 |
+
|
| 230 |
+
/**
|
| 231 |
+
* @brief xcb_xfixes_bad_region_error_t
|
| 232 |
+
**/
|
| 233 |
+
typedef struct xcb_xfixes_bad_region_error_t {
|
| 234 |
+
uint8_t response_type;
|
| 235 |
+
uint8_t error_code;
|
| 236 |
+
uint16_t sequence;
|
| 237 |
+
uint32_t bad_value;
|
| 238 |
+
uint16_t minor_opcode;
|
| 239 |
+
uint8_t major_opcode;
|
| 240 |
+
} xcb_xfixes_bad_region_error_t;
|
| 241 |
+
|
| 242 |
+
typedef enum xcb_xfixes_region_enum_t {
|
| 243 |
+
XCB_XFIXES_REGION_NONE = 0
|
| 244 |
+
} xcb_xfixes_region_enum_t;
|
| 245 |
+
|
| 246 |
+
/** Opcode for xcb_xfixes_create_region. */
|
| 247 |
+
#define XCB_XFIXES_CREATE_REGION 5
|
| 248 |
+
|
| 249 |
+
/**
|
| 250 |
+
* @brief xcb_xfixes_create_region_request_t
|
| 251 |
+
**/
|
| 252 |
+
typedef struct xcb_xfixes_create_region_request_t {
|
| 253 |
+
uint8_t major_opcode;
|
| 254 |
+
uint8_t minor_opcode;
|
| 255 |
+
uint16_t length;
|
| 256 |
+
xcb_xfixes_region_t region;
|
| 257 |
+
} xcb_xfixes_create_region_request_t;
|
| 258 |
+
|
| 259 |
+
/** Opcode for xcb_xfixes_create_region_from_bitmap. */
|
| 260 |
+
#define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6
|
| 261 |
+
|
| 262 |
+
/**
|
| 263 |
+
* @brief xcb_xfixes_create_region_from_bitmap_request_t
|
| 264 |
+
**/
|
| 265 |
+
typedef struct xcb_xfixes_create_region_from_bitmap_request_t {
|
| 266 |
+
uint8_t major_opcode;
|
| 267 |
+
uint8_t minor_opcode;
|
| 268 |
+
uint16_t length;
|
| 269 |
+
xcb_xfixes_region_t region;
|
| 270 |
+
xcb_pixmap_t bitmap;
|
| 271 |
+
} xcb_xfixes_create_region_from_bitmap_request_t;
|
| 272 |
+
|
| 273 |
+
/** Opcode for xcb_xfixes_create_region_from_window. */
|
| 274 |
+
#define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7
|
| 275 |
+
|
| 276 |
+
/**
|
| 277 |
+
* @brief xcb_xfixes_create_region_from_window_request_t
|
| 278 |
+
**/
|
| 279 |
+
typedef struct xcb_xfixes_create_region_from_window_request_t {
|
| 280 |
+
uint8_t major_opcode;
|
| 281 |
+
uint8_t minor_opcode;
|
| 282 |
+
uint16_t length;
|
| 283 |
+
xcb_xfixes_region_t region;
|
| 284 |
+
xcb_window_t window;
|
| 285 |
+
xcb_shape_kind_t kind;
|
| 286 |
+
uint8_t pad0[3];
|
| 287 |
+
} xcb_xfixes_create_region_from_window_request_t;
|
| 288 |
+
|
| 289 |
+
/** Opcode for xcb_xfixes_create_region_from_gc. */
|
| 290 |
+
#define XCB_XFIXES_CREATE_REGION_FROM_GC 8
|
| 291 |
+
|
| 292 |
+
/**
|
| 293 |
+
* @brief xcb_xfixes_create_region_from_gc_request_t
|
| 294 |
+
**/
|
| 295 |
+
typedef struct xcb_xfixes_create_region_from_gc_request_t {
|
| 296 |
+
uint8_t major_opcode;
|
| 297 |
+
uint8_t minor_opcode;
|
| 298 |
+
uint16_t length;
|
| 299 |
+
xcb_xfixes_region_t region;
|
| 300 |
+
xcb_gcontext_t gc;
|
| 301 |
+
} xcb_xfixes_create_region_from_gc_request_t;
|
| 302 |
+
|
| 303 |
+
/** Opcode for xcb_xfixes_create_region_from_picture. */
|
| 304 |
+
#define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9
|
| 305 |
+
|
| 306 |
+
/**
|
| 307 |
+
* @brief xcb_xfixes_create_region_from_picture_request_t
|
| 308 |
+
**/
|
| 309 |
+
typedef struct xcb_xfixes_create_region_from_picture_request_t {
|
| 310 |
+
uint8_t major_opcode;
|
| 311 |
+
uint8_t minor_opcode;
|
| 312 |
+
uint16_t length;
|
| 313 |
+
xcb_xfixes_region_t region;
|
| 314 |
+
xcb_render_picture_t picture;
|
| 315 |
+
} xcb_xfixes_create_region_from_picture_request_t;
|
| 316 |
+
|
| 317 |
+
/** Opcode for xcb_xfixes_destroy_region. */
|
| 318 |
+
#define XCB_XFIXES_DESTROY_REGION 10
|
| 319 |
+
|
| 320 |
+
/**
|
| 321 |
+
* @brief xcb_xfixes_destroy_region_request_t
|
| 322 |
+
**/
|
| 323 |
+
typedef struct xcb_xfixes_destroy_region_request_t {
|
| 324 |
+
uint8_t major_opcode;
|
| 325 |
+
uint8_t minor_opcode;
|
| 326 |
+
uint16_t length;
|
| 327 |
+
xcb_xfixes_region_t region;
|
| 328 |
+
} xcb_xfixes_destroy_region_request_t;
|
| 329 |
+
|
| 330 |
+
/** Opcode for xcb_xfixes_set_region. */
|
| 331 |
+
#define XCB_XFIXES_SET_REGION 11
|
| 332 |
+
|
| 333 |
+
/**
|
| 334 |
+
* @brief xcb_xfixes_set_region_request_t
|
| 335 |
+
**/
|
| 336 |
+
typedef struct xcb_xfixes_set_region_request_t {
|
| 337 |
+
uint8_t major_opcode;
|
| 338 |
+
uint8_t minor_opcode;
|
| 339 |
+
uint16_t length;
|
| 340 |
+
xcb_xfixes_region_t region;
|
| 341 |
+
} xcb_xfixes_set_region_request_t;
|
| 342 |
+
|
| 343 |
+
/** Opcode for xcb_xfixes_copy_region. */
|
| 344 |
+
#define XCB_XFIXES_COPY_REGION 12
|
| 345 |
+
|
| 346 |
+
/**
|
| 347 |
+
* @brief xcb_xfixes_copy_region_request_t
|
| 348 |
+
**/
|
| 349 |
+
typedef struct xcb_xfixes_copy_region_request_t {
|
| 350 |
+
uint8_t major_opcode;
|
| 351 |
+
uint8_t minor_opcode;
|
| 352 |
+
uint16_t length;
|
| 353 |
+
xcb_xfixes_region_t source;
|
| 354 |
+
xcb_xfixes_region_t destination;
|
| 355 |
+
} xcb_xfixes_copy_region_request_t;
|
| 356 |
+
|
| 357 |
+
/** Opcode for xcb_xfixes_union_region. */
|
| 358 |
+
#define XCB_XFIXES_UNION_REGION 13
|
| 359 |
+
|
| 360 |
+
/**
|
| 361 |
+
* @brief xcb_xfixes_union_region_request_t
|
| 362 |
+
**/
|
| 363 |
+
typedef struct xcb_xfixes_union_region_request_t {
|
| 364 |
+
uint8_t major_opcode;
|
| 365 |
+
uint8_t minor_opcode;
|
| 366 |
+
uint16_t length;
|
| 367 |
+
xcb_xfixes_region_t source1;
|
| 368 |
+
xcb_xfixes_region_t source2;
|
| 369 |
+
xcb_xfixes_region_t destination;
|
| 370 |
+
} xcb_xfixes_union_region_request_t;
|
| 371 |
+
|
| 372 |
+
/** Opcode for xcb_xfixes_intersect_region. */
|
| 373 |
+
#define XCB_XFIXES_INTERSECT_REGION 14
|
| 374 |
+
|
| 375 |
+
/**
|
| 376 |
+
* @brief xcb_xfixes_intersect_region_request_t
|
| 377 |
+
**/
|
| 378 |
+
typedef struct xcb_xfixes_intersect_region_request_t {
|
| 379 |
+
uint8_t major_opcode;
|
| 380 |
+
uint8_t minor_opcode;
|
| 381 |
+
uint16_t length;
|
| 382 |
+
xcb_xfixes_region_t source1;
|
| 383 |
+
xcb_xfixes_region_t source2;
|
| 384 |
+
xcb_xfixes_region_t destination;
|
| 385 |
+
} xcb_xfixes_intersect_region_request_t;
|
| 386 |
+
|
| 387 |
+
/** Opcode for xcb_xfixes_subtract_region. */
|
| 388 |
+
#define XCB_XFIXES_SUBTRACT_REGION 15
|
| 389 |
+
|
| 390 |
+
/**
|
| 391 |
+
* @brief xcb_xfixes_subtract_region_request_t
|
| 392 |
+
**/
|
| 393 |
+
typedef struct xcb_xfixes_subtract_region_request_t {
|
| 394 |
+
uint8_t major_opcode;
|
| 395 |
+
uint8_t minor_opcode;
|
| 396 |
+
uint16_t length;
|
| 397 |
+
xcb_xfixes_region_t source1;
|
| 398 |
+
xcb_xfixes_region_t source2;
|
| 399 |
+
xcb_xfixes_region_t destination;
|
| 400 |
+
} xcb_xfixes_subtract_region_request_t;
|
| 401 |
+
|
| 402 |
+
/** Opcode for xcb_xfixes_invert_region. */
|
| 403 |
+
#define XCB_XFIXES_INVERT_REGION 16
|
| 404 |
+
|
| 405 |
+
/**
|
| 406 |
+
* @brief xcb_xfixes_invert_region_request_t
|
| 407 |
+
**/
|
| 408 |
+
typedef struct xcb_xfixes_invert_region_request_t {
|
| 409 |
+
uint8_t major_opcode;
|
| 410 |
+
uint8_t minor_opcode;
|
| 411 |
+
uint16_t length;
|
| 412 |
+
xcb_xfixes_region_t source;
|
| 413 |
+
xcb_rectangle_t bounds;
|
| 414 |
+
xcb_xfixes_region_t destination;
|
| 415 |
+
} xcb_xfixes_invert_region_request_t;
|
| 416 |
+
|
| 417 |
+
/** Opcode for xcb_xfixes_translate_region. */
|
| 418 |
+
#define XCB_XFIXES_TRANSLATE_REGION 17
|
| 419 |
+
|
| 420 |
+
/**
|
| 421 |
+
* @brief xcb_xfixes_translate_region_request_t
|
| 422 |
+
**/
|
| 423 |
+
typedef struct xcb_xfixes_translate_region_request_t {
|
| 424 |
+
uint8_t major_opcode;
|
| 425 |
+
uint8_t minor_opcode;
|
| 426 |
+
uint16_t length;
|
| 427 |
+
xcb_xfixes_region_t region;
|
| 428 |
+
int16_t dx;
|
| 429 |
+
int16_t dy;
|
| 430 |
+
} xcb_xfixes_translate_region_request_t;
|
| 431 |
+
|
| 432 |
+
/** Opcode for xcb_xfixes_region_extents. */
|
| 433 |
+
#define XCB_XFIXES_REGION_EXTENTS 18
|
| 434 |
+
|
| 435 |
+
/**
|
| 436 |
+
* @brief xcb_xfixes_region_extents_request_t
|
| 437 |
+
**/
|
| 438 |
+
typedef struct xcb_xfixes_region_extents_request_t {
|
| 439 |
+
uint8_t major_opcode;
|
| 440 |
+
uint8_t minor_opcode;
|
| 441 |
+
uint16_t length;
|
| 442 |
+
xcb_xfixes_region_t source;
|
| 443 |
+
xcb_xfixes_region_t destination;
|
| 444 |
+
} xcb_xfixes_region_extents_request_t;
|
| 445 |
+
|
| 446 |
+
/**
|
| 447 |
+
* @brief xcb_xfixes_fetch_region_cookie_t
|
| 448 |
+
**/
|
| 449 |
+
typedef struct xcb_xfixes_fetch_region_cookie_t {
|
| 450 |
+
unsigned int sequence;
|
| 451 |
+
} xcb_xfixes_fetch_region_cookie_t;
|
| 452 |
+
|
| 453 |
+
/** Opcode for xcb_xfixes_fetch_region. */
|
| 454 |
+
#define XCB_XFIXES_FETCH_REGION 19
|
| 455 |
+
|
| 456 |
+
/**
|
| 457 |
+
* @brief xcb_xfixes_fetch_region_request_t
|
| 458 |
+
**/
|
| 459 |
+
typedef struct xcb_xfixes_fetch_region_request_t {
|
| 460 |
+
uint8_t major_opcode;
|
| 461 |
+
uint8_t minor_opcode;
|
| 462 |
+
uint16_t length;
|
| 463 |
+
xcb_xfixes_region_t region;
|
| 464 |
+
} xcb_xfixes_fetch_region_request_t;
|
| 465 |
+
|
| 466 |
+
/**
|
| 467 |
+
* @brief xcb_xfixes_fetch_region_reply_t
|
| 468 |
+
**/
|
| 469 |
+
typedef struct xcb_xfixes_fetch_region_reply_t {
|
| 470 |
+
uint8_t response_type;
|
| 471 |
+
uint8_t pad0;
|
| 472 |
+
uint16_t sequence;
|
| 473 |
+
uint32_t length;
|
| 474 |
+
xcb_rectangle_t extents;
|
| 475 |
+
uint8_t pad1[16];
|
| 476 |
+
} xcb_xfixes_fetch_region_reply_t;
|
| 477 |
+
|
| 478 |
+
/** Opcode for xcb_xfixes_set_gc_clip_region. */
|
| 479 |
+
#define XCB_XFIXES_SET_GC_CLIP_REGION 20
|
| 480 |
+
|
| 481 |
+
/**
|
| 482 |
+
* @brief xcb_xfixes_set_gc_clip_region_request_t
|
| 483 |
+
**/
|
| 484 |
+
typedef struct xcb_xfixes_set_gc_clip_region_request_t {
|
| 485 |
+
uint8_t major_opcode;
|
| 486 |
+
uint8_t minor_opcode;
|
| 487 |
+
uint16_t length;
|
| 488 |
+
xcb_gcontext_t gc;
|
| 489 |
+
xcb_xfixes_region_t region;
|
| 490 |
+
int16_t x_origin;
|
| 491 |
+
int16_t y_origin;
|
| 492 |
+
} xcb_xfixes_set_gc_clip_region_request_t;
|
| 493 |
+
|
| 494 |
+
/** Opcode for xcb_xfixes_set_window_shape_region. */
|
| 495 |
+
#define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21
|
| 496 |
+
|
| 497 |
+
/**
|
| 498 |
+
* @brief xcb_xfixes_set_window_shape_region_request_t
|
| 499 |
+
**/
|
| 500 |
+
typedef struct xcb_xfixes_set_window_shape_region_request_t {
|
| 501 |
+
uint8_t major_opcode;
|
| 502 |
+
uint8_t minor_opcode;
|
| 503 |
+
uint16_t length;
|
| 504 |
+
xcb_window_t dest;
|
| 505 |
+
xcb_shape_kind_t dest_kind;
|
| 506 |
+
uint8_t pad0[3];
|
| 507 |
+
int16_t x_offset;
|
| 508 |
+
int16_t y_offset;
|
| 509 |
+
xcb_xfixes_region_t region;
|
| 510 |
+
} xcb_xfixes_set_window_shape_region_request_t;
|
| 511 |
+
|
| 512 |
+
/** Opcode for xcb_xfixes_set_picture_clip_region. */
|
| 513 |
+
#define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22
|
| 514 |
+
|
| 515 |
+
/**
|
| 516 |
+
* @brief xcb_xfixes_set_picture_clip_region_request_t
|
| 517 |
+
**/
|
| 518 |
+
typedef struct xcb_xfixes_set_picture_clip_region_request_t {
|
| 519 |
+
uint8_t major_opcode;
|
| 520 |
+
uint8_t minor_opcode;
|
| 521 |
+
uint16_t length;
|
| 522 |
+
xcb_render_picture_t picture;
|
| 523 |
+
xcb_xfixes_region_t region;
|
| 524 |
+
int16_t x_origin;
|
| 525 |
+
int16_t y_origin;
|
| 526 |
+
} xcb_xfixes_set_picture_clip_region_request_t;
|
| 527 |
+
|
| 528 |
+
/** Opcode for xcb_xfixes_set_cursor_name. */
|
| 529 |
+
#define XCB_XFIXES_SET_CURSOR_NAME 23
|
| 530 |
+
|
| 531 |
+
/**
|
| 532 |
+
* @brief xcb_xfixes_set_cursor_name_request_t
|
| 533 |
+
**/
|
| 534 |
+
typedef struct xcb_xfixes_set_cursor_name_request_t {
|
| 535 |
+
uint8_t major_opcode;
|
| 536 |
+
uint8_t minor_opcode;
|
| 537 |
+
uint16_t length;
|
| 538 |
+
xcb_cursor_t cursor;
|
| 539 |
+
uint16_t nbytes;
|
| 540 |
+
uint8_t pad0[2];
|
| 541 |
+
} xcb_xfixes_set_cursor_name_request_t;
|
| 542 |
+
|
| 543 |
+
/**
|
| 544 |
+
* @brief xcb_xfixes_get_cursor_name_cookie_t
|
| 545 |
+
**/
|
| 546 |
+
typedef struct xcb_xfixes_get_cursor_name_cookie_t {
|
| 547 |
+
unsigned int sequence;
|
| 548 |
+
} xcb_xfixes_get_cursor_name_cookie_t;
|
| 549 |
+
|
| 550 |
+
/** Opcode for xcb_xfixes_get_cursor_name. */
|
| 551 |
+
#define XCB_XFIXES_GET_CURSOR_NAME 24
|
| 552 |
+
|
| 553 |
+
/**
|
| 554 |
+
* @brief xcb_xfixes_get_cursor_name_request_t
|
| 555 |
+
**/
|
| 556 |
+
typedef struct xcb_xfixes_get_cursor_name_request_t {
|
| 557 |
+
uint8_t major_opcode;
|
| 558 |
+
uint8_t minor_opcode;
|
| 559 |
+
uint16_t length;
|
| 560 |
+
xcb_cursor_t cursor;
|
| 561 |
+
} xcb_xfixes_get_cursor_name_request_t;
|
| 562 |
+
|
| 563 |
+
/**
|
| 564 |
+
* @brief xcb_xfixes_get_cursor_name_reply_t
|
| 565 |
+
**/
|
| 566 |
+
typedef struct xcb_xfixes_get_cursor_name_reply_t {
|
| 567 |
+
uint8_t response_type;
|
| 568 |
+
uint8_t pad0;
|
| 569 |
+
uint16_t sequence;
|
| 570 |
+
uint32_t length;
|
| 571 |
+
xcb_atom_t atom;
|
| 572 |
+
uint16_t nbytes;
|
| 573 |
+
uint8_t pad1[18];
|
| 574 |
+
} xcb_xfixes_get_cursor_name_reply_t;
|
| 575 |
+
|
| 576 |
+
/**
|
| 577 |
+
* @brief xcb_xfixes_get_cursor_image_and_name_cookie_t
|
| 578 |
+
**/
|
| 579 |
+
typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t {
|
| 580 |
+
unsigned int sequence;
|
| 581 |
+
} xcb_xfixes_get_cursor_image_and_name_cookie_t;
|
| 582 |
+
|
| 583 |
+
/** Opcode for xcb_xfixes_get_cursor_image_and_name. */
|
| 584 |
+
#define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25
|
| 585 |
+
|
| 586 |
+
/**
|
| 587 |
+
* @brief xcb_xfixes_get_cursor_image_and_name_request_t
|
| 588 |
+
**/
|
| 589 |
+
typedef struct xcb_xfixes_get_cursor_image_and_name_request_t {
|
| 590 |
+
uint8_t major_opcode;
|
| 591 |
+
uint8_t minor_opcode;
|
| 592 |
+
uint16_t length;
|
| 593 |
+
} xcb_xfixes_get_cursor_image_and_name_request_t;
|
| 594 |
+
|
| 595 |
+
/**
|
| 596 |
+
* @brief xcb_xfixes_get_cursor_image_and_name_reply_t
|
| 597 |
+
**/
|
| 598 |
+
typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t {
|
| 599 |
+
uint8_t response_type;
|
| 600 |
+
uint8_t pad0;
|
| 601 |
+
uint16_t sequence;
|
| 602 |
+
uint32_t length;
|
| 603 |
+
int16_t x;
|
| 604 |
+
int16_t y;
|
| 605 |
+
uint16_t width;
|
| 606 |
+
uint16_t height;
|
| 607 |
+
uint16_t xhot;
|
| 608 |
+
uint16_t yhot;
|
| 609 |
+
uint32_t cursor_serial;
|
| 610 |
+
xcb_atom_t cursor_atom;
|
| 611 |
+
uint16_t nbytes;
|
| 612 |
+
uint8_t pad1[2];
|
| 613 |
+
} xcb_xfixes_get_cursor_image_and_name_reply_t;
|
| 614 |
+
|
| 615 |
+
/** Opcode for xcb_xfixes_change_cursor. */
|
| 616 |
+
#define XCB_XFIXES_CHANGE_CURSOR 26
|
| 617 |
+
|
| 618 |
+
/**
|
| 619 |
+
* @brief xcb_xfixes_change_cursor_request_t
|
| 620 |
+
**/
|
| 621 |
+
typedef struct xcb_xfixes_change_cursor_request_t {
|
| 622 |
+
uint8_t major_opcode;
|
| 623 |
+
uint8_t minor_opcode;
|
| 624 |
+
uint16_t length;
|
| 625 |
+
xcb_cursor_t source;
|
| 626 |
+
xcb_cursor_t destination;
|
| 627 |
+
} xcb_xfixes_change_cursor_request_t;
|
| 628 |
+
|
| 629 |
+
/** Opcode for xcb_xfixes_change_cursor_by_name. */
|
| 630 |
+
#define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27
|
| 631 |
+
|
| 632 |
+
/**
|
| 633 |
+
* @brief xcb_xfixes_change_cursor_by_name_request_t
|
| 634 |
+
**/
|
| 635 |
+
typedef struct xcb_xfixes_change_cursor_by_name_request_t {
|
| 636 |
+
uint8_t major_opcode;
|
| 637 |
+
uint8_t minor_opcode;
|
| 638 |
+
uint16_t length;
|
| 639 |
+
xcb_cursor_t src;
|
| 640 |
+
uint16_t nbytes;
|
| 641 |
+
uint8_t pad0[2];
|
| 642 |
+
} xcb_xfixes_change_cursor_by_name_request_t;
|
| 643 |
+
|
| 644 |
+
/** Opcode for xcb_xfixes_expand_region. */
|
| 645 |
+
#define XCB_XFIXES_EXPAND_REGION 28
|
| 646 |
+
|
| 647 |
+
/**
|
| 648 |
+
* @brief xcb_xfixes_expand_region_request_t
|
| 649 |
+
**/
|
| 650 |
+
typedef struct xcb_xfixes_expand_region_request_t {
|
| 651 |
+
uint8_t major_opcode;
|
| 652 |
+
uint8_t minor_opcode;
|
| 653 |
+
uint16_t length;
|
| 654 |
+
xcb_xfixes_region_t source;
|
| 655 |
+
xcb_xfixes_region_t destination;
|
| 656 |
+
uint16_t left;
|
| 657 |
+
uint16_t right;
|
| 658 |
+
uint16_t top;
|
| 659 |
+
uint16_t bottom;
|
| 660 |
+
} xcb_xfixes_expand_region_request_t;
|
| 661 |
+
|
| 662 |
+
/** Opcode for xcb_xfixes_hide_cursor. */
|
| 663 |
+
#define XCB_XFIXES_HIDE_CURSOR 29
|
| 664 |
+
|
| 665 |
+
/**
|
| 666 |
+
* @brief xcb_xfixes_hide_cursor_request_t
|
| 667 |
+
**/
|
| 668 |
+
typedef struct xcb_xfixes_hide_cursor_request_t {
|
| 669 |
+
uint8_t major_opcode;
|
| 670 |
+
uint8_t minor_opcode;
|
| 671 |
+
uint16_t length;
|
| 672 |
+
xcb_window_t window;
|
| 673 |
+
} xcb_xfixes_hide_cursor_request_t;
|
| 674 |
+
|
| 675 |
+
/** Opcode for xcb_xfixes_show_cursor. */
|
| 676 |
+
#define XCB_XFIXES_SHOW_CURSOR 30
|
| 677 |
+
|
| 678 |
+
/**
|
| 679 |
+
* @brief xcb_xfixes_show_cursor_request_t
|
| 680 |
+
**/
|
| 681 |
+
typedef struct xcb_xfixes_show_cursor_request_t {
|
| 682 |
+
uint8_t major_opcode;
|
| 683 |
+
uint8_t minor_opcode;
|
| 684 |
+
uint16_t length;
|
| 685 |
+
xcb_window_t window;
|
| 686 |
+
} xcb_xfixes_show_cursor_request_t;
|
| 687 |
+
|
| 688 |
+
typedef uint32_t xcb_xfixes_barrier_t;
|
| 689 |
+
|
| 690 |
+
/**
|
| 691 |
+
* @brief xcb_xfixes_barrier_iterator_t
|
| 692 |
+
**/
|
| 693 |
+
typedef struct xcb_xfixes_barrier_iterator_t {
|
| 694 |
+
xcb_xfixes_barrier_t *data;
|
| 695 |
+
int rem;
|
| 696 |
+
int index;
|
| 697 |
+
} xcb_xfixes_barrier_iterator_t;
|
| 698 |
+
|
| 699 |
+
typedef enum xcb_xfixes_barrier_directions_t {
|
| 700 |
+
XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_X = 1,
|
| 701 |
+
XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_Y = 2,
|
| 702 |
+
XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_X = 4,
|
| 703 |
+
XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_Y = 8
|
| 704 |
+
} xcb_xfixes_barrier_directions_t;
|
| 705 |
+
|
| 706 |
+
/** Opcode for xcb_xfixes_create_pointer_barrier. */
|
| 707 |
+
#define XCB_XFIXES_CREATE_POINTER_BARRIER 31
|
| 708 |
+
|
| 709 |
+
/**
|
| 710 |
+
* @brief xcb_xfixes_create_pointer_barrier_request_t
|
| 711 |
+
**/
|
| 712 |
+
typedef struct xcb_xfixes_create_pointer_barrier_request_t {
|
| 713 |
+
uint8_t major_opcode;
|
| 714 |
+
uint8_t minor_opcode;
|
| 715 |
+
uint16_t length;
|
| 716 |
+
xcb_xfixes_barrier_t barrier;
|
| 717 |
+
xcb_window_t window;
|
| 718 |
+
uint16_t x1;
|
| 719 |
+
uint16_t y1;
|
| 720 |
+
uint16_t x2;
|
| 721 |
+
uint16_t y2;
|
| 722 |
+
uint32_t directions;
|
| 723 |
+
uint8_t pad0[2];
|
| 724 |
+
uint16_t num_devices;
|
| 725 |
+
} xcb_xfixes_create_pointer_barrier_request_t;
|
| 726 |
+
|
| 727 |
+
/** Opcode for xcb_xfixes_delete_pointer_barrier. */
|
| 728 |
+
#define XCB_XFIXES_DELETE_POINTER_BARRIER 32
|
| 729 |
+
|
| 730 |
+
/**
|
| 731 |
+
* @brief xcb_xfixes_delete_pointer_barrier_request_t
|
| 732 |
+
**/
|
| 733 |
+
typedef struct xcb_xfixes_delete_pointer_barrier_request_t {
|
| 734 |
+
uint8_t major_opcode;
|
| 735 |
+
uint8_t minor_opcode;
|
| 736 |
+
uint16_t length;
|
| 737 |
+
xcb_xfixes_barrier_t barrier;
|
| 738 |
+
} xcb_xfixes_delete_pointer_barrier_request_t;
|
| 739 |
+
|
| 740 |
+
typedef enum xcb_xfixes_client_disconnect_flags_t {
|
| 741 |
+
XCB_XFIXES_CLIENT_DISCONNECT_FLAGS_DEFAULT = 0,
|
| 742 |
+
/**< The default behavior for regular clients: the X11 server won't terminate as long
|
| 743 |
+
as such clients are still connected, and should this client disconnect, the
|
| 744 |
+
server will continue running so long as other clients (that have not set
|
| 745 |
+
XFixesClientDisconnectFlagTerminate) are connected. */
|
| 746 |
+
|
| 747 |
+
XCB_XFIXES_CLIENT_DISCONNECT_FLAGS_TERMINATE = 1
|
| 748 |
+
/**< Indicates to the X11 server that it can ignore the client and terminate itself
|
| 749 |
+
even though the client is still connected to the X11 server. */
|
| 750 |
+
|
| 751 |
+
} xcb_xfixes_client_disconnect_flags_t;
|
| 752 |
+
|
| 753 |
+
/** Opcode for xcb_xfixes_set_client_disconnect_mode. */
|
| 754 |
+
#define XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE 33
|
| 755 |
+
|
| 756 |
+
/**
|
| 757 |
+
* @brief xcb_xfixes_set_client_disconnect_mode_request_t
|
| 758 |
+
**/
|
| 759 |
+
typedef struct xcb_xfixes_set_client_disconnect_mode_request_t {
|
| 760 |
+
uint8_t major_opcode;
|
| 761 |
+
uint8_t minor_opcode;
|
| 762 |
+
uint16_t length;
|
| 763 |
+
uint32_t disconnect_mode;
|
| 764 |
+
} xcb_xfixes_set_client_disconnect_mode_request_t;
|
| 765 |
+
|
| 766 |
+
/**
|
| 767 |
+
* @brief xcb_xfixes_get_client_disconnect_mode_cookie_t
|
| 768 |
+
**/
|
| 769 |
+
typedef struct xcb_xfixes_get_client_disconnect_mode_cookie_t {
|
| 770 |
+
unsigned int sequence;
|
| 771 |
+
} xcb_xfixes_get_client_disconnect_mode_cookie_t;
|
| 772 |
+
|
| 773 |
+
/** Opcode for xcb_xfixes_get_client_disconnect_mode. */
|
| 774 |
+
#define XCB_XFIXES_GET_CLIENT_DISCONNECT_MODE 34
|
| 775 |
+
|
| 776 |
+
/**
|
| 777 |
+
* @brief xcb_xfixes_get_client_disconnect_mode_request_t
|
| 778 |
+
**/
|
| 779 |
+
typedef struct xcb_xfixes_get_client_disconnect_mode_request_t {
|
| 780 |
+
uint8_t major_opcode;
|
| 781 |
+
uint8_t minor_opcode;
|
| 782 |
+
uint16_t length;
|
| 783 |
+
} xcb_xfixes_get_client_disconnect_mode_request_t;
|
| 784 |
+
|
| 785 |
+
/**
|
| 786 |
+
* @brief xcb_xfixes_get_client_disconnect_mode_reply_t
|
| 787 |
+
**/
|
| 788 |
+
typedef struct xcb_xfixes_get_client_disconnect_mode_reply_t {
|
| 789 |
+
uint8_t response_type;
|
| 790 |
+
uint8_t pad0;
|
| 791 |
+
uint16_t sequence;
|
| 792 |
+
uint32_t length;
|
| 793 |
+
uint32_t disconnect_mode;
|
| 794 |
+
uint8_t pad1[20];
|
| 795 |
+
} xcb_xfixes_get_client_disconnect_mode_reply_t;
|
| 796 |
+
|
| 797 |
+
/**
|
| 798 |
+
*
|
| 799 |
+
* @param c The connection
|
| 800 |
+
* @return A cookie
|
| 801 |
+
*
|
| 802 |
+
* Delivers a request to the X server.
|
| 803 |
+
*
|
| 804 |
+
*/
|
| 805 |
+
xcb_xfixes_query_version_cookie_t
|
| 806 |
+
xcb_xfixes_query_version (xcb_connection_t *c,
|
| 807 |
+
uint32_t client_major_version,
|
| 808 |
+
uint32_t client_minor_version);
|
| 809 |
+
|
| 810 |
+
/**
|
| 811 |
+
*
|
| 812 |
+
* @param c The connection
|
| 813 |
+
* @return A cookie
|
| 814 |
+
*
|
| 815 |
+
* Delivers a request to the X server.
|
| 816 |
+
*
|
| 817 |
+
* This form can be used only if the request will cause
|
| 818 |
+
* a reply to be generated. Any returned error will be
|
| 819 |
+
* placed in the event queue.
|
| 820 |
+
*/
|
| 821 |
+
xcb_xfixes_query_version_cookie_t
|
| 822 |
+
xcb_xfixes_query_version_unchecked (xcb_connection_t *c,
|
| 823 |
+
uint32_t client_major_version,
|
| 824 |
+
uint32_t client_minor_version);
|
| 825 |
+
|
| 826 |
+
/**
|
| 827 |
+
* Return the reply
|
| 828 |
+
* @param c The connection
|
| 829 |
+
* @param cookie The cookie
|
| 830 |
+
* @param e The xcb_generic_error_t supplied
|
| 831 |
+
*
|
| 832 |
+
* Returns the reply of the request asked by
|
| 833 |
+
*
|
| 834 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 835 |
+
* xcb_xfixes_query_version_unchecked(). is used.
|
| 836 |
+
* Otherwise, it stores the error if any.
|
| 837 |
+
*
|
| 838 |
+
* The returned value must be freed by the caller using free().
|
| 839 |
+
*/
|
| 840 |
+
xcb_xfixes_query_version_reply_t *
|
| 841 |
+
xcb_xfixes_query_version_reply (xcb_connection_t *c,
|
| 842 |
+
xcb_xfixes_query_version_cookie_t cookie /**< */,
|
| 843 |
+
xcb_generic_error_t **e);
|
| 844 |
+
|
| 845 |
+
/**
|
| 846 |
+
*
|
| 847 |
+
* @param c The connection
|
| 848 |
+
* @return A cookie
|
| 849 |
+
*
|
| 850 |
+
* Delivers a request to the X server.
|
| 851 |
+
*
|
| 852 |
+
* This form can be used only if the request will not cause
|
| 853 |
+
* a reply to be generated. Any returned error will be
|
| 854 |
+
* saved for handling by xcb_request_check().
|
| 855 |
+
*/
|
| 856 |
+
xcb_void_cookie_t
|
| 857 |
+
xcb_xfixes_change_save_set_checked (xcb_connection_t *c,
|
| 858 |
+
uint8_t mode,
|
| 859 |
+
uint8_t target,
|
| 860 |
+
uint8_t map,
|
| 861 |
+
xcb_window_t window);
|
| 862 |
+
|
| 863 |
+
/**
|
| 864 |
+
*
|
| 865 |
+
* @param c The connection
|
| 866 |
+
* @return A cookie
|
| 867 |
+
*
|
| 868 |
+
* Delivers a request to the X server.
|
| 869 |
+
*
|
| 870 |
+
*/
|
| 871 |
+
xcb_void_cookie_t
|
| 872 |
+
xcb_xfixes_change_save_set (xcb_connection_t *c,
|
| 873 |
+
uint8_t mode,
|
| 874 |
+
uint8_t target,
|
| 875 |
+
uint8_t map,
|
| 876 |
+
xcb_window_t window);
|
| 877 |
+
|
| 878 |
+
/**
|
| 879 |
+
*
|
| 880 |
+
* @param c The connection
|
| 881 |
+
* @return A cookie
|
| 882 |
+
*
|
| 883 |
+
* Delivers a request to the X server.
|
| 884 |
+
*
|
| 885 |
+
* This form can be used only if the request will not cause
|
| 886 |
+
* a reply to be generated. Any returned error will be
|
| 887 |
+
* saved for handling by xcb_request_check().
|
| 888 |
+
*/
|
| 889 |
+
xcb_void_cookie_t
|
| 890 |
+
xcb_xfixes_select_selection_input_checked (xcb_connection_t *c,
|
| 891 |
+
xcb_window_t window,
|
| 892 |
+
xcb_atom_t selection,
|
| 893 |
+
uint32_t event_mask);
|
| 894 |
+
|
| 895 |
+
/**
|
| 896 |
+
*
|
| 897 |
+
* @param c The connection
|
| 898 |
+
* @return A cookie
|
| 899 |
+
*
|
| 900 |
+
* Delivers a request to the X server.
|
| 901 |
+
*
|
| 902 |
+
*/
|
| 903 |
+
xcb_void_cookie_t
|
| 904 |
+
xcb_xfixes_select_selection_input (xcb_connection_t *c,
|
| 905 |
+
xcb_window_t window,
|
| 906 |
+
xcb_atom_t selection,
|
| 907 |
+
uint32_t event_mask);
|
| 908 |
+
|
| 909 |
+
/**
|
| 910 |
+
*
|
| 911 |
+
* @param c The connection
|
| 912 |
+
* @return A cookie
|
| 913 |
+
*
|
| 914 |
+
* Delivers a request to the X server.
|
| 915 |
+
*
|
| 916 |
+
* This form can be used only if the request will not cause
|
| 917 |
+
* a reply to be generated. Any returned error will be
|
| 918 |
+
* saved for handling by xcb_request_check().
|
| 919 |
+
*/
|
| 920 |
+
xcb_void_cookie_t
|
| 921 |
+
xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c,
|
| 922 |
+
xcb_window_t window,
|
| 923 |
+
uint32_t event_mask);
|
| 924 |
+
|
| 925 |
+
/**
|
| 926 |
+
*
|
| 927 |
+
* @param c The connection
|
| 928 |
+
* @return A cookie
|
| 929 |
+
*
|
| 930 |
+
* Delivers a request to the X server.
|
| 931 |
+
*
|
| 932 |
+
*/
|
| 933 |
+
xcb_void_cookie_t
|
| 934 |
+
xcb_xfixes_select_cursor_input (xcb_connection_t *c,
|
| 935 |
+
xcb_window_t window,
|
| 936 |
+
uint32_t event_mask);
|
| 937 |
+
|
| 938 |
+
int
|
| 939 |
+
xcb_xfixes_get_cursor_image_sizeof (const void *_buffer);
|
| 940 |
+
|
| 941 |
+
/**
|
| 942 |
+
*
|
| 943 |
+
* @param c The connection
|
| 944 |
+
* @return A cookie
|
| 945 |
+
*
|
| 946 |
+
* Delivers a request to the X server.
|
| 947 |
+
*
|
| 948 |
+
*/
|
| 949 |
+
xcb_xfixes_get_cursor_image_cookie_t
|
| 950 |
+
xcb_xfixes_get_cursor_image (xcb_connection_t *c);
|
| 951 |
+
|
| 952 |
+
/**
|
| 953 |
+
*
|
| 954 |
+
* @param c The connection
|
| 955 |
+
* @return A cookie
|
| 956 |
+
*
|
| 957 |
+
* Delivers a request to the X server.
|
| 958 |
+
*
|
| 959 |
+
* This form can be used only if the request will cause
|
| 960 |
+
* a reply to be generated. Any returned error will be
|
| 961 |
+
* placed in the event queue.
|
| 962 |
+
*/
|
| 963 |
+
xcb_xfixes_get_cursor_image_cookie_t
|
| 964 |
+
xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c);
|
| 965 |
+
|
| 966 |
+
uint32_t *
|
| 967 |
+
xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R);
|
| 968 |
+
|
| 969 |
+
int
|
| 970 |
+
xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R);
|
| 971 |
+
|
| 972 |
+
xcb_generic_iterator_t
|
| 973 |
+
xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R);
|
| 974 |
+
|
| 975 |
+
/**
|
| 976 |
+
* Return the reply
|
| 977 |
+
* @param c The connection
|
| 978 |
+
* @param cookie The cookie
|
| 979 |
+
* @param e The xcb_generic_error_t supplied
|
| 980 |
+
*
|
| 981 |
+
* Returns the reply of the request asked by
|
| 982 |
+
*
|
| 983 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 984 |
+
* xcb_xfixes_get_cursor_image_unchecked(). is used.
|
| 985 |
+
* Otherwise, it stores the error if any.
|
| 986 |
+
*
|
| 987 |
+
* The returned value must be freed by the caller using free().
|
| 988 |
+
*/
|
| 989 |
+
xcb_xfixes_get_cursor_image_reply_t *
|
| 990 |
+
xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c,
|
| 991 |
+
xcb_xfixes_get_cursor_image_cookie_t cookie /**< */,
|
| 992 |
+
xcb_generic_error_t **e);
|
| 993 |
+
|
| 994 |
+
/**
|
| 995 |
+
* Get the next element of the iterator
|
| 996 |
+
* @param i Pointer to a xcb_xfixes_region_iterator_t
|
| 997 |
+
*
|
| 998 |
+
* Get the next element in the iterator. The member rem is
|
| 999 |
+
* decreased by one. The member data points to the next
|
| 1000 |
+
* element. The member index is increased by sizeof(xcb_xfixes_region_t)
|
| 1001 |
+
*/
|
| 1002 |
+
void
|
| 1003 |
+
xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i);
|
| 1004 |
+
|
| 1005 |
+
/**
|
| 1006 |
+
* Return the iterator pointing to the last element
|
| 1007 |
+
* @param i An xcb_xfixes_region_iterator_t
|
| 1008 |
+
* @return The iterator pointing to the last element
|
| 1009 |
+
*
|
| 1010 |
+
* Set the current element in the iterator to the last element.
|
| 1011 |
+
* The member rem is set to 0. The member data points to the
|
| 1012 |
+
* last element.
|
| 1013 |
+
*/
|
| 1014 |
+
xcb_generic_iterator_t
|
| 1015 |
+
xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i);
|
| 1016 |
+
|
| 1017 |
+
int
|
| 1018 |
+
xcb_xfixes_create_region_sizeof (const void *_buffer,
|
| 1019 |
+
uint32_t rectangles_len);
|
| 1020 |
+
|
| 1021 |
+
/**
|
| 1022 |
+
*
|
| 1023 |
+
* @param c The connection
|
| 1024 |
+
* @return A cookie
|
| 1025 |
+
*
|
| 1026 |
+
* Delivers a request to the X server.
|
| 1027 |
+
*
|
| 1028 |
+
* This form can be used only if the request will not cause
|
| 1029 |
+
* a reply to be generated. Any returned error will be
|
| 1030 |
+
* saved for handling by xcb_request_check().
|
| 1031 |
+
*/
|
| 1032 |
+
xcb_void_cookie_t
|
| 1033 |
+
xcb_xfixes_create_region_checked (xcb_connection_t *c,
|
| 1034 |
+
xcb_xfixes_region_t region,
|
| 1035 |
+
uint32_t rectangles_len,
|
| 1036 |
+
const xcb_rectangle_t *rectangles);
|
| 1037 |
+
|
| 1038 |
+
/**
|
| 1039 |
+
*
|
| 1040 |
+
* @param c The connection
|
| 1041 |
+
* @return A cookie
|
| 1042 |
+
*
|
| 1043 |
+
* Delivers a request to the X server.
|
| 1044 |
+
*
|
| 1045 |
+
*/
|
| 1046 |
+
xcb_void_cookie_t
|
| 1047 |
+
xcb_xfixes_create_region (xcb_connection_t *c,
|
| 1048 |
+
xcb_xfixes_region_t region,
|
| 1049 |
+
uint32_t rectangles_len,
|
| 1050 |
+
const xcb_rectangle_t *rectangles);
|
| 1051 |
+
|
| 1052 |
+
xcb_rectangle_t *
|
| 1053 |
+
xcb_xfixes_create_region_rectangles (const xcb_xfixes_create_region_request_t *R);
|
| 1054 |
+
|
| 1055 |
+
int
|
| 1056 |
+
xcb_xfixes_create_region_rectangles_length (const xcb_xfixes_create_region_request_t *R);
|
| 1057 |
+
|
| 1058 |
+
xcb_rectangle_iterator_t
|
| 1059 |
+
xcb_xfixes_create_region_rectangles_iterator (const xcb_xfixes_create_region_request_t *R);
|
| 1060 |
+
|
| 1061 |
+
/**
|
| 1062 |
+
*
|
| 1063 |
+
* @param c The connection
|
| 1064 |
+
* @return A cookie
|
| 1065 |
+
*
|
| 1066 |
+
* Delivers a request to the X server.
|
| 1067 |
+
*
|
| 1068 |
+
* This form can be used only if the request will not cause
|
| 1069 |
+
* a reply to be generated. Any returned error will be
|
| 1070 |
+
* saved for handling by xcb_request_check().
|
| 1071 |
+
*/
|
| 1072 |
+
xcb_void_cookie_t
|
| 1073 |
+
xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c,
|
| 1074 |
+
xcb_xfixes_region_t region,
|
| 1075 |
+
xcb_pixmap_t bitmap);
|
| 1076 |
+
|
| 1077 |
+
/**
|
| 1078 |
+
*
|
| 1079 |
+
* @param c The connection
|
| 1080 |
+
* @return A cookie
|
| 1081 |
+
*
|
| 1082 |
+
* Delivers a request to the X server.
|
| 1083 |
+
*
|
| 1084 |
+
*/
|
| 1085 |
+
xcb_void_cookie_t
|
| 1086 |
+
xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c,
|
| 1087 |
+
xcb_xfixes_region_t region,
|
| 1088 |
+
xcb_pixmap_t bitmap);
|
| 1089 |
+
|
| 1090 |
+
/**
|
| 1091 |
+
*
|
| 1092 |
+
* @param c The connection
|
| 1093 |
+
* @return A cookie
|
| 1094 |
+
*
|
| 1095 |
+
* Delivers a request to the X server.
|
| 1096 |
+
*
|
| 1097 |
+
* This form can be used only if the request will not cause
|
| 1098 |
+
* a reply to be generated. Any returned error will be
|
| 1099 |
+
* saved for handling by xcb_request_check().
|
| 1100 |
+
*/
|
| 1101 |
+
xcb_void_cookie_t
|
| 1102 |
+
xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c,
|
| 1103 |
+
xcb_xfixes_region_t region,
|
| 1104 |
+
xcb_window_t window,
|
| 1105 |
+
xcb_shape_kind_t kind);
|
| 1106 |
+
|
| 1107 |
+
/**
|
| 1108 |
+
*
|
| 1109 |
+
* @param c The connection
|
| 1110 |
+
* @return A cookie
|
| 1111 |
+
*
|
| 1112 |
+
* Delivers a request to the X server.
|
| 1113 |
+
*
|
| 1114 |
+
*/
|
| 1115 |
+
xcb_void_cookie_t
|
| 1116 |
+
xcb_xfixes_create_region_from_window (xcb_connection_t *c,
|
| 1117 |
+
xcb_xfixes_region_t region,
|
| 1118 |
+
xcb_window_t window,
|
| 1119 |
+
xcb_shape_kind_t kind);
|
| 1120 |
+
|
| 1121 |
+
/**
|
| 1122 |
+
*
|
| 1123 |
+
* @param c The connection
|
| 1124 |
+
* @return A cookie
|
| 1125 |
+
*
|
| 1126 |
+
* Delivers a request to the X server.
|
| 1127 |
+
*
|
| 1128 |
+
* This form can be used only if the request will not cause
|
| 1129 |
+
* a reply to be generated. Any returned error will be
|
| 1130 |
+
* saved for handling by xcb_request_check().
|
| 1131 |
+
*/
|
| 1132 |
+
xcb_void_cookie_t
|
| 1133 |
+
xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c,
|
| 1134 |
+
xcb_xfixes_region_t region,
|
| 1135 |
+
xcb_gcontext_t gc);
|
| 1136 |
+
|
| 1137 |
+
/**
|
| 1138 |
+
*
|
| 1139 |
+
* @param c The connection
|
| 1140 |
+
* @return A cookie
|
| 1141 |
+
*
|
| 1142 |
+
* Delivers a request to the X server.
|
| 1143 |
+
*
|
| 1144 |
+
*/
|
| 1145 |
+
xcb_void_cookie_t
|
| 1146 |
+
xcb_xfixes_create_region_from_gc (xcb_connection_t *c,
|
| 1147 |
+
xcb_xfixes_region_t region,
|
| 1148 |
+
xcb_gcontext_t gc);
|
| 1149 |
+
|
| 1150 |
+
/**
|
| 1151 |
+
*
|
| 1152 |
+
* @param c The connection
|
| 1153 |
+
* @return A cookie
|
| 1154 |
+
*
|
| 1155 |
+
* Delivers a request to the X server.
|
| 1156 |
+
*
|
| 1157 |
+
* This form can be used only if the request will not cause
|
| 1158 |
+
* a reply to be generated. Any returned error will be
|
| 1159 |
+
* saved for handling by xcb_request_check().
|
| 1160 |
+
*/
|
| 1161 |
+
xcb_void_cookie_t
|
| 1162 |
+
xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c,
|
| 1163 |
+
xcb_xfixes_region_t region,
|
| 1164 |
+
xcb_render_picture_t picture);
|
| 1165 |
+
|
| 1166 |
+
/**
|
| 1167 |
+
*
|
| 1168 |
+
* @param c The connection
|
| 1169 |
+
* @return A cookie
|
| 1170 |
+
*
|
| 1171 |
+
* Delivers a request to the X server.
|
| 1172 |
+
*
|
| 1173 |
+
*/
|
| 1174 |
+
xcb_void_cookie_t
|
| 1175 |
+
xcb_xfixes_create_region_from_picture (xcb_connection_t *c,
|
| 1176 |
+
xcb_xfixes_region_t region,
|
| 1177 |
+
xcb_render_picture_t picture);
|
| 1178 |
+
|
| 1179 |
+
/**
|
| 1180 |
+
*
|
| 1181 |
+
* @param c The connection
|
| 1182 |
+
* @return A cookie
|
| 1183 |
+
*
|
| 1184 |
+
* Delivers a request to the X server.
|
| 1185 |
+
*
|
| 1186 |
+
* This form can be used only if the request will not cause
|
| 1187 |
+
* a reply to be generated. Any returned error will be
|
| 1188 |
+
* saved for handling by xcb_request_check().
|
| 1189 |
+
*/
|
| 1190 |
+
xcb_void_cookie_t
|
| 1191 |
+
xcb_xfixes_destroy_region_checked (xcb_connection_t *c,
|
| 1192 |
+
xcb_xfixes_region_t region);
|
| 1193 |
+
|
| 1194 |
+
/**
|
| 1195 |
+
*
|
| 1196 |
+
* @param c The connection
|
| 1197 |
+
* @return A cookie
|
| 1198 |
+
*
|
| 1199 |
+
* Delivers a request to the X server.
|
| 1200 |
+
*
|
| 1201 |
+
*/
|
| 1202 |
+
xcb_void_cookie_t
|
| 1203 |
+
xcb_xfixes_destroy_region (xcb_connection_t *c,
|
| 1204 |
+
xcb_xfixes_region_t region);
|
| 1205 |
+
|
| 1206 |
+
int
|
| 1207 |
+
xcb_xfixes_set_region_sizeof (const void *_buffer,
|
| 1208 |
+
uint32_t rectangles_len);
|
| 1209 |
+
|
| 1210 |
+
/**
|
| 1211 |
+
*
|
| 1212 |
+
* @param c The connection
|
| 1213 |
+
* @return A cookie
|
| 1214 |
+
*
|
| 1215 |
+
* Delivers a request to the X server.
|
| 1216 |
+
*
|
| 1217 |
+
* This form can be used only if the request will not cause
|
| 1218 |
+
* a reply to be generated. Any returned error will be
|
| 1219 |
+
* saved for handling by xcb_request_check().
|
| 1220 |
+
*/
|
| 1221 |
+
xcb_void_cookie_t
|
| 1222 |
+
xcb_xfixes_set_region_checked (xcb_connection_t *c,
|
| 1223 |
+
xcb_xfixes_region_t region,
|
| 1224 |
+
uint32_t rectangles_len,
|
| 1225 |
+
const xcb_rectangle_t *rectangles);
|
| 1226 |
+
|
| 1227 |
+
/**
|
| 1228 |
+
*
|
| 1229 |
+
* @param c The connection
|
| 1230 |
+
* @return A cookie
|
| 1231 |
+
*
|
| 1232 |
+
* Delivers a request to the X server.
|
| 1233 |
+
*
|
| 1234 |
+
*/
|
| 1235 |
+
xcb_void_cookie_t
|
| 1236 |
+
xcb_xfixes_set_region (xcb_connection_t *c,
|
| 1237 |
+
xcb_xfixes_region_t region,
|
| 1238 |
+
uint32_t rectangles_len,
|
| 1239 |
+
const xcb_rectangle_t *rectangles);
|
| 1240 |
+
|
| 1241 |
+
xcb_rectangle_t *
|
| 1242 |
+
xcb_xfixes_set_region_rectangles (const xcb_xfixes_set_region_request_t *R);
|
| 1243 |
+
|
| 1244 |
+
int
|
| 1245 |
+
xcb_xfixes_set_region_rectangles_length (const xcb_xfixes_set_region_request_t *R);
|
| 1246 |
+
|
| 1247 |
+
xcb_rectangle_iterator_t
|
| 1248 |
+
xcb_xfixes_set_region_rectangles_iterator (const xcb_xfixes_set_region_request_t *R);
|
| 1249 |
+
|
| 1250 |
+
/**
|
| 1251 |
+
*
|
| 1252 |
+
* @param c The connection
|
| 1253 |
+
* @return A cookie
|
| 1254 |
+
*
|
| 1255 |
+
* Delivers a request to the X server.
|
| 1256 |
+
*
|
| 1257 |
+
* This form can be used only if the request will not cause
|
| 1258 |
+
* a reply to be generated. Any returned error will be
|
| 1259 |
+
* saved for handling by xcb_request_check().
|
| 1260 |
+
*/
|
| 1261 |
+
xcb_void_cookie_t
|
| 1262 |
+
xcb_xfixes_copy_region_checked (xcb_connection_t *c,
|
| 1263 |
+
xcb_xfixes_region_t source,
|
| 1264 |
+
xcb_xfixes_region_t destination);
|
| 1265 |
+
|
| 1266 |
+
/**
|
| 1267 |
+
*
|
| 1268 |
+
* @param c The connection
|
| 1269 |
+
* @return A cookie
|
| 1270 |
+
*
|
| 1271 |
+
* Delivers a request to the X server.
|
| 1272 |
+
*
|
| 1273 |
+
*/
|
| 1274 |
+
xcb_void_cookie_t
|
| 1275 |
+
xcb_xfixes_copy_region (xcb_connection_t *c,
|
| 1276 |
+
xcb_xfixes_region_t source,
|
| 1277 |
+
xcb_xfixes_region_t destination);
|
| 1278 |
+
|
| 1279 |
+
/**
|
| 1280 |
+
*
|
| 1281 |
+
* @param c The connection
|
| 1282 |
+
* @return A cookie
|
| 1283 |
+
*
|
| 1284 |
+
* Delivers a request to the X server.
|
| 1285 |
+
*
|
| 1286 |
+
* This form can be used only if the request will not cause
|
| 1287 |
+
* a reply to be generated. Any returned error will be
|
| 1288 |
+
* saved for handling by xcb_request_check().
|
| 1289 |
+
*/
|
| 1290 |
+
xcb_void_cookie_t
|
| 1291 |
+
xcb_xfixes_union_region_checked (xcb_connection_t *c,
|
| 1292 |
+
xcb_xfixes_region_t source1,
|
| 1293 |
+
xcb_xfixes_region_t source2,
|
| 1294 |
+
xcb_xfixes_region_t destination);
|
| 1295 |
+
|
| 1296 |
+
/**
|
| 1297 |
+
*
|
| 1298 |
+
* @param c The connection
|
| 1299 |
+
* @return A cookie
|
| 1300 |
+
*
|
| 1301 |
+
* Delivers a request to the X server.
|
| 1302 |
+
*
|
| 1303 |
+
*/
|
| 1304 |
+
xcb_void_cookie_t
|
| 1305 |
+
xcb_xfixes_union_region (xcb_connection_t *c,
|
| 1306 |
+
xcb_xfixes_region_t source1,
|
| 1307 |
+
xcb_xfixes_region_t source2,
|
| 1308 |
+
xcb_xfixes_region_t destination);
|
| 1309 |
+
|
| 1310 |
+
/**
|
| 1311 |
+
*
|
| 1312 |
+
* @param c The connection
|
| 1313 |
+
* @return A cookie
|
| 1314 |
+
*
|
| 1315 |
+
* Delivers a request to the X server.
|
| 1316 |
+
*
|
| 1317 |
+
* This form can be used only if the request will not cause
|
| 1318 |
+
* a reply to be generated. Any returned error will be
|
| 1319 |
+
* saved for handling by xcb_request_check().
|
| 1320 |
+
*/
|
| 1321 |
+
xcb_void_cookie_t
|
| 1322 |
+
xcb_xfixes_intersect_region_checked (xcb_connection_t *c,
|
| 1323 |
+
xcb_xfixes_region_t source1,
|
| 1324 |
+
xcb_xfixes_region_t source2,
|
| 1325 |
+
xcb_xfixes_region_t destination);
|
| 1326 |
+
|
| 1327 |
+
/**
|
| 1328 |
+
*
|
| 1329 |
+
* @param c The connection
|
| 1330 |
+
* @return A cookie
|
| 1331 |
+
*
|
| 1332 |
+
* Delivers a request to the X server.
|
| 1333 |
+
*
|
| 1334 |
+
*/
|
| 1335 |
+
xcb_void_cookie_t
|
| 1336 |
+
xcb_xfixes_intersect_region (xcb_connection_t *c,
|
| 1337 |
+
xcb_xfixes_region_t source1,
|
| 1338 |
+
xcb_xfixes_region_t source2,
|
| 1339 |
+
xcb_xfixes_region_t destination);
|
| 1340 |
+
|
| 1341 |
+
/**
|
| 1342 |
+
*
|
| 1343 |
+
* @param c The connection
|
| 1344 |
+
* @return A cookie
|
| 1345 |
+
*
|
| 1346 |
+
* Delivers a request to the X server.
|
| 1347 |
+
*
|
| 1348 |
+
* This form can be used only if the request will not cause
|
| 1349 |
+
* a reply to be generated. Any returned error will be
|
| 1350 |
+
* saved for handling by xcb_request_check().
|
| 1351 |
+
*/
|
| 1352 |
+
xcb_void_cookie_t
|
| 1353 |
+
xcb_xfixes_subtract_region_checked (xcb_connection_t *c,
|
| 1354 |
+
xcb_xfixes_region_t source1,
|
| 1355 |
+
xcb_xfixes_region_t source2,
|
| 1356 |
+
xcb_xfixes_region_t destination);
|
| 1357 |
+
|
| 1358 |
+
/**
|
| 1359 |
+
*
|
| 1360 |
+
* @param c The connection
|
| 1361 |
+
* @return A cookie
|
| 1362 |
+
*
|
| 1363 |
+
* Delivers a request to the X server.
|
| 1364 |
+
*
|
| 1365 |
+
*/
|
| 1366 |
+
xcb_void_cookie_t
|
| 1367 |
+
xcb_xfixes_subtract_region (xcb_connection_t *c,
|
| 1368 |
+
xcb_xfixes_region_t source1,
|
| 1369 |
+
xcb_xfixes_region_t source2,
|
| 1370 |
+
xcb_xfixes_region_t destination);
|
| 1371 |
+
|
| 1372 |
+
/**
|
| 1373 |
+
*
|
| 1374 |
+
* @param c The connection
|
| 1375 |
+
* @return A cookie
|
| 1376 |
+
*
|
| 1377 |
+
* Delivers a request to the X server.
|
| 1378 |
+
*
|
| 1379 |
+
* This form can be used only if the request will not cause
|
| 1380 |
+
* a reply to be generated. Any returned error will be
|
| 1381 |
+
* saved for handling by xcb_request_check().
|
| 1382 |
+
*/
|
| 1383 |
+
xcb_void_cookie_t
|
| 1384 |
+
xcb_xfixes_invert_region_checked (xcb_connection_t *c,
|
| 1385 |
+
xcb_xfixes_region_t source,
|
| 1386 |
+
xcb_rectangle_t bounds,
|
| 1387 |
+
xcb_xfixes_region_t destination);
|
| 1388 |
+
|
| 1389 |
+
/**
|
| 1390 |
+
*
|
| 1391 |
+
* @param c The connection
|
| 1392 |
+
* @return A cookie
|
| 1393 |
+
*
|
| 1394 |
+
* Delivers a request to the X server.
|
| 1395 |
+
*
|
| 1396 |
+
*/
|
| 1397 |
+
xcb_void_cookie_t
|
| 1398 |
+
xcb_xfixes_invert_region (xcb_connection_t *c,
|
| 1399 |
+
xcb_xfixes_region_t source,
|
| 1400 |
+
xcb_rectangle_t bounds,
|
| 1401 |
+
xcb_xfixes_region_t destination);
|
| 1402 |
+
|
| 1403 |
+
/**
|
| 1404 |
+
*
|
| 1405 |
+
* @param c The connection
|
| 1406 |
+
* @return A cookie
|
| 1407 |
+
*
|
| 1408 |
+
* Delivers a request to the X server.
|
| 1409 |
+
*
|
| 1410 |
+
* This form can be used only if the request will not cause
|
| 1411 |
+
* a reply to be generated. Any returned error will be
|
| 1412 |
+
* saved for handling by xcb_request_check().
|
| 1413 |
+
*/
|
| 1414 |
+
xcb_void_cookie_t
|
| 1415 |
+
xcb_xfixes_translate_region_checked (xcb_connection_t *c,
|
| 1416 |
+
xcb_xfixes_region_t region,
|
| 1417 |
+
int16_t dx,
|
| 1418 |
+
int16_t dy);
|
| 1419 |
+
|
| 1420 |
+
/**
|
| 1421 |
+
*
|
| 1422 |
+
* @param c The connection
|
| 1423 |
+
* @return A cookie
|
| 1424 |
+
*
|
| 1425 |
+
* Delivers a request to the X server.
|
| 1426 |
+
*
|
| 1427 |
+
*/
|
| 1428 |
+
xcb_void_cookie_t
|
| 1429 |
+
xcb_xfixes_translate_region (xcb_connection_t *c,
|
| 1430 |
+
xcb_xfixes_region_t region,
|
| 1431 |
+
int16_t dx,
|
| 1432 |
+
int16_t dy);
|
| 1433 |
+
|
| 1434 |
+
/**
|
| 1435 |
+
*
|
| 1436 |
+
* @param c The connection
|
| 1437 |
+
* @return A cookie
|
| 1438 |
+
*
|
| 1439 |
+
* Delivers a request to the X server.
|
| 1440 |
+
*
|
| 1441 |
+
* This form can be used only if the request will not cause
|
| 1442 |
+
* a reply to be generated. Any returned error will be
|
| 1443 |
+
* saved for handling by xcb_request_check().
|
| 1444 |
+
*/
|
| 1445 |
+
xcb_void_cookie_t
|
| 1446 |
+
xcb_xfixes_region_extents_checked (xcb_connection_t *c,
|
| 1447 |
+
xcb_xfixes_region_t source,
|
| 1448 |
+
xcb_xfixes_region_t destination);
|
| 1449 |
+
|
| 1450 |
+
/**
|
| 1451 |
+
*
|
| 1452 |
+
* @param c The connection
|
| 1453 |
+
* @return A cookie
|
| 1454 |
+
*
|
| 1455 |
+
* Delivers a request to the X server.
|
| 1456 |
+
*
|
| 1457 |
+
*/
|
| 1458 |
+
xcb_void_cookie_t
|
| 1459 |
+
xcb_xfixes_region_extents (xcb_connection_t *c,
|
| 1460 |
+
xcb_xfixes_region_t source,
|
| 1461 |
+
xcb_xfixes_region_t destination);
|
| 1462 |
+
|
| 1463 |
+
int
|
| 1464 |
+
xcb_xfixes_fetch_region_sizeof (const void *_buffer);
|
| 1465 |
+
|
| 1466 |
+
/**
|
| 1467 |
+
*
|
| 1468 |
+
* @param c The connection
|
| 1469 |
+
* @return A cookie
|
| 1470 |
+
*
|
| 1471 |
+
* Delivers a request to the X server.
|
| 1472 |
+
*
|
| 1473 |
+
*/
|
| 1474 |
+
xcb_xfixes_fetch_region_cookie_t
|
| 1475 |
+
xcb_xfixes_fetch_region (xcb_connection_t *c,
|
| 1476 |
+
xcb_xfixes_region_t region);
|
| 1477 |
+
|
| 1478 |
+
/**
|
| 1479 |
+
*
|
| 1480 |
+
* @param c The connection
|
| 1481 |
+
* @return A cookie
|
| 1482 |
+
*
|
| 1483 |
+
* Delivers a request to the X server.
|
| 1484 |
+
*
|
| 1485 |
+
* This form can be used only if the request will cause
|
| 1486 |
+
* a reply to be generated. Any returned error will be
|
| 1487 |
+
* placed in the event queue.
|
| 1488 |
+
*/
|
| 1489 |
+
xcb_xfixes_fetch_region_cookie_t
|
| 1490 |
+
xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c,
|
| 1491 |
+
xcb_xfixes_region_t region);
|
| 1492 |
+
|
| 1493 |
+
xcb_rectangle_t *
|
| 1494 |
+
xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R);
|
| 1495 |
+
|
| 1496 |
+
int
|
| 1497 |
+
xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R);
|
| 1498 |
+
|
| 1499 |
+
xcb_rectangle_iterator_t
|
| 1500 |
+
xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R);
|
| 1501 |
+
|
| 1502 |
+
/**
|
| 1503 |
+
* Return the reply
|
| 1504 |
+
* @param c The connection
|
| 1505 |
+
* @param cookie The cookie
|
| 1506 |
+
* @param e The xcb_generic_error_t supplied
|
| 1507 |
+
*
|
| 1508 |
+
* Returns the reply of the request asked by
|
| 1509 |
+
*
|
| 1510 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1511 |
+
* xcb_xfixes_fetch_region_unchecked(). is used.
|
| 1512 |
+
* Otherwise, it stores the error if any.
|
| 1513 |
+
*
|
| 1514 |
+
* The returned value must be freed by the caller using free().
|
| 1515 |
+
*/
|
| 1516 |
+
xcb_xfixes_fetch_region_reply_t *
|
| 1517 |
+
xcb_xfixes_fetch_region_reply (xcb_connection_t *c,
|
| 1518 |
+
xcb_xfixes_fetch_region_cookie_t cookie /**< */,
|
| 1519 |
+
xcb_generic_error_t **e);
|
| 1520 |
+
|
| 1521 |
+
/**
|
| 1522 |
+
*
|
| 1523 |
+
* @param c The connection
|
| 1524 |
+
* @return A cookie
|
| 1525 |
+
*
|
| 1526 |
+
* Delivers a request to the X server.
|
| 1527 |
+
*
|
| 1528 |
+
* This form can be used only if the request will not cause
|
| 1529 |
+
* a reply to be generated. Any returned error will be
|
| 1530 |
+
* saved for handling by xcb_request_check().
|
| 1531 |
+
*/
|
| 1532 |
+
xcb_void_cookie_t
|
| 1533 |
+
xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c,
|
| 1534 |
+
xcb_gcontext_t gc,
|
| 1535 |
+
xcb_xfixes_region_t region,
|
| 1536 |
+
int16_t x_origin,
|
| 1537 |
+
int16_t y_origin);
|
| 1538 |
+
|
| 1539 |
+
/**
|
| 1540 |
+
*
|
| 1541 |
+
* @param c The connection
|
| 1542 |
+
* @return A cookie
|
| 1543 |
+
*
|
| 1544 |
+
* Delivers a request to the X server.
|
| 1545 |
+
*
|
| 1546 |
+
*/
|
| 1547 |
+
xcb_void_cookie_t
|
| 1548 |
+
xcb_xfixes_set_gc_clip_region (xcb_connection_t *c,
|
| 1549 |
+
xcb_gcontext_t gc,
|
| 1550 |
+
xcb_xfixes_region_t region,
|
| 1551 |
+
int16_t x_origin,
|
| 1552 |
+
int16_t y_origin);
|
| 1553 |
+
|
| 1554 |
+
/**
|
| 1555 |
+
*
|
| 1556 |
+
* @param c The connection
|
| 1557 |
+
* @return A cookie
|
| 1558 |
+
*
|
| 1559 |
+
* Delivers a request to the X server.
|
| 1560 |
+
*
|
| 1561 |
+
* This form can be used only if the request will not cause
|
| 1562 |
+
* a reply to be generated. Any returned error will be
|
| 1563 |
+
* saved for handling by xcb_request_check().
|
| 1564 |
+
*/
|
| 1565 |
+
xcb_void_cookie_t
|
| 1566 |
+
xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c,
|
| 1567 |
+
xcb_window_t dest,
|
| 1568 |
+
xcb_shape_kind_t dest_kind,
|
| 1569 |
+
int16_t x_offset,
|
| 1570 |
+
int16_t y_offset,
|
| 1571 |
+
xcb_xfixes_region_t region);
|
| 1572 |
+
|
| 1573 |
+
/**
|
| 1574 |
+
*
|
| 1575 |
+
* @param c The connection
|
| 1576 |
+
* @return A cookie
|
| 1577 |
+
*
|
| 1578 |
+
* Delivers a request to the X server.
|
| 1579 |
+
*
|
| 1580 |
+
*/
|
| 1581 |
+
xcb_void_cookie_t
|
| 1582 |
+
xcb_xfixes_set_window_shape_region (xcb_connection_t *c,
|
| 1583 |
+
xcb_window_t dest,
|
| 1584 |
+
xcb_shape_kind_t dest_kind,
|
| 1585 |
+
int16_t x_offset,
|
| 1586 |
+
int16_t y_offset,
|
| 1587 |
+
xcb_xfixes_region_t region);
|
| 1588 |
+
|
| 1589 |
+
/**
|
| 1590 |
+
*
|
| 1591 |
+
* @param c The connection
|
| 1592 |
+
* @return A cookie
|
| 1593 |
+
*
|
| 1594 |
+
* Delivers a request to the X server.
|
| 1595 |
+
*
|
| 1596 |
+
* This form can be used only if the request will not cause
|
| 1597 |
+
* a reply to be generated. Any returned error will be
|
| 1598 |
+
* saved for handling by xcb_request_check().
|
| 1599 |
+
*/
|
| 1600 |
+
xcb_void_cookie_t
|
| 1601 |
+
xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c,
|
| 1602 |
+
xcb_render_picture_t picture,
|
| 1603 |
+
xcb_xfixes_region_t region,
|
| 1604 |
+
int16_t x_origin,
|
| 1605 |
+
int16_t y_origin);
|
| 1606 |
+
|
| 1607 |
+
/**
|
| 1608 |
+
*
|
| 1609 |
+
* @param c The connection
|
| 1610 |
+
* @return A cookie
|
| 1611 |
+
*
|
| 1612 |
+
* Delivers a request to the X server.
|
| 1613 |
+
*
|
| 1614 |
+
*/
|
| 1615 |
+
xcb_void_cookie_t
|
| 1616 |
+
xcb_xfixes_set_picture_clip_region (xcb_connection_t *c,
|
| 1617 |
+
xcb_render_picture_t picture,
|
| 1618 |
+
xcb_xfixes_region_t region,
|
| 1619 |
+
int16_t x_origin,
|
| 1620 |
+
int16_t y_origin);
|
| 1621 |
+
|
| 1622 |
+
int
|
| 1623 |
+
xcb_xfixes_set_cursor_name_sizeof (const void *_buffer);
|
| 1624 |
+
|
| 1625 |
+
/**
|
| 1626 |
+
*
|
| 1627 |
+
* @param c The connection
|
| 1628 |
+
* @return A cookie
|
| 1629 |
+
*
|
| 1630 |
+
* Delivers a request to the X server.
|
| 1631 |
+
*
|
| 1632 |
+
* This form can be used only if the request will not cause
|
| 1633 |
+
* a reply to be generated. Any returned error will be
|
| 1634 |
+
* saved for handling by xcb_request_check().
|
| 1635 |
+
*/
|
| 1636 |
+
xcb_void_cookie_t
|
| 1637 |
+
xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c,
|
| 1638 |
+
xcb_cursor_t cursor,
|
| 1639 |
+
uint16_t nbytes,
|
| 1640 |
+
const char *name);
|
| 1641 |
+
|
| 1642 |
+
/**
|
| 1643 |
+
*
|
| 1644 |
+
* @param c The connection
|
| 1645 |
+
* @return A cookie
|
| 1646 |
+
*
|
| 1647 |
+
* Delivers a request to the X server.
|
| 1648 |
+
*
|
| 1649 |
+
*/
|
| 1650 |
+
xcb_void_cookie_t
|
| 1651 |
+
xcb_xfixes_set_cursor_name (xcb_connection_t *c,
|
| 1652 |
+
xcb_cursor_t cursor,
|
| 1653 |
+
uint16_t nbytes,
|
| 1654 |
+
const char *name);
|
| 1655 |
+
|
| 1656 |
+
char *
|
| 1657 |
+
xcb_xfixes_set_cursor_name_name (const xcb_xfixes_set_cursor_name_request_t *R);
|
| 1658 |
+
|
| 1659 |
+
int
|
| 1660 |
+
xcb_xfixes_set_cursor_name_name_length (const xcb_xfixes_set_cursor_name_request_t *R);
|
| 1661 |
+
|
| 1662 |
+
xcb_generic_iterator_t
|
| 1663 |
+
xcb_xfixes_set_cursor_name_name_end (const xcb_xfixes_set_cursor_name_request_t *R);
|
| 1664 |
+
|
| 1665 |
+
int
|
| 1666 |
+
xcb_xfixes_get_cursor_name_sizeof (const void *_buffer);
|
| 1667 |
+
|
| 1668 |
+
/**
|
| 1669 |
+
*
|
| 1670 |
+
* @param c The connection
|
| 1671 |
+
* @return A cookie
|
| 1672 |
+
*
|
| 1673 |
+
* Delivers a request to the X server.
|
| 1674 |
+
*
|
| 1675 |
+
*/
|
| 1676 |
+
xcb_xfixes_get_cursor_name_cookie_t
|
| 1677 |
+
xcb_xfixes_get_cursor_name (xcb_connection_t *c,
|
| 1678 |
+
xcb_cursor_t cursor);
|
| 1679 |
+
|
| 1680 |
+
/**
|
| 1681 |
+
*
|
| 1682 |
+
* @param c The connection
|
| 1683 |
+
* @return A cookie
|
| 1684 |
+
*
|
| 1685 |
+
* Delivers a request to the X server.
|
| 1686 |
+
*
|
| 1687 |
+
* This form can be used only if the request will cause
|
| 1688 |
+
* a reply to be generated. Any returned error will be
|
| 1689 |
+
* placed in the event queue.
|
| 1690 |
+
*/
|
| 1691 |
+
xcb_xfixes_get_cursor_name_cookie_t
|
| 1692 |
+
xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c,
|
| 1693 |
+
xcb_cursor_t cursor);
|
| 1694 |
+
|
| 1695 |
+
char *
|
| 1696 |
+
xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R);
|
| 1697 |
+
|
| 1698 |
+
int
|
| 1699 |
+
xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R);
|
| 1700 |
+
|
| 1701 |
+
xcb_generic_iterator_t
|
| 1702 |
+
xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R);
|
| 1703 |
+
|
| 1704 |
+
/**
|
| 1705 |
+
* Return the reply
|
| 1706 |
+
* @param c The connection
|
| 1707 |
+
* @param cookie The cookie
|
| 1708 |
+
* @param e The xcb_generic_error_t supplied
|
| 1709 |
+
*
|
| 1710 |
+
* Returns the reply of the request asked by
|
| 1711 |
+
*
|
| 1712 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1713 |
+
* xcb_xfixes_get_cursor_name_unchecked(). is used.
|
| 1714 |
+
* Otherwise, it stores the error if any.
|
| 1715 |
+
*
|
| 1716 |
+
* The returned value must be freed by the caller using free().
|
| 1717 |
+
*/
|
| 1718 |
+
xcb_xfixes_get_cursor_name_reply_t *
|
| 1719 |
+
xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c,
|
| 1720 |
+
xcb_xfixes_get_cursor_name_cookie_t cookie /**< */,
|
| 1721 |
+
xcb_generic_error_t **e);
|
| 1722 |
+
|
| 1723 |
+
int
|
| 1724 |
+
xcb_xfixes_get_cursor_image_and_name_sizeof (const void *_buffer);
|
| 1725 |
+
|
| 1726 |
+
/**
|
| 1727 |
+
*
|
| 1728 |
+
* @param c The connection
|
| 1729 |
+
* @return A cookie
|
| 1730 |
+
*
|
| 1731 |
+
* Delivers a request to the X server.
|
| 1732 |
+
*
|
| 1733 |
+
*/
|
| 1734 |
+
xcb_xfixes_get_cursor_image_and_name_cookie_t
|
| 1735 |
+
xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c);
|
| 1736 |
+
|
| 1737 |
+
/**
|
| 1738 |
+
*
|
| 1739 |
+
* @param c The connection
|
| 1740 |
+
* @return A cookie
|
| 1741 |
+
*
|
| 1742 |
+
* Delivers a request to the X server.
|
| 1743 |
+
*
|
| 1744 |
+
* This form can be used only if the request will cause
|
| 1745 |
+
* a reply to be generated. Any returned error will be
|
| 1746 |
+
* placed in the event queue.
|
| 1747 |
+
*/
|
| 1748 |
+
xcb_xfixes_get_cursor_image_and_name_cookie_t
|
| 1749 |
+
xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c);
|
| 1750 |
+
|
| 1751 |
+
uint32_t *
|
| 1752 |
+
xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
| 1753 |
+
|
| 1754 |
+
int
|
| 1755 |
+
xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
| 1756 |
+
|
| 1757 |
+
xcb_generic_iterator_t
|
| 1758 |
+
xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
| 1759 |
+
|
| 1760 |
+
char *
|
| 1761 |
+
xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
| 1762 |
+
|
| 1763 |
+
int
|
| 1764 |
+
xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
| 1765 |
+
|
| 1766 |
+
xcb_generic_iterator_t
|
| 1767 |
+
xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
| 1768 |
+
|
| 1769 |
+
/**
|
| 1770 |
+
* Return the reply
|
| 1771 |
+
* @param c The connection
|
| 1772 |
+
* @param cookie The cookie
|
| 1773 |
+
* @param e The xcb_generic_error_t supplied
|
| 1774 |
+
*
|
| 1775 |
+
* Returns the reply of the request asked by
|
| 1776 |
+
*
|
| 1777 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1778 |
+
* xcb_xfixes_get_cursor_image_and_name_unchecked(). is used.
|
| 1779 |
+
* Otherwise, it stores the error if any.
|
| 1780 |
+
*
|
| 1781 |
+
* The returned value must be freed by the caller using free().
|
| 1782 |
+
*/
|
| 1783 |
+
xcb_xfixes_get_cursor_image_and_name_reply_t *
|
| 1784 |
+
xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c,
|
| 1785 |
+
xcb_xfixes_get_cursor_image_and_name_cookie_t cookie /**< */,
|
| 1786 |
+
xcb_generic_error_t **e);
|
| 1787 |
+
|
| 1788 |
+
/**
|
| 1789 |
+
*
|
| 1790 |
+
* @param c The connection
|
| 1791 |
+
* @return A cookie
|
| 1792 |
+
*
|
| 1793 |
+
* Delivers a request to the X server.
|
| 1794 |
+
*
|
| 1795 |
+
* This form can be used only if the request will not cause
|
| 1796 |
+
* a reply to be generated. Any returned error will be
|
| 1797 |
+
* saved for handling by xcb_request_check().
|
| 1798 |
+
*/
|
| 1799 |
+
xcb_void_cookie_t
|
| 1800 |
+
xcb_xfixes_change_cursor_checked (xcb_connection_t *c,
|
| 1801 |
+
xcb_cursor_t source,
|
| 1802 |
+
xcb_cursor_t destination);
|
| 1803 |
+
|
| 1804 |
+
/**
|
| 1805 |
+
*
|
| 1806 |
+
* @param c The connection
|
| 1807 |
+
* @return A cookie
|
| 1808 |
+
*
|
| 1809 |
+
* Delivers a request to the X server.
|
| 1810 |
+
*
|
| 1811 |
+
*/
|
| 1812 |
+
xcb_void_cookie_t
|
| 1813 |
+
xcb_xfixes_change_cursor (xcb_connection_t *c,
|
| 1814 |
+
xcb_cursor_t source,
|
| 1815 |
+
xcb_cursor_t destination);
|
| 1816 |
+
|
| 1817 |
+
int
|
| 1818 |
+
xcb_xfixes_change_cursor_by_name_sizeof (const void *_buffer);
|
| 1819 |
+
|
| 1820 |
+
/**
|
| 1821 |
+
*
|
| 1822 |
+
* @param c The connection
|
| 1823 |
+
* @return A cookie
|
| 1824 |
+
*
|
| 1825 |
+
* Delivers a request to the X server.
|
| 1826 |
+
*
|
| 1827 |
+
* This form can be used only if the request will not cause
|
| 1828 |
+
* a reply to be generated. Any returned error will be
|
| 1829 |
+
* saved for handling by xcb_request_check().
|
| 1830 |
+
*/
|
| 1831 |
+
xcb_void_cookie_t
|
| 1832 |
+
xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c,
|
| 1833 |
+
xcb_cursor_t src,
|
| 1834 |
+
uint16_t nbytes,
|
| 1835 |
+
const char *name);
|
| 1836 |
+
|
| 1837 |
+
/**
|
| 1838 |
+
*
|
| 1839 |
+
* @param c The connection
|
| 1840 |
+
* @return A cookie
|
| 1841 |
+
*
|
| 1842 |
+
* Delivers a request to the X server.
|
| 1843 |
+
*
|
| 1844 |
+
*/
|
| 1845 |
+
xcb_void_cookie_t
|
| 1846 |
+
xcb_xfixes_change_cursor_by_name (xcb_connection_t *c,
|
| 1847 |
+
xcb_cursor_t src,
|
| 1848 |
+
uint16_t nbytes,
|
| 1849 |
+
const char *name);
|
| 1850 |
+
|
| 1851 |
+
char *
|
| 1852 |
+
xcb_xfixes_change_cursor_by_name_name (const xcb_xfixes_change_cursor_by_name_request_t *R);
|
| 1853 |
+
|
| 1854 |
+
int
|
| 1855 |
+
xcb_xfixes_change_cursor_by_name_name_length (const xcb_xfixes_change_cursor_by_name_request_t *R);
|
| 1856 |
+
|
| 1857 |
+
xcb_generic_iterator_t
|
| 1858 |
+
xcb_xfixes_change_cursor_by_name_name_end (const xcb_xfixes_change_cursor_by_name_request_t *R);
|
| 1859 |
+
|
| 1860 |
+
/**
|
| 1861 |
+
*
|
| 1862 |
+
* @param c The connection
|
| 1863 |
+
* @return A cookie
|
| 1864 |
+
*
|
| 1865 |
+
* Delivers a request to the X server.
|
| 1866 |
+
*
|
| 1867 |
+
* This form can be used only if the request will not cause
|
| 1868 |
+
* a reply to be generated. Any returned error will be
|
| 1869 |
+
* saved for handling by xcb_request_check().
|
| 1870 |
+
*/
|
| 1871 |
+
xcb_void_cookie_t
|
| 1872 |
+
xcb_xfixes_expand_region_checked (xcb_connection_t *c,
|
| 1873 |
+
xcb_xfixes_region_t source,
|
| 1874 |
+
xcb_xfixes_region_t destination,
|
| 1875 |
+
uint16_t left,
|
| 1876 |
+
uint16_t right,
|
| 1877 |
+
uint16_t top,
|
| 1878 |
+
uint16_t bottom);
|
| 1879 |
+
|
| 1880 |
+
/**
|
| 1881 |
+
*
|
| 1882 |
+
* @param c The connection
|
| 1883 |
+
* @return A cookie
|
| 1884 |
+
*
|
| 1885 |
+
* Delivers a request to the X server.
|
| 1886 |
+
*
|
| 1887 |
+
*/
|
| 1888 |
+
xcb_void_cookie_t
|
| 1889 |
+
xcb_xfixes_expand_region (xcb_connection_t *c,
|
| 1890 |
+
xcb_xfixes_region_t source,
|
| 1891 |
+
xcb_xfixes_region_t destination,
|
| 1892 |
+
uint16_t left,
|
| 1893 |
+
uint16_t right,
|
| 1894 |
+
uint16_t top,
|
| 1895 |
+
uint16_t bottom);
|
| 1896 |
+
|
| 1897 |
+
/**
|
| 1898 |
+
*
|
| 1899 |
+
* @param c The connection
|
| 1900 |
+
* @return A cookie
|
| 1901 |
+
*
|
| 1902 |
+
* Delivers a request to the X server.
|
| 1903 |
+
*
|
| 1904 |
+
* This form can be used only if the request will not cause
|
| 1905 |
+
* a reply to be generated. Any returned error will be
|
| 1906 |
+
* saved for handling by xcb_request_check().
|
| 1907 |
+
*/
|
| 1908 |
+
xcb_void_cookie_t
|
| 1909 |
+
xcb_xfixes_hide_cursor_checked (xcb_connection_t *c,
|
| 1910 |
+
xcb_window_t window);
|
| 1911 |
+
|
| 1912 |
+
/**
|
| 1913 |
+
*
|
| 1914 |
+
* @param c The connection
|
| 1915 |
+
* @return A cookie
|
| 1916 |
+
*
|
| 1917 |
+
* Delivers a request to the X server.
|
| 1918 |
+
*
|
| 1919 |
+
*/
|
| 1920 |
+
xcb_void_cookie_t
|
| 1921 |
+
xcb_xfixes_hide_cursor (xcb_connection_t *c,
|
| 1922 |
+
xcb_window_t window);
|
| 1923 |
+
|
| 1924 |
+
/**
|
| 1925 |
+
*
|
| 1926 |
+
* @param c The connection
|
| 1927 |
+
* @return A cookie
|
| 1928 |
+
*
|
| 1929 |
+
* Delivers a request to the X server.
|
| 1930 |
+
*
|
| 1931 |
+
* This form can be used only if the request will not cause
|
| 1932 |
+
* a reply to be generated. Any returned error will be
|
| 1933 |
+
* saved for handling by xcb_request_check().
|
| 1934 |
+
*/
|
| 1935 |
+
xcb_void_cookie_t
|
| 1936 |
+
xcb_xfixes_show_cursor_checked (xcb_connection_t *c,
|
| 1937 |
+
xcb_window_t window);
|
| 1938 |
+
|
| 1939 |
+
/**
|
| 1940 |
+
*
|
| 1941 |
+
* @param c The connection
|
| 1942 |
+
* @return A cookie
|
| 1943 |
+
*
|
| 1944 |
+
* Delivers a request to the X server.
|
| 1945 |
+
*
|
| 1946 |
+
*/
|
| 1947 |
+
xcb_void_cookie_t
|
| 1948 |
+
xcb_xfixes_show_cursor (xcb_connection_t *c,
|
| 1949 |
+
xcb_window_t window);
|
| 1950 |
+
|
| 1951 |
+
/**
|
| 1952 |
+
* Get the next element of the iterator
|
| 1953 |
+
* @param i Pointer to a xcb_xfixes_barrier_iterator_t
|
| 1954 |
+
*
|
| 1955 |
+
* Get the next element in the iterator. The member rem is
|
| 1956 |
+
* decreased by one. The member data points to the next
|
| 1957 |
+
* element. The member index is increased by sizeof(xcb_xfixes_barrier_t)
|
| 1958 |
+
*/
|
| 1959 |
+
void
|
| 1960 |
+
xcb_xfixes_barrier_next (xcb_xfixes_barrier_iterator_t *i);
|
| 1961 |
+
|
| 1962 |
+
/**
|
| 1963 |
+
* Return the iterator pointing to the last element
|
| 1964 |
+
* @param i An xcb_xfixes_barrier_iterator_t
|
| 1965 |
+
* @return The iterator pointing to the last element
|
| 1966 |
+
*
|
| 1967 |
+
* Set the current element in the iterator to the last element.
|
| 1968 |
+
* The member rem is set to 0. The member data points to the
|
| 1969 |
+
* last element.
|
| 1970 |
+
*/
|
| 1971 |
+
xcb_generic_iterator_t
|
| 1972 |
+
xcb_xfixes_barrier_end (xcb_xfixes_barrier_iterator_t i);
|
| 1973 |
+
|
| 1974 |
+
int
|
| 1975 |
+
xcb_xfixes_create_pointer_barrier_sizeof (const void *_buffer);
|
| 1976 |
+
|
| 1977 |
+
/**
|
| 1978 |
+
*
|
| 1979 |
+
* @param c The connection
|
| 1980 |
+
* @return A cookie
|
| 1981 |
+
*
|
| 1982 |
+
* Delivers a request to the X server.
|
| 1983 |
+
*
|
| 1984 |
+
* This form can be used only if the request will not cause
|
| 1985 |
+
* a reply to be generated. Any returned error will be
|
| 1986 |
+
* saved for handling by xcb_request_check().
|
| 1987 |
+
*/
|
| 1988 |
+
xcb_void_cookie_t
|
| 1989 |
+
xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c,
|
| 1990 |
+
xcb_xfixes_barrier_t barrier,
|
| 1991 |
+
xcb_window_t window,
|
| 1992 |
+
uint16_t x1,
|
| 1993 |
+
uint16_t y1,
|
| 1994 |
+
uint16_t x2,
|
| 1995 |
+
uint16_t y2,
|
| 1996 |
+
uint32_t directions,
|
| 1997 |
+
uint16_t num_devices,
|
| 1998 |
+
const uint16_t *devices);
|
| 1999 |
+
|
| 2000 |
+
/**
|
| 2001 |
+
*
|
| 2002 |
+
* @param c The connection
|
| 2003 |
+
* @return A cookie
|
| 2004 |
+
*
|
| 2005 |
+
* Delivers a request to the X server.
|
| 2006 |
+
*
|
| 2007 |
+
*/
|
| 2008 |
+
xcb_void_cookie_t
|
| 2009 |
+
xcb_xfixes_create_pointer_barrier (xcb_connection_t *c,
|
| 2010 |
+
xcb_xfixes_barrier_t barrier,
|
| 2011 |
+
xcb_window_t window,
|
| 2012 |
+
uint16_t x1,
|
| 2013 |
+
uint16_t y1,
|
| 2014 |
+
uint16_t x2,
|
| 2015 |
+
uint16_t y2,
|
| 2016 |
+
uint32_t directions,
|
| 2017 |
+
uint16_t num_devices,
|
| 2018 |
+
const uint16_t *devices);
|
| 2019 |
+
|
| 2020 |
+
uint16_t *
|
| 2021 |
+
xcb_xfixes_create_pointer_barrier_devices (const xcb_xfixes_create_pointer_barrier_request_t *R);
|
| 2022 |
+
|
| 2023 |
+
int
|
| 2024 |
+
xcb_xfixes_create_pointer_barrier_devices_length (const xcb_xfixes_create_pointer_barrier_request_t *R);
|
| 2025 |
+
|
| 2026 |
+
xcb_generic_iterator_t
|
| 2027 |
+
xcb_xfixes_create_pointer_barrier_devices_end (const xcb_xfixes_create_pointer_barrier_request_t *R);
|
| 2028 |
+
|
| 2029 |
+
/**
|
| 2030 |
+
*
|
| 2031 |
+
* @param c The connection
|
| 2032 |
+
* @return A cookie
|
| 2033 |
+
*
|
| 2034 |
+
* Delivers a request to the X server.
|
| 2035 |
+
*
|
| 2036 |
+
* This form can be used only if the request will not cause
|
| 2037 |
+
* a reply to be generated. Any returned error will be
|
| 2038 |
+
* saved for handling by xcb_request_check().
|
| 2039 |
+
*/
|
| 2040 |
+
xcb_void_cookie_t
|
| 2041 |
+
xcb_xfixes_delete_pointer_barrier_checked (xcb_connection_t *c,
|
| 2042 |
+
xcb_xfixes_barrier_t barrier);
|
| 2043 |
+
|
| 2044 |
+
/**
|
| 2045 |
+
*
|
| 2046 |
+
* @param c The connection
|
| 2047 |
+
* @return A cookie
|
| 2048 |
+
*
|
| 2049 |
+
* Delivers a request to the X server.
|
| 2050 |
+
*
|
| 2051 |
+
*/
|
| 2052 |
+
xcb_void_cookie_t
|
| 2053 |
+
xcb_xfixes_delete_pointer_barrier (xcb_connection_t *c,
|
| 2054 |
+
xcb_xfixes_barrier_t barrier);
|
| 2055 |
+
|
| 2056 |
+
/**
|
| 2057 |
+
* @brief Sets the disconnect mode for the client.
|
| 2058 |
+
*
|
| 2059 |
+
* @param c The connection
|
| 2060 |
+
* @param disconnect_mode The new disconnect mode.
|
| 2061 |
+
* @return A cookie
|
| 2062 |
+
*
|
| 2063 |
+
* No description yet
|
| 2064 |
+
*
|
| 2065 |
+
* This form can be used only if the request will not cause
|
| 2066 |
+
* a reply to be generated. Any returned error will be
|
| 2067 |
+
* saved for handling by xcb_request_check().
|
| 2068 |
+
*/
|
| 2069 |
+
xcb_void_cookie_t
|
| 2070 |
+
xcb_xfixes_set_client_disconnect_mode_checked (xcb_connection_t *c,
|
| 2071 |
+
uint32_t disconnect_mode);
|
| 2072 |
+
|
| 2073 |
+
/**
|
| 2074 |
+
* @brief Sets the disconnect mode for the client.
|
| 2075 |
+
*
|
| 2076 |
+
* @param c The connection
|
| 2077 |
+
* @param disconnect_mode The new disconnect mode.
|
| 2078 |
+
* @return A cookie
|
| 2079 |
+
*
|
| 2080 |
+
* No description yet
|
| 2081 |
+
*
|
| 2082 |
+
*/
|
| 2083 |
+
xcb_void_cookie_t
|
| 2084 |
+
xcb_xfixes_set_client_disconnect_mode (xcb_connection_t *c,
|
| 2085 |
+
uint32_t disconnect_mode);
|
| 2086 |
+
|
| 2087 |
+
/**
|
| 2088 |
+
*
|
| 2089 |
+
* @param c The connection
|
| 2090 |
+
* @return A cookie
|
| 2091 |
+
*
|
| 2092 |
+
* Delivers a request to the X server.
|
| 2093 |
+
*
|
| 2094 |
+
*/
|
| 2095 |
+
xcb_xfixes_get_client_disconnect_mode_cookie_t
|
| 2096 |
+
xcb_xfixes_get_client_disconnect_mode (xcb_connection_t *c);
|
| 2097 |
+
|
| 2098 |
+
/**
|
| 2099 |
+
*
|
| 2100 |
+
* @param c The connection
|
| 2101 |
+
* @return A cookie
|
| 2102 |
+
*
|
| 2103 |
+
* Delivers a request to the X server.
|
| 2104 |
+
*
|
| 2105 |
+
* This form can be used only if the request will cause
|
| 2106 |
+
* a reply to be generated. Any returned error will be
|
| 2107 |
+
* placed in the event queue.
|
| 2108 |
+
*/
|
| 2109 |
+
xcb_xfixes_get_client_disconnect_mode_cookie_t
|
| 2110 |
+
xcb_xfixes_get_client_disconnect_mode_unchecked (xcb_connection_t *c);
|
| 2111 |
+
|
| 2112 |
+
/**
|
| 2113 |
+
* Return the reply
|
| 2114 |
+
* @param c The connection
|
| 2115 |
+
* @param cookie The cookie
|
| 2116 |
+
* @param e The xcb_generic_error_t supplied
|
| 2117 |
+
*
|
| 2118 |
+
* Returns the reply of the request asked by
|
| 2119 |
+
*
|
| 2120 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 2121 |
+
* xcb_xfixes_get_client_disconnect_mode_unchecked(). is used.
|
| 2122 |
+
* Otherwise, it stores the error if any.
|
| 2123 |
+
*
|
| 2124 |
+
* The returned value must be freed by the caller using free().
|
| 2125 |
+
*/
|
| 2126 |
+
xcb_xfixes_get_client_disconnect_mode_reply_t *
|
| 2127 |
+
xcb_xfixes_get_client_disconnect_mode_reply (xcb_connection_t *c,
|
| 2128 |
+
xcb_xfixes_get_client_disconnect_mode_cookie_t cookie /**< */,
|
| 2129 |
+
xcb_generic_error_t **e);
|
| 2130 |
+
|
| 2131 |
+
|
| 2132 |
+
#ifdef __cplusplus
|
| 2133 |
+
}
|
| 2134 |
+
#endif
|
| 2135 |
+
|
| 2136 |
+
#endif
|
| 2137 |
+
|
| 2138 |
+
/**
|
| 2139 |
+
* @}
|
| 2140 |
+
*/
|
miniconda3/envs/ladir/include/xcb/xinerama.h
ADDED
|
@@ -0,0 +1,557 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xinerama.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Xinerama_API XCB Xinerama API
|
| 8 |
+
* @brief Xinerama XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XINERAMA_H
|
| 13 |
+
#define __XINERAMA_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_XINERAMA_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_XINERAMA_MINOR_VERSION 1
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_xinerama_id;
|
| 26 |
+
|
| 27 |
+
/**
|
| 28 |
+
* @brief xcb_xinerama_screen_info_t
|
| 29 |
+
**/
|
| 30 |
+
typedef struct xcb_xinerama_screen_info_t {
|
| 31 |
+
int16_t x_org;
|
| 32 |
+
int16_t y_org;
|
| 33 |
+
uint16_t width;
|
| 34 |
+
uint16_t height;
|
| 35 |
+
} xcb_xinerama_screen_info_t;
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* @brief xcb_xinerama_screen_info_iterator_t
|
| 39 |
+
**/
|
| 40 |
+
typedef struct xcb_xinerama_screen_info_iterator_t {
|
| 41 |
+
xcb_xinerama_screen_info_t *data;
|
| 42 |
+
int rem;
|
| 43 |
+
int index;
|
| 44 |
+
} xcb_xinerama_screen_info_iterator_t;
|
| 45 |
+
|
| 46 |
+
/**
|
| 47 |
+
* @brief xcb_xinerama_query_version_cookie_t
|
| 48 |
+
**/
|
| 49 |
+
typedef struct xcb_xinerama_query_version_cookie_t {
|
| 50 |
+
unsigned int sequence;
|
| 51 |
+
} xcb_xinerama_query_version_cookie_t;
|
| 52 |
+
|
| 53 |
+
/** Opcode for xcb_xinerama_query_version. */
|
| 54 |
+
#define XCB_XINERAMA_QUERY_VERSION 0
|
| 55 |
+
|
| 56 |
+
/**
|
| 57 |
+
* @brief xcb_xinerama_query_version_request_t
|
| 58 |
+
**/
|
| 59 |
+
typedef struct xcb_xinerama_query_version_request_t {
|
| 60 |
+
uint8_t major_opcode;
|
| 61 |
+
uint8_t minor_opcode;
|
| 62 |
+
uint16_t length;
|
| 63 |
+
uint8_t major;
|
| 64 |
+
uint8_t minor;
|
| 65 |
+
} xcb_xinerama_query_version_request_t;
|
| 66 |
+
|
| 67 |
+
/**
|
| 68 |
+
* @brief xcb_xinerama_query_version_reply_t
|
| 69 |
+
**/
|
| 70 |
+
typedef struct xcb_xinerama_query_version_reply_t {
|
| 71 |
+
uint8_t response_type;
|
| 72 |
+
uint8_t pad0;
|
| 73 |
+
uint16_t sequence;
|
| 74 |
+
uint32_t length;
|
| 75 |
+
uint16_t major;
|
| 76 |
+
uint16_t minor;
|
| 77 |
+
} xcb_xinerama_query_version_reply_t;
|
| 78 |
+
|
| 79 |
+
/**
|
| 80 |
+
* @brief xcb_xinerama_get_state_cookie_t
|
| 81 |
+
**/
|
| 82 |
+
typedef struct xcb_xinerama_get_state_cookie_t {
|
| 83 |
+
unsigned int sequence;
|
| 84 |
+
} xcb_xinerama_get_state_cookie_t;
|
| 85 |
+
|
| 86 |
+
/** Opcode for xcb_xinerama_get_state. */
|
| 87 |
+
#define XCB_XINERAMA_GET_STATE 1
|
| 88 |
+
|
| 89 |
+
/**
|
| 90 |
+
* @brief xcb_xinerama_get_state_request_t
|
| 91 |
+
**/
|
| 92 |
+
typedef struct xcb_xinerama_get_state_request_t {
|
| 93 |
+
uint8_t major_opcode;
|
| 94 |
+
uint8_t minor_opcode;
|
| 95 |
+
uint16_t length;
|
| 96 |
+
xcb_window_t window;
|
| 97 |
+
} xcb_xinerama_get_state_request_t;
|
| 98 |
+
|
| 99 |
+
/**
|
| 100 |
+
* @brief xcb_xinerama_get_state_reply_t
|
| 101 |
+
**/
|
| 102 |
+
typedef struct xcb_xinerama_get_state_reply_t {
|
| 103 |
+
uint8_t response_type;
|
| 104 |
+
uint8_t state;
|
| 105 |
+
uint16_t sequence;
|
| 106 |
+
uint32_t length;
|
| 107 |
+
xcb_window_t window;
|
| 108 |
+
} xcb_xinerama_get_state_reply_t;
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* @brief xcb_xinerama_get_screen_count_cookie_t
|
| 112 |
+
**/
|
| 113 |
+
typedef struct xcb_xinerama_get_screen_count_cookie_t {
|
| 114 |
+
unsigned int sequence;
|
| 115 |
+
} xcb_xinerama_get_screen_count_cookie_t;
|
| 116 |
+
|
| 117 |
+
/** Opcode for xcb_xinerama_get_screen_count. */
|
| 118 |
+
#define XCB_XINERAMA_GET_SCREEN_COUNT 2
|
| 119 |
+
|
| 120 |
+
/**
|
| 121 |
+
* @brief xcb_xinerama_get_screen_count_request_t
|
| 122 |
+
**/
|
| 123 |
+
typedef struct xcb_xinerama_get_screen_count_request_t {
|
| 124 |
+
uint8_t major_opcode;
|
| 125 |
+
uint8_t minor_opcode;
|
| 126 |
+
uint16_t length;
|
| 127 |
+
xcb_window_t window;
|
| 128 |
+
} xcb_xinerama_get_screen_count_request_t;
|
| 129 |
+
|
| 130 |
+
/**
|
| 131 |
+
* @brief xcb_xinerama_get_screen_count_reply_t
|
| 132 |
+
**/
|
| 133 |
+
typedef struct xcb_xinerama_get_screen_count_reply_t {
|
| 134 |
+
uint8_t response_type;
|
| 135 |
+
uint8_t screen_count;
|
| 136 |
+
uint16_t sequence;
|
| 137 |
+
uint32_t length;
|
| 138 |
+
xcb_window_t window;
|
| 139 |
+
} xcb_xinerama_get_screen_count_reply_t;
|
| 140 |
+
|
| 141 |
+
/**
|
| 142 |
+
* @brief xcb_xinerama_get_screen_size_cookie_t
|
| 143 |
+
**/
|
| 144 |
+
typedef struct xcb_xinerama_get_screen_size_cookie_t {
|
| 145 |
+
unsigned int sequence;
|
| 146 |
+
} xcb_xinerama_get_screen_size_cookie_t;
|
| 147 |
+
|
| 148 |
+
/** Opcode for xcb_xinerama_get_screen_size. */
|
| 149 |
+
#define XCB_XINERAMA_GET_SCREEN_SIZE 3
|
| 150 |
+
|
| 151 |
+
/**
|
| 152 |
+
* @brief xcb_xinerama_get_screen_size_request_t
|
| 153 |
+
**/
|
| 154 |
+
typedef struct xcb_xinerama_get_screen_size_request_t {
|
| 155 |
+
uint8_t major_opcode;
|
| 156 |
+
uint8_t minor_opcode;
|
| 157 |
+
uint16_t length;
|
| 158 |
+
xcb_window_t window;
|
| 159 |
+
uint32_t screen;
|
| 160 |
+
} xcb_xinerama_get_screen_size_request_t;
|
| 161 |
+
|
| 162 |
+
/**
|
| 163 |
+
* @brief xcb_xinerama_get_screen_size_reply_t
|
| 164 |
+
**/
|
| 165 |
+
typedef struct xcb_xinerama_get_screen_size_reply_t {
|
| 166 |
+
uint8_t response_type;
|
| 167 |
+
uint8_t pad0;
|
| 168 |
+
uint16_t sequence;
|
| 169 |
+
uint32_t length;
|
| 170 |
+
uint32_t width;
|
| 171 |
+
uint32_t height;
|
| 172 |
+
xcb_window_t window;
|
| 173 |
+
uint32_t screen;
|
| 174 |
+
} xcb_xinerama_get_screen_size_reply_t;
|
| 175 |
+
|
| 176 |
+
/**
|
| 177 |
+
* @brief xcb_xinerama_is_active_cookie_t
|
| 178 |
+
**/
|
| 179 |
+
typedef struct xcb_xinerama_is_active_cookie_t {
|
| 180 |
+
unsigned int sequence;
|
| 181 |
+
} xcb_xinerama_is_active_cookie_t;
|
| 182 |
+
|
| 183 |
+
/** Opcode for xcb_xinerama_is_active. */
|
| 184 |
+
#define XCB_XINERAMA_IS_ACTIVE 4
|
| 185 |
+
|
| 186 |
+
/**
|
| 187 |
+
* @brief xcb_xinerama_is_active_request_t
|
| 188 |
+
**/
|
| 189 |
+
typedef struct xcb_xinerama_is_active_request_t {
|
| 190 |
+
uint8_t major_opcode;
|
| 191 |
+
uint8_t minor_opcode;
|
| 192 |
+
uint16_t length;
|
| 193 |
+
} xcb_xinerama_is_active_request_t;
|
| 194 |
+
|
| 195 |
+
/**
|
| 196 |
+
* @brief xcb_xinerama_is_active_reply_t
|
| 197 |
+
**/
|
| 198 |
+
typedef struct xcb_xinerama_is_active_reply_t {
|
| 199 |
+
uint8_t response_type;
|
| 200 |
+
uint8_t pad0;
|
| 201 |
+
uint16_t sequence;
|
| 202 |
+
uint32_t length;
|
| 203 |
+
uint32_t state;
|
| 204 |
+
} xcb_xinerama_is_active_reply_t;
|
| 205 |
+
|
| 206 |
+
/**
|
| 207 |
+
* @brief xcb_xinerama_query_screens_cookie_t
|
| 208 |
+
**/
|
| 209 |
+
typedef struct xcb_xinerama_query_screens_cookie_t {
|
| 210 |
+
unsigned int sequence;
|
| 211 |
+
} xcb_xinerama_query_screens_cookie_t;
|
| 212 |
+
|
| 213 |
+
/** Opcode for xcb_xinerama_query_screens. */
|
| 214 |
+
#define XCB_XINERAMA_QUERY_SCREENS 5
|
| 215 |
+
|
| 216 |
+
/**
|
| 217 |
+
* @brief xcb_xinerama_query_screens_request_t
|
| 218 |
+
**/
|
| 219 |
+
typedef struct xcb_xinerama_query_screens_request_t {
|
| 220 |
+
uint8_t major_opcode;
|
| 221 |
+
uint8_t minor_opcode;
|
| 222 |
+
uint16_t length;
|
| 223 |
+
} xcb_xinerama_query_screens_request_t;
|
| 224 |
+
|
| 225 |
+
/**
|
| 226 |
+
* @brief xcb_xinerama_query_screens_reply_t
|
| 227 |
+
**/
|
| 228 |
+
typedef struct xcb_xinerama_query_screens_reply_t {
|
| 229 |
+
uint8_t response_type;
|
| 230 |
+
uint8_t pad0;
|
| 231 |
+
uint16_t sequence;
|
| 232 |
+
uint32_t length;
|
| 233 |
+
uint32_t number;
|
| 234 |
+
uint8_t pad1[20];
|
| 235 |
+
} xcb_xinerama_query_screens_reply_t;
|
| 236 |
+
|
| 237 |
+
/**
|
| 238 |
+
* Get the next element of the iterator
|
| 239 |
+
* @param i Pointer to a xcb_xinerama_screen_info_iterator_t
|
| 240 |
+
*
|
| 241 |
+
* Get the next element in the iterator. The member rem is
|
| 242 |
+
* decreased by one. The member data points to the next
|
| 243 |
+
* element. The member index is increased by sizeof(xcb_xinerama_screen_info_t)
|
| 244 |
+
*/
|
| 245 |
+
void
|
| 246 |
+
xcb_xinerama_screen_info_next (xcb_xinerama_screen_info_iterator_t *i);
|
| 247 |
+
|
| 248 |
+
/**
|
| 249 |
+
* Return the iterator pointing to the last element
|
| 250 |
+
* @param i An xcb_xinerama_screen_info_iterator_t
|
| 251 |
+
* @return The iterator pointing to the last element
|
| 252 |
+
*
|
| 253 |
+
* Set the current element in the iterator to the last element.
|
| 254 |
+
* The member rem is set to 0. The member data points to the
|
| 255 |
+
* last element.
|
| 256 |
+
*/
|
| 257 |
+
xcb_generic_iterator_t
|
| 258 |
+
xcb_xinerama_screen_info_end (xcb_xinerama_screen_info_iterator_t i);
|
| 259 |
+
|
| 260 |
+
/**
|
| 261 |
+
*
|
| 262 |
+
* @param c The connection
|
| 263 |
+
* @return A cookie
|
| 264 |
+
*
|
| 265 |
+
* Delivers a request to the X server.
|
| 266 |
+
*
|
| 267 |
+
*/
|
| 268 |
+
xcb_xinerama_query_version_cookie_t
|
| 269 |
+
xcb_xinerama_query_version (xcb_connection_t *c,
|
| 270 |
+
uint8_t major,
|
| 271 |
+
uint8_t minor);
|
| 272 |
+
|
| 273 |
+
/**
|
| 274 |
+
*
|
| 275 |
+
* @param c The connection
|
| 276 |
+
* @return A cookie
|
| 277 |
+
*
|
| 278 |
+
* Delivers a request to the X server.
|
| 279 |
+
*
|
| 280 |
+
* This form can be used only if the request will cause
|
| 281 |
+
* a reply to be generated. Any returned error will be
|
| 282 |
+
* placed in the event queue.
|
| 283 |
+
*/
|
| 284 |
+
xcb_xinerama_query_version_cookie_t
|
| 285 |
+
xcb_xinerama_query_version_unchecked (xcb_connection_t *c,
|
| 286 |
+
uint8_t major,
|
| 287 |
+
uint8_t minor);
|
| 288 |
+
|
| 289 |
+
/**
|
| 290 |
+
* Return the reply
|
| 291 |
+
* @param c The connection
|
| 292 |
+
* @param cookie The cookie
|
| 293 |
+
* @param e The xcb_generic_error_t supplied
|
| 294 |
+
*
|
| 295 |
+
* Returns the reply of the request asked by
|
| 296 |
+
*
|
| 297 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 298 |
+
* xcb_xinerama_query_version_unchecked(). is used.
|
| 299 |
+
* Otherwise, it stores the error if any.
|
| 300 |
+
*
|
| 301 |
+
* The returned value must be freed by the caller using free().
|
| 302 |
+
*/
|
| 303 |
+
xcb_xinerama_query_version_reply_t *
|
| 304 |
+
xcb_xinerama_query_version_reply (xcb_connection_t *c,
|
| 305 |
+
xcb_xinerama_query_version_cookie_t cookie /**< */,
|
| 306 |
+
xcb_generic_error_t **e);
|
| 307 |
+
|
| 308 |
+
/**
|
| 309 |
+
*
|
| 310 |
+
* @param c The connection
|
| 311 |
+
* @return A cookie
|
| 312 |
+
*
|
| 313 |
+
* Delivers a request to the X server.
|
| 314 |
+
*
|
| 315 |
+
*/
|
| 316 |
+
xcb_xinerama_get_state_cookie_t
|
| 317 |
+
xcb_xinerama_get_state (xcb_connection_t *c,
|
| 318 |
+
xcb_window_t window);
|
| 319 |
+
|
| 320 |
+
/**
|
| 321 |
+
*
|
| 322 |
+
* @param c The connection
|
| 323 |
+
* @return A cookie
|
| 324 |
+
*
|
| 325 |
+
* Delivers a request to the X server.
|
| 326 |
+
*
|
| 327 |
+
* This form can be used only if the request will cause
|
| 328 |
+
* a reply to be generated. Any returned error will be
|
| 329 |
+
* placed in the event queue.
|
| 330 |
+
*/
|
| 331 |
+
xcb_xinerama_get_state_cookie_t
|
| 332 |
+
xcb_xinerama_get_state_unchecked (xcb_connection_t *c,
|
| 333 |
+
xcb_window_t window);
|
| 334 |
+
|
| 335 |
+
/**
|
| 336 |
+
* Return the reply
|
| 337 |
+
* @param c The connection
|
| 338 |
+
* @param cookie The cookie
|
| 339 |
+
* @param e The xcb_generic_error_t supplied
|
| 340 |
+
*
|
| 341 |
+
* Returns the reply of the request asked by
|
| 342 |
+
*
|
| 343 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 344 |
+
* xcb_xinerama_get_state_unchecked(). is used.
|
| 345 |
+
* Otherwise, it stores the error if any.
|
| 346 |
+
*
|
| 347 |
+
* The returned value must be freed by the caller using free().
|
| 348 |
+
*/
|
| 349 |
+
xcb_xinerama_get_state_reply_t *
|
| 350 |
+
xcb_xinerama_get_state_reply (xcb_connection_t *c,
|
| 351 |
+
xcb_xinerama_get_state_cookie_t cookie /**< */,
|
| 352 |
+
xcb_generic_error_t **e);
|
| 353 |
+
|
| 354 |
+
/**
|
| 355 |
+
*
|
| 356 |
+
* @param c The connection
|
| 357 |
+
* @return A cookie
|
| 358 |
+
*
|
| 359 |
+
* Delivers a request to the X server.
|
| 360 |
+
*
|
| 361 |
+
*/
|
| 362 |
+
xcb_xinerama_get_screen_count_cookie_t
|
| 363 |
+
xcb_xinerama_get_screen_count (xcb_connection_t *c,
|
| 364 |
+
xcb_window_t window);
|
| 365 |
+
|
| 366 |
+
/**
|
| 367 |
+
*
|
| 368 |
+
* @param c The connection
|
| 369 |
+
* @return A cookie
|
| 370 |
+
*
|
| 371 |
+
* Delivers a request to the X server.
|
| 372 |
+
*
|
| 373 |
+
* This form can be used only if the request will cause
|
| 374 |
+
* a reply to be generated. Any returned error will be
|
| 375 |
+
* placed in the event queue.
|
| 376 |
+
*/
|
| 377 |
+
xcb_xinerama_get_screen_count_cookie_t
|
| 378 |
+
xcb_xinerama_get_screen_count_unchecked (xcb_connection_t *c,
|
| 379 |
+
xcb_window_t window);
|
| 380 |
+
|
| 381 |
+
/**
|
| 382 |
+
* Return the reply
|
| 383 |
+
* @param c The connection
|
| 384 |
+
* @param cookie The cookie
|
| 385 |
+
* @param e The xcb_generic_error_t supplied
|
| 386 |
+
*
|
| 387 |
+
* Returns the reply of the request asked by
|
| 388 |
+
*
|
| 389 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 390 |
+
* xcb_xinerama_get_screen_count_unchecked(). is used.
|
| 391 |
+
* Otherwise, it stores the error if any.
|
| 392 |
+
*
|
| 393 |
+
* The returned value must be freed by the caller using free().
|
| 394 |
+
*/
|
| 395 |
+
xcb_xinerama_get_screen_count_reply_t *
|
| 396 |
+
xcb_xinerama_get_screen_count_reply (xcb_connection_t *c,
|
| 397 |
+
xcb_xinerama_get_screen_count_cookie_t cookie /**< */,
|
| 398 |
+
xcb_generic_error_t **e);
|
| 399 |
+
|
| 400 |
+
/**
|
| 401 |
+
*
|
| 402 |
+
* @param c The connection
|
| 403 |
+
* @return A cookie
|
| 404 |
+
*
|
| 405 |
+
* Delivers a request to the X server.
|
| 406 |
+
*
|
| 407 |
+
*/
|
| 408 |
+
xcb_xinerama_get_screen_size_cookie_t
|
| 409 |
+
xcb_xinerama_get_screen_size (xcb_connection_t *c,
|
| 410 |
+
xcb_window_t window,
|
| 411 |
+
uint32_t screen);
|
| 412 |
+
|
| 413 |
+
/**
|
| 414 |
+
*
|
| 415 |
+
* @param c The connection
|
| 416 |
+
* @return A cookie
|
| 417 |
+
*
|
| 418 |
+
* Delivers a request to the X server.
|
| 419 |
+
*
|
| 420 |
+
* This form can be used only if the request will cause
|
| 421 |
+
* a reply to be generated. Any returned error will be
|
| 422 |
+
* placed in the event queue.
|
| 423 |
+
*/
|
| 424 |
+
xcb_xinerama_get_screen_size_cookie_t
|
| 425 |
+
xcb_xinerama_get_screen_size_unchecked (xcb_connection_t *c,
|
| 426 |
+
xcb_window_t window,
|
| 427 |
+
uint32_t screen);
|
| 428 |
+
|
| 429 |
+
/**
|
| 430 |
+
* Return the reply
|
| 431 |
+
* @param c The connection
|
| 432 |
+
* @param cookie The cookie
|
| 433 |
+
* @param e The xcb_generic_error_t supplied
|
| 434 |
+
*
|
| 435 |
+
* Returns the reply of the request asked by
|
| 436 |
+
*
|
| 437 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 438 |
+
* xcb_xinerama_get_screen_size_unchecked(). is used.
|
| 439 |
+
* Otherwise, it stores the error if any.
|
| 440 |
+
*
|
| 441 |
+
* The returned value must be freed by the caller using free().
|
| 442 |
+
*/
|
| 443 |
+
xcb_xinerama_get_screen_size_reply_t *
|
| 444 |
+
xcb_xinerama_get_screen_size_reply (xcb_connection_t *c,
|
| 445 |
+
xcb_xinerama_get_screen_size_cookie_t cookie /**< */,
|
| 446 |
+
xcb_generic_error_t **e);
|
| 447 |
+
|
| 448 |
+
/**
|
| 449 |
+
*
|
| 450 |
+
* @param c The connection
|
| 451 |
+
* @return A cookie
|
| 452 |
+
*
|
| 453 |
+
* Delivers a request to the X server.
|
| 454 |
+
*
|
| 455 |
+
*/
|
| 456 |
+
xcb_xinerama_is_active_cookie_t
|
| 457 |
+
xcb_xinerama_is_active (xcb_connection_t *c);
|
| 458 |
+
|
| 459 |
+
/**
|
| 460 |
+
*
|
| 461 |
+
* @param c The connection
|
| 462 |
+
* @return A cookie
|
| 463 |
+
*
|
| 464 |
+
* Delivers a request to the X server.
|
| 465 |
+
*
|
| 466 |
+
* This form can be used only if the request will cause
|
| 467 |
+
* a reply to be generated. Any returned error will be
|
| 468 |
+
* placed in the event queue.
|
| 469 |
+
*/
|
| 470 |
+
xcb_xinerama_is_active_cookie_t
|
| 471 |
+
xcb_xinerama_is_active_unchecked (xcb_connection_t *c);
|
| 472 |
+
|
| 473 |
+
/**
|
| 474 |
+
* Return the reply
|
| 475 |
+
* @param c The connection
|
| 476 |
+
* @param cookie The cookie
|
| 477 |
+
* @param e The xcb_generic_error_t supplied
|
| 478 |
+
*
|
| 479 |
+
* Returns the reply of the request asked by
|
| 480 |
+
*
|
| 481 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 482 |
+
* xcb_xinerama_is_active_unchecked(). is used.
|
| 483 |
+
* Otherwise, it stores the error if any.
|
| 484 |
+
*
|
| 485 |
+
* The returned value must be freed by the caller using free().
|
| 486 |
+
*/
|
| 487 |
+
xcb_xinerama_is_active_reply_t *
|
| 488 |
+
xcb_xinerama_is_active_reply (xcb_connection_t *c,
|
| 489 |
+
xcb_xinerama_is_active_cookie_t cookie /**< */,
|
| 490 |
+
xcb_generic_error_t **e);
|
| 491 |
+
|
| 492 |
+
int
|
| 493 |
+
xcb_xinerama_query_screens_sizeof (const void *_buffer);
|
| 494 |
+
|
| 495 |
+
/**
|
| 496 |
+
*
|
| 497 |
+
* @param c The connection
|
| 498 |
+
* @return A cookie
|
| 499 |
+
*
|
| 500 |
+
* Delivers a request to the X server.
|
| 501 |
+
*
|
| 502 |
+
*/
|
| 503 |
+
xcb_xinerama_query_screens_cookie_t
|
| 504 |
+
xcb_xinerama_query_screens (xcb_connection_t *c);
|
| 505 |
+
|
| 506 |
+
/**
|
| 507 |
+
*
|
| 508 |
+
* @param c The connection
|
| 509 |
+
* @return A cookie
|
| 510 |
+
*
|
| 511 |
+
* Delivers a request to the X server.
|
| 512 |
+
*
|
| 513 |
+
* This form can be used only if the request will cause
|
| 514 |
+
* a reply to be generated. Any returned error will be
|
| 515 |
+
* placed in the event queue.
|
| 516 |
+
*/
|
| 517 |
+
xcb_xinerama_query_screens_cookie_t
|
| 518 |
+
xcb_xinerama_query_screens_unchecked (xcb_connection_t *c);
|
| 519 |
+
|
| 520 |
+
xcb_xinerama_screen_info_t *
|
| 521 |
+
xcb_xinerama_query_screens_screen_info (const xcb_xinerama_query_screens_reply_t *R);
|
| 522 |
+
|
| 523 |
+
int
|
| 524 |
+
xcb_xinerama_query_screens_screen_info_length (const xcb_xinerama_query_screens_reply_t *R);
|
| 525 |
+
|
| 526 |
+
xcb_xinerama_screen_info_iterator_t
|
| 527 |
+
xcb_xinerama_query_screens_screen_info_iterator (const xcb_xinerama_query_screens_reply_t *R);
|
| 528 |
+
|
| 529 |
+
/**
|
| 530 |
+
* Return the reply
|
| 531 |
+
* @param c The connection
|
| 532 |
+
* @param cookie The cookie
|
| 533 |
+
* @param e The xcb_generic_error_t supplied
|
| 534 |
+
*
|
| 535 |
+
* Returns the reply of the request asked by
|
| 536 |
+
*
|
| 537 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 538 |
+
* xcb_xinerama_query_screens_unchecked(). is used.
|
| 539 |
+
* Otherwise, it stores the error if any.
|
| 540 |
+
*
|
| 541 |
+
* The returned value must be freed by the caller using free().
|
| 542 |
+
*/
|
| 543 |
+
xcb_xinerama_query_screens_reply_t *
|
| 544 |
+
xcb_xinerama_query_screens_reply (xcb_connection_t *c,
|
| 545 |
+
xcb_xinerama_query_screens_cookie_t cookie /**< */,
|
| 546 |
+
xcb_generic_error_t **e);
|
| 547 |
+
|
| 548 |
+
|
| 549 |
+
#ifdef __cplusplus
|
| 550 |
+
}
|
| 551 |
+
#endif
|
| 552 |
+
|
| 553 |
+
#endif
|
| 554 |
+
|
| 555 |
+
/**
|
| 556 |
+
* @}
|
| 557 |
+
*/
|
miniconda3/envs/ladir/include/xcb/xinput.h
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
miniconda3/envs/ladir/include/xcb/xkb.h
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
miniconda3/envs/ladir/include/xcb/xprint.h
ADDED
|
@@ -0,0 +1,1895 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_XPrint_API XCB XPrint API
|
| 8 |
+
* @brief XPrint XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XPRINT_H
|
| 13 |
+
#define __XPRINT_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_XPRINT_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_XPRINT_MINOR_VERSION 0
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_x_print_id;
|
| 26 |
+
|
| 27 |
+
typedef char xcb_x_print_string8_t;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_x_print_string8_iterator_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_x_print_string8_iterator_t {
|
| 33 |
+
xcb_x_print_string8_t *data;
|
| 34 |
+
int rem;
|
| 35 |
+
int index;
|
| 36 |
+
} xcb_x_print_string8_iterator_t;
|
| 37 |
+
|
| 38 |
+
/**
|
| 39 |
+
* @brief xcb_x_print_printer_t
|
| 40 |
+
**/
|
| 41 |
+
typedef struct xcb_x_print_printer_t {
|
| 42 |
+
uint32_t nameLen;
|
| 43 |
+
uint32_t descLen;
|
| 44 |
+
} xcb_x_print_printer_t;
|
| 45 |
+
|
| 46 |
+
/**
|
| 47 |
+
* @brief xcb_x_print_printer_iterator_t
|
| 48 |
+
**/
|
| 49 |
+
typedef struct xcb_x_print_printer_iterator_t {
|
| 50 |
+
xcb_x_print_printer_t *data;
|
| 51 |
+
int rem;
|
| 52 |
+
int index;
|
| 53 |
+
} xcb_x_print_printer_iterator_t;
|
| 54 |
+
|
| 55 |
+
typedef uint32_t xcb_x_print_pcontext_t;
|
| 56 |
+
|
| 57 |
+
/**
|
| 58 |
+
* @brief xcb_x_print_pcontext_iterator_t
|
| 59 |
+
**/
|
| 60 |
+
typedef struct xcb_x_print_pcontext_iterator_t {
|
| 61 |
+
xcb_x_print_pcontext_t *data;
|
| 62 |
+
int rem;
|
| 63 |
+
int index;
|
| 64 |
+
} xcb_x_print_pcontext_iterator_t;
|
| 65 |
+
|
| 66 |
+
typedef enum xcb_x_print_get_doc_t {
|
| 67 |
+
XCB_X_PRINT_GET_DOC_FINISHED = 0,
|
| 68 |
+
XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
|
| 69 |
+
} xcb_x_print_get_doc_t;
|
| 70 |
+
|
| 71 |
+
typedef enum xcb_x_print_ev_mask_t {
|
| 72 |
+
XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0,
|
| 73 |
+
XCB_X_PRINT_EV_MASK_PRINT_MASK = 1,
|
| 74 |
+
XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = 2
|
| 75 |
+
} xcb_x_print_ev_mask_t;
|
| 76 |
+
|
| 77 |
+
typedef enum xcb_x_print_detail_t {
|
| 78 |
+
XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
|
| 79 |
+
XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
|
| 80 |
+
XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
|
| 81 |
+
XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
|
| 82 |
+
XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
|
| 83 |
+
XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
|
| 84 |
+
} xcb_x_print_detail_t;
|
| 85 |
+
|
| 86 |
+
typedef enum xcb_x_print_attr_t {
|
| 87 |
+
XCB_X_PRINT_ATTR_JOB_ATTR = 1,
|
| 88 |
+
XCB_X_PRINT_ATTR_DOC_ATTR = 2,
|
| 89 |
+
XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
|
| 90 |
+
XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
|
| 91 |
+
XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
|
| 92 |
+
XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
|
| 93 |
+
XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
|
| 94 |
+
} xcb_x_print_attr_t;
|
| 95 |
+
|
| 96 |
+
/**
|
| 97 |
+
* @brief xcb_x_print_print_query_version_cookie_t
|
| 98 |
+
**/
|
| 99 |
+
typedef struct xcb_x_print_print_query_version_cookie_t {
|
| 100 |
+
unsigned int sequence;
|
| 101 |
+
} xcb_x_print_print_query_version_cookie_t;
|
| 102 |
+
|
| 103 |
+
/** Opcode for xcb_x_print_print_query_version. */
|
| 104 |
+
#define XCB_X_PRINT_PRINT_QUERY_VERSION 0
|
| 105 |
+
|
| 106 |
+
/**
|
| 107 |
+
* @brief xcb_x_print_print_query_version_request_t
|
| 108 |
+
**/
|
| 109 |
+
typedef struct xcb_x_print_print_query_version_request_t {
|
| 110 |
+
uint8_t major_opcode;
|
| 111 |
+
uint8_t minor_opcode;
|
| 112 |
+
uint16_t length;
|
| 113 |
+
} xcb_x_print_print_query_version_request_t;
|
| 114 |
+
|
| 115 |
+
/**
|
| 116 |
+
* @brief xcb_x_print_print_query_version_reply_t
|
| 117 |
+
**/
|
| 118 |
+
typedef struct xcb_x_print_print_query_version_reply_t {
|
| 119 |
+
uint8_t response_type;
|
| 120 |
+
uint8_t pad0;
|
| 121 |
+
uint16_t sequence;
|
| 122 |
+
uint32_t length;
|
| 123 |
+
uint16_t major_version;
|
| 124 |
+
uint16_t minor_version;
|
| 125 |
+
} xcb_x_print_print_query_version_reply_t;
|
| 126 |
+
|
| 127 |
+
/**
|
| 128 |
+
* @brief xcb_x_print_print_get_printer_list_cookie_t
|
| 129 |
+
**/
|
| 130 |
+
typedef struct xcb_x_print_print_get_printer_list_cookie_t {
|
| 131 |
+
unsigned int sequence;
|
| 132 |
+
} xcb_x_print_print_get_printer_list_cookie_t;
|
| 133 |
+
|
| 134 |
+
/** Opcode for xcb_x_print_print_get_printer_list. */
|
| 135 |
+
#define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
|
| 136 |
+
|
| 137 |
+
/**
|
| 138 |
+
* @brief xcb_x_print_print_get_printer_list_request_t
|
| 139 |
+
**/
|
| 140 |
+
typedef struct xcb_x_print_print_get_printer_list_request_t {
|
| 141 |
+
uint8_t major_opcode;
|
| 142 |
+
uint8_t minor_opcode;
|
| 143 |
+
uint16_t length;
|
| 144 |
+
uint32_t printerNameLen;
|
| 145 |
+
uint32_t localeLen;
|
| 146 |
+
} xcb_x_print_print_get_printer_list_request_t;
|
| 147 |
+
|
| 148 |
+
/**
|
| 149 |
+
* @brief xcb_x_print_print_get_printer_list_reply_t
|
| 150 |
+
**/
|
| 151 |
+
typedef struct xcb_x_print_print_get_printer_list_reply_t {
|
| 152 |
+
uint8_t response_type;
|
| 153 |
+
uint8_t pad0;
|
| 154 |
+
uint16_t sequence;
|
| 155 |
+
uint32_t length;
|
| 156 |
+
uint32_t listCount;
|
| 157 |
+
uint8_t pad1[20];
|
| 158 |
+
} xcb_x_print_print_get_printer_list_reply_t;
|
| 159 |
+
|
| 160 |
+
/** Opcode for xcb_x_print_print_rehash_printer_list. */
|
| 161 |
+
#define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
|
| 162 |
+
|
| 163 |
+
/**
|
| 164 |
+
* @brief xcb_x_print_print_rehash_printer_list_request_t
|
| 165 |
+
**/
|
| 166 |
+
typedef struct xcb_x_print_print_rehash_printer_list_request_t {
|
| 167 |
+
uint8_t major_opcode;
|
| 168 |
+
uint8_t minor_opcode;
|
| 169 |
+
uint16_t length;
|
| 170 |
+
} xcb_x_print_print_rehash_printer_list_request_t;
|
| 171 |
+
|
| 172 |
+
/** Opcode for xcb_x_print_create_context. */
|
| 173 |
+
#define XCB_X_PRINT_CREATE_CONTEXT 2
|
| 174 |
+
|
| 175 |
+
/**
|
| 176 |
+
* @brief xcb_x_print_create_context_request_t
|
| 177 |
+
**/
|
| 178 |
+
typedef struct xcb_x_print_create_context_request_t {
|
| 179 |
+
uint8_t major_opcode;
|
| 180 |
+
uint8_t minor_opcode;
|
| 181 |
+
uint16_t length;
|
| 182 |
+
uint32_t context_id;
|
| 183 |
+
uint32_t printerNameLen;
|
| 184 |
+
uint32_t localeLen;
|
| 185 |
+
} xcb_x_print_create_context_request_t;
|
| 186 |
+
|
| 187 |
+
/** Opcode for xcb_x_print_print_set_context. */
|
| 188 |
+
#define XCB_X_PRINT_PRINT_SET_CONTEXT 3
|
| 189 |
+
|
| 190 |
+
/**
|
| 191 |
+
* @brief xcb_x_print_print_set_context_request_t
|
| 192 |
+
**/
|
| 193 |
+
typedef struct xcb_x_print_print_set_context_request_t {
|
| 194 |
+
uint8_t major_opcode;
|
| 195 |
+
uint8_t minor_opcode;
|
| 196 |
+
uint16_t length;
|
| 197 |
+
uint32_t context;
|
| 198 |
+
} xcb_x_print_print_set_context_request_t;
|
| 199 |
+
|
| 200 |
+
/**
|
| 201 |
+
* @brief xcb_x_print_print_get_context_cookie_t
|
| 202 |
+
**/
|
| 203 |
+
typedef struct xcb_x_print_print_get_context_cookie_t {
|
| 204 |
+
unsigned int sequence;
|
| 205 |
+
} xcb_x_print_print_get_context_cookie_t;
|
| 206 |
+
|
| 207 |
+
/** Opcode for xcb_x_print_print_get_context. */
|
| 208 |
+
#define XCB_X_PRINT_PRINT_GET_CONTEXT 4
|
| 209 |
+
|
| 210 |
+
/**
|
| 211 |
+
* @brief xcb_x_print_print_get_context_request_t
|
| 212 |
+
**/
|
| 213 |
+
typedef struct xcb_x_print_print_get_context_request_t {
|
| 214 |
+
uint8_t major_opcode;
|
| 215 |
+
uint8_t minor_opcode;
|
| 216 |
+
uint16_t length;
|
| 217 |
+
} xcb_x_print_print_get_context_request_t;
|
| 218 |
+
|
| 219 |
+
/**
|
| 220 |
+
* @brief xcb_x_print_print_get_context_reply_t
|
| 221 |
+
**/
|
| 222 |
+
typedef struct xcb_x_print_print_get_context_reply_t {
|
| 223 |
+
uint8_t response_type;
|
| 224 |
+
uint8_t pad0;
|
| 225 |
+
uint16_t sequence;
|
| 226 |
+
uint32_t length;
|
| 227 |
+
uint32_t context;
|
| 228 |
+
} xcb_x_print_print_get_context_reply_t;
|
| 229 |
+
|
| 230 |
+
/** Opcode for xcb_x_print_print_destroy_context. */
|
| 231 |
+
#define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
|
| 232 |
+
|
| 233 |
+
/**
|
| 234 |
+
* @brief xcb_x_print_print_destroy_context_request_t
|
| 235 |
+
**/
|
| 236 |
+
typedef struct xcb_x_print_print_destroy_context_request_t {
|
| 237 |
+
uint8_t major_opcode;
|
| 238 |
+
uint8_t minor_opcode;
|
| 239 |
+
uint16_t length;
|
| 240 |
+
uint32_t context;
|
| 241 |
+
} xcb_x_print_print_destroy_context_request_t;
|
| 242 |
+
|
| 243 |
+
/**
|
| 244 |
+
* @brief xcb_x_print_print_get_screen_of_context_cookie_t
|
| 245 |
+
**/
|
| 246 |
+
typedef struct xcb_x_print_print_get_screen_of_context_cookie_t {
|
| 247 |
+
unsigned int sequence;
|
| 248 |
+
} xcb_x_print_print_get_screen_of_context_cookie_t;
|
| 249 |
+
|
| 250 |
+
/** Opcode for xcb_x_print_print_get_screen_of_context. */
|
| 251 |
+
#define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
|
| 252 |
+
|
| 253 |
+
/**
|
| 254 |
+
* @brief xcb_x_print_print_get_screen_of_context_request_t
|
| 255 |
+
**/
|
| 256 |
+
typedef struct xcb_x_print_print_get_screen_of_context_request_t {
|
| 257 |
+
uint8_t major_opcode;
|
| 258 |
+
uint8_t minor_opcode;
|
| 259 |
+
uint16_t length;
|
| 260 |
+
} xcb_x_print_print_get_screen_of_context_request_t;
|
| 261 |
+
|
| 262 |
+
/**
|
| 263 |
+
* @brief xcb_x_print_print_get_screen_of_context_reply_t
|
| 264 |
+
**/
|
| 265 |
+
typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
|
| 266 |
+
uint8_t response_type;
|
| 267 |
+
uint8_t pad0;
|
| 268 |
+
uint16_t sequence;
|
| 269 |
+
uint32_t length;
|
| 270 |
+
xcb_window_t root;
|
| 271 |
+
} xcb_x_print_print_get_screen_of_context_reply_t;
|
| 272 |
+
|
| 273 |
+
/** Opcode for xcb_x_print_print_start_job. */
|
| 274 |
+
#define XCB_X_PRINT_PRINT_START_JOB 7
|
| 275 |
+
|
| 276 |
+
/**
|
| 277 |
+
* @brief xcb_x_print_print_start_job_request_t
|
| 278 |
+
**/
|
| 279 |
+
typedef struct xcb_x_print_print_start_job_request_t {
|
| 280 |
+
uint8_t major_opcode;
|
| 281 |
+
uint8_t minor_opcode;
|
| 282 |
+
uint16_t length;
|
| 283 |
+
uint8_t output_mode;
|
| 284 |
+
} xcb_x_print_print_start_job_request_t;
|
| 285 |
+
|
| 286 |
+
/** Opcode for xcb_x_print_print_end_job. */
|
| 287 |
+
#define XCB_X_PRINT_PRINT_END_JOB 8
|
| 288 |
+
|
| 289 |
+
/**
|
| 290 |
+
* @brief xcb_x_print_print_end_job_request_t
|
| 291 |
+
**/
|
| 292 |
+
typedef struct xcb_x_print_print_end_job_request_t {
|
| 293 |
+
uint8_t major_opcode;
|
| 294 |
+
uint8_t minor_opcode;
|
| 295 |
+
uint16_t length;
|
| 296 |
+
uint8_t cancel;
|
| 297 |
+
} xcb_x_print_print_end_job_request_t;
|
| 298 |
+
|
| 299 |
+
/** Opcode for xcb_x_print_print_start_doc. */
|
| 300 |
+
#define XCB_X_PRINT_PRINT_START_DOC 9
|
| 301 |
+
|
| 302 |
+
/**
|
| 303 |
+
* @brief xcb_x_print_print_start_doc_request_t
|
| 304 |
+
**/
|
| 305 |
+
typedef struct xcb_x_print_print_start_doc_request_t {
|
| 306 |
+
uint8_t major_opcode;
|
| 307 |
+
uint8_t minor_opcode;
|
| 308 |
+
uint16_t length;
|
| 309 |
+
uint8_t driver_mode;
|
| 310 |
+
} xcb_x_print_print_start_doc_request_t;
|
| 311 |
+
|
| 312 |
+
/** Opcode for xcb_x_print_print_end_doc. */
|
| 313 |
+
#define XCB_X_PRINT_PRINT_END_DOC 10
|
| 314 |
+
|
| 315 |
+
/**
|
| 316 |
+
* @brief xcb_x_print_print_end_doc_request_t
|
| 317 |
+
**/
|
| 318 |
+
typedef struct xcb_x_print_print_end_doc_request_t {
|
| 319 |
+
uint8_t major_opcode;
|
| 320 |
+
uint8_t minor_opcode;
|
| 321 |
+
uint16_t length;
|
| 322 |
+
uint8_t cancel;
|
| 323 |
+
} xcb_x_print_print_end_doc_request_t;
|
| 324 |
+
|
| 325 |
+
/** Opcode for xcb_x_print_print_put_document_data. */
|
| 326 |
+
#define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
|
| 327 |
+
|
| 328 |
+
/**
|
| 329 |
+
* @brief xcb_x_print_print_put_document_data_request_t
|
| 330 |
+
**/
|
| 331 |
+
typedef struct xcb_x_print_print_put_document_data_request_t {
|
| 332 |
+
uint8_t major_opcode;
|
| 333 |
+
uint8_t minor_opcode;
|
| 334 |
+
uint16_t length;
|
| 335 |
+
xcb_drawable_t drawable;
|
| 336 |
+
uint32_t len_data;
|
| 337 |
+
uint16_t len_fmt;
|
| 338 |
+
uint16_t len_options;
|
| 339 |
+
} xcb_x_print_print_put_document_data_request_t;
|
| 340 |
+
|
| 341 |
+
/**
|
| 342 |
+
* @brief xcb_x_print_print_get_document_data_cookie_t
|
| 343 |
+
**/
|
| 344 |
+
typedef struct xcb_x_print_print_get_document_data_cookie_t {
|
| 345 |
+
unsigned int sequence;
|
| 346 |
+
} xcb_x_print_print_get_document_data_cookie_t;
|
| 347 |
+
|
| 348 |
+
/** Opcode for xcb_x_print_print_get_document_data. */
|
| 349 |
+
#define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
|
| 350 |
+
|
| 351 |
+
/**
|
| 352 |
+
* @brief xcb_x_print_print_get_document_data_request_t
|
| 353 |
+
**/
|
| 354 |
+
typedef struct xcb_x_print_print_get_document_data_request_t {
|
| 355 |
+
uint8_t major_opcode;
|
| 356 |
+
uint8_t minor_opcode;
|
| 357 |
+
uint16_t length;
|
| 358 |
+
xcb_x_print_pcontext_t context;
|
| 359 |
+
uint32_t max_bytes;
|
| 360 |
+
} xcb_x_print_print_get_document_data_request_t;
|
| 361 |
+
|
| 362 |
+
/**
|
| 363 |
+
* @brief xcb_x_print_print_get_document_data_reply_t
|
| 364 |
+
**/
|
| 365 |
+
typedef struct xcb_x_print_print_get_document_data_reply_t {
|
| 366 |
+
uint8_t response_type;
|
| 367 |
+
uint8_t pad0;
|
| 368 |
+
uint16_t sequence;
|
| 369 |
+
uint32_t length;
|
| 370 |
+
uint32_t status_code;
|
| 371 |
+
uint32_t finished_flag;
|
| 372 |
+
uint32_t dataLen;
|
| 373 |
+
uint8_t pad1[12];
|
| 374 |
+
} xcb_x_print_print_get_document_data_reply_t;
|
| 375 |
+
|
| 376 |
+
/** Opcode for xcb_x_print_print_start_page. */
|
| 377 |
+
#define XCB_X_PRINT_PRINT_START_PAGE 13
|
| 378 |
+
|
| 379 |
+
/**
|
| 380 |
+
* @brief xcb_x_print_print_start_page_request_t
|
| 381 |
+
**/
|
| 382 |
+
typedef struct xcb_x_print_print_start_page_request_t {
|
| 383 |
+
uint8_t major_opcode;
|
| 384 |
+
uint8_t minor_opcode;
|
| 385 |
+
uint16_t length;
|
| 386 |
+
xcb_window_t window;
|
| 387 |
+
} xcb_x_print_print_start_page_request_t;
|
| 388 |
+
|
| 389 |
+
/** Opcode for xcb_x_print_print_end_page. */
|
| 390 |
+
#define XCB_X_PRINT_PRINT_END_PAGE 14
|
| 391 |
+
|
| 392 |
+
/**
|
| 393 |
+
* @brief xcb_x_print_print_end_page_request_t
|
| 394 |
+
**/
|
| 395 |
+
typedef struct xcb_x_print_print_end_page_request_t {
|
| 396 |
+
uint8_t major_opcode;
|
| 397 |
+
uint8_t minor_opcode;
|
| 398 |
+
uint16_t length;
|
| 399 |
+
uint8_t cancel;
|
| 400 |
+
uint8_t pad0[3];
|
| 401 |
+
} xcb_x_print_print_end_page_request_t;
|
| 402 |
+
|
| 403 |
+
/** Opcode for xcb_x_print_print_select_input. */
|
| 404 |
+
#define XCB_X_PRINT_PRINT_SELECT_INPUT 15
|
| 405 |
+
|
| 406 |
+
/**
|
| 407 |
+
* @brief xcb_x_print_print_select_input_request_t
|
| 408 |
+
**/
|
| 409 |
+
typedef struct xcb_x_print_print_select_input_request_t {
|
| 410 |
+
uint8_t major_opcode;
|
| 411 |
+
uint8_t minor_opcode;
|
| 412 |
+
uint16_t length;
|
| 413 |
+
xcb_x_print_pcontext_t context;
|
| 414 |
+
uint32_t event_mask;
|
| 415 |
+
} xcb_x_print_print_select_input_request_t;
|
| 416 |
+
|
| 417 |
+
/**
|
| 418 |
+
* @brief xcb_x_print_print_input_selected_cookie_t
|
| 419 |
+
**/
|
| 420 |
+
typedef struct xcb_x_print_print_input_selected_cookie_t {
|
| 421 |
+
unsigned int sequence;
|
| 422 |
+
} xcb_x_print_print_input_selected_cookie_t;
|
| 423 |
+
|
| 424 |
+
/** Opcode for xcb_x_print_print_input_selected. */
|
| 425 |
+
#define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
|
| 426 |
+
|
| 427 |
+
/**
|
| 428 |
+
* @brief xcb_x_print_print_input_selected_request_t
|
| 429 |
+
**/
|
| 430 |
+
typedef struct xcb_x_print_print_input_selected_request_t {
|
| 431 |
+
uint8_t major_opcode;
|
| 432 |
+
uint8_t minor_opcode;
|
| 433 |
+
uint16_t length;
|
| 434 |
+
xcb_x_print_pcontext_t context;
|
| 435 |
+
} xcb_x_print_print_input_selected_request_t;
|
| 436 |
+
|
| 437 |
+
/**
|
| 438 |
+
* @brief xcb_x_print_print_input_selected_reply_t
|
| 439 |
+
**/
|
| 440 |
+
typedef struct xcb_x_print_print_input_selected_reply_t {
|
| 441 |
+
uint8_t response_type;
|
| 442 |
+
uint8_t pad0;
|
| 443 |
+
uint16_t sequence;
|
| 444 |
+
uint32_t length;
|
| 445 |
+
uint32_t event_mask;
|
| 446 |
+
uint32_t all_events_mask;
|
| 447 |
+
} xcb_x_print_print_input_selected_reply_t;
|
| 448 |
+
|
| 449 |
+
/**
|
| 450 |
+
* @brief xcb_x_print_print_get_attributes_cookie_t
|
| 451 |
+
**/
|
| 452 |
+
typedef struct xcb_x_print_print_get_attributes_cookie_t {
|
| 453 |
+
unsigned int sequence;
|
| 454 |
+
} xcb_x_print_print_get_attributes_cookie_t;
|
| 455 |
+
|
| 456 |
+
/** Opcode for xcb_x_print_print_get_attributes. */
|
| 457 |
+
#define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
|
| 458 |
+
|
| 459 |
+
/**
|
| 460 |
+
* @brief xcb_x_print_print_get_attributes_request_t
|
| 461 |
+
**/
|
| 462 |
+
typedef struct xcb_x_print_print_get_attributes_request_t {
|
| 463 |
+
uint8_t major_opcode;
|
| 464 |
+
uint8_t minor_opcode;
|
| 465 |
+
uint16_t length;
|
| 466 |
+
xcb_x_print_pcontext_t context;
|
| 467 |
+
uint8_t pool;
|
| 468 |
+
uint8_t pad0[3];
|
| 469 |
+
} xcb_x_print_print_get_attributes_request_t;
|
| 470 |
+
|
| 471 |
+
/**
|
| 472 |
+
* @brief xcb_x_print_print_get_attributes_reply_t
|
| 473 |
+
**/
|
| 474 |
+
typedef struct xcb_x_print_print_get_attributes_reply_t {
|
| 475 |
+
uint8_t response_type;
|
| 476 |
+
uint8_t pad0;
|
| 477 |
+
uint16_t sequence;
|
| 478 |
+
uint32_t length;
|
| 479 |
+
uint32_t stringLen;
|
| 480 |
+
uint8_t pad1[20];
|
| 481 |
+
} xcb_x_print_print_get_attributes_reply_t;
|
| 482 |
+
|
| 483 |
+
/**
|
| 484 |
+
* @brief xcb_x_print_print_get_one_attributes_cookie_t
|
| 485 |
+
**/
|
| 486 |
+
typedef struct xcb_x_print_print_get_one_attributes_cookie_t {
|
| 487 |
+
unsigned int sequence;
|
| 488 |
+
} xcb_x_print_print_get_one_attributes_cookie_t;
|
| 489 |
+
|
| 490 |
+
/** Opcode for xcb_x_print_print_get_one_attributes. */
|
| 491 |
+
#define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
|
| 492 |
+
|
| 493 |
+
/**
|
| 494 |
+
* @brief xcb_x_print_print_get_one_attributes_request_t
|
| 495 |
+
**/
|
| 496 |
+
typedef struct xcb_x_print_print_get_one_attributes_request_t {
|
| 497 |
+
uint8_t major_opcode;
|
| 498 |
+
uint8_t minor_opcode;
|
| 499 |
+
uint16_t length;
|
| 500 |
+
xcb_x_print_pcontext_t context;
|
| 501 |
+
uint32_t nameLen;
|
| 502 |
+
uint8_t pool;
|
| 503 |
+
uint8_t pad0[3];
|
| 504 |
+
} xcb_x_print_print_get_one_attributes_request_t;
|
| 505 |
+
|
| 506 |
+
/**
|
| 507 |
+
* @brief xcb_x_print_print_get_one_attributes_reply_t
|
| 508 |
+
**/
|
| 509 |
+
typedef struct xcb_x_print_print_get_one_attributes_reply_t {
|
| 510 |
+
uint8_t response_type;
|
| 511 |
+
uint8_t pad0;
|
| 512 |
+
uint16_t sequence;
|
| 513 |
+
uint32_t length;
|
| 514 |
+
uint32_t valueLen;
|
| 515 |
+
uint8_t pad1[20];
|
| 516 |
+
} xcb_x_print_print_get_one_attributes_reply_t;
|
| 517 |
+
|
| 518 |
+
/** Opcode for xcb_x_print_print_set_attributes. */
|
| 519 |
+
#define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
|
| 520 |
+
|
| 521 |
+
/**
|
| 522 |
+
* @brief xcb_x_print_print_set_attributes_request_t
|
| 523 |
+
**/
|
| 524 |
+
typedef struct xcb_x_print_print_set_attributes_request_t {
|
| 525 |
+
uint8_t major_opcode;
|
| 526 |
+
uint8_t minor_opcode;
|
| 527 |
+
uint16_t length;
|
| 528 |
+
xcb_x_print_pcontext_t context;
|
| 529 |
+
uint32_t stringLen;
|
| 530 |
+
uint8_t pool;
|
| 531 |
+
uint8_t rule;
|
| 532 |
+
uint8_t pad0[2];
|
| 533 |
+
} xcb_x_print_print_set_attributes_request_t;
|
| 534 |
+
|
| 535 |
+
/**
|
| 536 |
+
* @brief xcb_x_print_print_get_page_dimensions_cookie_t
|
| 537 |
+
**/
|
| 538 |
+
typedef struct xcb_x_print_print_get_page_dimensions_cookie_t {
|
| 539 |
+
unsigned int sequence;
|
| 540 |
+
} xcb_x_print_print_get_page_dimensions_cookie_t;
|
| 541 |
+
|
| 542 |
+
/** Opcode for xcb_x_print_print_get_page_dimensions. */
|
| 543 |
+
#define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
|
| 544 |
+
|
| 545 |
+
/**
|
| 546 |
+
* @brief xcb_x_print_print_get_page_dimensions_request_t
|
| 547 |
+
**/
|
| 548 |
+
typedef struct xcb_x_print_print_get_page_dimensions_request_t {
|
| 549 |
+
uint8_t major_opcode;
|
| 550 |
+
uint8_t minor_opcode;
|
| 551 |
+
uint16_t length;
|
| 552 |
+
xcb_x_print_pcontext_t context;
|
| 553 |
+
} xcb_x_print_print_get_page_dimensions_request_t;
|
| 554 |
+
|
| 555 |
+
/**
|
| 556 |
+
* @brief xcb_x_print_print_get_page_dimensions_reply_t
|
| 557 |
+
**/
|
| 558 |
+
typedef struct xcb_x_print_print_get_page_dimensions_reply_t {
|
| 559 |
+
uint8_t response_type;
|
| 560 |
+
uint8_t pad0;
|
| 561 |
+
uint16_t sequence;
|
| 562 |
+
uint32_t length;
|
| 563 |
+
uint16_t width;
|
| 564 |
+
uint16_t height;
|
| 565 |
+
uint16_t offset_x;
|
| 566 |
+
uint16_t offset_y;
|
| 567 |
+
uint16_t reproducible_width;
|
| 568 |
+
uint16_t reproducible_height;
|
| 569 |
+
} xcb_x_print_print_get_page_dimensions_reply_t;
|
| 570 |
+
|
| 571 |
+
/**
|
| 572 |
+
* @brief xcb_x_print_print_query_screens_cookie_t
|
| 573 |
+
**/
|
| 574 |
+
typedef struct xcb_x_print_print_query_screens_cookie_t {
|
| 575 |
+
unsigned int sequence;
|
| 576 |
+
} xcb_x_print_print_query_screens_cookie_t;
|
| 577 |
+
|
| 578 |
+
/** Opcode for xcb_x_print_print_query_screens. */
|
| 579 |
+
#define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
|
| 580 |
+
|
| 581 |
+
/**
|
| 582 |
+
* @brief xcb_x_print_print_query_screens_request_t
|
| 583 |
+
**/
|
| 584 |
+
typedef struct xcb_x_print_print_query_screens_request_t {
|
| 585 |
+
uint8_t major_opcode;
|
| 586 |
+
uint8_t minor_opcode;
|
| 587 |
+
uint16_t length;
|
| 588 |
+
} xcb_x_print_print_query_screens_request_t;
|
| 589 |
+
|
| 590 |
+
/**
|
| 591 |
+
* @brief xcb_x_print_print_query_screens_reply_t
|
| 592 |
+
**/
|
| 593 |
+
typedef struct xcb_x_print_print_query_screens_reply_t {
|
| 594 |
+
uint8_t response_type;
|
| 595 |
+
uint8_t pad0;
|
| 596 |
+
uint16_t sequence;
|
| 597 |
+
uint32_t length;
|
| 598 |
+
uint32_t listCount;
|
| 599 |
+
uint8_t pad1[20];
|
| 600 |
+
} xcb_x_print_print_query_screens_reply_t;
|
| 601 |
+
|
| 602 |
+
/**
|
| 603 |
+
* @brief xcb_x_print_print_set_image_resolution_cookie_t
|
| 604 |
+
**/
|
| 605 |
+
typedef struct xcb_x_print_print_set_image_resolution_cookie_t {
|
| 606 |
+
unsigned int sequence;
|
| 607 |
+
} xcb_x_print_print_set_image_resolution_cookie_t;
|
| 608 |
+
|
| 609 |
+
/** Opcode for xcb_x_print_print_set_image_resolution. */
|
| 610 |
+
#define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
|
| 611 |
+
|
| 612 |
+
/**
|
| 613 |
+
* @brief xcb_x_print_print_set_image_resolution_request_t
|
| 614 |
+
**/
|
| 615 |
+
typedef struct xcb_x_print_print_set_image_resolution_request_t {
|
| 616 |
+
uint8_t major_opcode;
|
| 617 |
+
uint8_t minor_opcode;
|
| 618 |
+
uint16_t length;
|
| 619 |
+
xcb_x_print_pcontext_t context;
|
| 620 |
+
uint16_t image_resolution;
|
| 621 |
+
} xcb_x_print_print_set_image_resolution_request_t;
|
| 622 |
+
|
| 623 |
+
/**
|
| 624 |
+
* @brief xcb_x_print_print_set_image_resolution_reply_t
|
| 625 |
+
**/
|
| 626 |
+
typedef struct xcb_x_print_print_set_image_resolution_reply_t {
|
| 627 |
+
uint8_t response_type;
|
| 628 |
+
uint8_t status;
|
| 629 |
+
uint16_t sequence;
|
| 630 |
+
uint32_t length;
|
| 631 |
+
uint16_t previous_resolutions;
|
| 632 |
+
} xcb_x_print_print_set_image_resolution_reply_t;
|
| 633 |
+
|
| 634 |
+
/**
|
| 635 |
+
* @brief xcb_x_print_print_get_image_resolution_cookie_t
|
| 636 |
+
**/
|
| 637 |
+
typedef struct xcb_x_print_print_get_image_resolution_cookie_t {
|
| 638 |
+
unsigned int sequence;
|
| 639 |
+
} xcb_x_print_print_get_image_resolution_cookie_t;
|
| 640 |
+
|
| 641 |
+
/** Opcode for xcb_x_print_print_get_image_resolution. */
|
| 642 |
+
#define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
|
| 643 |
+
|
| 644 |
+
/**
|
| 645 |
+
* @brief xcb_x_print_print_get_image_resolution_request_t
|
| 646 |
+
**/
|
| 647 |
+
typedef struct xcb_x_print_print_get_image_resolution_request_t {
|
| 648 |
+
uint8_t major_opcode;
|
| 649 |
+
uint8_t minor_opcode;
|
| 650 |
+
uint16_t length;
|
| 651 |
+
xcb_x_print_pcontext_t context;
|
| 652 |
+
} xcb_x_print_print_get_image_resolution_request_t;
|
| 653 |
+
|
| 654 |
+
/**
|
| 655 |
+
* @brief xcb_x_print_print_get_image_resolution_reply_t
|
| 656 |
+
**/
|
| 657 |
+
typedef struct xcb_x_print_print_get_image_resolution_reply_t {
|
| 658 |
+
uint8_t response_type;
|
| 659 |
+
uint8_t pad0;
|
| 660 |
+
uint16_t sequence;
|
| 661 |
+
uint32_t length;
|
| 662 |
+
uint16_t image_resolution;
|
| 663 |
+
} xcb_x_print_print_get_image_resolution_reply_t;
|
| 664 |
+
|
| 665 |
+
/** Opcode for xcb_x_print_notify. */
|
| 666 |
+
#define XCB_X_PRINT_NOTIFY 0
|
| 667 |
+
|
| 668 |
+
/**
|
| 669 |
+
* @brief xcb_x_print_notify_event_t
|
| 670 |
+
**/
|
| 671 |
+
typedef struct xcb_x_print_notify_event_t {
|
| 672 |
+
uint8_t response_type;
|
| 673 |
+
uint8_t detail;
|
| 674 |
+
uint16_t sequence;
|
| 675 |
+
xcb_x_print_pcontext_t context;
|
| 676 |
+
uint8_t cancel;
|
| 677 |
+
} xcb_x_print_notify_event_t;
|
| 678 |
+
|
| 679 |
+
/** Opcode for xcb_x_print_attribut_notify. */
|
| 680 |
+
#define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
|
| 681 |
+
|
| 682 |
+
/**
|
| 683 |
+
* @brief xcb_x_print_attribut_notify_event_t
|
| 684 |
+
**/
|
| 685 |
+
typedef struct xcb_x_print_attribut_notify_event_t {
|
| 686 |
+
uint8_t response_type;
|
| 687 |
+
uint8_t detail;
|
| 688 |
+
uint16_t sequence;
|
| 689 |
+
xcb_x_print_pcontext_t context;
|
| 690 |
+
} xcb_x_print_attribut_notify_event_t;
|
| 691 |
+
|
| 692 |
+
/** Opcode for xcb_x_print_bad_context. */
|
| 693 |
+
#define XCB_X_PRINT_BAD_CONTEXT 0
|
| 694 |
+
|
| 695 |
+
/**
|
| 696 |
+
* @brief xcb_x_print_bad_context_error_t
|
| 697 |
+
**/
|
| 698 |
+
typedef struct xcb_x_print_bad_context_error_t {
|
| 699 |
+
uint8_t response_type;
|
| 700 |
+
uint8_t error_code;
|
| 701 |
+
uint16_t sequence;
|
| 702 |
+
uint32_t bad_value;
|
| 703 |
+
uint16_t minor_opcode;
|
| 704 |
+
uint8_t major_opcode;
|
| 705 |
+
} xcb_x_print_bad_context_error_t;
|
| 706 |
+
|
| 707 |
+
/** Opcode for xcb_x_print_bad_sequence. */
|
| 708 |
+
#define XCB_X_PRINT_BAD_SEQUENCE 1
|
| 709 |
+
|
| 710 |
+
/**
|
| 711 |
+
* @brief xcb_x_print_bad_sequence_error_t
|
| 712 |
+
**/
|
| 713 |
+
typedef struct xcb_x_print_bad_sequence_error_t {
|
| 714 |
+
uint8_t response_type;
|
| 715 |
+
uint8_t error_code;
|
| 716 |
+
uint16_t sequence;
|
| 717 |
+
uint32_t bad_value;
|
| 718 |
+
uint16_t minor_opcode;
|
| 719 |
+
uint8_t major_opcode;
|
| 720 |
+
} xcb_x_print_bad_sequence_error_t;
|
| 721 |
+
|
| 722 |
+
/**
|
| 723 |
+
* Get the next element of the iterator
|
| 724 |
+
* @param i Pointer to a xcb_x_print_string8_iterator_t
|
| 725 |
+
*
|
| 726 |
+
* Get the next element in the iterator. The member rem is
|
| 727 |
+
* decreased by one. The member data points to the next
|
| 728 |
+
* element. The member index is increased by sizeof(xcb_x_print_string8_t)
|
| 729 |
+
*/
|
| 730 |
+
void
|
| 731 |
+
xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i);
|
| 732 |
+
|
| 733 |
+
/**
|
| 734 |
+
* Return the iterator pointing to the last element
|
| 735 |
+
* @param i An xcb_x_print_string8_iterator_t
|
| 736 |
+
* @return The iterator pointing to the last element
|
| 737 |
+
*
|
| 738 |
+
* Set the current element in the iterator to the last element.
|
| 739 |
+
* The member rem is set to 0. The member data points to the
|
| 740 |
+
* last element.
|
| 741 |
+
*/
|
| 742 |
+
xcb_generic_iterator_t
|
| 743 |
+
xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i);
|
| 744 |
+
|
| 745 |
+
int
|
| 746 |
+
xcb_x_print_printer_serialize (void **_buffer,
|
| 747 |
+
const xcb_x_print_printer_t *_aux,
|
| 748 |
+
const xcb_x_print_string8_t *name,
|
| 749 |
+
const xcb_x_print_string8_t *description);
|
| 750 |
+
|
| 751 |
+
int
|
| 752 |
+
xcb_x_print_printer_unserialize (const void *_buffer,
|
| 753 |
+
xcb_x_print_printer_t **_aux);
|
| 754 |
+
|
| 755 |
+
int
|
| 756 |
+
xcb_x_print_printer_sizeof (const void *_buffer);
|
| 757 |
+
|
| 758 |
+
xcb_x_print_string8_t *
|
| 759 |
+
xcb_x_print_printer_name (const xcb_x_print_printer_t *R);
|
| 760 |
+
|
| 761 |
+
int
|
| 762 |
+
xcb_x_print_printer_name_length (const xcb_x_print_printer_t *R);
|
| 763 |
+
|
| 764 |
+
xcb_generic_iterator_t
|
| 765 |
+
xcb_x_print_printer_name_end (const xcb_x_print_printer_t *R);
|
| 766 |
+
|
| 767 |
+
xcb_x_print_string8_t *
|
| 768 |
+
xcb_x_print_printer_description (const xcb_x_print_printer_t *R);
|
| 769 |
+
|
| 770 |
+
int
|
| 771 |
+
xcb_x_print_printer_description_length (const xcb_x_print_printer_t *R);
|
| 772 |
+
|
| 773 |
+
xcb_generic_iterator_t
|
| 774 |
+
xcb_x_print_printer_description_end (const xcb_x_print_printer_t *R);
|
| 775 |
+
|
| 776 |
+
/**
|
| 777 |
+
* Get the next element of the iterator
|
| 778 |
+
* @param i Pointer to a xcb_x_print_printer_iterator_t
|
| 779 |
+
*
|
| 780 |
+
* Get the next element in the iterator. The member rem is
|
| 781 |
+
* decreased by one. The member data points to the next
|
| 782 |
+
* element. The member index is increased by sizeof(xcb_x_print_printer_t)
|
| 783 |
+
*/
|
| 784 |
+
void
|
| 785 |
+
xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i);
|
| 786 |
+
|
| 787 |
+
/**
|
| 788 |
+
* Return the iterator pointing to the last element
|
| 789 |
+
* @param i An xcb_x_print_printer_iterator_t
|
| 790 |
+
* @return The iterator pointing to the last element
|
| 791 |
+
*
|
| 792 |
+
* Set the current element in the iterator to the last element.
|
| 793 |
+
* The member rem is set to 0. The member data points to the
|
| 794 |
+
* last element.
|
| 795 |
+
*/
|
| 796 |
+
xcb_generic_iterator_t
|
| 797 |
+
xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i);
|
| 798 |
+
|
| 799 |
+
/**
|
| 800 |
+
* Get the next element of the iterator
|
| 801 |
+
* @param i Pointer to a xcb_x_print_pcontext_iterator_t
|
| 802 |
+
*
|
| 803 |
+
* Get the next element in the iterator. The member rem is
|
| 804 |
+
* decreased by one. The member data points to the next
|
| 805 |
+
* element. The member index is increased by sizeof(xcb_x_print_pcontext_t)
|
| 806 |
+
*/
|
| 807 |
+
void
|
| 808 |
+
xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i);
|
| 809 |
+
|
| 810 |
+
/**
|
| 811 |
+
* Return the iterator pointing to the last element
|
| 812 |
+
* @param i An xcb_x_print_pcontext_iterator_t
|
| 813 |
+
* @return The iterator pointing to the last element
|
| 814 |
+
*
|
| 815 |
+
* Set the current element in the iterator to the last element.
|
| 816 |
+
* The member rem is set to 0. The member data points to the
|
| 817 |
+
* last element.
|
| 818 |
+
*/
|
| 819 |
+
xcb_generic_iterator_t
|
| 820 |
+
xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i);
|
| 821 |
+
|
| 822 |
+
/**
|
| 823 |
+
*
|
| 824 |
+
* @param c The connection
|
| 825 |
+
* @return A cookie
|
| 826 |
+
*
|
| 827 |
+
* Delivers a request to the X server.
|
| 828 |
+
*
|
| 829 |
+
*/
|
| 830 |
+
xcb_x_print_print_query_version_cookie_t
|
| 831 |
+
xcb_x_print_print_query_version (xcb_connection_t *c);
|
| 832 |
+
|
| 833 |
+
/**
|
| 834 |
+
*
|
| 835 |
+
* @param c The connection
|
| 836 |
+
* @return A cookie
|
| 837 |
+
*
|
| 838 |
+
* Delivers a request to the X server.
|
| 839 |
+
*
|
| 840 |
+
* This form can be used only if the request will cause
|
| 841 |
+
* a reply to be generated. Any returned error will be
|
| 842 |
+
* placed in the event queue.
|
| 843 |
+
*/
|
| 844 |
+
xcb_x_print_print_query_version_cookie_t
|
| 845 |
+
xcb_x_print_print_query_version_unchecked (xcb_connection_t *c);
|
| 846 |
+
|
| 847 |
+
/**
|
| 848 |
+
* Return the reply
|
| 849 |
+
* @param c The connection
|
| 850 |
+
* @param cookie The cookie
|
| 851 |
+
* @param e The xcb_generic_error_t supplied
|
| 852 |
+
*
|
| 853 |
+
* Returns the reply of the request asked by
|
| 854 |
+
*
|
| 855 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 856 |
+
* xcb_x_print_print_query_version_unchecked(). is used.
|
| 857 |
+
* Otherwise, it stores the error if any.
|
| 858 |
+
*
|
| 859 |
+
* The returned value must be freed by the caller using free().
|
| 860 |
+
*/
|
| 861 |
+
xcb_x_print_print_query_version_reply_t *
|
| 862 |
+
xcb_x_print_print_query_version_reply (xcb_connection_t *c,
|
| 863 |
+
xcb_x_print_print_query_version_cookie_t cookie /**< */,
|
| 864 |
+
xcb_generic_error_t **e);
|
| 865 |
+
|
| 866 |
+
int
|
| 867 |
+
xcb_x_print_print_get_printer_list_sizeof (const void *_buffer);
|
| 868 |
+
|
| 869 |
+
/**
|
| 870 |
+
*
|
| 871 |
+
* @param c The connection
|
| 872 |
+
* @return A cookie
|
| 873 |
+
*
|
| 874 |
+
* Delivers a request to the X server.
|
| 875 |
+
*
|
| 876 |
+
*/
|
| 877 |
+
xcb_x_print_print_get_printer_list_cookie_t
|
| 878 |
+
xcb_x_print_print_get_printer_list (xcb_connection_t *c,
|
| 879 |
+
uint32_t printerNameLen,
|
| 880 |
+
uint32_t localeLen,
|
| 881 |
+
const xcb_x_print_string8_t *printer_name,
|
| 882 |
+
const xcb_x_print_string8_t *locale);
|
| 883 |
+
|
| 884 |
+
/**
|
| 885 |
+
*
|
| 886 |
+
* @param c The connection
|
| 887 |
+
* @return A cookie
|
| 888 |
+
*
|
| 889 |
+
* Delivers a request to the X server.
|
| 890 |
+
*
|
| 891 |
+
* This form can be used only if the request will cause
|
| 892 |
+
* a reply to be generated. Any returned error will be
|
| 893 |
+
* placed in the event queue.
|
| 894 |
+
*/
|
| 895 |
+
xcb_x_print_print_get_printer_list_cookie_t
|
| 896 |
+
xcb_x_print_print_get_printer_list_unchecked (xcb_connection_t *c,
|
| 897 |
+
uint32_t printerNameLen,
|
| 898 |
+
uint32_t localeLen,
|
| 899 |
+
const xcb_x_print_string8_t *printer_name,
|
| 900 |
+
const xcb_x_print_string8_t *locale);
|
| 901 |
+
|
| 902 |
+
int
|
| 903 |
+
xcb_x_print_print_get_printer_list_printers_length (const xcb_x_print_print_get_printer_list_reply_t *R);
|
| 904 |
+
|
| 905 |
+
xcb_x_print_printer_iterator_t
|
| 906 |
+
xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R);
|
| 907 |
+
|
| 908 |
+
/**
|
| 909 |
+
* Return the reply
|
| 910 |
+
* @param c The connection
|
| 911 |
+
* @param cookie The cookie
|
| 912 |
+
* @param e The xcb_generic_error_t supplied
|
| 913 |
+
*
|
| 914 |
+
* Returns the reply of the request asked by
|
| 915 |
+
*
|
| 916 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 917 |
+
* xcb_x_print_print_get_printer_list_unchecked(). is used.
|
| 918 |
+
* Otherwise, it stores the error if any.
|
| 919 |
+
*
|
| 920 |
+
* The returned value must be freed by the caller using free().
|
| 921 |
+
*/
|
| 922 |
+
xcb_x_print_print_get_printer_list_reply_t *
|
| 923 |
+
xcb_x_print_print_get_printer_list_reply (xcb_connection_t *c,
|
| 924 |
+
xcb_x_print_print_get_printer_list_cookie_t cookie /**< */,
|
| 925 |
+
xcb_generic_error_t **e);
|
| 926 |
+
|
| 927 |
+
/**
|
| 928 |
+
*
|
| 929 |
+
* @param c The connection
|
| 930 |
+
* @return A cookie
|
| 931 |
+
*
|
| 932 |
+
* Delivers a request to the X server.
|
| 933 |
+
*
|
| 934 |
+
* This form can be used only if the request will not cause
|
| 935 |
+
* a reply to be generated. Any returned error will be
|
| 936 |
+
* saved for handling by xcb_request_check().
|
| 937 |
+
*/
|
| 938 |
+
xcb_void_cookie_t
|
| 939 |
+
xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c);
|
| 940 |
+
|
| 941 |
+
/**
|
| 942 |
+
*
|
| 943 |
+
* @param c The connection
|
| 944 |
+
* @return A cookie
|
| 945 |
+
*
|
| 946 |
+
* Delivers a request to the X server.
|
| 947 |
+
*
|
| 948 |
+
*/
|
| 949 |
+
xcb_void_cookie_t
|
| 950 |
+
xcb_x_print_print_rehash_printer_list (xcb_connection_t *c);
|
| 951 |
+
|
| 952 |
+
int
|
| 953 |
+
xcb_x_print_create_context_sizeof (const void *_buffer);
|
| 954 |
+
|
| 955 |
+
/**
|
| 956 |
+
*
|
| 957 |
+
* @param c The connection
|
| 958 |
+
* @return A cookie
|
| 959 |
+
*
|
| 960 |
+
* Delivers a request to the X server.
|
| 961 |
+
*
|
| 962 |
+
* This form can be used only if the request will not cause
|
| 963 |
+
* a reply to be generated. Any returned error will be
|
| 964 |
+
* saved for handling by xcb_request_check().
|
| 965 |
+
*/
|
| 966 |
+
xcb_void_cookie_t
|
| 967 |
+
xcb_x_print_create_context_checked (xcb_connection_t *c,
|
| 968 |
+
uint32_t context_id,
|
| 969 |
+
uint32_t printerNameLen,
|
| 970 |
+
uint32_t localeLen,
|
| 971 |
+
const xcb_x_print_string8_t *printerName,
|
| 972 |
+
const xcb_x_print_string8_t *locale);
|
| 973 |
+
|
| 974 |
+
/**
|
| 975 |
+
*
|
| 976 |
+
* @param c The connection
|
| 977 |
+
* @return A cookie
|
| 978 |
+
*
|
| 979 |
+
* Delivers a request to the X server.
|
| 980 |
+
*
|
| 981 |
+
*/
|
| 982 |
+
xcb_void_cookie_t
|
| 983 |
+
xcb_x_print_create_context (xcb_connection_t *c,
|
| 984 |
+
uint32_t context_id,
|
| 985 |
+
uint32_t printerNameLen,
|
| 986 |
+
uint32_t localeLen,
|
| 987 |
+
const xcb_x_print_string8_t *printerName,
|
| 988 |
+
const xcb_x_print_string8_t *locale);
|
| 989 |
+
|
| 990 |
+
xcb_x_print_string8_t *
|
| 991 |
+
xcb_x_print_create_context_printer_name (const xcb_x_print_create_context_request_t *R);
|
| 992 |
+
|
| 993 |
+
int
|
| 994 |
+
xcb_x_print_create_context_printer_name_length (const xcb_x_print_create_context_request_t *R);
|
| 995 |
+
|
| 996 |
+
xcb_generic_iterator_t
|
| 997 |
+
xcb_x_print_create_context_printer_name_end (const xcb_x_print_create_context_request_t *R);
|
| 998 |
+
|
| 999 |
+
xcb_x_print_string8_t *
|
| 1000 |
+
xcb_x_print_create_context_locale (const xcb_x_print_create_context_request_t *R);
|
| 1001 |
+
|
| 1002 |
+
int
|
| 1003 |
+
xcb_x_print_create_context_locale_length (const xcb_x_print_create_context_request_t *R);
|
| 1004 |
+
|
| 1005 |
+
xcb_generic_iterator_t
|
| 1006 |
+
xcb_x_print_create_context_locale_end (const xcb_x_print_create_context_request_t *R);
|
| 1007 |
+
|
| 1008 |
+
/**
|
| 1009 |
+
*
|
| 1010 |
+
* @param c The connection
|
| 1011 |
+
* @return A cookie
|
| 1012 |
+
*
|
| 1013 |
+
* Delivers a request to the X server.
|
| 1014 |
+
*
|
| 1015 |
+
* This form can be used only if the request will not cause
|
| 1016 |
+
* a reply to be generated. Any returned error will be
|
| 1017 |
+
* saved for handling by xcb_request_check().
|
| 1018 |
+
*/
|
| 1019 |
+
xcb_void_cookie_t
|
| 1020 |
+
xcb_x_print_print_set_context_checked (xcb_connection_t *c,
|
| 1021 |
+
uint32_t context);
|
| 1022 |
+
|
| 1023 |
+
/**
|
| 1024 |
+
*
|
| 1025 |
+
* @param c The connection
|
| 1026 |
+
* @return A cookie
|
| 1027 |
+
*
|
| 1028 |
+
* Delivers a request to the X server.
|
| 1029 |
+
*
|
| 1030 |
+
*/
|
| 1031 |
+
xcb_void_cookie_t
|
| 1032 |
+
xcb_x_print_print_set_context (xcb_connection_t *c,
|
| 1033 |
+
uint32_t context);
|
| 1034 |
+
|
| 1035 |
+
/**
|
| 1036 |
+
*
|
| 1037 |
+
* @param c The connection
|
| 1038 |
+
* @return A cookie
|
| 1039 |
+
*
|
| 1040 |
+
* Delivers a request to the X server.
|
| 1041 |
+
*
|
| 1042 |
+
*/
|
| 1043 |
+
xcb_x_print_print_get_context_cookie_t
|
| 1044 |
+
xcb_x_print_print_get_context (xcb_connection_t *c);
|
| 1045 |
+
|
| 1046 |
+
/**
|
| 1047 |
+
*
|
| 1048 |
+
* @param c The connection
|
| 1049 |
+
* @return A cookie
|
| 1050 |
+
*
|
| 1051 |
+
* Delivers a request to the X server.
|
| 1052 |
+
*
|
| 1053 |
+
* This form can be used only if the request will cause
|
| 1054 |
+
* a reply to be generated. Any returned error will be
|
| 1055 |
+
* placed in the event queue.
|
| 1056 |
+
*/
|
| 1057 |
+
xcb_x_print_print_get_context_cookie_t
|
| 1058 |
+
xcb_x_print_print_get_context_unchecked (xcb_connection_t *c);
|
| 1059 |
+
|
| 1060 |
+
/**
|
| 1061 |
+
* Return the reply
|
| 1062 |
+
* @param c The connection
|
| 1063 |
+
* @param cookie The cookie
|
| 1064 |
+
* @param e The xcb_generic_error_t supplied
|
| 1065 |
+
*
|
| 1066 |
+
* Returns the reply of the request asked by
|
| 1067 |
+
*
|
| 1068 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1069 |
+
* xcb_x_print_print_get_context_unchecked(). is used.
|
| 1070 |
+
* Otherwise, it stores the error if any.
|
| 1071 |
+
*
|
| 1072 |
+
* The returned value must be freed by the caller using free().
|
| 1073 |
+
*/
|
| 1074 |
+
xcb_x_print_print_get_context_reply_t *
|
| 1075 |
+
xcb_x_print_print_get_context_reply (xcb_connection_t *c,
|
| 1076 |
+
xcb_x_print_print_get_context_cookie_t cookie /**< */,
|
| 1077 |
+
xcb_generic_error_t **e);
|
| 1078 |
+
|
| 1079 |
+
/**
|
| 1080 |
+
*
|
| 1081 |
+
* @param c The connection
|
| 1082 |
+
* @return A cookie
|
| 1083 |
+
*
|
| 1084 |
+
* Delivers a request to the X server.
|
| 1085 |
+
*
|
| 1086 |
+
* This form can be used only if the request will not cause
|
| 1087 |
+
* a reply to be generated. Any returned error will be
|
| 1088 |
+
* saved for handling by xcb_request_check().
|
| 1089 |
+
*/
|
| 1090 |
+
xcb_void_cookie_t
|
| 1091 |
+
xcb_x_print_print_destroy_context_checked (xcb_connection_t *c,
|
| 1092 |
+
uint32_t context);
|
| 1093 |
+
|
| 1094 |
+
/**
|
| 1095 |
+
*
|
| 1096 |
+
* @param c The connection
|
| 1097 |
+
* @return A cookie
|
| 1098 |
+
*
|
| 1099 |
+
* Delivers a request to the X server.
|
| 1100 |
+
*
|
| 1101 |
+
*/
|
| 1102 |
+
xcb_void_cookie_t
|
| 1103 |
+
xcb_x_print_print_destroy_context (xcb_connection_t *c,
|
| 1104 |
+
uint32_t context);
|
| 1105 |
+
|
| 1106 |
+
/**
|
| 1107 |
+
*
|
| 1108 |
+
* @param c The connection
|
| 1109 |
+
* @return A cookie
|
| 1110 |
+
*
|
| 1111 |
+
* Delivers a request to the X server.
|
| 1112 |
+
*
|
| 1113 |
+
*/
|
| 1114 |
+
xcb_x_print_print_get_screen_of_context_cookie_t
|
| 1115 |
+
xcb_x_print_print_get_screen_of_context (xcb_connection_t *c);
|
| 1116 |
+
|
| 1117 |
+
/**
|
| 1118 |
+
*
|
| 1119 |
+
* @param c The connection
|
| 1120 |
+
* @return A cookie
|
| 1121 |
+
*
|
| 1122 |
+
* Delivers a request to the X server.
|
| 1123 |
+
*
|
| 1124 |
+
* This form can be used only if the request will cause
|
| 1125 |
+
* a reply to be generated. Any returned error will be
|
| 1126 |
+
* placed in the event queue.
|
| 1127 |
+
*/
|
| 1128 |
+
xcb_x_print_print_get_screen_of_context_cookie_t
|
| 1129 |
+
xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c);
|
| 1130 |
+
|
| 1131 |
+
/**
|
| 1132 |
+
* Return the reply
|
| 1133 |
+
* @param c The connection
|
| 1134 |
+
* @param cookie The cookie
|
| 1135 |
+
* @param e The xcb_generic_error_t supplied
|
| 1136 |
+
*
|
| 1137 |
+
* Returns the reply of the request asked by
|
| 1138 |
+
*
|
| 1139 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1140 |
+
* xcb_x_print_print_get_screen_of_context_unchecked(). is used.
|
| 1141 |
+
* Otherwise, it stores the error if any.
|
| 1142 |
+
*
|
| 1143 |
+
* The returned value must be freed by the caller using free().
|
| 1144 |
+
*/
|
| 1145 |
+
xcb_x_print_print_get_screen_of_context_reply_t *
|
| 1146 |
+
xcb_x_print_print_get_screen_of_context_reply (xcb_connection_t *c,
|
| 1147 |
+
xcb_x_print_print_get_screen_of_context_cookie_t cookie /**< */,
|
| 1148 |
+
xcb_generic_error_t **e);
|
| 1149 |
+
|
| 1150 |
+
/**
|
| 1151 |
+
*
|
| 1152 |
+
* @param c The connection
|
| 1153 |
+
* @return A cookie
|
| 1154 |
+
*
|
| 1155 |
+
* Delivers a request to the X server.
|
| 1156 |
+
*
|
| 1157 |
+
* This form can be used only if the request will not cause
|
| 1158 |
+
* a reply to be generated. Any returned error will be
|
| 1159 |
+
* saved for handling by xcb_request_check().
|
| 1160 |
+
*/
|
| 1161 |
+
xcb_void_cookie_t
|
| 1162 |
+
xcb_x_print_print_start_job_checked (xcb_connection_t *c,
|
| 1163 |
+
uint8_t output_mode);
|
| 1164 |
+
|
| 1165 |
+
/**
|
| 1166 |
+
*
|
| 1167 |
+
* @param c The connection
|
| 1168 |
+
* @return A cookie
|
| 1169 |
+
*
|
| 1170 |
+
* Delivers a request to the X server.
|
| 1171 |
+
*
|
| 1172 |
+
*/
|
| 1173 |
+
xcb_void_cookie_t
|
| 1174 |
+
xcb_x_print_print_start_job (xcb_connection_t *c,
|
| 1175 |
+
uint8_t output_mode);
|
| 1176 |
+
|
| 1177 |
+
/**
|
| 1178 |
+
*
|
| 1179 |
+
* @param c The connection
|
| 1180 |
+
* @return A cookie
|
| 1181 |
+
*
|
| 1182 |
+
* Delivers a request to the X server.
|
| 1183 |
+
*
|
| 1184 |
+
* This form can be used only if the request will not cause
|
| 1185 |
+
* a reply to be generated. Any returned error will be
|
| 1186 |
+
* saved for handling by xcb_request_check().
|
| 1187 |
+
*/
|
| 1188 |
+
xcb_void_cookie_t
|
| 1189 |
+
xcb_x_print_print_end_job_checked (xcb_connection_t *c,
|
| 1190 |
+
uint8_t cancel);
|
| 1191 |
+
|
| 1192 |
+
/**
|
| 1193 |
+
*
|
| 1194 |
+
* @param c The connection
|
| 1195 |
+
* @return A cookie
|
| 1196 |
+
*
|
| 1197 |
+
* Delivers a request to the X server.
|
| 1198 |
+
*
|
| 1199 |
+
*/
|
| 1200 |
+
xcb_void_cookie_t
|
| 1201 |
+
xcb_x_print_print_end_job (xcb_connection_t *c,
|
| 1202 |
+
uint8_t cancel);
|
| 1203 |
+
|
| 1204 |
+
/**
|
| 1205 |
+
*
|
| 1206 |
+
* @param c The connection
|
| 1207 |
+
* @return A cookie
|
| 1208 |
+
*
|
| 1209 |
+
* Delivers a request to the X server.
|
| 1210 |
+
*
|
| 1211 |
+
* This form can be used only if the request will not cause
|
| 1212 |
+
* a reply to be generated. Any returned error will be
|
| 1213 |
+
* saved for handling by xcb_request_check().
|
| 1214 |
+
*/
|
| 1215 |
+
xcb_void_cookie_t
|
| 1216 |
+
xcb_x_print_print_start_doc_checked (xcb_connection_t *c,
|
| 1217 |
+
uint8_t driver_mode);
|
| 1218 |
+
|
| 1219 |
+
/**
|
| 1220 |
+
*
|
| 1221 |
+
* @param c The connection
|
| 1222 |
+
* @return A cookie
|
| 1223 |
+
*
|
| 1224 |
+
* Delivers a request to the X server.
|
| 1225 |
+
*
|
| 1226 |
+
*/
|
| 1227 |
+
xcb_void_cookie_t
|
| 1228 |
+
xcb_x_print_print_start_doc (xcb_connection_t *c,
|
| 1229 |
+
uint8_t driver_mode);
|
| 1230 |
+
|
| 1231 |
+
/**
|
| 1232 |
+
*
|
| 1233 |
+
* @param c The connection
|
| 1234 |
+
* @return A cookie
|
| 1235 |
+
*
|
| 1236 |
+
* Delivers a request to the X server.
|
| 1237 |
+
*
|
| 1238 |
+
* This form can be used only if the request will not cause
|
| 1239 |
+
* a reply to be generated. Any returned error will be
|
| 1240 |
+
* saved for handling by xcb_request_check().
|
| 1241 |
+
*/
|
| 1242 |
+
xcb_void_cookie_t
|
| 1243 |
+
xcb_x_print_print_end_doc_checked (xcb_connection_t *c,
|
| 1244 |
+
uint8_t cancel);
|
| 1245 |
+
|
| 1246 |
+
/**
|
| 1247 |
+
*
|
| 1248 |
+
* @param c The connection
|
| 1249 |
+
* @return A cookie
|
| 1250 |
+
*
|
| 1251 |
+
* Delivers a request to the X server.
|
| 1252 |
+
*
|
| 1253 |
+
*/
|
| 1254 |
+
xcb_void_cookie_t
|
| 1255 |
+
xcb_x_print_print_end_doc (xcb_connection_t *c,
|
| 1256 |
+
uint8_t cancel);
|
| 1257 |
+
|
| 1258 |
+
int
|
| 1259 |
+
xcb_x_print_print_put_document_data_sizeof (const void *_buffer);
|
| 1260 |
+
|
| 1261 |
+
/**
|
| 1262 |
+
*
|
| 1263 |
+
* @param c The connection
|
| 1264 |
+
* @return A cookie
|
| 1265 |
+
*
|
| 1266 |
+
* Delivers a request to the X server.
|
| 1267 |
+
*
|
| 1268 |
+
* This form can be used only if the request will not cause
|
| 1269 |
+
* a reply to be generated. Any returned error will be
|
| 1270 |
+
* saved for handling by xcb_request_check().
|
| 1271 |
+
*/
|
| 1272 |
+
xcb_void_cookie_t
|
| 1273 |
+
xcb_x_print_print_put_document_data_checked (xcb_connection_t *c,
|
| 1274 |
+
xcb_drawable_t drawable,
|
| 1275 |
+
uint32_t len_data,
|
| 1276 |
+
uint16_t len_fmt,
|
| 1277 |
+
uint16_t len_options,
|
| 1278 |
+
const uint8_t *data,
|
| 1279 |
+
const xcb_x_print_string8_t *doc_format,
|
| 1280 |
+
const xcb_x_print_string8_t *options);
|
| 1281 |
+
|
| 1282 |
+
/**
|
| 1283 |
+
*
|
| 1284 |
+
* @param c The connection
|
| 1285 |
+
* @return A cookie
|
| 1286 |
+
*
|
| 1287 |
+
* Delivers a request to the X server.
|
| 1288 |
+
*
|
| 1289 |
+
*/
|
| 1290 |
+
xcb_void_cookie_t
|
| 1291 |
+
xcb_x_print_print_put_document_data (xcb_connection_t *c,
|
| 1292 |
+
xcb_drawable_t drawable,
|
| 1293 |
+
uint32_t len_data,
|
| 1294 |
+
uint16_t len_fmt,
|
| 1295 |
+
uint16_t len_options,
|
| 1296 |
+
const uint8_t *data,
|
| 1297 |
+
const xcb_x_print_string8_t *doc_format,
|
| 1298 |
+
const xcb_x_print_string8_t *options);
|
| 1299 |
+
|
| 1300 |
+
uint8_t *
|
| 1301 |
+
xcb_x_print_print_put_document_data_data (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1302 |
+
|
| 1303 |
+
int
|
| 1304 |
+
xcb_x_print_print_put_document_data_data_length (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1305 |
+
|
| 1306 |
+
xcb_generic_iterator_t
|
| 1307 |
+
xcb_x_print_print_put_document_data_data_end (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1308 |
+
|
| 1309 |
+
xcb_x_print_string8_t *
|
| 1310 |
+
xcb_x_print_print_put_document_data_doc_format (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1311 |
+
|
| 1312 |
+
int
|
| 1313 |
+
xcb_x_print_print_put_document_data_doc_format_length (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1314 |
+
|
| 1315 |
+
xcb_generic_iterator_t
|
| 1316 |
+
xcb_x_print_print_put_document_data_doc_format_end (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1317 |
+
|
| 1318 |
+
xcb_x_print_string8_t *
|
| 1319 |
+
xcb_x_print_print_put_document_data_options (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1320 |
+
|
| 1321 |
+
int
|
| 1322 |
+
xcb_x_print_print_put_document_data_options_length (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1323 |
+
|
| 1324 |
+
xcb_generic_iterator_t
|
| 1325 |
+
xcb_x_print_print_put_document_data_options_end (const xcb_x_print_print_put_document_data_request_t *R);
|
| 1326 |
+
|
| 1327 |
+
int
|
| 1328 |
+
xcb_x_print_print_get_document_data_sizeof (const void *_buffer);
|
| 1329 |
+
|
| 1330 |
+
/**
|
| 1331 |
+
*
|
| 1332 |
+
* @param c The connection
|
| 1333 |
+
* @return A cookie
|
| 1334 |
+
*
|
| 1335 |
+
* Delivers a request to the X server.
|
| 1336 |
+
*
|
| 1337 |
+
*/
|
| 1338 |
+
xcb_x_print_print_get_document_data_cookie_t
|
| 1339 |
+
xcb_x_print_print_get_document_data (xcb_connection_t *c,
|
| 1340 |
+
xcb_x_print_pcontext_t context,
|
| 1341 |
+
uint32_t max_bytes);
|
| 1342 |
+
|
| 1343 |
+
/**
|
| 1344 |
+
*
|
| 1345 |
+
* @param c The connection
|
| 1346 |
+
* @return A cookie
|
| 1347 |
+
*
|
| 1348 |
+
* Delivers a request to the X server.
|
| 1349 |
+
*
|
| 1350 |
+
* This form can be used only if the request will cause
|
| 1351 |
+
* a reply to be generated. Any returned error will be
|
| 1352 |
+
* placed in the event queue.
|
| 1353 |
+
*/
|
| 1354 |
+
xcb_x_print_print_get_document_data_cookie_t
|
| 1355 |
+
xcb_x_print_print_get_document_data_unchecked (xcb_connection_t *c,
|
| 1356 |
+
xcb_x_print_pcontext_t context,
|
| 1357 |
+
uint32_t max_bytes);
|
| 1358 |
+
|
| 1359 |
+
uint8_t *
|
| 1360 |
+
xcb_x_print_print_get_document_data_data (const xcb_x_print_print_get_document_data_reply_t *R);
|
| 1361 |
+
|
| 1362 |
+
int
|
| 1363 |
+
xcb_x_print_print_get_document_data_data_length (const xcb_x_print_print_get_document_data_reply_t *R);
|
| 1364 |
+
|
| 1365 |
+
xcb_generic_iterator_t
|
| 1366 |
+
xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R);
|
| 1367 |
+
|
| 1368 |
+
/**
|
| 1369 |
+
* Return the reply
|
| 1370 |
+
* @param c The connection
|
| 1371 |
+
* @param cookie The cookie
|
| 1372 |
+
* @param e The xcb_generic_error_t supplied
|
| 1373 |
+
*
|
| 1374 |
+
* Returns the reply of the request asked by
|
| 1375 |
+
*
|
| 1376 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1377 |
+
* xcb_x_print_print_get_document_data_unchecked(). is used.
|
| 1378 |
+
* Otherwise, it stores the error if any.
|
| 1379 |
+
*
|
| 1380 |
+
* The returned value must be freed by the caller using free().
|
| 1381 |
+
*/
|
| 1382 |
+
xcb_x_print_print_get_document_data_reply_t *
|
| 1383 |
+
xcb_x_print_print_get_document_data_reply (xcb_connection_t *c,
|
| 1384 |
+
xcb_x_print_print_get_document_data_cookie_t cookie /**< */,
|
| 1385 |
+
xcb_generic_error_t **e);
|
| 1386 |
+
|
| 1387 |
+
/**
|
| 1388 |
+
*
|
| 1389 |
+
* @param c The connection
|
| 1390 |
+
* @return A cookie
|
| 1391 |
+
*
|
| 1392 |
+
* Delivers a request to the X server.
|
| 1393 |
+
*
|
| 1394 |
+
* This form can be used only if the request will not cause
|
| 1395 |
+
* a reply to be generated. Any returned error will be
|
| 1396 |
+
* saved for handling by xcb_request_check().
|
| 1397 |
+
*/
|
| 1398 |
+
xcb_void_cookie_t
|
| 1399 |
+
xcb_x_print_print_start_page_checked (xcb_connection_t *c,
|
| 1400 |
+
xcb_window_t window);
|
| 1401 |
+
|
| 1402 |
+
/**
|
| 1403 |
+
*
|
| 1404 |
+
* @param c The connection
|
| 1405 |
+
* @return A cookie
|
| 1406 |
+
*
|
| 1407 |
+
* Delivers a request to the X server.
|
| 1408 |
+
*
|
| 1409 |
+
*/
|
| 1410 |
+
xcb_void_cookie_t
|
| 1411 |
+
xcb_x_print_print_start_page (xcb_connection_t *c,
|
| 1412 |
+
xcb_window_t window);
|
| 1413 |
+
|
| 1414 |
+
/**
|
| 1415 |
+
*
|
| 1416 |
+
* @param c The connection
|
| 1417 |
+
* @return A cookie
|
| 1418 |
+
*
|
| 1419 |
+
* Delivers a request to the X server.
|
| 1420 |
+
*
|
| 1421 |
+
* This form can be used only if the request will not cause
|
| 1422 |
+
* a reply to be generated. Any returned error will be
|
| 1423 |
+
* saved for handling by xcb_request_check().
|
| 1424 |
+
*/
|
| 1425 |
+
xcb_void_cookie_t
|
| 1426 |
+
xcb_x_print_print_end_page_checked (xcb_connection_t *c,
|
| 1427 |
+
uint8_t cancel);
|
| 1428 |
+
|
| 1429 |
+
/**
|
| 1430 |
+
*
|
| 1431 |
+
* @param c The connection
|
| 1432 |
+
* @return A cookie
|
| 1433 |
+
*
|
| 1434 |
+
* Delivers a request to the X server.
|
| 1435 |
+
*
|
| 1436 |
+
*/
|
| 1437 |
+
xcb_void_cookie_t
|
| 1438 |
+
xcb_x_print_print_end_page (xcb_connection_t *c,
|
| 1439 |
+
uint8_t cancel);
|
| 1440 |
+
|
| 1441 |
+
/**
|
| 1442 |
+
*
|
| 1443 |
+
* @param c The connection
|
| 1444 |
+
* @return A cookie
|
| 1445 |
+
*
|
| 1446 |
+
* Delivers a request to the X server.
|
| 1447 |
+
*
|
| 1448 |
+
* This form can be used only if the request will not cause
|
| 1449 |
+
* a reply to be generated. Any returned error will be
|
| 1450 |
+
* saved for handling by xcb_request_check().
|
| 1451 |
+
*/
|
| 1452 |
+
xcb_void_cookie_t
|
| 1453 |
+
xcb_x_print_print_select_input_checked (xcb_connection_t *c,
|
| 1454 |
+
xcb_x_print_pcontext_t context,
|
| 1455 |
+
uint32_t event_mask);
|
| 1456 |
+
|
| 1457 |
+
/**
|
| 1458 |
+
*
|
| 1459 |
+
* @param c The connection
|
| 1460 |
+
* @return A cookie
|
| 1461 |
+
*
|
| 1462 |
+
* Delivers a request to the X server.
|
| 1463 |
+
*
|
| 1464 |
+
*/
|
| 1465 |
+
xcb_void_cookie_t
|
| 1466 |
+
xcb_x_print_print_select_input (xcb_connection_t *c,
|
| 1467 |
+
xcb_x_print_pcontext_t context,
|
| 1468 |
+
uint32_t event_mask);
|
| 1469 |
+
|
| 1470 |
+
/**
|
| 1471 |
+
*
|
| 1472 |
+
* @param c The connection
|
| 1473 |
+
* @return A cookie
|
| 1474 |
+
*
|
| 1475 |
+
* Delivers a request to the X server.
|
| 1476 |
+
*
|
| 1477 |
+
*/
|
| 1478 |
+
xcb_x_print_print_input_selected_cookie_t
|
| 1479 |
+
xcb_x_print_print_input_selected (xcb_connection_t *c,
|
| 1480 |
+
xcb_x_print_pcontext_t context);
|
| 1481 |
+
|
| 1482 |
+
/**
|
| 1483 |
+
*
|
| 1484 |
+
* @param c The connection
|
| 1485 |
+
* @return A cookie
|
| 1486 |
+
*
|
| 1487 |
+
* Delivers a request to the X server.
|
| 1488 |
+
*
|
| 1489 |
+
* This form can be used only if the request will cause
|
| 1490 |
+
* a reply to be generated. Any returned error will be
|
| 1491 |
+
* placed in the event queue.
|
| 1492 |
+
*/
|
| 1493 |
+
xcb_x_print_print_input_selected_cookie_t
|
| 1494 |
+
xcb_x_print_print_input_selected_unchecked (xcb_connection_t *c,
|
| 1495 |
+
xcb_x_print_pcontext_t context);
|
| 1496 |
+
|
| 1497 |
+
/**
|
| 1498 |
+
* Return the reply
|
| 1499 |
+
* @param c The connection
|
| 1500 |
+
* @param cookie The cookie
|
| 1501 |
+
* @param e The xcb_generic_error_t supplied
|
| 1502 |
+
*
|
| 1503 |
+
* Returns the reply of the request asked by
|
| 1504 |
+
*
|
| 1505 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1506 |
+
* xcb_x_print_print_input_selected_unchecked(). is used.
|
| 1507 |
+
* Otherwise, it stores the error if any.
|
| 1508 |
+
*
|
| 1509 |
+
* The returned value must be freed by the caller using free().
|
| 1510 |
+
*/
|
| 1511 |
+
xcb_x_print_print_input_selected_reply_t *
|
| 1512 |
+
xcb_x_print_print_input_selected_reply (xcb_connection_t *c,
|
| 1513 |
+
xcb_x_print_print_input_selected_cookie_t cookie /**< */,
|
| 1514 |
+
xcb_generic_error_t **e);
|
| 1515 |
+
|
| 1516 |
+
int
|
| 1517 |
+
xcb_x_print_print_get_attributes_sizeof (const void *_buffer);
|
| 1518 |
+
|
| 1519 |
+
/**
|
| 1520 |
+
*
|
| 1521 |
+
* @param c The connection
|
| 1522 |
+
* @return A cookie
|
| 1523 |
+
*
|
| 1524 |
+
* Delivers a request to the X server.
|
| 1525 |
+
*
|
| 1526 |
+
*/
|
| 1527 |
+
xcb_x_print_print_get_attributes_cookie_t
|
| 1528 |
+
xcb_x_print_print_get_attributes (xcb_connection_t *c,
|
| 1529 |
+
xcb_x_print_pcontext_t context,
|
| 1530 |
+
uint8_t pool);
|
| 1531 |
+
|
| 1532 |
+
/**
|
| 1533 |
+
*
|
| 1534 |
+
* @param c The connection
|
| 1535 |
+
* @return A cookie
|
| 1536 |
+
*
|
| 1537 |
+
* Delivers a request to the X server.
|
| 1538 |
+
*
|
| 1539 |
+
* This form can be used only if the request will cause
|
| 1540 |
+
* a reply to be generated. Any returned error will be
|
| 1541 |
+
* placed in the event queue.
|
| 1542 |
+
*/
|
| 1543 |
+
xcb_x_print_print_get_attributes_cookie_t
|
| 1544 |
+
xcb_x_print_print_get_attributes_unchecked (xcb_connection_t *c,
|
| 1545 |
+
xcb_x_print_pcontext_t context,
|
| 1546 |
+
uint8_t pool);
|
| 1547 |
+
|
| 1548 |
+
xcb_x_print_string8_t *
|
| 1549 |
+
xcb_x_print_print_get_attributes_attributes (const xcb_x_print_print_get_attributes_reply_t *R);
|
| 1550 |
+
|
| 1551 |
+
int
|
| 1552 |
+
xcb_x_print_print_get_attributes_attributes_length (const xcb_x_print_print_get_attributes_reply_t *R);
|
| 1553 |
+
|
| 1554 |
+
xcb_generic_iterator_t
|
| 1555 |
+
xcb_x_print_print_get_attributes_attributes_end (const xcb_x_print_print_get_attributes_reply_t *R);
|
| 1556 |
+
|
| 1557 |
+
/**
|
| 1558 |
+
* Return the reply
|
| 1559 |
+
* @param c The connection
|
| 1560 |
+
* @param cookie The cookie
|
| 1561 |
+
* @param e The xcb_generic_error_t supplied
|
| 1562 |
+
*
|
| 1563 |
+
* Returns the reply of the request asked by
|
| 1564 |
+
*
|
| 1565 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1566 |
+
* xcb_x_print_print_get_attributes_unchecked(). is used.
|
| 1567 |
+
* Otherwise, it stores the error if any.
|
| 1568 |
+
*
|
| 1569 |
+
* The returned value must be freed by the caller using free().
|
| 1570 |
+
*/
|
| 1571 |
+
xcb_x_print_print_get_attributes_reply_t *
|
| 1572 |
+
xcb_x_print_print_get_attributes_reply (xcb_connection_t *c,
|
| 1573 |
+
xcb_x_print_print_get_attributes_cookie_t cookie /**< */,
|
| 1574 |
+
xcb_generic_error_t **e);
|
| 1575 |
+
|
| 1576 |
+
int
|
| 1577 |
+
xcb_x_print_print_get_one_attributes_sizeof (const void *_buffer);
|
| 1578 |
+
|
| 1579 |
+
/**
|
| 1580 |
+
*
|
| 1581 |
+
* @param c The connection
|
| 1582 |
+
* @return A cookie
|
| 1583 |
+
*
|
| 1584 |
+
* Delivers a request to the X server.
|
| 1585 |
+
*
|
| 1586 |
+
*/
|
| 1587 |
+
xcb_x_print_print_get_one_attributes_cookie_t
|
| 1588 |
+
xcb_x_print_print_get_one_attributes (xcb_connection_t *c,
|
| 1589 |
+
xcb_x_print_pcontext_t context,
|
| 1590 |
+
uint32_t nameLen,
|
| 1591 |
+
uint8_t pool,
|
| 1592 |
+
const xcb_x_print_string8_t *name);
|
| 1593 |
+
|
| 1594 |
+
/**
|
| 1595 |
+
*
|
| 1596 |
+
* @param c The connection
|
| 1597 |
+
* @return A cookie
|
| 1598 |
+
*
|
| 1599 |
+
* Delivers a request to the X server.
|
| 1600 |
+
*
|
| 1601 |
+
* This form can be used only if the request will cause
|
| 1602 |
+
* a reply to be generated. Any returned error will be
|
| 1603 |
+
* placed in the event queue.
|
| 1604 |
+
*/
|
| 1605 |
+
xcb_x_print_print_get_one_attributes_cookie_t
|
| 1606 |
+
xcb_x_print_print_get_one_attributes_unchecked (xcb_connection_t *c,
|
| 1607 |
+
xcb_x_print_pcontext_t context,
|
| 1608 |
+
uint32_t nameLen,
|
| 1609 |
+
uint8_t pool,
|
| 1610 |
+
const xcb_x_print_string8_t *name);
|
| 1611 |
+
|
| 1612 |
+
xcb_x_print_string8_t *
|
| 1613 |
+
xcb_x_print_print_get_one_attributes_value (const xcb_x_print_print_get_one_attributes_reply_t *R);
|
| 1614 |
+
|
| 1615 |
+
int
|
| 1616 |
+
xcb_x_print_print_get_one_attributes_value_length (const xcb_x_print_print_get_one_attributes_reply_t *R);
|
| 1617 |
+
|
| 1618 |
+
xcb_generic_iterator_t
|
| 1619 |
+
xcb_x_print_print_get_one_attributes_value_end (const xcb_x_print_print_get_one_attributes_reply_t *R);
|
| 1620 |
+
|
| 1621 |
+
/**
|
| 1622 |
+
* Return the reply
|
| 1623 |
+
* @param c The connection
|
| 1624 |
+
* @param cookie The cookie
|
| 1625 |
+
* @param e The xcb_generic_error_t supplied
|
| 1626 |
+
*
|
| 1627 |
+
* Returns the reply of the request asked by
|
| 1628 |
+
*
|
| 1629 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1630 |
+
* xcb_x_print_print_get_one_attributes_unchecked(). is used.
|
| 1631 |
+
* Otherwise, it stores the error if any.
|
| 1632 |
+
*
|
| 1633 |
+
* The returned value must be freed by the caller using free().
|
| 1634 |
+
*/
|
| 1635 |
+
xcb_x_print_print_get_one_attributes_reply_t *
|
| 1636 |
+
xcb_x_print_print_get_one_attributes_reply (xcb_connection_t *c,
|
| 1637 |
+
xcb_x_print_print_get_one_attributes_cookie_t cookie /**< */,
|
| 1638 |
+
xcb_generic_error_t **e);
|
| 1639 |
+
|
| 1640 |
+
int
|
| 1641 |
+
xcb_x_print_print_set_attributes_sizeof (const void *_buffer,
|
| 1642 |
+
uint32_t attributes_len);
|
| 1643 |
+
|
| 1644 |
+
/**
|
| 1645 |
+
*
|
| 1646 |
+
* @param c The connection
|
| 1647 |
+
* @return A cookie
|
| 1648 |
+
*
|
| 1649 |
+
* Delivers a request to the X server.
|
| 1650 |
+
*
|
| 1651 |
+
* This form can be used only if the request will not cause
|
| 1652 |
+
* a reply to be generated. Any returned error will be
|
| 1653 |
+
* saved for handling by xcb_request_check().
|
| 1654 |
+
*/
|
| 1655 |
+
xcb_void_cookie_t
|
| 1656 |
+
xcb_x_print_print_set_attributes_checked (xcb_connection_t *c,
|
| 1657 |
+
xcb_x_print_pcontext_t context,
|
| 1658 |
+
uint32_t stringLen,
|
| 1659 |
+
uint8_t pool,
|
| 1660 |
+
uint8_t rule,
|
| 1661 |
+
uint32_t attributes_len,
|
| 1662 |
+
const xcb_x_print_string8_t *attributes);
|
| 1663 |
+
|
| 1664 |
+
/**
|
| 1665 |
+
*
|
| 1666 |
+
* @param c The connection
|
| 1667 |
+
* @return A cookie
|
| 1668 |
+
*
|
| 1669 |
+
* Delivers a request to the X server.
|
| 1670 |
+
*
|
| 1671 |
+
*/
|
| 1672 |
+
xcb_void_cookie_t
|
| 1673 |
+
xcb_x_print_print_set_attributes (xcb_connection_t *c,
|
| 1674 |
+
xcb_x_print_pcontext_t context,
|
| 1675 |
+
uint32_t stringLen,
|
| 1676 |
+
uint8_t pool,
|
| 1677 |
+
uint8_t rule,
|
| 1678 |
+
uint32_t attributes_len,
|
| 1679 |
+
const xcb_x_print_string8_t *attributes);
|
| 1680 |
+
|
| 1681 |
+
xcb_x_print_string8_t *
|
| 1682 |
+
xcb_x_print_print_set_attributes_attributes (const xcb_x_print_print_set_attributes_request_t *R);
|
| 1683 |
+
|
| 1684 |
+
int
|
| 1685 |
+
xcb_x_print_print_set_attributes_attributes_length (const xcb_x_print_print_set_attributes_request_t *R);
|
| 1686 |
+
|
| 1687 |
+
xcb_generic_iterator_t
|
| 1688 |
+
xcb_x_print_print_set_attributes_attributes_end (const xcb_x_print_print_set_attributes_request_t *R);
|
| 1689 |
+
|
| 1690 |
+
/**
|
| 1691 |
+
*
|
| 1692 |
+
* @param c The connection
|
| 1693 |
+
* @return A cookie
|
| 1694 |
+
*
|
| 1695 |
+
* Delivers a request to the X server.
|
| 1696 |
+
*
|
| 1697 |
+
*/
|
| 1698 |
+
xcb_x_print_print_get_page_dimensions_cookie_t
|
| 1699 |
+
xcb_x_print_print_get_page_dimensions (xcb_connection_t *c,
|
| 1700 |
+
xcb_x_print_pcontext_t context);
|
| 1701 |
+
|
| 1702 |
+
/**
|
| 1703 |
+
*
|
| 1704 |
+
* @param c The connection
|
| 1705 |
+
* @return A cookie
|
| 1706 |
+
*
|
| 1707 |
+
* Delivers a request to the X server.
|
| 1708 |
+
*
|
| 1709 |
+
* This form can be used only if the request will cause
|
| 1710 |
+
* a reply to be generated. Any returned error will be
|
| 1711 |
+
* placed in the event queue.
|
| 1712 |
+
*/
|
| 1713 |
+
xcb_x_print_print_get_page_dimensions_cookie_t
|
| 1714 |
+
xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t *c,
|
| 1715 |
+
xcb_x_print_pcontext_t context);
|
| 1716 |
+
|
| 1717 |
+
/**
|
| 1718 |
+
* Return the reply
|
| 1719 |
+
* @param c The connection
|
| 1720 |
+
* @param cookie The cookie
|
| 1721 |
+
* @param e The xcb_generic_error_t supplied
|
| 1722 |
+
*
|
| 1723 |
+
* Returns the reply of the request asked by
|
| 1724 |
+
*
|
| 1725 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1726 |
+
* xcb_x_print_print_get_page_dimensions_unchecked(). is used.
|
| 1727 |
+
* Otherwise, it stores the error if any.
|
| 1728 |
+
*
|
| 1729 |
+
* The returned value must be freed by the caller using free().
|
| 1730 |
+
*/
|
| 1731 |
+
xcb_x_print_print_get_page_dimensions_reply_t *
|
| 1732 |
+
xcb_x_print_print_get_page_dimensions_reply (xcb_connection_t *c,
|
| 1733 |
+
xcb_x_print_print_get_page_dimensions_cookie_t cookie /**< */,
|
| 1734 |
+
xcb_generic_error_t **e);
|
| 1735 |
+
|
| 1736 |
+
int
|
| 1737 |
+
xcb_x_print_print_query_screens_sizeof (const void *_buffer);
|
| 1738 |
+
|
| 1739 |
+
/**
|
| 1740 |
+
*
|
| 1741 |
+
* @param c The connection
|
| 1742 |
+
* @return A cookie
|
| 1743 |
+
*
|
| 1744 |
+
* Delivers a request to the X server.
|
| 1745 |
+
*
|
| 1746 |
+
*/
|
| 1747 |
+
xcb_x_print_print_query_screens_cookie_t
|
| 1748 |
+
xcb_x_print_print_query_screens (xcb_connection_t *c);
|
| 1749 |
+
|
| 1750 |
+
/**
|
| 1751 |
+
*
|
| 1752 |
+
* @param c The connection
|
| 1753 |
+
* @return A cookie
|
| 1754 |
+
*
|
| 1755 |
+
* Delivers a request to the X server.
|
| 1756 |
+
*
|
| 1757 |
+
* This form can be used only if the request will cause
|
| 1758 |
+
* a reply to be generated. Any returned error will be
|
| 1759 |
+
* placed in the event queue.
|
| 1760 |
+
*/
|
| 1761 |
+
xcb_x_print_print_query_screens_cookie_t
|
| 1762 |
+
xcb_x_print_print_query_screens_unchecked (xcb_connection_t *c);
|
| 1763 |
+
|
| 1764 |
+
xcb_window_t *
|
| 1765 |
+
xcb_x_print_print_query_screens_roots (const xcb_x_print_print_query_screens_reply_t *R);
|
| 1766 |
+
|
| 1767 |
+
int
|
| 1768 |
+
xcb_x_print_print_query_screens_roots_length (const xcb_x_print_print_query_screens_reply_t *R);
|
| 1769 |
+
|
| 1770 |
+
xcb_generic_iterator_t
|
| 1771 |
+
xcb_x_print_print_query_screens_roots_end (const xcb_x_print_print_query_screens_reply_t *R);
|
| 1772 |
+
|
| 1773 |
+
/**
|
| 1774 |
+
* Return the reply
|
| 1775 |
+
* @param c The connection
|
| 1776 |
+
* @param cookie The cookie
|
| 1777 |
+
* @param e The xcb_generic_error_t supplied
|
| 1778 |
+
*
|
| 1779 |
+
* Returns the reply of the request asked by
|
| 1780 |
+
*
|
| 1781 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1782 |
+
* xcb_x_print_print_query_screens_unchecked(). is used.
|
| 1783 |
+
* Otherwise, it stores the error if any.
|
| 1784 |
+
*
|
| 1785 |
+
* The returned value must be freed by the caller using free().
|
| 1786 |
+
*/
|
| 1787 |
+
xcb_x_print_print_query_screens_reply_t *
|
| 1788 |
+
xcb_x_print_print_query_screens_reply (xcb_connection_t *c,
|
| 1789 |
+
xcb_x_print_print_query_screens_cookie_t cookie /**< */,
|
| 1790 |
+
xcb_generic_error_t **e);
|
| 1791 |
+
|
| 1792 |
+
/**
|
| 1793 |
+
*
|
| 1794 |
+
* @param c The connection
|
| 1795 |
+
* @return A cookie
|
| 1796 |
+
*
|
| 1797 |
+
* Delivers a request to the X server.
|
| 1798 |
+
*
|
| 1799 |
+
*/
|
| 1800 |
+
xcb_x_print_print_set_image_resolution_cookie_t
|
| 1801 |
+
xcb_x_print_print_set_image_resolution (xcb_connection_t *c,
|
| 1802 |
+
xcb_x_print_pcontext_t context,
|
| 1803 |
+
uint16_t image_resolution);
|
| 1804 |
+
|
| 1805 |
+
/**
|
| 1806 |
+
*
|
| 1807 |
+
* @param c The connection
|
| 1808 |
+
* @return A cookie
|
| 1809 |
+
*
|
| 1810 |
+
* Delivers a request to the X server.
|
| 1811 |
+
*
|
| 1812 |
+
* This form can be used only if the request will cause
|
| 1813 |
+
* a reply to be generated. Any returned error will be
|
| 1814 |
+
* placed in the event queue.
|
| 1815 |
+
*/
|
| 1816 |
+
xcb_x_print_print_set_image_resolution_cookie_t
|
| 1817 |
+
xcb_x_print_print_set_image_resolution_unchecked (xcb_connection_t *c,
|
| 1818 |
+
xcb_x_print_pcontext_t context,
|
| 1819 |
+
uint16_t image_resolution);
|
| 1820 |
+
|
| 1821 |
+
/**
|
| 1822 |
+
* Return the reply
|
| 1823 |
+
* @param c The connection
|
| 1824 |
+
* @param cookie The cookie
|
| 1825 |
+
* @param e The xcb_generic_error_t supplied
|
| 1826 |
+
*
|
| 1827 |
+
* Returns the reply of the request asked by
|
| 1828 |
+
*
|
| 1829 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1830 |
+
* xcb_x_print_print_set_image_resolution_unchecked(). is used.
|
| 1831 |
+
* Otherwise, it stores the error if any.
|
| 1832 |
+
*
|
| 1833 |
+
* The returned value must be freed by the caller using free().
|
| 1834 |
+
*/
|
| 1835 |
+
xcb_x_print_print_set_image_resolution_reply_t *
|
| 1836 |
+
xcb_x_print_print_set_image_resolution_reply (xcb_connection_t *c,
|
| 1837 |
+
xcb_x_print_print_set_image_resolution_cookie_t cookie /**< */,
|
| 1838 |
+
xcb_generic_error_t **e);
|
| 1839 |
+
|
| 1840 |
+
/**
|
| 1841 |
+
*
|
| 1842 |
+
* @param c The connection
|
| 1843 |
+
* @return A cookie
|
| 1844 |
+
*
|
| 1845 |
+
* Delivers a request to the X server.
|
| 1846 |
+
*
|
| 1847 |
+
*/
|
| 1848 |
+
xcb_x_print_print_get_image_resolution_cookie_t
|
| 1849 |
+
xcb_x_print_print_get_image_resolution (xcb_connection_t *c,
|
| 1850 |
+
xcb_x_print_pcontext_t context);
|
| 1851 |
+
|
| 1852 |
+
/**
|
| 1853 |
+
*
|
| 1854 |
+
* @param c The connection
|
| 1855 |
+
* @return A cookie
|
| 1856 |
+
*
|
| 1857 |
+
* Delivers a request to the X server.
|
| 1858 |
+
*
|
| 1859 |
+
* This form can be used only if the request will cause
|
| 1860 |
+
* a reply to be generated. Any returned error will be
|
| 1861 |
+
* placed in the event queue.
|
| 1862 |
+
*/
|
| 1863 |
+
xcb_x_print_print_get_image_resolution_cookie_t
|
| 1864 |
+
xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t *c,
|
| 1865 |
+
xcb_x_print_pcontext_t context);
|
| 1866 |
+
|
| 1867 |
+
/**
|
| 1868 |
+
* Return the reply
|
| 1869 |
+
* @param c The connection
|
| 1870 |
+
* @param cookie The cookie
|
| 1871 |
+
* @param e The xcb_generic_error_t supplied
|
| 1872 |
+
*
|
| 1873 |
+
* Returns the reply of the request asked by
|
| 1874 |
+
*
|
| 1875 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1876 |
+
* xcb_x_print_print_get_image_resolution_unchecked(). is used.
|
| 1877 |
+
* Otherwise, it stores the error if any.
|
| 1878 |
+
*
|
| 1879 |
+
* The returned value must be freed by the caller using free().
|
| 1880 |
+
*/
|
| 1881 |
+
xcb_x_print_print_get_image_resolution_reply_t *
|
| 1882 |
+
xcb_x_print_print_get_image_resolution_reply (xcb_connection_t *c,
|
| 1883 |
+
xcb_x_print_print_get_image_resolution_cookie_t cookie /**< */,
|
| 1884 |
+
xcb_generic_error_t **e);
|
| 1885 |
+
|
| 1886 |
+
|
| 1887 |
+
#ifdef __cplusplus
|
| 1888 |
+
}
|
| 1889 |
+
#endif
|
| 1890 |
+
|
| 1891 |
+
#endif
|
| 1892 |
+
|
| 1893 |
+
/**
|
| 1894 |
+
* @}
|
| 1895 |
+
*/
|
miniconda3/envs/ladir/include/xcb/xproto.h
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
miniconda3/envs/ladir/include/xcb/xselinux.h
ADDED
|
@@ -0,0 +1,1889 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xselinux.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_SELinux_API XCB SELinux API
|
| 8 |
+
* @brief SELinux XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XSELINUX_H
|
| 13 |
+
#define __XSELINUX_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_SELINUX_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_SELINUX_MINOR_VERSION 0
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_selinux_id;
|
| 26 |
+
|
| 27 |
+
/**
|
| 28 |
+
* @brief xcb_selinux_query_version_cookie_t
|
| 29 |
+
**/
|
| 30 |
+
typedef struct xcb_selinux_query_version_cookie_t {
|
| 31 |
+
unsigned int sequence;
|
| 32 |
+
} xcb_selinux_query_version_cookie_t;
|
| 33 |
+
|
| 34 |
+
/** Opcode for xcb_selinux_query_version. */
|
| 35 |
+
#define XCB_SELINUX_QUERY_VERSION 0
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* @brief xcb_selinux_query_version_request_t
|
| 39 |
+
**/
|
| 40 |
+
typedef struct xcb_selinux_query_version_request_t {
|
| 41 |
+
uint8_t major_opcode;
|
| 42 |
+
uint8_t minor_opcode;
|
| 43 |
+
uint16_t length;
|
| 44 |
+
uint8_t client_major;
|
| 45 |
+
uint8_t client_minor;
|
| 46 |
+
} xcb_selinux_query_version_request_t;
|
| 47 |
+
|
| 48 |
+
/**
|
| 49 |
+
* @brief xcb_selinux_query_version_reply_t
|
| 50 |
+
**/
|
| 51 |
+
typedef struct xcb_selinux_query_version_reply_t {
|
| 52 |
+
uint8_t response_type;
|
| 53 |
+
uint8_t pad0;
|
| 54 |
+
uint16_t sequence;
|
| 55 |
+
uint32_t length;
|
| 56 |
+
uint16_t server_major;
|
| 57 |
+
uint16_t server_minor;
|
| 58 |
+
} xcb_selinux_query_version_reply_t;
|
| 59 |
+
|
| 60 |
+
/** Opcode for xcb_selinux_set_device_create_context. */
|
| 61 |
+
#define XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT 1
|
| 62 |
+
|
| 63 |
+
/**
|
| 64 |
+
* @brief xcb_selinux_set_device_create_context_request_t
|
| 65 |
+
**/
|
| 66 |
+
typedef struct xcb_selinux_set_device_create_context_request_t {
|
| 67 |
+
uint8_t major_opcode;
|
| 68 |
+
uint8_t minor_opcode;
|
| 69 |
+
uint16_t length;
|
| 70 |
+
uint32_t context_len;
|
| 71 |
+
} xcb_selinux_set_device_create_context_request_t;
|
| 72 |
+
|
| 73 |
+
/**
|
| 74 |
+
* @brief xcb_selinux_get_device_create_context_cookie_t
|
| 75 |
+
**/
|
| 76 |
+
typedef struct xcb_selinux_get_device_create_context_cookie_t {
|
| 77 |
+
unsigned int sequence;
|
| 78 |
+
} xcb_selinux_get_device_create_context_cookie_t;
|
| 79 |
+
|
| 80 |
+
/** Opcode for xcb_selinux_get_device_create_context. */
|
| 81 |
+
#define XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT 2
|
| 82 |
+
|
| 83 |
+
/**
|
| 84 |
+
* @brief xcb_selinux_get_device_create_context_request_t
|
| 85 |
+
**/
|
| 86 |
+
typedef struct xcb_selinux_get_device_create_context_request_t {
|
| 87 |
+
uint8_t major_opcode;
|
| 88 |
+
uint8_t minor_opcode;
|
| 89 |
+
uint16_t length;
|
| 90 |
+
} xcb_selinux_get_device_create_context_request_t;
|
| 91 |
+
|
| 92 |
+
/**
|
| 93 |
+
* @brief xcb_selinux_get_device_create_context_reply_t
|
| 94 |
+
**/
|
| 95 |
+
typedef struct xcb_selinux_get_device_create_context_reply_t {
|
| 96 |
+
uint8_t response_type;
|
| 97 |
+
uint8_t pad0;
|
| 98 |
+
uint16_t sequence;
|
| 99 |
+
uint32_t length;
|
| 100 |
+
uint32_t context_len;
|
| 101 |
+
uint8_t pad1[20];
|
| 102 |
+
} xcb_selinux_get_device_create_context_reply_t;
|
| 103 |
+
|
| 104 |
+
/** Opcode for xcb_selinux_set_device_context. */
|
| 105 |
+
#define XCB_SELINUX_SET_DEVICE_CONTEXT 3
|
| 106 |
+
|
| 107 |
+
/**
|
| 108 |
+
* @brief xcb_selinux_set_device_context_request_t
|
| 109 |
+
**/
|
| 110 |
+
typedef struct xcb_selinux_set_device_context_request_t {
|
| 111 |
+
uint8_t major_opcode;
|
| 112 |
+
uint8_t minor_opcode;
|
| 113 |
+
uint16_t length;
|
| 114 |
+
uint32_t device;
|
| 115 |
+
uint32_t context_len;
|
| 116 |
+
} xcb_selinux_set_device_context_request_t;
|
| 117 |
+
|
| 118 |
+
/**
|
| 119 |
+
* @brief xcb_selinux_get_device_context_cookie_t
|
| 120 |
+
**/
|
| 121 |
+
typedef struct xcb_selinux_get_device_context_cookie_t {
|
| 122 |
+
unsigned int sequence;
|
| 123 |
+
} xcb_selinux_get_device_context_cookie_t;
|
| 124 |
+
|
| 125 |
+
/** Opcode for xcb_selinux_get_device_context. */
|
| 126 |
+
#define XCB_SELINUX_GET_DEVICE_CONTEXT 4
|
| 127 |
+
|
| 128 |
+
/**
|
| 129 |
+
* @brief xcb_selinux_get_device_context_request_t
|
| 130 |
+
**/
|
| 131 |
+
typedef struct xcb_selinux_get_device_context_request_t {
|
| 132 |
+
uint8_t major_opcode;
|
| 133 |
+
uint8_t minor_opcode;
|
| 134 |
+
uint16_t length;
|
| 135 |
+
uint32_t device;
|
| 136 |
+
} xcb_selinux_get_device_context_request_t;
|
| 137 |
+
|
| 138 |
+
/**
|
| 139 |
+
* @brief xcb_selinux_get_device_context_reply_t
|
| 140 |
+
**/
|
| 141 |
+
typedef struct xcb_selinux_get_device_context_reply_t {
|
| 142 |
+
uint8_t response_type;
|
| 143 |
+
uint8_t pad0;
|
| 144 |
+
uint16_t sequence;
|
| 145 |
+
uint32_t length;
|
| 146 |
+
uint32_t context_len;
|
| 147 |
+
uint8_t pad1[20];
|
| 148 |
+
} xcb_selinux_get_device_context_reply_t;
|
| 149 |
+
|
| 150 |
+
/** Opcode for xcb_selinux_set_window_create_context. */
|
| 151 |
+
#define XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT 5
|
| 152 |
+
|
| 153 |
+
/**
|
| 154 |
+
* @brief xcb_selinux_set_window_create_context_request_t
|
| 155 |
+
**/
|
| 156 |
+
typedef struct xcb_selinux_set_window_create_context_request_t {
|
| 157 |
+
uint8_t major_opcode;
|
| 158 |
+
uint8_t minor_opcode;
|
| 159 |
+
uint16_t length;
|
| 160 |
+
uint32_t context_len;
|
| 161 |
+
} xcb_selinux_set_window_create_context_request_t;
|
| 162 |
+
|
| 163 |
+
/**
|
| 164 |
+
* @brief xcb_selinux_get_window_create_context_cookie_t
|
| 165 |
+
**/
|
| 166 |
+
typedef struct xcb_selinux_get_window_create_context_cookie_t {
|
| 167 |
+
unsigned int sequence;
|
| 168 |
+
} xcb_selinux_get_window_create_context_cookie_t;
|
| 169 |
+
|
| 170 |
+
/** Opcode for xcb_selinux_get_window_create_context. */
|
| 171 |
+
#define XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT 6
|
| 172 |
+
|
| 173 |
+
/**
|
| 174 |
+
* @brief xcb_selinux_get_window_create_context_request_t
|
| 175 |
+
**/
|
| 176 |
+
typedef struct xcb_selinux_get_window_create_context_request_t {
|
| 177 |
+
uint8_t major_opcode;
|
| 178 |
+
uint8_t minor_opcode;
|
| 179 |
+
uint16_t length;
|
| 180 |
+
} xcb_selinux_get_window_create_context_request_t;
|
| 181 |
+
|
| 182 |
+
/**
|
| 183 |
+
* @brief xcb_selinux_get_window_create_context_reply_t
|
| 184 |
+
**/
|
| 185 |
+
typedef struct xcb_selinux_get_window_create_context_reply_t {
|
| 186 |
+
uint8_t response_type;
|
| 187 |
+
uint8_t pad0;
|
| 188 |
+
uint16_t sequence;
|
| 189 |
+
uint32_t length;
|
| 190 |
+
uint32_t context_len;
|
| 191 |
+
uint8_t pad1[20];
|
| 192 |
+
} xcb_selinux_get_window_create_context_reply_t;
|
| 193 |
+
|
| 194 |
+
/**
|
| 195 |
+
* @brief xcb_selinux_get_window_context_cookie_t
|
| 196 |
+
**/
|
| 197 |
+
typedef struct xcb_selinux_get_window_context_cookie_t {
|
| 198 |
+
unsigned int sequence;
|
| 199 |
+
} xcb_selinux_get_window_context_cookie_t;
|
| 200 |
+
|
| 201 |
+
/** Opcode for xcb_selinux_get_window_context. */
|
| 202 |
+
#define XCB_SELINUX_GET_WINDOW_CONTEXT 7
|
| 203 |
+
|
| 204 |
+
/**
|
| 205 |
+
* @brief xcb_selinux_get_window_context_request_t
|
| 206 |
+
**/
|
| 207 |
+
typedef struct xcb_selinux_get_window_context_request_t {
|
| 208 |
+
uint8_t major_opcode;
|
| 209 |
+
uint8_t minor_opcode;
|
| 210 |
+
uint16_t length;
|
| 211 |
+
xcb_window_t window;
|
| 212 |
+
} xcb_selinux_get_window_context_request_t;
|
| 213 |
+
|
| 214 |
+
/**
|
| 215 |
+
* @brief xcb_selinux_get_window_context_reply_t
|
| 216 |
+
**/
|
| 217 |
+
typedef struct xcb_selinux_get_window_context_reply_t {
|
| 218 |
+
uint8_t response_type;
|
| 219 |
+
uint8_t pad0;
|
| 220 |
+
uint16_t sequence;
|
| 221 |
+
uint32_t length;
|
| 222 |
+
uint32_t context_len;
|
| 223 |
+
uint8_t pad1[20];
|
| 224 |
+
} xcb_selinux_get_window_context_reply_t;
|
| 225 |
+
|
| 226 |
+
/**
|
| 227 |
+
* @brief xcb_selinux_list_item_t
|
| 228 |
+
**/
|
| 229 |
+
typedef struct xcb_selinux_list_item_t {
|
| 230 |
+
xcb_atom_t name;
|
| 231 |
+
uint32_t object_context_len;
|
| 232 |
+
uint32_t data_context_len;
|
| 233 |
+
} xcb_selinux_list_item_t;
|
| 234 |
+
|
| 235 |
+
/**
|
| 236 |
+
* @brief xcb_selinux_list_item_iterator_t
|
| 237 |
+
**/
|
| 238 |
+
typedef struct xcb_selinux_list_item_iterator_t {
|
| 239 |
+
xcb_selinux_list_item_t *data;
|
| 240 |
+
int rem;
|
| 241 |
+
int index;
|
| 242 |
+
} xcb_selinux_list_item_iterator_t;
|
| 243 |
+
|
| 244 |
+
/** Opcode for xcb_selinux_set_property_create_context. */
|
| 245 |
+
#define XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT 8
|
| 246 |
+
|
| 247 |
+
/**
|
| 248 |
+
* @brief xcb_selinux_set_property_create_context_request_t
|
| 249 |
+
**/
|
| 250 |
+
typedef struct xcb_selinux_set_property_create_context_request_t {
|
| 251 |
+
uint8_t major_opcode;
|
| 252 |
+
uint8_t minor_opcode;
|
| 253 |
+
uint16_t length;
|
| 254 |
+
uint32_t context_len;
|
| 255 |
+
} xcb_selinux_set_property_create_context_request_t;
|
| 256 |
+
|
| 257 |
+
/**
|
| 258 |
+
* @brief xcb_selinux_get_property_create_context_cookie_t
|
| 259 |
+
**/
|
| 260 |
+
typedef struct xcb_selinux_get_property_create_context_cookie_t {
|
| 261 |
+
unsigned int sequence;
|
| 262 |
+
} xcb_selinux_get_property_create_context_cookie_t;
|
| 263 |
+
|
| 264 |
+
/** Opcode for xcb_selinux_get_property_create_context. */
|
| 265 |
+
#define XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT 9
|
| 266 |
+
|
| 267 |
+
/**
|
| 268 |
+
* @brief xcb_selinux_get_property_create_context_request_t
|
| 269 |
+
**/
|
| 270 |
+
typedef struct xcb_selinux_get_property_create_context_request_t {
|
| 271 |
+
uint8_t major_opcode;
|
| 272 |
+
uint8_t minor_opcode;
|
| 273 |
+
uint16_t length;
|
| 274 |
+
} xcb_selinux_get_property_create_context_request_t;
|
| 275 |
+
|
| 276 |
+
/**
|
| 277 |
+
* @brief xcb_selinux_get_property_create_context_reply_t
|
| 278 |
+
**/
|
| 279 |
+
typedef struct xcb_selinux_get_property_create_context_reply_t {
|
| 280 |
+
uint8_t response_type;
|
| 281 |
+
uint8_t pad0;
|
| 282 |
+
uint16_t sequence;
|
| 283 |
+
uint32_t length;
|
| 284 |
+
uint32_t context_len;
|
| 285 |
+
uint8_t pad1[20];
|
| 286 |
+
} xcb_selinux_get_property_create_context_reply_t;
|
| 287 |
+
|
| 288 |
+
/** Opcode for xcb_selinux_set_property_use_context. */
|
| 289 |
+
#define XCB_SELINUX_SET_PROPERTY_USE_CONTEXT 10
|
| 290 |
+
|
| 291 |
+
/**
|
| 292 |
+
* @brief xcb_selinux_set_property_use_context_request_t
|
| 293 |
+
**/
|
| 294 |
+
typedef struct xcb_selinux_set_property_use_context_request_t {
|
| 295 |
+
uint8_t major_opcode;
|
| 296 |
+
uint8_t minor_opcode;
|
| 297 |
+
uint16_t length;
|
| 298 |
+
uint32_t context_len;
|
| 299 |
+
} xcb_selinux_set_property_use_context_request_t;
|
| 300 |
+
|
| 301 |
+
/**
|
| 302 |
+
* @brief xcb_selinux_get_property_use_context_cookie_t
|
| 303 |
+
**/
|
| 304 |
+
typedef struct xcb_selinux_get_property_use_context_cookie_t {
|
| 305 |
+
unsigned int sequence;
|
| 306 |
+
} xcb_selinux_get_property_use_context_cookie_t;
|
| 307 |
+
|
| 308 |
+
/** Opcode for xcb_selinux_get_property_use_context. */
|
| 309 |
+
#define XCB_SELINUX_GET_PROPERTY_USE_CONTEXT 11
|
| 310 |
+
|
| 311 |
+
/**
|
| 312 |
+
* @brief xcb_selinux_get_property_use_context_request_t
|
| 313 |
+
**/
|
| 314 |
+
typedef struct xcb_selinux_get_property_use_context_request_t {
|
| 315 |
+
uint8_t major_opcode;
|
| 316 |
+
uint8_t minor_opcode;
|
| 317 |
+
uint16_t length;
|
| 318 |
+
} xcb_selinux_get_property_use_context_request_t;
|
| 319 |
+
|
| 320 |
+
/**
|
| 321 |
+
* @brief xcb_selinux_get_property_use_context_reply_t
|
| 322 |
+
**/
|
| 323 |
+
typedef struct xcb_selinux_get_property_use_context_reply_t {
|
| 324 |
+
uint8_t response_type;
|
| 325 |
+
uint8_t pad0;
|
| 326 |
+
uint16_t sequence;
|
| 327 |
+
uint32_t length;
|
| 328 |
+
uint32_t context_len;
|
| 329 |
+
uint8_t pad1[20];
|
| 330 |
+
} xcb_selinux_get_property_use_context_reply_t;
|
| 331 |
+
|
| 332 |
+
/**
|
| 333 |
+
* @brief xcb_selinux_get_property_context_cookie_t
|
| 334 |
+
**/
|
| 335 |
+
typedef struct xcb_selinux_get_property_context_cookie_t {
|
| 336 |
+
unsigned int sequence;
|
| 337 |
+
} xcb_selinux_get_property_context_cookie_t;
|
| 338 |
+
|
| 339 |
+
/** Opcode for xcb_selinux_get_property_context. */
|
| 340 |
+
#define XCB_SELINUX_GET_PROPERTY_CONTEXT 12
|
| 341 |
+
|
| 342 |
+
/**
|
| 343 |
+
* @brief xcb_selinux_get_property_context_request_t
|
| 344 |
+
**/
|
| 345 |
+
typedef struct xcb_selinux_get_property_context_request_t {
|
| 346 |
+
uint8_t major_opcode;
|
| 347 |
+
uint8_t minor_opcode;
|
| 348 |
+
uint16_t length;
|
| 349 |
+
xcb_window_t window;
|
| 350 |
+
xcb_atom_t property;
|
| 351 |
+
} xcb_selinux_get_property_context_request_t;
|
| 352 |
+
|
| 353 |
+
/**
|
| 354 |
+
* @brief xcb_selinux_get_property_context_reply_t
|
| 355 |
+
**/
|
| 356 |
+
typedef struct xcb_selinux_get_property_context_reply_t {
|
| 357 |
+
uint8_t response_type;
|
| 358 |
+
uint8_t pad0;
|
| 359 |
+
uint16_t sequence;
|
| 360 |
+
uint32_t length;
|
| 361 |
+
uint32_t context_len;
|
| 362 |
+
uint8_t pad1[20];
|
| 363 |
+
} xcb_selinux_get_property_context_reply_t;
|
| 364 |
+
|
| 365 |
+
/**
|
| 366 |
+
* @brief xcb_selinux_get_property_data_context_cookie_t
|
| 367 |
+
**/
|
| 368 |
+
typedef struct xcb_selinux_get_property_data_context_cookie_t {
|
| 369 |
+
unsigned int sequence;
|
| 370 |
+
} xcb_selinux_get_property_data_context_cookie_t;
|
| 371 |
+
|
| 372 |
+
/** Opcode for xcb_selinux_get_property_data_context. */
|
| 373 |
+
#define XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT 13
|
| 374 |
+
|
| 375 |
+
/**
|
| 376 |
+
* @brief xcb_selinux_get_property_data_context_request_t
|
| 377 |
+
**/
|
| 378 |
+
typedef struct xcb_selinux_get_property_data_context_request_t {
|
| 379 |
+
uint8_t major_opcode;
|
| 380 |
+
uint8_t minor_opcode;
|
| 381 |
+
uint16_t length;
|
| 382 |
+
xcb_window_t window;
|
| 383 |
+
xcb_atom_t property;
|
| 384 |
+
} xcb_selinux_get_property_data_context_request_t;
|
| 385 |
+
|
| 386 |
+
/**
|
| 387 |
+
* @brief xcb_selinux_get_property_data_context_reply_t
|
| 388 |
+
**/
|
| 389 |
+
typedef struct xcb_selinux_get_property_data_context_reply_t {
|
| 390 |
+
uint8_t response_type;
|
| 391 |
+
uint8_t pad0;
|
| 392 |
+
uint16_t sequence;
|
| 393 |
+
uint32_t length;
|
| 394 |
+
uint32_t context_len;
|
| 395 |
+
uint8_t pad1[20];
|
| 396 |
+
} xcb_selinux_get_property_data_context_reply_t;
|
| 397 |
+
|
| 398 |
+
/**
|
| 399 |
+
* @brief xcb_selinux_list_properties_cookie_t
|
| 400 |
+
**/
|
| 401 |
+
typedef struct xcb_selinux_list_properties_cookie_t {
|
| 402 |
+
unsigned int sequence;
|
| 403 |
+
} xcb_selinux_list_properties_cookie_t;
|
| 404 |
+
|
| 405 |
+
/** Opcode for xcb_selinux_list_properties. */
|
| 406 |
+
#define XCB_SELINUX_LIST_PROPERTIES 14
|
| 407 |
+
|
| 408 |
+
/**
|
| 409 |
+
* @brief xcb_selinux_list_properties_request_t
|
| 410 |
+
**/
|
| 411 |
+
typedef struct xcb_selinux_list_properties_request_t {
|
| 412 |
+
uint8_t major_opcode;
|
| 413 |
+
uint8_t minor_opcode;
|
| 414 |
+
uint16_t length;
|
| 415 |
+
xcb_window_t window;
|
| 416 |
+
} xcb_selinux_list_properties_request_t;
|
| 417 |
+
|
| 418 |
+
/**
|
| 419 |
+
* @brief xcb_selinux_list_properties_reply_t
|
| 420 |
+
**/
|
| 421 |
+
typedef struct xcb_selinux_list_properties_reply_t {
|
| 422 |
+
uint8_t response_type;
|
| 423 |
+
uint8_t pad0;
|
| 424 |
+
uint16_t sequence;
|
| 425 |
+
uint32_t length;
|
| 426 |
+
uint32_t properties_len;
|
| 427 |
+
uint8_t pad1[20];
|
| 428 |
+
} xcb_selinux_list_properties_reply_t;
|
| 429 |
+
|
| 430 |
+
/** Opcode for xcb_selinux_set_selection_create_context. */
|
| 431 |
+
#define XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT 15
|
| 432 |
+
|
| 433 |
+
/**
|
| 434 |
+
* @brief xcb_selinux_set_selection_create_context_request_t
|
| 435 |
+
**/
|
| 436 |
+
typedef struct xcb_selinux_set_selection_create_context_request_t {
|
| 437 |
+
uint8_t major_opcode;
|
| 438 |
+
uint8_t minor_opcode;
|
| 439 |
+
uint16_t length;
|
| 440 |
+
uint32_t context_len;
|
| 441 |
+
} xcb_selinux_set_selection_create_context_request_t;
|
| 442 |
+
|
| 443 |
+
/**
|
| 444 |
+
* @brief xcb_selinux_get_selection_create_context_cookie_t
|
| 445 |
+
**/
|
| 446 |
+
typedef struct xcb_selinux_get_selection_create_context_cookie_t {
|
| 447 |
+
unsigned int sequence;
|
| 448 |
+
} xcb_selinux_get_selection_create_context_cookie_t;
|
| 449 |
+
|
| 450 |
+
/** Opcode for xcb_selinux_get_selection_create_context. */
|
| 451 |
+
#define XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT 16
|
| 452 |
+
|
| 453 |
+
/**
|
| 454 |
+
* @brief xcb_selinux_get_selection_create_context_request_t
|
| 455 |
+
**/
|
| 456 |
+
typedef struct xcb_selinux_get_selection_create_context_request_t {
|
| 457 |
+
uint8_t major_opcode;
|
| 458 |
+
uint8_t minor_opcode;
|
| 459 |
+
uint16_t length;
|
| 460 |
+
} xcb_selinux_get_selection_create_context_request_t;
|
| 461 |
+
|
| 462 |
+
/**
|
| 463 |
+
* @brief xcb_selinux_get_selection_create_context_reply_t
|
| 464 |
+
**/
|
| 465 |
+
typedef struct xcb_selinux_get_selection_create_context_reply_t {
|
| 466 |
+
uint8_t response_type;
|
| 467 |
+
uint8_t pad0;
|
| 468 |
+
uint16_t sequence;
|
| 469 |
+
uint32_t length;
|
| 470 |
+
uint32_t context_len;
|
| 471 |
+
uint8_t pad1[20];
|
| 472 |
+
} xcb_selinux_get_selection_create_context_reply_t;
|
| 473 |
+
|
| 474 |
+
/** Opcode for xcb_selinux_set_selection_use_context. */
|
| 475 |
+
#define XCB_SELINUX_SET_SELECTION_USE_CONTEXT 17
|
| 476 |
+
|
| 477 |
+
/**
|
| 478 |
+
* @brief xcb_selinux_set_selection_use_context_request_t
|
| 479 |
+
**/
|
| 480 |
+
typedef struct xcb_selinux_set_selection_use_context_request_t {
|
| 481 |
+
uint8_t major_opcode;
|
| 482 |
+
uint8_t minor_opcode;
|
| 483 |
+
uint16_t length;
|
| 484 |
+
uint32_t context_len;
|
| 485 |
+
} xcb_selinux_set_selection_use_context_request_t;
|
| 486 |
+
|
| 487 |
+
/**
|
| 488 |
+
* @brief xcb_selinux_get_selection_use_context_cookie_t
|
| 489 |
+
**/
|
| 490 |
+
typedef struct xcb_selinux_get_selection_use_context_cookie_t {
|
| 491 |
+
unsigned int sequence;
|
| 492 |
+
} xcb_selinux_get_selection_use_context_cookie_t;
|
| 493 |
+
|
| 494 |
+
/** Opcode for xcb_selinux_get_selection_use_context. */
|
| 495 |
+
#define XCB_SELINUX_GET_SELECTION_USE_CONTEXT 18
|
| 496 |
+
|
| 497 |
+
/**
|
| 498 |
+
* @brief xcb_selinux_get_selection_use_context_request_t
|
| 499 |
+
**/
|
| 500 |
+
typedef struct xcb_selinux_get_selection_use_context_request_t {
|
| 501 |
+
uint8_t major_opcode;
|
| 502 |
+
uint8_t minor_opcode;
|
| 503 |
+
uint16_t length;
|
| 504 |
+
} xcb_selinux_get_selection_use_context_request_t;
|
| 505 |
+
|
| 506 |
+
/**
|
| 507 |
+
* @brief xcb_selinux_get_selection_use_context_reply_t
|
| 508 |
+
**/
|
| 509 |
+
typedef struct xcb_selinux_get_selection_use_context_reply_t {
|
| 510 |
+
uint8_t response_type;
|
| 511 |
+
uint8_t pad0;
|
| 512 |
+
uint16_t sequence;
|
| 513 |
+
uint32_t length;
|
| 514 |
+
uint32_t context_len;
|
| 515 |
+
uint8_t pad1[20];
|
| 516 |
+
} xcb_selinux_get_selection_use_context_reply_t;
|
| 517 |
+
|
| 518 |
+
/**
|
| 519 |
+
* @brief xcb_selinux_get_selection_context_cookie_t
|
| 520 |
+
**/
|
| 521 |
+
typedef struct xcb_selinux_get_selection_context_cookie_t {
|
| 522 |
+
unsigned int sequence;
|
| 523 |
+
} xcb_selinux_get_selection_context_cookie_t;
|
| 524 |
+
|
| 525 |
+
/** Opcode for xcb_selinux_get_selection_context. */
|
| 526 |
+
#define XCB_SELINUX_GET_SELECTION_CONTEXT 19
|
| 527 |
+
|
| 528 |
+
/**
|
| 529 |
+
* @brief xcb_selinux_get_selection_context_request_t
|
| 530 |
+
**/
|
| 531 |
+
typedef struct xcb_selinux_get_selection_context_request_t {
|
| 532 |
+
uint8_t major_opcode;
|
| 533 |
+
uint8_t minor_opcode;
|
| 534 |
+
uint16_t length;
|
| 535 |
+
xcb_atom_t selection;
|
| 536 |
+
} xcb_selinux_get_selection_context_request_t;
|
| 537 |
+
|
| 538 |
+
/**
|
| 539 |
+
* @brief xcb_selinux_get_selection_context_reply_t
|
| 540 |
+
**/
|
| 541 |
+
typedef struct xcb_selinux_get_selection_context_reply_t {
|
| 542 |
+
uint8_t response_type;
|
| 543 |
+
uint8_t pad0;
|
| 544 |
+
uint16_t sequence;
|
| 545 |
+
uint32_t length;
|
| 546 |
+
uint32_t context_len;
|
| 547 |
+
uint8_t pad1[20];
|
| 548 |
+
} xcb_selinux_get_selection_context_reply_t;
|
| 549 |
+
|
| 550 |
+
/**
|
| 551 |
+
* @brief xcb_selinux_get_selection_data_context_cookie_t
|
| 552 |
+
**/
|
| 553 |
+
typedef struct xcb_selinux_get_selection_data_context_cookie_t {
|
| 554 |
+
unsigned int sequence;
|
| 555 |
+
} xcb_selinux_get_selection_data_context_cookie_t;
|
| 556 |
+
|
| 557 |
+
/** Opcode for xcb_selinux_get_selection_data_context. */
|
| 558 |
+
#define XCB_SELINUX_GET_SELECTION_DATA_CONTEXT 20
|
| 559 |
+
|
| 560 |
+
/**
|
| 561 |
+
* @brief xcb_selinux_get_selection_data_context_request_t
|
| 562 |
+
**/
|
| 563 |
+
typedef struct xcb_selinux_get_selection_data_context_request_t {
|
| 564 |
+
uint8_t major_opcode;
|
| 565 |
+
uint8_t minor_opcode;
|
| 566 |
+
uint16_t length;
|
| 567 |
+
xcb_atom_t selection;
|
| 568 |
+
} xcb_selinux_get_selection_data_context_request_t;
|
| 569 |
+
|
| 570 |
+
/**
|
| 571 |
+
* @brief xcb_selinux_get_selection_data_context_reply_t
|
| 572 |
+
**/
|
| 573 |
+
typedef struct xcb_selinux_get_selection_data_context_reply_t {
|
| 574 |
+
uint8_t response_type;
|
| 575 |
+
uint8_t pad0;
|
| 576 |
+
uint16_t sequence;
|
| 577 |
+
uint32_t length;
|
| 578 |
+
uint32_t context_len;
|
| 579 |
+
uint8_t pad1[20];
|
| 580 |
+
} xcb_selinux_get_selection_data_context_reply_t;
|
| 581 |
+
|
| 582 |
+
/**
|
| 583 |
+
* @brief xcb_selinux_list_selections_cookie_t
|
| 584 |
+
**/
|
| 585 |
+
typedef struct xcb_selinux_list_selections_cookie_t {
|
| 586 |
+
unsigned int sequence;
|
| 587 |
+
} xcb_selinux_list_selections_cookie_t;
|
| 588 |
+
|
| 589 |
+
/** Opcode for xcb_selinux_list_selections. */
|
| 590 |
+
#define XCB_SELINUX_LIST_SELECTIONS 21
|
| 591 |
+
|
| 592 |
+
/**
|
| 593 |
+
* @brief xcb_selinux_list_selections_request_t
|
| 594 |
+
**/
|
| 595 |
+
typedef struct xcb_selinux_list_selections_request_t {
|
| 596 |
+
uint8_t major_opcode;
|
| 597 |
+
uint8_t minor_opcode;
|
| 598 |
+
uint16_t length;
|
| 599 |
+
} xcb_selinux_list_selections_request_t;
|
| 600 |
+
|
| 601 |
+
/**
|
| 602 |
+
* @brief xcb_selinux_list_selections_reply_t
|
| 603 |
+
**/
|
| 604 |
+
typedef struct xcb_selinux_list_selections_reply_t {
|
| 605 |
+
uint8_t response_type;
|
| 606 |
+
uint8_t pad0;
|
| 607 |
+
uint16_t sequence;
|
| 608 |
+
uint32_t length;
|
| 609 |
+
uint32_t selections_len;
|
| 610 |
+
uint8_t pad1[20];
|
| 611 |
+
} xcb_selinux_list_selections_reply_t;
|
| 612 |
+
|
| 613 |
+
/**
|
| 614 |
+
* @brief xcb_selinux_get_client_context_cookie_t
|
| 615 |
+
**/
|
| 616 |
+
typedef struct xcb_selinux_get_client_context_cookie_t {
|
| 617 |
+
unsigned int sequence;
|
| 618 |
+
} xcb_selinux_get_client_context_cookie_t;
|
| 619 |
+
|
| 620 |
+
/** Opcode for xcb_selinux_get_client_context. */
|
| 621 |
+
#define XCB_SELINUX_GET_CLIENT_CONTEXT 22
|
| 622 |
+
|
| 623 |
+
/**
|
| 624 |
+
* @brief xcb_selinux_get_client_context_request_t
|
| 625 |
+
**/
|
| 626 |
+
typedef struct xcb_selinux_get_client_context_request_t {
|
| 627 |
+
uint8_t major_opcode;
|
| 628 |
+
uint8_t minor_opcode;
|
| 629 |
+
uint16_t length;
|
| 630 |
+
uint32_t resource;
|
| 631 |
+
} xcb_selinux_get_client_context_request_t;
|
| 632 |
+
|
| 633 |
+
/**
|
| 634 |
+
* @brief xcb_selinux_get_client_context_reply_t
|
| 635 |
+
**/
|
| 636 |
+
typedef struct xcb_selinux_get_client_context_reply_t {
|
| 637 |
+
uint8_t response_type;
|
| 638 |
+
uint8_t pad0;
|
| 639 |
+
uint16_t sequence;
|
| 640 |
+
uint32_t length;
|
| 641 |
+
uint32_t context_len;
|
| 642 |
+
uint8_t pad1[20];
|
| 643 |
+
} xcb_selinux_get_client_context_reply_t;
|
| 644 |
+
|
| 645 |
+
/**
|
| 646 |
+
*
|
| 647 |
+
* @param c The connection
|
| 648 |
+
* @return A cookie
|
| 649 |
+
*
|
| 650 |
+
* Delivers a request to the X server.
|
| 651 |
+
*
|
| 652 |
+
*/
|
| 653 |
+
xcb_selinux_query_version_cookie_t
|
| 654 |
+
xcb_selinux_query_version (xcb_connection_t *c,
|
| 655 |
+
uint8_t client_major,
|
| 656 |
+
uint8_t client_minor);
|
| 657 |
+
|
| 658 |
+
/**
|
| 659 |
+
*
|
| 660 |
+
* @param c The connection
|
| 661 |
+
* @return A cookie
|
| 662 |
+
*
|
| 663 |
+
* Delivers a request to the X server.
|
| 664 |
+
*
|
| 665 |
+
* This form can be used only if the request will cause
|
| 666 |
+
* a reply to be generated. Any returned error will be
|
| 667 |
+
* placed in the event queue.
|
| 668 |
+
*/
|
| 669 |
+
xcb_selinux_query_version_cookie_t
|
| 670 |
+
xcb_selinux_query_version_unchecked (xcb_connection_t *c,
|
| 671 |
+
uint8_t client_major,
|
| 672 |
+
uint8_t client_minor);
|
| 673 |
+
|
| 674 |
+
/**
|
| 675 |
+
* Return the reply
|
| 676 |
+
* @param c The connection
|
| 677 |
+
* @param cookie The cookie
|
| 678 |
+
* @param e The xcb_generic_error_t supplied
|
| 679 |
+
*
|
| 680 |
+
* Returns the reply of the request asked by
|
| 681 |
+
*
|
| 682 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 683 |
+
* xcb_selinux_query_version_unchecked(). is used.
|
| 684 |
+
* Otherwise, it stores the error if any.
|
| 685 |
+
*
|
| 686 |
+
* The returned value must be freed by the caller using free().
|
| 687 |
+
*/
|
| 688 |
+
xcb_selinux_query_version_reply_t *
|
| 689 |
+
xcb_selinux_query_version_reply (xcb_connection_t *c,
|
| 690 |
+
xcb_selinux_query_version_cookie_t cookie /**< */,
|
| 691 |
+
xcb_generic_error_t **e);
|
| 692 |
+
|
| 693 |
+
int
|
| 694 |
+
xcb_selinux_set_device_create_context_sizeof (const void *_buffer);
|
| 695 |
+
|
| 696 |
+
/**
|
| 697 |
+
*
|
| 698 |
+
* @param c The connection
|
| 699 |
+
* @return A cookie
|
| 700 |
+
*
|
| 701 |
+
* Delivers a request to the X server.
|
| 702 |
+
*
|
| 703 |
+
* This form can be used only if the request will not cause
|
| 704 |
+
* a reply to be generated. Any returned error will be
|
| 705 |
+
* saved for handling by xcb_request_check().
|
| 706 |
+
*/
|
| 707 |
+
xcb_void_cookie_t
|
| 708 |
+
xcb_selinux_set_device_create_context_checked (xcb_connection_t *c,
|
| 709 |
+
uint32_t context_len,
|
| 710 |
+
const char *context);
|
| 711 |
+
|
| 712 |
+
/**
|
| 713 |
+
*
|
| 714 |
+
* @param c The connection
|
| 715 |
+
* @return A cookie
|
| 716 |
+
*
|
| 717 |
+
* Delivers a request to the X server.
|
| 718 |
+
*
|
| 719 |
+
*/
|
| 720 |
+
xcb_void_cookie_t
|
| 721 |
+
xcb_selinux_set_device_create_context (xcb_connection_t *c,
|
| 722 |
+
uint32_t context_len,
|
| 723 |
+
const char *context);
|
| 724 |
+
|
| 725 |
+
char *
|
| 726 |
+
xcb_selinux_set_device_create_context_context (const xcb_selinux_set_device_create_context_request_t *R);
|
| 727 |
+
|
| 728 |
+
int
|
| 729 |
+
xcb_selinux_set_device_create_context_context_length (const xcb_selinux_set_device_create_context_request_t *R);
|
| 730 |
+
|
| 731 |
+
xcb_generic_iterator_t
|
| 732 |
+
xcb_selinux_set_device_create_context_context_end (const xcb_selinux_set_device_create_context_request_t *R);
|
| 733 |
+
|
| 734 |
+
int
|
| 735 |
+
xcb_selinux_get_device_create_context_sizeof (const void *_buffer);
|
| 736 |
+
|
| 737 |
+
/**
|
| 738 |
+
*
|
| 739 |
+
* @param c The connection
|
| 740 |
+
* @return A cookie
|
| 741 |
+
*
|
| 742 |
+
* Delivers a request to the X server.
|
| 743 |
+
*
|
| 744 |
+
*/
|
| 745 |
+
xcb_selinux_get_device_create_context_cookie_t
|
| 746 |
+
xcb_selinux_get_device_create_context (xcb_connection_t *c);
|
| 747 |
+
|
| 748 |
+
/**
|
| 749 |
+
*
|
| 750 |
+
* @param c The connection
|
| 751 |
+
* @return A cookie
|
| 752 |
+
*
|
| 753 |
+
* Delivers a request to the X server.
|
| 754 |
+
*
|
| 755 |
+
* This form can be used only if the request will cause
|
| 756 |
+
* a reply to be generated. Any returned error will be
|
| 757 |
+
* placed in the event queue.
|
| 758 |
+
*/
|
| 759 |
+
xcb_selinux_get_device_create_context_cookie_t
|
| 760 |
+
xcb_selinux_get_device_create_context_unchecked (xcb_connection_t *c);
|
| 761 |
+
|
| 762 |
+
char *
|
| 763 |
+
xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t *R);
|
| 764 |
+
|
| 765 |
+
int
|
| 766 |
+
xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t *R);
|
| 767 |
+
|
| 768 |
+
xcb_generic_iterator_t
|
| 769 |
+
xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t *R);
|
| 770 |
+
|
| 771 |
+
/**
|
| 772 |
+
* Return the reply
|
| 773 |
+
* @param c The connection
|
| 774 |
+
* @param cookie The cookie
|
| 775 |
+
* @param e The xcb_generic_error_t supplied
|
| 776 |
+
*
|
| 777 |
+
* Returns the reply of the request asked by
|
| 778 |
+
*
|
| 779 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 780 |
+
* xcb_selinux_get_device_create_context_unchecked(). is used.
|
| 781 |
+
* Otherwise, it stores the error if any.
|
| 782 |
+
*
|
| 783 |
+
* The returned value must be freed by the caller using free().
|
| 784 |
+
*/
|
| 785 |
+
xcb_selinux_get_device_create_context_reply_t *
|
| 786 |
+
xcb_selinux_get_device_create_context_reply (xcb_connection_t *c,
|
| 787 |
+
xcb_selinux_get_device_create_context_cookie_t cookie /**< */,
|
| 788 |
+
xcb_generic_error_t **e);
|
| 789 |
+
|
| 790 |
+
int
|
| 791 |
+
xcb_selinux_set_device_context_sizeof (const void *_buffer);
|
| 792 |
+
|
| 793 |
+
/**
|
| 794 |
+
*
|
| 795 |
+
* @param c The connection
|
| 796 |
+
* @return A cookie
|
| 797 |
+
*
|
| 798 |
+
* Delivers a request to the X server.
|
| 799 |
+
*
|
| 800 |
+
* This form can be used only if the request will not cause
|
| 801 |
+
* a reply to be generated. Any returned error will be
|
| 802 |
+
* saved for handling by xcb_request_check().
|
| 803 |
+
*/
|
| 804 |
+
xcb_void_cookie_t
|
| 805 |
+
xcb_selinux_set_device_context_checked (xcb_connection_t *c,
|
| 806 |
+
uint32_t device,
|
| 807 |
+
uint32_t context_len,
|
| 808 |
+
const char *context);
|
| 809 |
+
|
| 810 |
+
/**
|
| 811 |
+
*
|
| 812 |
+
* @param c The connection
|
| 813 |
+
* @return A cookie
|
| 814 |
+
*
|
| 815 |
+
* Delivers a request to the X server.
|
| 816 |
+
*
|
| 817 |
+
*/
|
| 818 |
+
xcb_void_cookie_t
|
| 819 |
+
xcb_selinux_set_device_context (xcb_connection_t *c,
|
| 820 |
+
uint32_t device,
|
| 821 |
+
uint32_t context_len,
|
| 822 |
+
const char *context);
|
| 823 |
+
|
| 824 |
+
char *
|
| 825 |
+
xcb_selinux_set_device_context_context (const xcb_selinux_set_device_context_request_t *R);
|
| 826 |
+
|
| 827 |
+
int
|
| 828 |
+
xcb_selinux_set_device_context_context_length (const xcb_selinux_set_device_context_request_t *R);
|
| 829 |
+
|
| 830 |
+
xcb_generic_iterator_t
|
| 831 |
+
xcb_selinux_set_device_context_context_end (const xcb_selinux_set_device_context_request_t *R);
|
| 832 |
+
|
| 833 |
+
int
|
| 834 |
+
xcb_selinux_get_device_context_sizeof (const void *_buffer);
|
| 835 |
+
|
| 836 |
+
/**
|
| 837 |
+
*
|
| 838 |
+
* @param c The connection
|
| 839 |
+
* @return A cookie
|
| 840 |
+
*
|
| 841 |
+
* Delivers a request to the X server.
|
| 842 |
+
*
|
| 843 |
+
*/
|
| 844 |
+
xcb_selinux_get_device_context_cookie_t
|
| 845 |
+
xcb_selinux_get_device_context (xcb_connection_t *c,
|
| 846 |
+
uint32_t device);
|
| 847 |
+
|
| 848 |
+
/**
|
| 849 |
+
*
|
| 850 |
+
* @param c The connection
|
| 851 |
+
* @return A cookie
|
| 852 |
+
*
|
| 853 |
+
* Delivers a request to the X server.
|
| 854 |
+
*
|
| 855 |
+
* This form can be used only if the request will cause
|
| 856 |
+
* a reply to be generated. Any returned error will be
|
| 857 |
+
* placed in the event queue.
|
| 858 |
+
*/
|
| 859 |
+
xcb_selinux_get_device_context_cookie_t
|
| 860 |
+
xcb_selinux_get_device_context_unchecked (xcb_connection_t *c,
|
| 861 |
+
uint32_t device);
|
| 862 |
+
|
| 863 |
+
char *
|
| 864 |
+
xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t *R);
|
| 865 |
+
|
| 866 |
+
int
|
| 867 |
+
xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t *R);
|
| 868 |
+
|
| 869 |
+
xcb_generic_iterator_t
|
| 870 |
+
xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t *R);
|
| 871 |
+
|
| 872 |
+
/**
|
| 873 |
+
* Return the reply
|
| 874 |
+
* @param c The connection
|
| 875 |
+
* @param cookie The cookie
|
| 876 |
+
* @param e The xcb_generic_error_t supplied
|
| 877 |
+
*
|
| 878 |
+
* Returns the reply of the request asked by
|
| 879 |
+
*
|
| 880 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 881 |
+
* xcb_selinux_get_device_context_unchecked(). is used.
|
| 882 |
+
* Otherwise, it stores the error if any.
|
| 883 |
+
*
|
| 884 |
+
* The returned value must be freed by the caller using free().
|
| 885 |
+
*/
|
| 886 |
+
xcb_selinux_get_device_context_reply_t *
|
| 887 |
+
xcb_selinux_get_device_context_reply (xcb_connection_t *c,
|
| 888 |
+
xcb_selinux_get_device_context_cookie_t cookie /**< */,
|
| 889 |
+
xcb_generic_error_t **e);
|
| 890 |
+
|
| 891 |
+
int
|
| 892 |
+
xcb_selinux_set_window_create_context_sizeof (const void *_buffer);
|
| 893 |
+
|
| 894 |
+
/**
|
| 895 |
+
*
|
| 896 |
+
* @param c The connection
|
| 897 |
+
* @return A cookie
|
| 898 |
+
*
|
| 899 |
+
* Delivers a request to the X server.
|
| 900 |
+
*
|
| 901 |
+
* This form can be used only if the request will not cause
|
| 902 |
+
* a reply to be generated. Any returned error will be
|
| 903 |
+
* saved for handling by xcb_request_check().
|
| 904 |
+
*/
|
| 905 |
+
xcb_void_cookie_t
|
| 906 |
+
xcb_selinux_set_window_create_context_checked (xcb_connection_t *c,
|
| 907 |
+
uint32_t context_len,
|
| 908 |
+
const char *context);
|
| 909 |
+
|
| 910 |
+
/**
|
| 911 |
+
*
|
| 912 |
+
* @param c The connection
|
| 913 |
+
* @return A cookie
|
| 914 |
+
*
|
| 915 |
+
* Delivers a request to the X server.
|
| 916 |
+
*
|
| 917 |
+
*/
|
| 918 |
+
xcb_void_cookie_t
|
| 919 |
+
xcb_selinux_set_window_create_context (xcb_connection_t *c,
|
| 920 |
+
uint32_t context_len,
|
| 921 |
+
const char *context);
|
| 922 |
+
|
| 923 |
+
char *
|
| 924 |
+
xcb_selinux_set_window_create_context_context (const xcb_selinux_set_window_create_context_request_t *R);
|
| 925 |
+
|
| 926 |
+
int
|
| 927 |
+
xcb_selinux_set_window_create_context_context_length (const xcb_selinux_set_window_create_context_request_t *R);
|
| 928 |
+
|
| 929 |
+
xcb_generic_iterator_t
|
| 930 |
+
xcb_selinux_set_window_create_context_context_end (const xcb_selinux_set_window_create_context_request_t *R);
|
| 931 |
+
|
| 932 |
+
int
|
| 933 |
+
xcb_selinux_get_window_create_context_sizeof (const void *_buffer);
|
| 934 |
+
|
| 935 |
+
/**
|
| 936 |
+
*
|
| 937 |
+
* @param c The connection
|
| 938 |
+
* @return A cookie
|
| 939 |
+
*
|
| 940 |
+
* Delivers a request to the X server.
|
| 941 |
+
*
|
| 942 |
+
*/
|
| 943 |
+
xcb_selinux_get_window_create_context_cookie_t
|
| 944 |
+
xcb_selinux_get_window_create_context (xcb_connection_t *c);
|
| 945 |
+
|
| 946 |
+
/**
|
| 947 |
+
*
|
| 948 |
+
* @param c The connection
|
| 949 |
+
* @return A cookie
|
| 950 |
+
*
|
| 951 |
+
* Delivers a request to the X server.
|
| 952 |
+
*
|
| 953 |
+
* This form can be used only if the request will cause
|
| 954 |
+
* a reply to be generated. Any returned error will be
|
| 955 |
+
* placed in the event queue.
|
| 956 |
+
*/
|
| 957 |
+
xcb_selinux_get_window_create_context_cookie_t
|
| 958 |
+
xcb_selinux_get_window_create_context_unchecked (xcb_connection_t *c);
|
| 959 |
+
|
| 960 |
+
char *
|
| 961 |
+
xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t *R);
|
| 962 |
+
|
| 963 |
+
int
|
| 964 |
+
xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t *R);
|
| 965 |
+
|
| 966 |
+
xcb_generic_iterator_t
|
| 967 |
+
xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t *R);
|
| 968 |
+
|
| 969 |
+
/**
|
| 970 |
+
* Return the reply
|
| 971 |
+
* @param c The connection
|
| 972 |
+
* @param cookie The cookie
|
| 973 |
+
* @param e The xcb_generic_error_t supplied
|
| 974 |
+
*
|
| 975 |
+
* Returns the reply of the request asked by
|
| 976 |
+
*
|
| 977 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 978 |
+
* xcb_selinux_get_window_create_context_unchecked(). is used.
|
| 979 |
+
* Otherwise, it stores the error if any.
|
| 980 |
+
*
|
| 981 |
+
* The returned value must be freed by the caller using free().
|
| 982 |
+
*/
|
| 983 |
+
xcb_selinux_get_window_create_context_reply_t *
|
| 984 |
+
xcb_selinux_get_window_create_context_reply (xcb_connection_t *c,
|
| 985 |
+
xcb_selinux_get_window_create_context_cookie_t cookie /**< */,
|
| 986 |
+
xcb_generic_error_t **e);
|
| 987 |
+
|
| 988 |
+
int
|
| 989 |
+
xcb_selinux_get_window_context_sizeof (const void *_buffer);
|
| 990 |
+
|
| 991 |
+
/**
|
| 992 |
+
*
|
| 993 |
+
* @param c The connection
|
| 994 |
+
* @return A cookie
|
| 995 |
+
*
|
| 996 |
+
* Delivers a request to the X server.
|
| 997 |
+
*
|
| 998 |
+
*/
|
| 999 |
+
xcb_selinux_get_window_context_cookie_t
|
| 1000 |
+
xcb_selinux_get_window_context (xcb_connection_t *c,
|
| 1001 |
+
xcb_window_t window);
|
| 1002 |
+
|
| 1003 |
+
/**
|
| 1004 |
+
*
|
| 1005 |
+
* @param c The connection
|
| 1006 |
+
* @return A cookie
|
| 1007 |
+
*
|
| 1008 |
+
* Delivers a request to the X server.
|
| 1009 |
+
*
|
| 1010 |
+
* This form can be used only if the request will cause
|
| 1011 |
+
* a reply to be generated. Any returned error will be
|
| 1012 |
+
* placed in the event queue.
|
| 1013 |
+
*/
|
| 1014 |
+
xcb_selinux_get_window_context_cookie_t
|
| 1015 |
+
xcb_selinux_get_window_context_unchecked (xcb_connection_t *c,
|
| 1016 |
+
xcb_window_t window);
|
| 1017 |
+
|
| 1018 |
+
char *
|
| 1019 |
+
xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t *R);
|
| 1020 |
+
|
| 1021 |
+
int
|
| 1022 |
+
xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t *R);
|
| 1023 |
+
|
| 1024 |
+
xcb_generic_iterator_t
|
| 1025 |
+
xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t *R);
|
| 1026 |
+
|
| 1027 |
+
/**
|
| 1028 |
+
* Return the reply
|
| 1029 |
+
* @param c The connection
|
| 1030 |
+
* @param cookie The cookie
|
| 1031 |
+
* @param e The xcb_generic_error_t supplied
|
| 1032 |
+
*
|
| 1033 |
+
* Returns the reply of the request asked by
|
| 1034 |
+
*
|
| 1035 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1036 |
+
* xcb_selinux_get_window_context_unchecked(). is used.
|
| 1037 |
+
* Otherwise, it stores the error if any.
|
| 1038 |
+
*
|
| 1039 |
+
* The returned value must be freed by the caller using free().
|
| 1040 |
+
*/
|
| 1041 |
+
xcb_selinux_get_window_context_reply_t *
|
| 1042 |
+
xcb_selinux_get_window_context_reply (xcb_connection_t *c,
|
| 1043 |
+
xcb_selinux_get_window_context_cookie_t cookie /**< */,
|
| 1044 |
+
xcb_generic_error_t **e);
|
| 1045 |
+
|
| 1046 |
+
int
|
| 1047 |
+
xcb_selinux_list_item_sizeof (const void *_buffer);
|
| 1048 |
+
|
| 1049 |
+
char *
|
| 1050 |
+
xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t *R);
|
| 1051 |
+
|
| 1052 |
+
int
|
| 1053 |
+
xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t *R);
|
| 1054 |
+
|
| 1055 |
+
xcb_generic_iterator_t
|
| 1056 |
+
xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t *R);
|
| 1057 |
+
|
| 1058 |
+
char *
|
| 1059 |
+
xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t *R);
|
| 1060 |
+
|
| 1061 |
+
int
|
| 1062 |
+
xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t *R);
|
| 1063 |
+
|
| 1064 |
+
xcb_generic_iterator_t
|
| 1065 |
+
xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t *R);
|
| 1066 |
+
|
| 1067 |
+
/**
|
| 1068 |
+
* Get the next element of the iterator
|
| 1069 |
+
* @param i Pointer to a xcb_selinux_list_item_iterator_t
|
| 1070 |
+
*
|
| 1071 |
+
* Get the next element in the iterator. The member rem is
|
| 1072 |
+
* decreased by one. The member data points to the next
|
| 1073 |
+
* element. The member index is increased by sizeof(xcb_selinux_list_item_t)
|
| 1074 |
+
*/
|
| 1075 |
+
void
|
| 1076 |
+
xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t *i);
|
| 1077 |
+
|
| 1078 |
+
/**
|
| 1079 |
+
* Return the iterator pointing to the last element
|
| 1080 |
+
* @param i An xcb_selinux_list_item_iterator_t
|
| 1081 |
+
* @return The iterator pointing to the last element
|
| 1082 |
+
*
|
| 1083 |
+
* Set the current element in the iterator to the last element.
|
| 1084 |
+
* The member rem is set to 0. The member data points to the
|
| 1085 |
+
* last element.
|
| 1086 |
+
*/
|
| 1087 |
+
xcb_generic_iterator_t
|
| 1088 |
+
xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i);
|
| 1089 |
+
|
| 1090 |
+
int
|
| 1091 |
+
xcb_selinux_set_property_create_context_sizeof (const void *_buffer);
|
| 1092 |
+
|
| 1093 |
+
/**
|
| 1094 |
+
*
|
| 1095 |
+
* @param c The connection
|
| 1096 |
+
* @return A cookie
|
| 1097 |
+
*
|
| 1098 |
+
* Delivers a request to the X server.
|
| 1099 |
+
*
|
| 1100 |
+
* This form can be used only if the request will not cause
|
| 1101 |
+
* a reply to be generated. Any returned error will be
|
| 1102 |
+
* saved for handling by xcb_request_check().
|
| 1103 |
+
*/
|
| 1104 |
+
xcb_void_cookie_t
|
| 1105 |
+
xcb_selinux_set_property_create_context_checked (xcb_connection_t *c,
|
| 1106 |
+
uint32_t context_len,
|
| 1107 |
+
const char *context);
|
| 1108 |
+
|
| 1109 |
+
/**
|
| 1110 |
+
*
|
| 1111 |
+
* @param c The connection
|
| 1112 |
+
* @return A cookie
|
| 1113 |
+
*
|
| 1114 |
+
* Delivers a request to the X server.
|
| 1115 |
+
*
|
| 1116 |
+
*/
|
| 1117 |
+
xcb_void_cookie_t
|
| 1118 |
+
xcb_selinux_set_property_create_context (xcb_connection_t *c,
|
| 1119 |
+
uint32_t context_len,
|
| 1120 |
+
const char *context);
|
| 1121 |
+
|
| 1122 |
+
char *
|
| 1123 |
+
xcb_selinux_set_property_create_context_context (const xcb_selinux_set_property_create_context_request_t *R);
|
| 1124 |
+
|
| 1125 |
+
int
|
| 1126 |
+
xcb_selinux_set_property_create_context_context_length (const xcb_selinux_set_property_create_context_request_t *R);
|
| 1127 |
+
|
| 1128 |
+
xcb_generic_iterator_t
|
| 1129 |
+
xcb_selinux_set_property_create_context_context_end (const xcb_selinux_set_property_create_context_request_t *R);
|
| 1130 |
+
|
| 1131 |
+
int
|
| 1132 |
+
xcb_selinux_get_property_create_context_sizeof (const void *_buffer);
|
| 1133 |
+
|
| 1134 |
+
/**
|
| 1135 |
+
*
|
| 1136 |
+
* @param c The connection
|
| 1137 |
+
* @return A cookie
|
| 1138 |
+
*
|
| 1139 |
+
* Delivers a request to the X server.
|
| 1140 |
+
*
|
| 1141 |
+
*/
|
| 1142 |
+
xcb_selinux_get_property_create_context_cookie_t
|
| 1143 |
+
xcb_selinux_get_property_create_context (xcb_connection_t *c);
|
| 1144 |
+
|
| 1145 |
+
/**
|
| 1146 |
+
*
|
| 1147 |
+
* @param c The connection
|
| 1148 |
+
* @return A cookie
|
| 1149 |
+
*
|
| 1150 |
+
* Delivers a request to the X server.
|
| 1151 |
+
*
|
| 1152 |
+
* This form can be used only if the request will cause
|
| 1153 |
+
* a reply to be generated. Any returned error will be
|
| 1154 |
+
* placed in the event queue.
|
| 1155 |
+
*/
|
| 1156 |
+
xcb_selinux_get_property_create_context_cookie_t
|
| 1157 |
+
xcb_selinux_get_property_create_context_unchecked (xcb_connection_t *c);
|
| 1158 |
+
|
| 1159 |
+
char *
|
| 1160 |
+
xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t *R);
|
| 1161 |
+
|
| 1162 |
+
int
|
| 1163 |
+
xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t *R);
|
| 1164 |
+
|
| 1165 |
+
xcb_generic_iterator_t
|
| 1166 |
+
xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t *R);
|
| 1167 |
+
|
| 1168 |
+
/**
|
| 1169 |
+
* Return the reply
|
| 1170 |
+
* @param c The connection
|
| 1171 |
+
* @param cookie The cookie
|
| 1172 |
+
* @param e The xcb_generic_error_t supplied
|
| 1173 |
+
*
|
| 1174 |
+
* Returns the reply of the request asked by
|
| 1175 |
+
*
|
| 1176 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1177 |
+
* xcb_selinux_get_property_create_context_unchecked(). is used.
|
| 1178 |
+
* Otherwise, it stores the error if any.
|
| 1179 |
+
*
|
| 1180 |
+
* The returned value must be freed by the caller using free().
|
| 1181 |
+
*/
|
| 1182 |
+
xcb_selinux_get_property_create_context_reply_t *
|
| 1183 |
+
xcb_selinux_get_property_create_context_reply (xcb_connection_t *c,
|
| 1184 |
+
xcb_selinux_get_property_create_context_cookie_t cookie /**< */,
|
| 1185 |
+
xcb_generic_error_t **e);
|
| 1186 |
+
|
| 1187 |
+
int
|
| 1188 |
+
xcb_selinux_set_property_use_context_sizeof (const void *_buffer);
|
| 1189 |
+
|
| 1190 |
+
/**
|
| 1191 |
+
*
|
| 1192 |
+
* @param c The connection
|
| 1193 |
+
* @return A cookie
|
| 1194 |
+
*
|
| 1195 |
+
* Delivers a request to the X server.
|
| 1196 |
+
*
|
| 1197 |
+
* This form can be used only if the request will not cause
|
| 1198 |
+
* a reply to be generated. Any returned error will be
|
| 1199 |
+
* saved for handling by xcb_request_check().
|
| 1200 |
+
*/
|
| 1201 |
+
xcb_void_cookie_t
|
| 1202 |
+
xcb_selinux_set_property_use_context_checked (xcb_connection_t *c,
|
| 1203 |
+
uint32_t context_len,
|
| 1204 |
+
const char *context);
|
| 1205 |
+
|
| 1206 |
+
/**
|
| 1207 |
+
*
|
| 1208 |
+
* @param c The connection
|
| 1209 |
+
* @return A cookie
|
| 1210 |
+
*
|
| 1211 |
+
* Delivers a request to the X server.
|
| 1212 |
+
*
|
| 1213 |
+
*/
|
| 1214 |
+
xcb_void_cookie_t
|
| 1215 |
+
xcb_selinux_set_property_use_context (xcb_connection_t *c,
|
| 1216 |
+
uint32_t context_len,
|
| 1217 |
+
const char *context);
|
| 1218 |
+
|
| 1219 |
+
char *
|
| 1220 |
+
xcb_selinux_set_property_use_context_context (const xcb_selinux_set_property_use_context_request_t *R);
|
| 1221 |
+
|
| 1222 |
+
int
|
| 1223 |
+
xcb_selinux_set_property_use_context_context_length (const xcb_selinux_set_property_use_context_request_t *R);
|
| 1224 |
+
|
| 1225 |
+
xcb_generic_iterator_t
|
| 1226 |
+
xcb_selinux_set_property_use_context_context_end (const xcb_selinux_set_property_use_context_request_t *R);
|
| 1227 |
+
|
| 1228 |
+
int
|
| 1229 |
+
xcb_selinux_get_property_use_context_sizeof (const void *_buffer);
|
| 1230 |
+
|
| 1231 |
+
/**
|
| 1232 |
+
*
|
| 1233 |
+
* @param c The connection
|
| 1234 |
+
* @return A cookie
|
| 1235 |
+
*
|
| 1236 |
+
* Delivers a request to the X server.
|
| 1237 |
+
*
|
| 1238 |
+
*/
|
| 1239 |
+
xcb_selinux_get_property_use_context_cookie_t
|
| 1240 |
+
xcb_selinux_get_property_use_context (xcb_connection_t *c);
|
| 1241 |
+
|
| 1242 |
+
/**
|
| 1243 |
+
*
|
| 1244 |
+
* @param c The connection
|
| 1245 |
+
* @return A cookie
|
| 1246 |
+
*
|
| 1247 |
+
* Delivers a request to the X server.
|
| 1248 |
+
*
|
| 1249 |
+
* This form can be used only if the request will cause
|
| 1250 |
+
* a reply to be generated. Any returned error will be
|
| 1251 |
+
* placed in the event queue.
|
| 1252 |
+
*/
|
| 1253 |
+
xcb_selinux_get_property_use_context_cookie_t
|
| 1254 |
+
xcb_selinux_get_property_use_context_unchecked (xcb_connection_t *c);
|
| 1255 |
+
|
| 1256 |
+
char *
|
| 1257 |
+
xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t *R);
|
| 1258 |
+
|
| 1259 |
+
int
|
| 1260 |
+
xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t *R);
|
| 1261 |
+
|
| 1262 |
+
xcb_generic_iterator_t
|
| 1263 |
+
xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t *R);
|
| 1264 |
+
|
| 1265 |
+
/**
|
| 1266 |
+
* Return the reply
|
| 1267 |
+
* @param c The connection
|
| 1268 |
+
* @param cookie The cookie
|
| 1269 |
+
* @param e The xcb_generic_error_t supplied
|
| 1270 |
+
*
|
| 1271 |
+
* Returns the reply of the request asked by
|
| 1272 |
+
*
|
| 1273 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1274 |
+
* xcb_selinux_get_property_use_context_unchecked(). is used.
|
| 1275 |
+
* Otherwise, it stores the error if any.
|
| 1276 |
+
*
|
| 1277 |
+
* The returned value must be freed by the caller using free().
|
| 1278 |
+
*/
|
| 1279 |
+
xcb_selinux_get_property_use_context_reply_t *
|
| 1280 |
+
xcb_selinux_get_property_use_context_reply (xcb_connection_t *c,
|
| 1281 |
+
xcb_selinux_get_property_use_context_cookie_t cookie /**< */,
|
| 1282 |
+
xcb_generic_error_t **e);
|
| 1283 |
+
|
| 1284 |
+
int
|
| 1285 |
+
xcb_selinux_get_property_context_sizeof (const void *_buffer);
|
| 1286 |
+
|
| 1287 |
+
/**
|
| 1288 |
+
*
|
| 1289 |
+
* @param c The connection
|
| 1290 |
+
* @return A cookie
|
| 1291 |
+
*
|
| 1292 |
+
* Delivers a request to the X server.
|
| 1293 |
+
*
|
| 1294 |
+
*/
|
| 1295 |
+
xcb_selinux_get_property_context_cookie_t
|
| 1296 |
+
xcb_selinux_get_property_context (xcb_connection_t *c,
|
| 1297 |
+
xcb_window_t window,
|
| 1298 |
+
xcb_atom_t property);
|
| 1299 |
+
|
| 1300 |
+
/**
|
| 1301 |
+
*
|
| 1302 |
+
* @param c The connection
|
| 1303 |
+
* @return A cookie
|
| 1304 |
+
*
|
| 1305 |
+
* Delivers a request to the X server.
|
| 1306 |
+
*
|
| 1307 |
+
* This form can be used only if the request will cause
|
| 1308 |
+
* a reply to be generated. Any returned error will be
|
| 1309 |
+
* placed in the event queue.
|
| 1310 |
+
*/
|
| 1311 |
+
xcb_selinux_get_property_context_cookie_t
|
| 1312 |
+
xcb_selinux_get_property_context_unchecked (xcb_connection_t *c,
|
| 1313 |
+
xcb_window_t window,
|
| 1314 |
+
xcb_atom_t property);
|
| 1315 |
+
|
| 1316 |
+
char *
|
| 1317 |
+
xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t *R);
|
| 1318 |
+
|
| 1319 |
+
int
|
| 1320 |
+
xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t *R);
|
| 1321 |
+
|
| 1322 |
+
xcb_generic_iterator_t
|
| 1323 |
+
xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t *R);
|
| 1324 |
+
|
| 1325 |
+
/**
|
| 1326 |
+
* Return the reply
|
| 1327 |
+
* @param c The connection
|
| 1328 |
+
* @param cookie The cookie
|
| 1329 |
+
* @param e The xcb_generic_error_t supplied
|
| 1330 |
+
*
|
| 1331 |
+
* Returns the reply of the request asked by
|
| 1332 |
+
*
|
| 1333 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1334 |
+
* xcb_selinux_get_property_context_unchecked(). is used.
|
| 1335 |
+
* Otherwise, it stores the error if any.
|
| 1336 |
+
*
|
| 1337 |
+
* The returned value must be freed by the caller using free().
|
| 1338 |
+
*/
|
| 1339 |
+
xcb_selinux_get_property_context_reply_t *
|
| 1340 |
+
xcb_selinux_get_property_context_reply (xcb_connection_t *c,
|
| 1341 |
+
xcb_selinux_get_property_context_cookie_t cookie /**< */,
|
| 1342 |
+
xcb_generic_error_t **e);
|
| 1343 |
+
|
| 1344 |
+
int
|
| 1345 |
+
xcb_selinux_get_property_data_context_sizeof (const void *_buffer);
|
| 1346 |
+
|
| 1347 |
+
/**
|
| 1348 |
+
*
|
| 1349 |
+
* @param c The connection
|
| 1350 |
+
* @return A cookie
|
| 1351 |
+
*
|
| 1352 |
+
* Delivers a request to the X server.
|
| 1353 |
+
*
|
| 1354 |
+
*/
|
| 1355 |
+
xcb_selinux_get_property_data_context_cookie_t
|
| 1356 |
+
xcb_selinux_get_property_data_context (xcb_connection_t *c,
|
| 1357 |
+
xcb_window_t window,
|
| 1358 |
+
xcb_atom_t property);
|
| 1359 |
+
|
| 1360 |
+
/**
|
| 1361 |
+
*
|
| 1362 |
+
* @param c The connection
|
| 1363 |
+
* @return A cookie
|
| 1364 |
+
*
|
| 1365 |
+
* Delivers a request to the X server.
|
| 1366 |
+
*
|
| 1367 |
+
* This form can be used only if the request will cause
|
| 1368 |
+
* a reply to be generated. Any returned error will be
|
| 1369 |
+
* placed in the event queue.
|
| 1370 |
+
*/
|
| 1371 |
+
xcb_selinux_get_property_data_context_cookie_t
|
| 1372 |
+
xcb_selinux_get_property_data_context_unchecked (xcb_connection_t *c,
|
| 1373 |
+
xcb_window_t window,
|
| 1374 |
+
xcb_atom_t property);
|
| 1375 |
+
|
| 1376 |
+
char *
|
| 1377 |
+
xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t *R);
|
| 1378 |
+
|
| 1379 |
+
int
|
| 1380 |
+
xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t *R);
|
| 1381 |
+
|
| 1382 |
+
xcb_generic_iterator_t
|
| 1383 |
+
xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t *R);
|
| 1384 |
+
|
| 1385 |
+
/**
|
| 1386 |
+
* Return the reply
|
| 1387 |
+
* @param c The connection
|
| 1388 |
+
* @param cookie The cookie
|
| 1389 |
+
* @param e The xcb_generic_error_t supplied
|
| 1390 |
+
*
|
| 1391 |
+
* Returns the reply of the request asked by
|
| 1392 |
+
*
|
| 1393 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1394 |
+
* xcb_selinux_get_property_data_context_unchecked(). is used.
|
| 1395 |
+
* Otherwise, it stores the error if any.
|
| 1396 |
+
*
|
| 1397 |
+
* The returned value must be freed by the caller using free().
|
| 1398 |
+
*/
|
| 1399 |
+
xcb_selinux_get_property_data_context_reply_t *
|
| 1400 |
+
xcb_selinux_get_property_data_context_reply (xcb_connection_t *c,
|
| 1401 |
+
xcb_selinux_get_property_data_context_cookie_t cookie /**< */,
|
| 1402 |
+
xcb_generic_error_t **e);
|
| 1403 |
+
|
| 1404 |
+
int
|
| 1405 |
+
xcb_selinux_list_properties_sizeof (const void *_buffer);
|
| 1406 |
+
|
| 1407 |
+
/**
|
| 1408 |
+
*
|
| 1409 |
+
* @param c The connection
|
| 1410 |
+
* @return A cookie
|
| 1411 |
+
*
|
| 1412 |
+
* Delivers a request to the X server.
|
| 1413 |
+
*
|
| 1414 |
+
*/
|
| 1415 |
+
xcb_selinux_list_properties_cookie_t
|
| 1416 |
+
xcb_selinux_list_properties (xcb_connection_t *c,
|
| 1417 |
+
xcb_window_t window);
|
| 1418 |
+
|
| 1419 |
+
/**
|
| 1420 |
+
*
|
| 1421 |
+
* @param c The connection
|
| 1422 |
+
* @return A cookie
|
| 1423 |
+
*
|
| 1424 |
+
* Delivers a request to the X server.
|
| 1425 |
+
*
|
| 1426 |
+
* This form can be used only if the request will cause
|
| 1427 |
+
* a reply to be generated. Any returned error will be
|
| 1428 |
+
* placed in the event queue.
|
| 1429 |
+
*/
|
| 1430 |
+
xcb_selinux_list_properties_cookie_t
|
| 1431 |
+
xcb_selinux_list_properties_unchecked (xcb_connection_t *c,
|
| 1432 |
+
xcb_window_t window);
|
| 1433 |
+
|
| 1434 |
+
int
|
| 1435 |
+
xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t *R);
|
| 1436 |
+
|
| 1437 |
+
xcb_selinux_list_item_iterator_t
|
| 1438 |
+
xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t *R);
|
| 1439 |
+
|
| 1440 |
+
/**
|
| 1441 |
+
* Return the reply
|
| 1442 |
+
* @param c The connection
|
| 1443 |
+
* @param cookie The cookie
|
| 1444 |
+
* @param e The xcb_generic_error_t supplied
|
| 1445 |
+
*
|
| 1446 |
+
* Returns the reply of the request asked by
|
| 1447 |
+
*
|
| 1448 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1449 |
+
* xcb_selinux_list_properties_unchecked(). is used.
|
| 1450 |
+
* Otherwise, it stores the error if any.
|
| 1451 |
+
*
|
| 1452 |
+
* The returned value must be freed by the caller using free().
|
| 1453 |
+
*/
|
| 1454 |
+
xcb_selinux_list_properties_reply_t *
|
| 1455 |
+
xcb_selinux_list_properties_reply (xcb_connection_t *c,
|
| 1456 |
+
xcb_selinux_list_properties_cookie_t cookie /**< */,
|
| 1457 |
+
xcb_generic_error_t **e);
|
| 1458 |
+
|
| 1459 |
+
int
|
| 1460 |
+
xcb_selinux_set_selection_create_context_sizeof (const void *_buffer);
|
| 1461 |
+
|
| 1462 |
+
/**
|
| 1463 |
+
*
|
| 1464 |
+
* @param c The connection
|
| 1465 |
+
* @return A cookie
|
| 1466 |
+
*
|
| 1467 |
+
* Delivers a request to the X server.
|
| 1468 |
+
*
|
| 1469 |
+
* This form can be used only if the request will not cause
|
| 1470 |
+
* a reply to be generated. Any returned error will be
|
| 1471 |
+
* saved for handling by xcb_request_check().
|
| 1472 |
+
*/
|
| 1473 |
+
xcb_void_cookie_t
|
| 1474 |
+
xcb_selinux_set_selection_create_context_checked (xcb_connection_t *c,
|
| 1475 |
+
uint32_t context_len,
|
| 1476 |
+
const char *context);
|
| 1477 |
+
|
| 1478 |
+
/**
|
| 1479 |
+
*
|
| 1480 |
+
* @param c The connection
|
| 1481 |
+
* @return A cookie
|
| 1482 |
+
*
|
| 1483 |
+
* Delivers a request to the X server.
|
| 1484 |
+
*
|
| 1485 |
+
*/
|
| 1486 |
+
xcb_void_cookie_t
|
| 1487 |
+
xcb_selinux_set_selection_create_context (xcb_connection_t *c,
|
| 1488 |
+
uint32_t context_len,
|
| 1489 |
+
const char *context);
|
| 1490 |
+
|
| 1491 |
+
char *
|
| 1492 |
+
xcb_selinux_set_selection_create_context_context (const xcb_selinux_set_selection_create_context_request_t *R);
|
| 1493 |
+
|
| 1494 |
+
int
|
| 1495 |
+
xcb_selinux_set_selection_create_context_context_length (const xcb_selinux_set_selection_create_context_request_t *R);
|
| 1496 |
+
|
| 1497 |
+
xcb_generic_iterator_t
|
| 1498 |
+
xcb_selinux_set_selection_create_context_context_end (const xcb_selinux_set_selection_create_context_request_t *R);
|
| 1499 |
+
|
| 1500 |
+
int
|
| 1501 |
+
xcb_selinux_get_selection_create_context_sizeof (const void *_buffer);
|
| 1502 |
+
|
| 1503 |
+
/**
|
| 1504 |
+
*
|
| 1505 |
+
* @param c The connection
|
| 1506 |
+
* @return A cookie
|
| 1507 |
+
*
|
| 1508 |
+
* Delivers a request to the X server.
|
| 1509 |
+
*
|
| 1510 |
+
*/
|
| 1511 |
+
xcb_selinux_get_selection_create_context_cookie_t
|
| 1512 |
+
xcb_selinux_get_selection_create_context (xcb_connection_t *c);
|
| 1513 |
+
|
| 1514 |
+
/**
|
| 1515 |
+
*
|
| 1516 |
+
* @param c The connection
|
| 1517 |
+
* @return A cookie
|
| 1518 |
+
*
|
| 1519 |
+
* Delivers a request to the X server.
|
| 1520 |
+
*
|
| 1521 |
+
* This form can be used only if the request will cause
|
| 1522 |
+
* a reply to be generated. Any returned error will be
|
| 1523 |
+
* placed in the event queue.
|
| 1524 |
+
*/
|
| 1525 |
+
xcb_selinux_get_selection_create_context_cookie_t
|
| 1526 |
+
xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t *c);
|
| 1527 |
+
|
| 1528 |
+
char *
|
| 1529 |
+
xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t *R);
|
| 1530 |
+
|
| 1531 |
+
int
|
| 1532 |
+
xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t *R);
|
| 1533 |
+
|
| 1534 |
+
xcb_generic_iterator_t
|
| 1535 |
+
xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t *R);
|
| 1536 |
+
|
| 1537 |
+
/**
|
| 1538 |
+
* Return the reply
|
| 1539 |
+
* @param c The connection
|
| 1540 |
+
* @param cookie The cookie
|
| 1541 |
+
* @param e The xcb_generic_error_t supplied
|
| 1542 |
+
*
|
| 1543 |
+
* Returns the reply of the request asked by
|
| 1544 |
+
*
|
| 1545 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1546 |
+
* xcb_selinux_get_selection_create_context_unchecked(). is used.
|
| 1547 |
+
* Otherwise, it stores the error if any.
|
| 1548 |
+
*
|
| 1549 |
+
* The returned value must be freed by the caller using free().
|
| 1550 |
+
*/
|
| 1551 |
+
xcb_selinux_get_selection_create_context_reply_t *
|
| 1552 |
+
xcb_selinux_get_selection_create_context_reply (xcb_connection_t *c,
|
| 1553 |
+
xcb_selinux_get_selection_create_context_cookie_t cookie /**< */,
|
| 1554 |
+
xcb_generic_error_t **e);
|
| 1555 |
+
|
| 1556 |
+
int
|
| 1557 |
+
xcb_selinux_set_selection_use_context_sizeof (const void *_buffer);
|
| 1558 |
+
|
| 1559 |
+
/**
|
| 1560 |
+
*
|
| 1561 |
+
* @param c The connection
|
| 1562 |
+
* @return A cookie
|
| 1563 |
+
*
|
| 1564 |
+
* Delivers a request to the X server.
|
| 1565 |
+
*
|
| 1566 |
+
* This form can be used only if the request will not cause
|
| 1567 |
+
* a reply to be generated. Any returned error will be
|
| 1568 |
+
* saved for handling by xcb_request_check().
|
| 1569 |
+
*/
|
| 1570 |
+
xcb_void_cookie_t
|
| 1571 |
+
xcb_selinux_set_selection_use_context_checked (xcb_connection_t *c,
|
| 1572 |
+
uint32_t context_len,
|
| 1573 |
+
const char *context);
|
| 1574 |
+
|
| 1575 |
+
/**
|
| 1576 |
+
*
|
| 1577 |
+
* @param c The connection
|
| 1578 |
+
* @return A cookie
|
| 1579 |
+
*
|
| 1580 |
+
* Delivers a request to the X server.
|
| 1581 |
+
*
|
| 1582 |
+
*/
|
| 1583 |
+
xcb_void_cookie_t
|
| 1584 |
+
xcb_selinux_set_selection_use_context (xcb_connection_t *c,
|
| 1585 |
+
uint32_t context_len,
|
| 1586 |
+
const char *context);
|
| 1587 |
+
|
| 1588 |
+
char *
|
| 1589 |
+
xcb_selinux_set_selection_use_context_context (const xcb_selinux_set_selection_use_context_request_t *R);
|
| 1590 |
+
|
| 1591 |
+
int
|
| 1592 |
+
xcb_selinux_set_selection_use_context_context_length (const xcb_selinux_set_selection_use_context_request_t *R);
|
| 1593 |
+
|
| 1594 |
+
xcb_generic_iterator_t
|
| 1595 |
+
xcb_selinux_set_selection_use_context_context_end (const xcb_selinux_set_selection_use_context_request_t *R);
|
| 1596 |
+
|
| 1597 |
+
int
|
| 1598 |
+
xcb_selinux_get_selection_use_context_sizeof (const void *_buffer);
|
| 1599 |
+
|
| 1600 |
+
/**
|
| 1601 |
+
*
|
| 1602 |
+
* @param c The connection
|
| 1603 |
+
* @return A cookie
|
| 1604 |
+
*
|
| 1605 |
+
* Delivers a request to the X server.
|
| 1606 |
+
*
|
| 1607 |
+
*/
|
| 1608 |
+
xcb_selinux_get_selection_use_context_cookie_t
|
| 1609 |
+
xcb_selinux_get_selection_use_context (xcb_connection_t *c);
|
| 1610 |
+
|
| 1611 |
+
/**
|
| 1612 |
+
*
|
| 1613 |
+
* @param c The connection
|
| 1614 |
+
* @return A cookie
|
| 1615 |
+
*
|
| 1616 |
+
* Delivers a request to the X server.
|
| 1617 |
+
*
|
| 1618 |
+
* This form can be used only if the request will cause
|
| 1619 |
+
* a reply to be generated. Any returned error will be
|
| 1620 |
+
* placed in the event queue.
|
| 1621 |
+
*/
|
| 1622 |
+
xcb_selinux_get_selection_use_context_cookie_t
|
| 1623 |
+
xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t *c);
|
| 1624 |
+
|
| 1625 |
+
char *
|
| 1626 |
+
xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t *R);
|
| 1627 |
+
|
| 1628 |
+
int
|
| 1629 |
+
xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t *R);
|
| 1630 |
+
|
| 1631 |
+
xcb_generic_iterator_t
|
| 1632 |
+
xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t *R);
|
| 1633 |
+
|
| 1634 |
+
/**
|
| 1635 |
+
* Return the reply
|
| 1636 |
+
* @param c The connection
|
| 1637 |
+
* @param cookie The cookie
|
| 1638 |
+
* @param e The xcb_generic_error_t supplied
|
| 1639 |
+
*
|
| 1640 |
+
* Returns the reply of the request asked by
|
| 1641 |
+
*
|
| 1642 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1643 |
+
* xcb_selinux_get_selection_use_context_unchecked(). is used.
|
| 1644 |
+
* Otherwise, it stores the error if any.
|
| 1645 |
+
*
|
| 1646 |
+
* The returned value must be freed by the caller using free().
|
| 1647 |
+
*/
|
| 1648 |
+
xcb_selinux_get_selection_use_context_reply_t *
|
| 1649 |
+
xcb_selinux_get_selection_use_context_reply (xcb_connection_t *c,
|
| 1650 |
+
xcb_selinux_get_selection_use_context_cookie_t cookie /**< */,
|
| 1651 |
+
xcb_generic_error_t **e);
|
| 1652 |
+
|
| 1653 |
+
int
|
| 1654 |
+
xcb_selinux_get_selection_context_sizeof (const void *_buffer);
|
| 1655 |
+
|
| 1656 |
+
/**
|
| 1657 |
+
*
|
| 1658 |
+
* @param c The connection
|
| 1659 |
+
* @return A cookie
|
| 1660 |
+
*
|
| 1661 |
+
* Delivers a request to the X server.
|
| 1662 |
+
*
|
| 1663 |
+
*/
|
| 1664 |
+
xcb_selinux_get_selection_context_cookie_t
|
| 1665 |
+
xcb_selinux_get_selection_context (xcb_connection_t *c,
|
| 1666 |
+
xcb_atom_t selection);
|
| 1667 |
+
|
| 1668 |
+
/**
|
| 1669 |
+
*
|
| 1670 |
+
* @param c The connection
|
| 1671 |
+
* @return A cookie
|
| 1672 |
+
*
|
| 1673 |
+
* Delivers a request to the X server.
|
| 1674 |
+
*
|
| 1675 |
+
* This form can be used only if the request will cause
|
| 1676 |
+
* a reply to be generated. Any returned error will be
|
| 1677 |
+
* placed in the event queue.
|
| 1678 |
+
*/
|
| 1679 |
+
xcb_selinux_get_selection_context_cookie_t
|
| 1680 |
+
xcb_selinux_get_selection_context_unchecked (xcb_connection_t *c,
|
| 1681 |
+
xcb_atom_t selection);
|
| 1682 |
+
|
| 1683 |
+
char *
|
| 1684 |
+
xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t *R);
|
| 1685 |
+
|
| 1686 |
+
int
|
| 1687 |
+
xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t *R);
|
| 1688 |
+
|
| 1689 |
+
xcb_generic_iterator_t
|
| 1690 |
+
xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t *R);
|
| 1691 |
+
|
| 1692 |
+
/**
|
| 1693 |
+
* Return the reply
|
| 1694 |
+
* @param c The connection
|
| 1695 |
+
* @param cookie The cookie
|
| 1696 |
+
* @param e The xcb_generic_error_t supplied
|
| 1697 |
+
*
|
| 1698 |
+
* Returns the reply of the request asked by
|
| 1699 |
+
*
|
| 1700 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1701 |
+
* xcb_selinux_get_selection_context_unchecked(). is used.
|
| 1702 |
+
* Otherwise, it stores the error if any.
|
| 1703 |
+
*
|
| 1704 |
+
* The returned value must be freed by the caller using free().
|
| 1705 |
+
*/
|
| 1706 |
+
xcb_selinux_get_selection_context_reply_t *
|
| 1707 |
+
xcb_selinux_get_selection_context_reply (xcb_connection_t *c,
|
| 1708 |
+
xcb_selinux_get_selection_context_cookie_t cookie /**< */,
|
| 1709 |
+
xcb_generic_error_t **e);
|
| 1710 |
+
|
| 1711 |
+
int
|
| 1712 |
+
xcb_selinux_get_selection_data_context_sizeof (const void *_buffer);
|
| 1713 |
+
|
| 1714 |
+
/**
|
| 1715 |
+
*
|
| 1716 |
+
* @param c The connection
|
| 1717 |
+
* @return A cookie
|
| 1718 |
+
*
|
| 1719 |
+
* Delivers a request to the X server.
|
| 1720 |
+
*
|
| 1721 |
+
*/
|
| 1722 |
+
xcb_selinux_get_selection_data_context_cookie_t
|
| 1723 |
+
xcb_selinux_get_selection_data_context (xcb_connection_t *c,
|
| 1724 |
+
xcb_atom_t selection);
|
| 1725 |
+
|
| 1726 |
+
/**
|
| 1727 |
+
*
|
| 1728 |
+
* @param c The connection
|
| 1729 |
+
* @return A cookie
|
| 1730 |
+
*
|
| 1731 |
+
* Delivers a request to the X server.
|
| 1732 |
+
*
|
| 1733 |
+
* This form can be used only if the request will cause
|
| 1734 |
+
* a reply to be generated. Any returned error will be
|
| 1735 |
+
* placed in the event queue.
|
| 1736 |
+
*/
|
| 1737 |
+
xcb_selinux_get_selection_data_context_cookie_t
|
| 1738 |
+
xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t *c,
|
| 1739 |
+
xcb_atom_t selection);
|
| 1740 |
+
|
| 1741 |
+
char *
|
| 1742 |
+
xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t *R);
|
| 1743 |
+
|
| 1744 |
+
int
|
| 1745 |
+
xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t *R);
|
| 1746 |
+
|
| 1747 |
+
xcb_generic_iterator_t
|
| 1748 |
+
xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t *R);
|
| 1749 |
+
|
| 1750 |
+
/**
|
| 1751 |
+
* Return the reply
|
| 1752 |
+
* @param c The connection
|
| 1753 |
+
* @param cookie The cookie
|
| 1754 |
+
* @param e The xcb_generic_error_t supplied
|
| 1755 |
+
*
|
| 1756 |
+
* Returns the reply of the request asked by
|
| 1757 |
+
*
|
| 1758 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1759 |
+
* xcb_selinux_get_selection_data_context_unchecked(). is used.
|
| 1760 |
+
* Otherwise, it stores the error if any.
|
| 1761 |
+
*
|
| 1762 |
+
* The returned value must be freed by the caller using free().
|
| 1763 |
+
*/
|
| 1764 |
+
xcb_selinux_get_selection_data_context_reply_t *
|
| 1765 |
+
xcb_selinux_get_selection_data_context_reply (xcb_connection_t *c,
|
| 1766 |
+
xcb_selinux_get_selection_data_context_cookie_t cookie /**< */,
|
| 1767 |
+
xcb_generic_error_t **e);
|
| 1768 |
+
|
| 1769 |
+
int
|
| 1770 |
+
xcb_selinux_list_selections_sizeof (const void *_buffer);
|
| 1771 |
+
|
| 1772 |
+
/**
|
| 1773 |
+
*
|
| 1774 |
+
* @param c The connection
|
| 1775 |
+
* @return A cookie
|
| 1776 |
+
*
|
| 1777 |
+
* Delivers a request to the X server.
|
| 1778 |
+
*
|
| 1779 |
+
*/
|
| 1780 |
+
xcb_selinux_list_selections_cookie_t
|
| 1781 |
+
xcb_selinux_list_selections (xcb_connection_t *c);
|
| 1782 |
+
|
| 1783 |
+
/**
|
| 1784 |
+
*
|
| 1785 |
+
* @param c The connection
|
| 1786 |
+
* @return A cookie
|
| 1787 |
+
*
|
| 1788 |
+
* Delivers a request to the X server.
|
| 1789 |
+
*
|
| 1790 |
+
* This form can be used only if the request will cause
|
| 1791 |
+
* a reply to be generated. Any returned error will be
|
| 1792 |
+
* placed in the event queue.
|
| 1793 |
+
*/
|
| 1794 |
+
xcb_selinux_list_selections_cookie_t
|
| 1795 |
+
xcb_selinux_list_selections_unchecked (xcb_connection_t *c);
|
| 1796 |
+
|
| 1797 |
+
int
|
| 1798 |
+
xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t *R);
|
| 1799 |
+
|
| 1800 |
+
xcb_selinux_list_item_iterator_t
|
| 1801 |
+
xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t *R);
|
| 1802 |
+
|
| 1803 |
+
/**
|
| 1804 |
+
* Return the reply
|
| 1805 |
+
* @param c The connection
|
| 1806 |
+
* @param cookie The cookie
|
| 1807 |
+
* @param e The xcb_generic_error_t supplied
|
| 1808 |
+
*
|
| 1809 |
+
* Returns the reply of the request asked by
|
| 1810 |
+
*
|
| 1811 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1812 |
+
* xcb_selinux_list_selections_unchecked(). is used.
|
| 1813 |
+
* Otherwise, it stores the error if any.
|
| 1814 |
+
*
|
| 1815 |
+
* The returned value must be freed by the caller using free().
|
| 1816 |
+
*/
|
| 1817 |
+
xcb_selinux_list_selections_reply_t *
|
| 1818 |
+
xcb_selinux_list_selections_reply (xcb_connection_t *c,
|
| 1819 |
+
xcb_selinux_list_selections_cookie_t cookie /**< */,
|
| 1820 |
+
xcb_generic_error_t **e);
|
| 1821 |
+
|
| 1822 |
+
int
|
| 1823 |
+
xcb_selinux_get_client_context_sizeof (const void *_buffer);
|
| 1824 |
+
|
| 1825 |
+
/**
|
| 1826 |
+
*
|
| 1827 |
+
* @param c The connection
|
| 1828 |
+
* @return A cookie
|
| 1829 |
+
*
|
| 1830 |
+
* Delivers a request to the X server.
|
| 1831 |
+
*
|
| 1832 |
+
*/
|
| 1833 |
+
xcb_selinux_get_client_context_cookie_t
|
| 1834 |
+
xcb_selinux_get_client_context (xcb_connection_t *c,
|
| 1835 |
+
uint32_t resource);
|
| 1836 |
+
|
| 1837 |
+
/**
|
| 1838 |
+
*
|
| 1839 |
+
* @param c The connection
|
| 1840 |
+
* @return A cookie
|
| 1841 |
+
*
|
| 1842 |
+
* Delivers a request to the X server.
|
| 1843 |
+
*
|
| 1844 |
+
* This form can be used only if the request will cause
|
| 1845 |
+
* a reply to be generated. Any returned error will be
|
| 1846 |
+
* placed in the event queue.
|
| 1847 |
+
*/
|
| 1848 |
+
xcb_selinux_get_client_context_cookie_t
|
| 1849 |
+
xcb_selinux_get_client_context_unchecked (xcb_connection_t *c,
|
| 1850 |
+
uint32_t resource);
|
| 1851 |
+
|
| 1852 |
+
char *
|
| 1853 |
+
xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t *R);
|
| 1854 |
+
|
| 1855 |
+
int
|
| 1856 |
+
xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t *R);
|
| 1857 |
+
|
| 1858 |
+
xcb_generic_iterator_t
|
| 1859 |
+
xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t *R);
|
| 1860 |
+
|
| 1861 |
+
/**
|
| 1862 |
+
* Return the reply
|
| 1863 |
+
* @param c The connection
|
| 1864 |
+
* @param cookie The cookie
|
| 1865 |
+
* @param e The xcb_generic_error_t supplied
|
| 1866 |
+
*
|
| 1867 |
+
* Returns the reply of the request asked by
|
| 1868 |
+
*
|
| 1869 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1870 |
+
* xcb_selinux_get_client_context_unchecked(). is used.
|
| 1871 |
+
* Otherwise, it stores the error if any.
|
| 1872 |
+
*
|
| 1873 |
+
* The returned value must be freed by the caller using free().
|
| 1874 |
+
*/
|
| 1875 |
+
xcb_selinux_get_client_context_reply_t *
|
| 1876 |
+
xcb_selinux_get_client_context_reply (xcb_connection_t *c,
|
| 1877 |
+
xcb_selinux_get_client_context_cookie_t cookie /**< */,
|
| 1878 |
+
xcb_generic_error_t **e);
|
| 1879 |
+
|
| 1880 |
+
|
| 1881 |
+
#ifdef __cplusplus
|
| 1882 |
+
}
|
| 1883 |
+
#endif
|
| 1884 |
+
|
| 1885 |
+
#endif
|
| 1886 |
+
|
| 1887 |
+
/**
|
| 1888 |
+
* @}
|
| 1889 |
+
*/
|
miniconda3/envs/ladir/include/xcb/xtest.h
ADDED
|
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xtest.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Test_API XCB Test API
|
| 8 |
+
* @brief Test XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XTEST_H
|
| 13 |
+
#define __XTEST_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_TEST_MAJOR_VERSION 2
|
| 23 |
+
#define XCB_TEST_MINOR_VERSION 2
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_test_id;
|
| 26 |
+
|
| 27 |
+
/**
|
| 28 |
+
* @brief xcb_test_get_version_cookie_t
|
| 29 |
+
**/
|
| 30 |
+
typedef struct xcb_test_get_version_cookie_t {
|
| 31 |
+
unsigned int sequence;
|
| 32 |
+
} xcb_test_get_version_cookie_t;
|
| 33 |
+
|
| 34 |
+
/** Opcode for xcb_test_get_version. */
|
| 35 |
+
#define XCB_TEST_GET_VERSION 0
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* @brief xcb_test_get_version_request_t
|
| 39 |
+
**/
|
| 40 |
+
typedef struct xcb_test_get_version_request_t {
|
| 41 |
+
uint8_t major_opcode;
|
| 42 |
+
uint8_t minor_opcode;
|
| 43 |
+
uint16_t length;
|
| 44 |
+
uint8_t major_version;
|
| 45 |
+
uint8_t pad0;
|
| 46 |
+
uint16_t minor_version;
|
| 47 |
+
} xcb_test_get_version_request_t;
|
| 48 |
+
|
| 49 |
+
/**
|
| 50 |
+
* @brief xcb_test_get_version_reply_t
|
| 51 |
+
**/
|
| 52 |
+
typedef struct xcb_test_get_version_reply_t {
|
| 53 |
+
uint8_t response_type;
|
| 54 |
+
uint8_t major_version;
|
| 55 |
+
uint16_t sequence;
|
| 56 |
+
uint32_t length;
|
| 57 |
+
uint16_t minor_version;
|
| 58 |
+
} xcb_test_get_version_reply_t;
|
| 59 |
+
|
| 60 |
+
typedef enum xcb_test_cursor_t {
|
| 61 |
+
XCB_TEST_CURSOR_NONE = 0,
|
| 62 |
+
XCB_TEST_CURSOR_CURRENT = 1
|
| 63 |
+
} xcb_test_cursor_t;
|
| 64 |
+
|
| 65 |
+
/**
|
| 66 |
+
* @brief xcb_test_compare_cursor_cookie_t
|
| 67 |
+
**/
|
| 68 |
+
typedef struct xcb_test_compare_cursor_cookie_t {
|
| 69 |
+
unsigned int sequence;
|
| 70 |
+
} xcb_test_compare_cursor_cookie_t;
|
| 71 |
+
|
| 72 |
+
/** Opcode for xcb_test_compare_cursor. */
|
| 73 |
+
#define XCB_TEST_COMPARE_CURSOR 1
|
| 74 |
+
|
| 75 |
+
/**
|
| 76 |
+
* @brief xcb_test_compare_cursor_request_t
|
| 77 |
+
**/
|
| 78 |
+
typedef struct xcb_test_compare_cursor_request_t {
|
| 79 |
+
uint8_t major_opcode;
|
| 80 |
+
uint8_t minor_opcode;
|
| 81 |
+
uint16_t length;
|
| 82 |
+
xcb_window_t window;
|
| 83 |
+
xcb_cursor_t cursor;
|
| 84 |
+
} xcb_test_compare_cursor_request_t;
|
| 85 |
+
|
| 86 |
+
/**
|
| 87 |
+
* @brief xcb_test_compare_cursor_reply_t
|
| 88 |
+
**/
|
| 89 |
+
typedef struct xcb_test_compare_cursor_reply_t {
|
| 90 |
+
uint8_t response_type;
|
| 91 |
+
uint8_t same;
|
| 92 |
+
uint16_t sequence;
|
| 93 |
+
uint32_t length;
|
| 94 |
+
} xcb_test_compare_cursor_reply_t;
|
| 95 |
+
|
| 96 |
+
/** Opcode for xcb_test_fake_input. */
|
| 97 |
+
#define XCB_TEST_FAKE_INPUT 2
|
| 98 |
+
|
| 99 |
+
/**
|
| 100 |
+
* @brief xcb_test_fake_input_request_t
|
| 101 |
+
**/
|
| 102 |
+
typedef struct xcb_test_fake_input_request_t {
|
| 103 |
+
uint8_t major_opcode;
|
| 104 |
+
uint8_t minor_opcode;
|
| 105 |
+
uint16_t length;
|
| 106 |
+
uint8_t type;
|
| 107 |
+
uint8_t detail;
|
| 108 |
+
uint8_t pad0[2];
|
| 109 |
+
uint32_t time;
|
| 110 |
+
xcb_window_t root;
|
| 111 |
+
uint8_t pad1[8];
|
| 112 |
+
int16_t rootX;
|
| 113 |
+
int16_t rootY;
|
| 114 |
+
uint8_t pad2[7];
|
| 115 |
+
uint8_t deviceid;
|
| 116 |
+
} xcb_test_fake_input_request_t;
|
| 117 |
+
|
| 118 |
+
/** Opcode for xcb_test_grab_control. */
|
| 119 |
+
#define XCB_TEST_GRAB_CONTROL 3
|
| 120 |
+
|
| 121 |
+
/**
|
| 122 |
+
* @brief xcb_test_grab_control_request_t
|
| 123 |
+
**/
|
| 124 |
+
typedef struct xcb_test_grab_control_request_t {
|
| 125 |
+
uint8_t major_opcode;
|
| 126 |
+
uint8_t minor_opcode;
|
| 127 |
+
uint16_t length;
|
| 128 |
+
uint8_t impervious;
|
| 129 |
+
uint8_t pad0[3];
|
| 130 |
+
} xcb_test_grab_control_request_t;
|
| 131 |
+
|
| 132 |
+
/**
|
| 133 |
+
*
|
| 134 |
+
* @param c The connection
|
| 135 |
+
* @return A cookie
|
| 136 |
+
*
|
| 137 |
+
* Delivers a request to the X server.
|
| 138 |
+
*
|
| 139 |
+
*/
|
| 140 |
+
xcb_test_get_version_cookie_t
|
| 141 |
+
xcb_test_get_version (xcb_connection_t *c,
|
| 142 |
+
uint8_t major_version,
|
| 143 |
+
uint16_t minor_version);
|
| 144 |
+
|
| 145 |
+
/**
|
| 146 |
+
*
|
| 147 |
+
* @param c The connection
|
| 148 |
+
* @return A cookie
|
| 149 |
+
*
|
| 150 |
+
* Delivers a request to the X server.
|
| 151 |
+
*
|
| 152 |
+
* This form can be used only if the request will cause
|
| 153 |
+
* a reply to be generated. Any returned error will be
|
| 154 |
+
* placed in the event queue.
|
| 155 |
+
*/
|
| 156 |
+
xcb_test_get_version_cookie_t
|
| 157 |
+
xcb_test_get_version_unchecked (xcb_connection_t *c,
|
| 158 |
+
uint8_t major_version,
|
| 159 |
+
uint16_t minor_version);
|
| 160 |
+
|
| 161 |
+
/**
|
| 162 |
+
* Return the reply
|
| 163 |
+
* @param c The connection
|
| 164 |
+
* @param cookie The cookie
|
| 165 |
+
* @param e The xcb_generic_error_t supplied
|
| 166 |
+
*
|
| 167 |
+
* Returns the reply of the request asked by
|
| 168 |
+
*
|
| 169 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 170 |
+
* xcb_test_get_version_unchecked(). is used.
|
| 171 |
+
* Otherwise, it stores the error if any.
|
| 172 |
+
*
|
| 173 |
+
* The returned value must be freed by the caller using free().
|
| 174 |
+
*/
|
| 175 |
+
xcb_test_get_version_reply_t *
|
| 176 |
+
xcb_test_get_version_reply (xcb_connection_t *c,
|
| 177 |
+
xcb_test_get_version_cookie_t cookie /**< */,
|
| 178 |
+
xcb_generic_error_t **e);
|
| 179 |
+
|
| 180 |
+
/**
|
| 181 |
+
*
|
| 182 |
+
* @param c The connection
|
| 183 |
+
* @return A cookie
|
| 184 |
+
*
|
| 185 |
+
* Delivers a request to the X server.
|
| 186 |
+
*
|
| 187 |
+
*/
|
| 188 |
+
xcb_test_compare_cursor_cookie_t
|
| 189 |
+
xcb_test_compare_cursor (xcb_connection_t *c,
|
| 190 |
+
xcb_window_t window,
|
| 191 |
+
xcb_cursor_t cursor);
|
| 192 |
+
|
| 193 |
+
/**
|
| 194 |
+
*
|
| 195 |
+
* @param c The connection
|
| 196 |
+
* @return A cookie
|
| 197 |
+
*
|
| 198 |
+
* Delivers a request to the X server.
|
| 199 |
+
*
|
| 200 |
+
* This form can be used only if the request will cause
|
| 201 |
+
* a reply to be generated. Any returned error will be
|
| 202 |
+
* placed in the event queue.
|
| 203 |
+
*/
|
| 204 |
+
xcb_test_compare_cursor_cookie_t
|
| 205 |
+
xcb_test_compare_cursor_unchecked (xcb_connection_t *c,
|
| 206 |
+
xcb_window_t window,
|
| 207 |
+
xcb_cursor_t cursor);
|
| 208 |
+
|
| 209 |
+
/**
|
| 210 |
+
* Return the reply
|
| 211 |
+
* @param c The connection
|
| 212 |
+
* @param cookie The cookie
|
| 213 |
+
* @param e The xcb_generic_error_t supplied
|
| 214 |
+
*
|
| 215 |
+
* Returns the reply of the request asked by
|
| 216 |
+
*
|
| 217 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 218 |
+
* xcb_test_compare_cursor_unchecked(). is used.
|
| 219 |
+
* Otherwise, it stores the error if any.
|
| 220 |
+
*
|
| 221 |
+
* The returned value must be freed by the caller using free().
|
| 222 |
+
*/
|
| 223 |
+
xcb_test_compare_cursor_reply_t *
|
| 224 |
+
xcb_test_compare_cursor_reply (xcb_connection_t *c,
|
| 225 |
+
xcb_test_compare_cursor_cookie_t cookie /**< */,
|
| 226 |
+
xcb_generic_error_t **e);
|
| 227 |
+
|
| 228 |
+
/**
|
| 229 |
+
*
|
| 230 |
+
* @param c The connection
|
| 231 |
+
* @return A cookie
|
| 232 |
+
*
|
| 233 |
+
* Delivers a request to the X server.
|
| 234 |
+
*
|
| 235 |
+
* This form can be used only if the request will not cause
|
| 236 |
+
* a reply to be generated. Any returned error will be
|
| 237 |
+
* saved for handling by xcb_request_check().
|
| 238 |
+
*/
|
| 239 |
+
xcb_void_cookie_t
|
| 240 |
+
xcb_test_fake_input_checked (xcb_connection_t *c,
|
| 241 |
+
uint8_t type,
|
| 242 |
+
uint8_t detail,
|
| 243 |
+
uint32_t time,
|
| 244 |
+
xcb_window_t root,
|
| 245 |
+
int16_t rootX,
|
| 246 |
+
int16_t rootY,
|
| 247 |
+
uint8_t deviceid);
|
| 248 |
+
|
| 249 |
+
/**
|
| 250 |
+
*
|
| 251 |
+
* @param c The connection
|
| 252 |
+
* @return A cookie
|
| 253 |
+
*
|
| 254 |
+
* Delivers a request to the X server.
|
| 255 |
+
*
|
| 256 |
+
*/
|
| 257 |
+
xcb_void_cookie_t
|
| 258 |
+
xcb_test_fake_input (xcb_connection_t *c,
|
| 259 |
+
uint8_t type,
|
| 260 |
+
uint8_t detail,
|
| 261 |
+
uint32_t time,
|
| 262 |
+
xcb_window_t root,
|
| 263 |
+
int16_t rootX,
|
| 264 |
+
int16_t rootY,
|
| 265 |
+
uint8_t deviceid);
|
| 266 |
+
|
| 267 |
+
/**
|
| 268 |
+
*
|
| 269 |
+
* @param c The connection
|
| 270 |
+
* @return A cookie
|
| 271 |
+
*
|
| 272 |
+
* Delivers a request to the X server.
|
| 273 |
+
*
|
| 274 |
+
* This form can be used only if the request will not cause
|
| 275 |
+
* a reply to be generated. Any returned error will be
|
| 276 |
+
* saved for handling by xcb_request_check().
|
| 277 |
+
*/
|
| 278 |
+
xcb_void_cookie_t
|
| 279 |
+
xcb_test_grab_control_checked (xcb_connection_t *c,
|
| 280 |
+
uint8_t impervious);
|
| 281 |
+
|
| 282 |
+
/**
|
| 283 |
+
*
|
| 284 |
+
* @param c The connection
|
| 285 |
+
* @return A cookie
|
| 286 |
+
*
|
| 287 |
+
* Delivers a request to the X server.
|
| 288 |
+
*
|
| 289 |
+
*/
|
| 290 |
+
xcb_void_cookie_t
|
| 291 |
+
xcb_test_grab_control (xcb_connection_t *c,
|
| 292 |
+
uint8_t impervious);
|
| 293 |
+
|
| 294 |
+
|
| 295 |
+
#ifdef __cplusplus
|
| 296 |
+
}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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xv.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_Xv_API XCB Xv API
|
| 8 |
+
* @brief Xv XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XV_H
|
| 13 |
+
#define __XV_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xproto.h"
|
| 17 |
+
#include "shm.h"
|
| 18 |
+
|
| 19 |
+
#ifdef __cplusplus
|
| 20 |
+
extern "C" {
|
| 21 |
+
#endif
|
| 22 |
+
|
| 23 |
+
#define XCB_XV_MAJOR_VERSION 2
|
| 24 |
+
#define XCB_XV_MINOR_VERSION 2
|
| 25 |
+
|
| 26 |
+
extern xcb_extension_t xcb_xv_id;
|
| 27 |
+
|
| 28 |
+
typedef uint32_t xcb_xv_port_t;
|
| 29 |
+
|
| 30 |
+
/**
|
| 31 |
+
* @brief xcb_xv_port_iterator_t
|
| 32 |
+
**/
|
| 33 |
+
typedef struct xcb_xv_port_iterator_t {
|
| 34 |
+
xcb_xv_port_t *data;
|
| 35 |
+
int rem;
|
| 36 |
+
int index;
|
| 37 |
+
} xcb_xv_port_iterator_t;
|
| 38 |
+
|
| 39 |
+
typedef uint32_t xcb_xv_encoding_t;
|
| 40 |
+
|
| 41 |
+
/**
|
| 42 |
+
* @brief xcb_xv_encoding_iterator_t
|
| 43 |
+
**/
|
| 44 |
+
typedef struct xcb_xv_encoding_iterator_t {
|
| 45 |
+
xcb_xv_encoding_t *data;
|
| 46 |
+
int rem;
|
| 47 |
+
int index;
|
| 48 |
+
} xcb_xv_encoding_iterator_t;
|
| 49 |
+
|
| 50 |
+
typedef enum xcb_xv_type_t {
|
| 51 |
+
XCB_XV_TYPE_INPUT_MASK = 1,
|
| 52 |
+
XCB_XV_TYPE_OUTPUT_MASK = 2,
|
| 53 |
+
XCB_XV_TYPE_VIDEO_MASK = 4,
|
| 54 |
+
XCB_XV_TYPE_STILL_MASK = 8,
|
| 55 |
+
XCB_XV_TYPE_IMAGE_MASK = 16
|
| 56 |
+
} xcb_xv_type_t;
|
| 57 |
+
|
| 58 |
+
typedef enum xcb_xv_image_format_info_type_t {
|
| 59 |
+
XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB = 0,
|
| 60 |
+
XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV = 1
|
| 61 |
+
} xcb_xv_image_format_info_type_t;
|
| 62 |
+
|
| 63 |
+
typedef enum xcb_xv_image_format_info_format_t {
|
| 64 |
+
XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED = 0,
|
| 65 |
+
XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR = 1
|
| 66 |
+
} xcb_xv_image_format_info_format_t;
|
| 67 |
+
|
| 68 |
+
typedef enum xcb_xv_attribute_flag_t {
|
| 69 |
+
XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 1,
|
| 70 |
+
XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 2
|
| 71 |
+
} xcb_xv_attribute_flag_t;
|
| 72 |
+
|
| 73 |
+
typedef enum xcb_xv_video_notify_reason_t {
|
| 74 |
+
XCB_XV_VIDEO_NOTIFY_REASON_STARTED = 0,
|
| 75 |
+
XCB_XV_VIDEO_NOTIFY_REASON_STOPPED = 1,
|
| 76 |
+
XCB_XV_VIDEO_NOTIFY_REASON_BUSY = 2,
|
| 77 |
+
XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED = 3,
|
| 78 |
+
XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR = 4
|
| 79 |
+
} xcb_xv_video_notify_reason_t;
|
| 80 |
+
|
| 81 |
+
typedef enum xcb_xv_scanline_order_t {
|
| 82 |
+
XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM = 0,
|
| 83 |
+
XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP = 1
|
| 84 |
+
} xcb_xv_scanline_order_t;
|
| 85 |
+
|
| 86 |
+
typedef enum xcb_xv_grab_port_status_t {
|
| 87 |
+
XCB_XV_GRAB_PORT_STATUS_SUCCESS = 0,
|
| 88 |
+
XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION = 1,
|
| 89 |
+
XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED = 2,
|
| 90 |
+
XCB_XV_GRAB_PORT_STATUS_INVALID_TIME = 3,
|
| 91 |
+
XCB_XV_GRAB_PORT_STATUS_BAD_REPLY = 4,
|
| 92 |
+
XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC = 5
|
| 93 |
+
} xcb_xv_grab_port_status_t;
|
| 94 |
+
|
| 95 |
+
/**
|
| 96 |
+
* @brief xcb_xv_rational_t
|
| 97 |
+
**/
|
| 98 |
+
typedef struct xcb_xv_rational_t {
|
| 99 |
+
int32_t numerator;
|
| 100 |
+
int32_t denominator;
|
| 101 |
+
} xcb_xv_rational_t;
|
| 102 |
+
|
| 103 |
+
/**
|
| 104 |
+
* @brief xcb_xv_rational_iterator_t
|
| 105 |
+
**/
|
| 106 |
+
typedef struct xcb_xv_rational_iterator_t {
|
| 107 |
+
xcb_xv_rational_t *data;
|
| 108 |
+
int rem;
|
| 109 |
+
int index;
|
| 110 |
+
} xcb_xv_rational_iterator_t;
|
| 111 |
+
|
| 112 |
+
/**
|
| 113 |
+
* @brief xcb_xv_format_t
|
| 114 |
+
**/
|
| 115 |
+
typedef struct xcb_xv_format_t {
|
| 116 |
+
xcb_visualid_t visual;
|
| 117 |
+
uint8_t depth;
|
| 118 |
+
uint8_t pad0[3];
|
| 119 |
+
} xcb_xv_format_t;
|
| 120 |
+
|
| 121 |
+
/**
|
| 122 |
+
* @brief xcb_xv_format_iterator_t
|
| 123 |
+
**/
|
| 124 |
+
typedef struct xcb_xv_format_iterator_t {
|
| 125 |
+
xcb_xv_format_t *data;
|
| 126 |
+
int rem;
|
| 127 |
+
int index;
|
| 128 |
+
} xcb_xv_format_iterator_t;
|
| 129 |
+
|
| 130 |
+
/**
|
| 131 |
+
* @brief xcb_xv_adaptor_info_t
|
| 132 |
+
**/
|
| 133 |
+
typedef struct xcb_xv_adaptor_info_t {
|
| 134 |
+
xcb_xv_port_t base_id;
|
| 135 |
+
uint16_t name_size;
|
| 136 |
+
uint16_t num_ports;
|
| 137 |
+
uint16_t num_formats;
|
| 138 |
+
uint8_t type;
|
| 139 |
+
uint8_t pad0;
|
| 140 |
+
} xcb_xv_adaptor_info_t;
|
| 141 |
+
|
| 142 |
+
/**
|
| 143 |
+
* @brief xcb_xv_adaptor_info_iterator_t
|
| 144 |
+
**/
|
| 145 |
+
typedef struct xcb_xv_adaptor_info_iterator_t {
|
| 146 |
+
xcb_xv_adaptor_info_t *data;
|
| 147 |
+
int rem;
|
| 148 |
+
int index;
|
| 149 |
+
} xcb_xv_adaptor_info_iterator_t;
|
| 150 |
+
|
| 151 |
+
/**
|
| 152 |
+
* @brief xcb_xv_encoding_info_t
|
| 153 |
+
**/
|
| 154 |
+
typedef struct xcb_xv_encoding_info_t {
|
| 155 |
+
xcb_xv_encoding_t encoding;
|
| 156 |
+
uint16_t name_size;
|
| 157 |
+
uint16_t width;
|
| 158 |
+
uint16_t height;
|
| 159 |
+
uint8_t pad0[2];
|
| 160 |
+
xcb_xv_rational_t rate;
|
| 161 |
+
} xcb_xv_encoding_info_t;
|
| 162 |
+
|
| 163 |
+
/**
|
| 164 |
+
* @brief xcb_xv_encoding_info_iterator_t
|
| 165 |
+
**/
|
| 166 |
+
typedef struct xcb_xv_encoding_info_iterator_t {
|
| 167 |
+
xcb_xv_encoding_info_t *data;
|
| 168 |
+
int rem;
|
| 169 |
+
int index;
|
| 170 |
+
} xcb_xv_encoding_info_iterator_t;
|
| 171 |
+
|
| 172 |
+
/**
|
| 173 |
+
* @brief xcb_xv_image_t
|
| 174 |
+
**/
|
| 175 |
+
typedef struct xcb_xv_image_t {
|
| 176 |
+
uint32_t id;
|
| 177 |
+
uint16_t width;
|
| 178 |
+
uint16_t height;
|
| 179 |
+
uint32_t data_size;
|
| 180 |
+
uint32_t num_planes;
|
| 181 |
+
} xcb_xv_image_t;
|
| 182 |
+
|
| 183 |
+
/**
|
| 184 |
+
* @brief xcb_xv_image_iterator_t
|
| 185 |
+
**/
|
| 186 |
+
typedef struct xcb_xv_image_iterator_t {
|
| 187 |
+
xcb_xv_image_t *data;
|
| 188 |
+
int rem;
|
| 189 |
+
int index;
|
| 190 |
+
} xcb_xv_image_iterator_t;
|
| 191 |
+
|
| 192 |
+
/**
|
| 193 |
+
* @brief xcb_xv_attribute_info_t
|
| 194 |
+
**/
|
| 195 |
+
typedef struct xcb_xv_attribute_info_t {
|
| 196 |
+
uint32_t flags;
|
| 197 |
+
int32_t min;
|
| 198 |
+
int32_t max;
|
| 199 |
+
uint32_t size;
|
| 200 |
+
} xcb_xv_attribute_info_t;
|
| 201 |
+
|
| 202 |
+
/**
|
| 203 |
+
* @brief xcb_xv_attribute_info_iterator_t
|
| 204 |
+
**/
|
| 205 |
+
typedef struct xcb_xv_attribute_info_iterator_t {
|
| 206 |
+
xcb_xv_attribute_info_t *data;
|
| 207 |
+
int rem;
|
| 208 |
+
int index;
|
| 209 |
+
} xcb_xv_attribute_info_iterator_t;
|
| 210 |
+
|
| 211 |
+
/**
|
| 212 |
+
* @brief xcb_xv_image_format_info_t
|
| 213 |
+
**/
|
| 214 |
+
typedef struct xcb_xv_image_format_info_t {
|
| 215 |
+
uint32_t id;
|
| 216 |
+
uint8_t type;
|
| 217 |
+
uint8_t byte_order;
|
| 218 |
+
uint8_t pad0[2];
|
| 219 |
+
uint8_t guid[16];
|
| 220 |
+
uint8_t bpp;
|
| 221 |
+
uint8_t num_planes;
|
| 222 |
+
uint8_t pad1[2];
|
| 223 |
+
uint8_t depth;
|
| 224 |
+
uint8_t pad2[3];
|
| 225 |
+
uint32_t red_mask;
|
| 226 |
+
uint32_t green_mask;
|
| 227 |
+
uint32_t blue_mask;
|
| 228 |
+
uint8_t format;
|
| 229 |
+
uint8_t pad3[3];
|
| 230 |
+
uint32_t y_sample_bits;
|
| 231 |
+
uint32_t u_sample_bits;
|
| 232 |
+
uint32_t v_sample_bits;
|
| 233 |
+
uint32_t vhorz_y_period;
|
| 234 |
+
uint32_t vhorz_u_period;
|
| 235 |
+
uint32_t vhorz_v_period;
|
| 236 |
+
uint32_t vvert_y_period;
|
| 237 |
+
uint32_t vvert_u_period;
|
| 238 |
+
uint32_t vvert_v_period;
|
| 239 |
+
uint8_t vcomp_order[32];
|
| 240 |
+
uint8_t vscanline_order;
|
| 241 |
+
uint8_t pad4[11];
|
| 242 |
+
} xcb_xv_image_format_info_t;
|
| 243 |
+
|
| 244 |
+
/**
|
| 245 |
+
* @brief xcb_xv_image_format_info_iterator_t
|
| 246 |
+
**/
|
| 247 |
+
typedef struct xcb_xv_image_format_info_iterator_t {
|
| 248 |
+
xcb_xv_image_format_info_t *data;
|
| 249 |
+
int rem;
|
| 250 |
+
int index;
|
| 251 |
+
} xcb_xv_image_format_info_iterator_t;
|
| 252 |
+
|
| 253 |
+
/** Opcode for xcb_xv_bad_port. */
|
| 254 |
+
#define XCB_XV_BAD_PORT 0
|
| 255 |
+
|
| 256 |
+
/**
|
| 257 |
+
* @brief xcb_xv_bad_port_error_t
|
| 258 |
+
**/
|
| 259 |
+
typedef struct xcb_xv_bad_port_error_t {
|
| 260 |
+
uint8_t response_type;
|
| 261 |
+
uint8_t error_code;
|
| 262 |
+
uint16_t sequence;
|
| 263 |
+
uint32_t bad_value;
|
| 264 |
+
uint16_t minor_opcode;
|
| 265 |
+
uint8_t major_opcode;
|
| 266 |
+
} xcb_xv_bad_port_error_t;
|
| 267 |
+
|
| 268 |
+
/** Opcode for xcb_xv_bad_encoding. */
|
| 269 |
+
#define XCB_XV_BAD_ENCODING 1
|
| 270 |
+
|
| 271 |
+
/**
|
| 272 |
+
* @brief xcb_xv_bad_encoding_error_t
|
| 273 |
+
**/
|
| 274 |
+
typedef struct xcb_xv_bad_encoding_error_t {
|
| 275 |
+
uint8_t response_type;
|
| 276 |
+
uint8_t error_code;
|
| 277 |
+
uint16_t sequence;
|
| 278 |
+
uint32_t bad_value;
|
| 279 |
+
uint16_t minor_opcode;
|
| 280 |
+
uint8_t major_opcode;
|
| 281 |
+
} xcb_xv_bad_encoding_error_t;
|
| 282 |
+
|
| 283 |
+
/** Opcode for xcb_xv_bad_control. */
|
| 284 |
+
#define XCB_XV_BAD_CONTROL 2
|
| 285 |
+
|
| 286 |
+
/**
|
| 287 |
+
* @brief xcb_xv_bad_control_error_t
|
| 288 |
+
**/
|
| 289 |
+
typedef struct xcb_xv_bad_control_error_t {
|
| 290 |
+
uint8_t response_type;
|
| 291 |
+
uint8_t error_code;
|
| 292 |
+
uint16_t sequence;
|
| 293 |
+
uint32_t bad_value;
|
| 294 |
+
uint16_t minor_opcode;
|
| 295 |
+
uint8_t major_opcode;
|
| 296 |
+
} xcb_xv_bad_control_error_t;
|
| 297 |
+
|
| 298 |
+
/** Opcode for xcb_xv_video_notify. */
|
| 299 |
+
#define XCB_XV_VIDEO_NOTIFY 0
|
| 300 |
+
|
| 301 |
+
/**
|
| 302 |
+
* @brief xcb_xv_video_notify_event_t
|
| 303 |
+
**/
|
| 304 |
+
typedef struct xcb_xv_video_notify_event_t {
|
| 305 |
+
uint8_t response_type;
|
| 306 |
+
uint8_t reason;
|
| 307 |
+
uint16_t sequence;
|
| 308 |
+
xcb_timestamp_t time;
|
| 309 |
+
xcb_drawable_t drawable;
|
| 310 |
+
xcb_xv_port_t port;
|
| 311 |
+
} xcb_xv_video_notify_event_t;
|
| 312 |
+
|
| 313 |
+
/** Opcode for xcb_xv_port_notify. */
|
| 314 |
+
#define XCB_XV_PORT_NOTIFY 1
|
| 315 |
+
|
| 316 |
+
/**
|
| 317 |
+
* @brief xcb_xv_port_notify_event_t
|
| 318 |
+
**/
|
| 319 |
+
typedef struct xcb_xv_port_notify_event_t {
|
| 320 |
+
uint8_t response_type;
|
| 321 |
+
uint8_t pad0;
|
| 322 |
+
uint16_t sequence;
|
| 323 |
+
xcb_timestamp_t time;
|
| 324 |
+
xcb_xv_port_t port;
|
| 325 |
+
xcb_atom_t attribute;
|
| 326 |
+
int32_t value;
|
| 327 |
+
} xcb_xv_port_notify_event_t;
|
| 328 |
+
|
| 329 |
+
/**
|
| 330 |
+
* @brief xcb_xv_query_extension_cookie_t
|
| 331 |
+
**/
|
| 332 |
+
typedef struct xcb_xv_query_extension_cookie_t {
|
| 333 |
+
unsigned int sequence;
|
| 334 |
+
} xcb_xv_query_extension_cookie_t;
|
| 335 |
+
|
| 336 |
+
/** Opcode for xcb_xv_query_extension. */
|
| 337 |
+
#define XCB_XV_QUERY_EXTENSION 0
|
| 338 |
+
|
| 339 |
+
/**
|
| 340 |
+
* @brief xcb_xv_query_extension_request_t
|
| 341 |
+
**/
|
| 342 |
+
typedef struct xcb_xv_query_extension_request_t {
|
| 343 |
+
uint8_t major_opcode;
|
| 344 |
+
uint8_t minor_opcode;
|
| 345 |
+
uint16_t length;
|
| 346 |
+
} xcb_xv_query_extension_request_t;
|
| 347 |
+
|
| 348 |
+
/**
|
| 349 |
+
* @brief xcb_xv_query_extension_reply_t
|
| 350 |
+
**/
|
| 351 |
+
typedef struct xcb_xv_query_extension_reply_t {
|
| 352 |
+
uint8_t response_type;
|
| 353 |
+
uint8_t pad0;
|
| 354 |
+
uint16_t sequence;
|
| 355 |
+
uint32_t length;
|
| 356 |
+
uint16_t major;
|
| 357 |
+
uint16_t minor;
|
| 358 |
+
} xcb_xv_query_extension_reply_t;
|
| 359 |
+
|
| 360 |
+
/**
|
| 361 |
+
* @brief xcb_xv_query_adaptors_cookie_t
|
| 362 |
+
**/
|
| 363 |
+
typedef struct xcb_xv_query_adaptors_cookie_t {
|
| 364 |
+
unsigned int sequence;
|
| 365 |
+
} xcb_xv_query_adaptors_cookie_t;
|
| 366 |
+
|
| 367 |
+
/** Opcode for xcb_xv_query_adaptors. */
|
| 368 |
+
#define XCB_XV_QUERY_ADAPTORS 1
|
| 369 |
+
|
| 370 |
+
/**
|
| 371 |
+
* @brief xcb_xv_query_adaptors_request_t
|
| 372 |
+
**/
|
| 373 |
+
typedef struct xcb_xv_query_adaptors_request_t {
|
| 374 |
+
uint8_t major_opcode;
|
| 375 |
+
uint8_t minor_opcode;
|
| 376 |
+
uint16_t length;
|
| 377 |
+
xcb_window_t window;
|
| 378 |
+
} xcb_xv_query_adaptors_request_t;
|
| 379 |
+
|
| 380 |
+
/**
|
| 381 |
+
* @brief xcb_xv_query_adaptors_reply_t
|
| 382 |
+
**/
|
| 383 |
+
typedef struct xcb_xv_query_adaptors_reply_t {
|
| 384 |
+
uint8_t response_type;
|
| 385 |
+
uint8_t pad0;
|
| 386 |
+
uint16_t sequence;
|
| 387 |
+
uint32_t length;
|
| 388 |
+
uint16_t num_adaptors;
|
| 389 |
+
uint8_t pad1[22];
|
| 390 |
+
} xcb_xv_query_adaptors_reply_t;
|
| 391 |
+
|
| 392 |
+
/**
|
| 393 |
+
* @brief xcb_xv_query_encodings_cookie_t
|
| 394 |
+
**/
|
| 395 |
+
typedef struct xcb_xv_query_encodings_cookie_t {
|
| 396 |
+
unsigned int sequence;
|
| 397 |
+
} xcb_xv_query_encodings_cookie_t;
|
| 398 |
+
|
| 399 |
+
/** Opcode for xcb_xv_query_encodings. */
|
| 400 |
+
#define XCB_XV_QUERY_ENCODINGS 2
|
| 401 |
+
|
| 402 |
+
/**
|
| 403 |
+
* @brief xcb_xv_query_encodings_request_t
|
| 404 |
+
**/
|
| 405 |
+
typedef struct xcb_xv_query_encodings_request_t {
|
| 406 |
+
uint8_t major_opcode;
|
| 407 |
+
uint8_t minor_opcode;
|
| 408 |
+
uint16_t length;
|
| 409 |
+
xcb_xv_port_t port;
|
| 410 |
+
} xcb_xv_query_encodings_request_t;
|
| 411 |
+
|
| 412 |
+
/**
|
| 413 |
+
* @brief xcb_xv_query_encodings_reply_t
|
| 414 |
+
**/
|
| 415 |
+
typedef struct xcb_xv_query_encodings_reply_t {
|
| 416 |
+
uint8_t response_type;
|
| 417 |
+
uint8_t pad0;
|
| 418 |
+
uint16_t sequence;
|
| 419 |
+
uint32_t length;
|
| 420 |
+
uint16_t num_encodings;
|
| 421 |
+
uint8_t pad1[22];
|
| 422 |
+
} xcb_xv_query_encodings_reply_t;
|
| 423 |
+
|
| 424 |
+
/**
|
| 425 |
+
* @brief xcb_xv_grab_port_cookie_t
|
| 426 |
+
**/
|
| 427 |
+
typedef struct xcb_xv_grab_port_cookie_t {
|
| 428 |
+
unsigned int sequence;
|
| 429 |
+
} xcb_xv_grab_port_cookie_t;
|
| 430 |
+
|
| 431 |
+
/** Opcode for xcb_xv_grab_port. */
|
| 432 |
+
#define XCB_XV_GRAB_PORT 3
|
| 433 |
+
|
| 434 |
+
/**
|
| 435 |
+
* @brief xcb_xv_grab_port_request_t
|
| 436 |
+
**/
|
| 437 |
+
typedef struct xcb_xv_grab_port_request_t {
|
| 438 |
+
uint8_t major_opcode;
|
| 439 |
+
uint8_t minor_opcode;
|
| 440 |
+
uint16_t length;
|
| 441 |
+
xcb_xv_port_t port;
|
| 442 |
+
xcb_timestamp_t time;
|
| 443 |
+
} xcb_xv_grab_port_request_t;
|
| 444 |
+
|
| 445 |
+
/**
|
| 446 |
+
* @brief xcb_xv_grab_port_reply_t
|
| 447 |
+
**/
|
| 448 |
+
typedef struct xcb_xv_grab_port_reply_t {
|
| 449 |
+
uint8_t response_type;
|
| 450 |
+
uint8_t result;
|
| 451 |
+
uint16_t sequence;
|
| 452 |
+
uint32_t length;
|
| 453 |
+
} xcb_xv_grab_port_reply_t;
|
| 454 |
+
|
| 455 |
+
/** Opcode for xcb_xv_ungrab_port. */
|
| 456 |
+
#define XCB_XV_UNGRAB_PORT 4
|
| 457 |
+
|
| 458 |
+
/**
|
| 459 |
+
* @brief xcb_xv_ungrab_port_request_t
|
| 460 |
+
**/
|
| 461 |
+
typedef struct xcb_xv_ungrab_port_request_t {
|
| 462 |
+
uint8_t major_opcode;
|
| 463 |
+
uint8_t minor_opcode;
|
| 464 |
+
uint16_t length;
|
| 465 |
+
xcb_xv_port_t port;
|
| 466 |
+
xcb_timestamp_t time;
|
| 467 |
+
} xcb_xv_ungrab_port_request_t;
|
| 468 |
+
|
| 469 |
+
/** Opcode for xcb_xv_put_video. */
|
| 470 |
+
#define XCB_XV_PUT_VIDEO 5
|
| 471 |
+
|
| 472 |
+
/**
|
| 473 |
+
* @brief xcb_xv_put_video_request_t
|
| 474 |
+
**/
|
| 475 |
+
typedef struct xcb_xv_put_video_request_t {
|
| 476 |
+
uint8_t major_opcode;
|
| 477 |
+
uint8_t minor_opcode;
|
| 478 |
+
uint16_t length;
|
| 479 |
+
xcb_xv_port_t port;
|
| 480 |
+
xcb_drawable_t drawable;
|
| 481 |
+
xcb_gcontext_t gc;
|
| 482 |
+
int16_t vid_x;
|
| 483 |
+
int16_t vid_y;
|
| 484 |
+
uint16_t vid_w;
|
| 485 |
+
uint16_t vid_h;
|
| 486 |
+
int16_t drw_x;
|
| 487 |
+
int16_t drw_y;
|
| 488 |
+
uint16_t drw_w;
|
| 489 |
+
uint16_t drw_h;
|
| 490 |
+
} xcb_xv_put_video_request_t;
|
| 491 |
+
|
| 492 |
+
/** Opcode for xcb_xv_put_still. */
|
| 493 |
+
#define XCB_XV_PUT_STILL 6
|
| 494 |
+
|
| 495 |
+
/**
|
| 496 |
+
* @brief xcb_xv_put_still_request_t
|
| 497 |
+
**/
|
| 498 |
+
typedef struct xcb_xv_put_still_request_t {
|
| 499 |
+
uint8_t major_opcode;
|
| 500 |
+
uint8_t minor_opcode;
|
| 501 |
+
uint16_t length;
|
| 502 |
+
xcb_xv_port_t port;
|
| 503 |
+
xcb_drawable_t drawable;
|
| 504 |
+
xcb_gcontext_t gc;
|
| 505 |
+
int16_t vid_x;
|
| 506 |
+
int16_t vid_y;
|
| 507 |
+
uint16_t vid_w;
|
| 508 |
+
uint16_t vid_h;
|
| 509 |
+
int16_t drw_x;
|
| 510 |
+
int16_t drw_y;
|
| 511 |
+
uint16_t drw_w;
|
| 512 |
+
uint16_t drw_h;
|
| 513 |
+
} xcb_xv_put_still_request_t;
|
| 514 |
+
|
| 515 |
+
/** Opcode for xcb_xv_get_video. */
|
| 516 |
+
#define XCB_XV_GET_VIDEO 7
|
| 517 |
+
|
| 518 |
+
/**
|
| 519 |
+
* @brief xcb_xv_get_video_request_t
|
| 520 |
+
**/
|
| 521 |
+
typedef struct xcb_xv_get_video_request_t {
|
| 522 |
+
uint8_t major_opcode;
|
| 523 |
+
uint8_t minor_opcode;
|
| 524 |
+
uint16_t length;
|
| 525 |
+
xcb_xv_port_t port;
|
| 526 |
+
xcb_drawable_t drawable;
|
| 527 |
+
xcb_gcontext_t gc;
|
| 528 |
+
int16_t vid_x;
|
| 529 |
+
int16_t vid_y;
|
| 530 |
+
uint16_t vid_w;
|
| 531 |
+
uint16_t vid_h;
|
| 532 |
+
int16_t drw_x;
|
| 533 |
+
int16_t drw_y;
|
| 534 |
+
uint16_t drw_w;
|
| 535 |
+
uint16_t drw_h;
|
| 536 |
+
} xcb_xv_get_video_request_t;
|
| 537 |
+
|
| 538 |
+
/** Opcode for xcb_xv_get_still. */
|
| 539 |
+
#define XCB_XV_GET_STILL 8
|
| 540 |
+
|
| 541 |
+
/**
|
| 542 |
+
* @brief xcb_xv_get_still_request_t
|
| 543 |
+
**/
|
| 544 |
+
typedef struct xcb_xv_get_still_request_t {
|
| 545 |
+
uint8_t major_opcode;
|
| 546 |
+
uint8_t minor_opcode;
|
| 547 |
+
uint16_t length;
|
| 548 |
+
xcb_xv_port_t port;
|
| 549 |
+
xcb_drawable_t drawable;
|
| 550 |
+
xcb_gcontext_t gc;
|
| 551 |
+
int16_t vid_x;
|
| 552 |
+
int16_t vid_y;
|
| 553 |
+
uint16_t vid_w;
|
| 554 |
+
uint16_t vid_h;
|
| 555 |
+
int16_t drw_x;
|
| 556 |
+
int16_t drw_y;
|
| 557 |
+
uint16_t drw_w;
|
| 558 |
+
uint16_t drw_h;
|
| 559 |
+
} xcb_xv_get_still_request_t;
|
| 560 |
+
|
| 561 |
+
/** Opcode for xcb_xv_stop_video. */
|
| 562 |
+
#define XCB_XV_STOP_VIDEO 9
|
| 563 |
+
|
| 564 |
+
/**
|
| 565 |
+
* @brief xcb_xv_stop_video_request_t
|
| 566 |
+
**/
|
| 567 |
+
typedef struct xcb_xv_stop_video_request_t {
|
| 568 |
+
uint8_t major_opcode;
|
| 569 |
+
uint8_t minor_opcode;
|
| 570 |
+
uint16_t length;
|
| 571 |
+
xcb_xv_port_t port;
|
| 572 |
+
xcb_drawable_t drawable;
|
| 573 |
+
} xcb_xv_stop_video_request_t;
|
| 574 |
+
|
| 575 |
+
/** Opcode for xcb_xv_select_video_notify. */
|
| 576 |
+
#define XCB_XV_SELECT_VIDEO_NOTIFY 10
|
| 577 |
+
|
| 578 |
+
/**
|
| 579 |
+
* @brief xcb_xv_select_video_notify_request_t
|
| 580 |
+
**/
|
| 581 |
+
typedef struct xcb_xv_select_video_notify_request_t {
|
| 582 |
+
uint8_t major_opcode;
|
| 583 |
+
uint8_t minor_opcode;
|
| 584 |
+
uint16_t length;
|
| 585 |
+
xcb_drawable_t drawable;
|
| 586 |
+
uint8_t onoff;
|
| 587 |
+
uint8_t pad0[3];
|
| 588 |
+
} xcb_xv_select_video_notify_request_t;
|
| 589 |
+
|
| 590 |
+
/** Opcode for xcb_xv_select_port_notify. */
|
| 591 |
+
#define XCB_XV_SELECT_PORT_NOTIFY 11
|
| 592 |
+
|
| 593 |
+
/**
|
| 594 |
+
* @brief xcb_xv_select_port_notify_request_t
|
| 595 |
+
**/
|
| 596 |
+
typedef struct xcb_xv_select_port_notify_request_t {
|
| 597 |
+
uint8_t major_opcode;
|
| 598 |
+
uint8_t minor_opcode;
|
| 599 |
+
uint16_t length;
|
| 600 |
+
xcb_xv_port_t port;
|
| 601 |
+
uint8_t onoff;
|
| 602 |
+
uint8_t pad0[3];
|
| 603 |
+
} xcb_xv_select_port_notify_request_t;
|
| 604 |
+
|
| 605 |
+
/**
|
| 606 |
+
* @brief xcb_xv_query_best_size_cookie_t
|
| 607 |
+
**/
|
| 608 |
+
typedef struct xcb_xv_query_best_size_cookie_t {
|
| 609 |
+
unsigned int sequence;
|
| 610 |
+
} xcb_xv_query_best_size_cookie_t;
|
| 611 |
+
|
| 612 |
+
/** Opcode for xcb_xv_query_best_size. */
|
| 613 |
+
#define XCB_XV_QUERY_BEST_SIZE 12
|
| 614 |
+
|
| 615 |
+
/**
|
| 616 |
+
* @brief xcb_xv_query_best_size_request_t
|
| 617 |
+
**/
|
| 618 |
+
typedef struct xcb_xv_query_best_size_request_t {
|
| 619 |
+
uint8_t major_opcode;
|
| 620 |
+
uint8_t minor_opcode;
|
| 621 |
+
uint16_t length;
|
| 622 |
+
xcb_xv_port_t port;
|
| 623 |
+
uint16_t vid_w;
|
| 624 |
+
uint16_t vid_h;
|
| 625 |
+
uint16_t drw_w;
|
| 626 |
+
uint16_t drw_h;
|
| 627 |
+
uint8_t motion;
|
| 628 |
+
uint8_t pad0[3];
|
| 629 |
+
} xcb_xv_query_best_size_request_t;
|
| 630 |
+
|
| 631 |
+
/**
|
| 632 |
+
* @brief xcb_xv_query_best_size_reply_t
|
| 633 |
+
**/
|
| 634 |
+
typedef struct xcb_xv_query_best_size_reply_t {
|
| 635 |
+
uint8_t response_type;
|
| 636 |
+
uint8_t pad0;
|
| 637 |
+
uint16_t sequence;
|
| 638 |
+
uint32_t length;
|
| 639 |
+
uint16_t actual_width;
|
| 640 |
+
uint16_t actual_height;
|
| 641 |
+
} xcb_xv_query_best_size_reply_t;
|
| 642 |
+
|
| 643 |
+
/** Opcode for xcb_xv_set_port_attribute. */
|
| 644 |
+
#define XCB_XV_SET_PORT_ATTRIBUTE 13
|
| 645 |
+
|
| 646 |
+
/**
|
| 647 |
+
* @brief xcb_xv_set_port_attribute_request_t
|
| 648 |
+
**/
|
| 649 |
+
typedef struct xcb_xv_set_port_attribute_request_t {
|
| 650 |
+
uint8_t major_opcode;
|
| 651 |
+
uint8_t minor_opcode;
|
| 652 |
+
uint16_t length;
|
| 653 |
+
xcb_xv_port_t port;
|
| 654 |
+
xcb_atom_t attribute;
|
| 655 |
+
int32_t value;
|
| 656 |
+
} xcb_xv_set_port_attribute_request_t;
|
| 657 |
+
|
| 658 |
+
/**
|
| 659 |
+
* @brief xcb_xv_get_port_attribute_cookie_t
|
| 660 |
+
**/
|
| 661 |
+
typedef struct xcb_xv_get_port_attribute_cookie_t {
|
| 662 |
+
unsigned int sequence;
|
| 663 |
+
} xcb_xv_get_port_attribute_cookie_t;
|
| 664 |
+
|
| 665 |
+
/** Opcode for xcb_xv_get_port_attribute. */
|
| 666 |
+
#define XCB_XV_GET_PORT_ATTRIBUTE 14
|
| 667 |
+
|
| 668 |
+
/**
|
| 669 |
+
* @brief xcb_xv_get_port_attribute_request_t
|
| 670 |
+
**/
|
| 671 |
+
typedef struct xcb_xv_get_port_attribute_request_t {
|
| 672 |
+
uint8_t major_opcode;
|
| 673 |
+
uint8_t minor_opcode;
|
| 674 |
+
uint16_t length;
|
| 675 |
+
xcb_xv_port_t port;
|
| 676 |
+
xcb_atom_t attribute;
|
| 677 |
+
} xcb_xv_get_port_attribute_request_t;
|
| 678 |
+
|
| 679 |
+
/**
|
| 680 |
+
* @brief xcb_xv_get_port_attribute_reply_t
|
| 681 |
+
**/
|
| 682 |
+
typedef struct xcb_xv_get_port_attribute_reply_t {
|
| 683 |
+
uint8_t response_type;
|
| 684 |
+
uint8_t pad0;
|
| 685 |
+
uint16_t sequence;
|
| 686 |
+
uint32_t length;
|
| 687 |
+
int32_t value;
|
| 688 |
+
} xcb_xv_get_port_attribute_reply_t;
|
| 689 |
+
|
| 690 |
+
/**
|
| 691 |
+
* @brief xcb_xv_query_port_attributes_cookie_t
|
| 692 |
+
**/
|
| 693 |
+
typedef struct xcb_xv_query_port_attributes_cookie_t {
|
| 694 |
+
unsigned int sequence;
|
| 695 |
+
} xcb_xv_query_port_attributes_cookie_t;
|
| 696 |
+
|
| 697 |
+
/** Opcode for xcb_xv_query_port_attributes. */
|
| 698 |
+
#define XCB_XV_QUERY_PORT_ATTRIBUTES 15
|
| 699 |
+
|
| 700 |
+
/**
|
| 701 |
+
* @brief xcb_xv_query_port_attributes_request_t
|
| 702 |
+
**/
|
| 703 |
+
typedef struct xcb_xv_query_port_attributes_request_t {
|
| 704 |
+
uint8_t major_opcode;
|
| 705 |
+
uint8_t minor_opcode;
|
| 706 |
+
uint16_t length;
|
| 707 |
+
xcb_xv_port_t port;
|
| 708 |
+
} xcb_xv_query_port_attributes_request_t;
|
| 709 |
+
|
| 710 |
+
/**
|
| 711 |
+
* @brief xcb_xv_query_port_attributes_reply_t
|
| 712 |
+
**/
|
| 713 |
+
typedef struct xcb_xv_query_port_attributes_reply_t {
|
| 714 |
+
uint8_t response_type;
|
| 715 |
+
uint8_t pad0;
|
| 716 |
+
uint16_t sequence;
|
| 717 |
+
uint32_t length;
|
| 718 |
+
uint32_t num_attributes;
|
| 719 |
+
uint32_t text_size;
|
| 720 |
+
uint8_t pad1[16];
|
| 721 |
+
} xcb_xv_query_port_attributes_reply_t;
|
| 722 |
+
|
| 723 |
+
/**
|
| 724 |
+
* @brief xcb_xv_list_image_formats_cookie_t
|
| 725 |
+
**/
|
| 726 |
+
typedef struct xcb_xv_list_image_formats_cookie_t {
|
| 727 |
+
unsigned int sequence;
|
| 728 |
+
} xcb_xv_list_image_formats_cookie_t;
|
| 729 |
+
|
| 730 |
+
/** Opcode for xcb_xv_list_image_formats. */
|
| 731 |
+
#define XCB_XV_LIST_IMAGE_FORMATS 16
|
| 732 |
+
|
| 733 |
+
/**
|
| 734 |
+
* @brief xcb_xv_list_image_formats_request_t
|
| 735 |
+
**/
|
| 736 |
+
typedef struct xcb_xv_list_image_formats_request_t {
|
| 737 |
+
uint8_t major_opcode;
|
| 738 |
+
uint8_t minor_opcode;
|
| 739 |
+
uint16_t length;
|
| 740 |
+
xcb_xv_port_t port;
|
| 741 |
+
} xcb_xv_list_image_formats_request_t;
|
| 742 |
+
|
| 743 |
+
/**
|
| 744 |
+
* @brief xcb_xv_list_image_formats_reply_t
|
| 745 |
+
**/
|
| 746 |
+
typedef struct xcb_xv_list_image_formats_reply_t {
|
| 747 |
+
uint8_t response_type;
|
| 748 |
+
uint8_t pad0;
|
| 749 |
+
uint16_t sequence;
|
| 750 |
+
uint32_t length;
|
| 751 |
+
uint32_t num_formats;
|
| 752 |
+
uint8_t pad1[20];
|
| 753 |
+
} xcb_xv_list_image_formats_reply_t;
|
| 754 |
+
|
| 755 |
+
/**
|
| 756 |
+
* @brief xcb_xv_query_image_attributes_cookie_t
|
| 757 |
+
**/
|
| 758 |
+
typedef struct xcb_xv_query_image_attributes_cookie_t {
|
| 759 |
+
unsigned int sequence;
|
| 760 |
+
} xcb_xv_query_image_attributes_cookie_t;
|
| 761 |
+
|
| 762 |
+
/** Opcode for xcb_xv_query_image_attributes. */
|
| 763 |
+
#define XCB_XV_QUERY_IMAGE_ATTRIBUTES 17
|
| 764 |
+
|
| 765 |
+
/**
|
| 766 |
+
* @brief xcb_xv_query_image_attributes_request_t
|
| 767 |
+
**/
|
| 768 |
+
typedef struct xcb_xv_query_image_attributes_request_t {
|
| 769 |
+
uint8_t major_opcode;
|
| 770 |
+
uint8_t minor_opcode;
|
| 771 |
+
uint16_t length;
|
| 772 |
+
xcb_xv_port_t port;
|
| 773 |
+
uint32_t id;
|
| 774 |
+
uint16_t width;
|
| 775 |
+
uint16_t height;
|
| 776 |
+
} xcb_xv_query_image_attributes_request_t;
|
| 777 |
+
|
| 778 |
+
/**
|
| 779 |
+
* @brief xcb_xv_query_image_attributes_reply_t
|
| 780 |
+
**/
|
| 781 |
+
typedef struct xcb_xv_query_image_attributes_reply_t {
|
| 782 |
+
uint8_t response_type;
|
| 783 |
+
uint8_t pad0;
|
| 784 |
+
uint16_t sequence;
|
| 785 |
+
uint32_t length;
|
| 786 |
+
uint32_t num_planes;
|
| 787 |
+
uint32_t data_size;
|
| 788 |
+
uint16_t width;
|
| 789 |
+
uint16_t height;
|
| 790 |
+
uint8_t pad1[12];
|
| 791 |
+
} xcb_xv_query_image_attributes_reply_t;
|
| 792 |
+
|
| 793 |
+
/** Opcode for xcb_xv_put_image. */
|
| 794 |
+
#define XCB_XV_PUT_IMAGE 18
|
| 795 |
+
|
| 796 |
+
/**
|
| 797 |
+
* @brief xcb_xv_put_image_request_t
|
| 798 |
+
**/
|
| 799 |
+
typedef struct xcb_xv_put_image_request_t {
|
| 800 |
+
uint8_t major_opcode;
|
| 801 |
+
uint8_t minor_opcode;
|
| 802 |
+
uint16_t length;
|
| 803 |
+
xcb_xv_port_t port;
|
| 804 |
+
xcb_drawable_t drawable;
|
| 805 |
+
xcb_gcontext_t gc;
|
| 806 |
+
uint32_t id;
|
| 807 |
+
int16_t src_x;
|
| 808 |
+
int16_t src_y;
|
| 809 |
+
uint16_t src_w;
|
| 810 |
+
uint16_t src_h;
|
| 811 |
+
int16_t drw_x;
|
| 812 |
+
int16_t drw_y;
|
| 813 |
+
uint16_t drw_w;
|
| 814 |
+
uint16_t drw_h;
|
| 815 |
+
uint16_t width;
|
| 816 |
+
uint16_t height;
|
| 817 |
+
} xcb_xv_put_image_request_t;
|
| 818 |
+
|
| 819 |
+
/** Opcode for xcb_xv_shm_put_image. */
|
| 820 |
+
#define XCB_XV_SHM_PUT_IMAGE 19
|
| 821 |
+
|
| 822 |
+
/**
|
| 823 |
+
* @brief xcb_xv_shm_put_image_request_t
|
| 824 |
+
**/
|
| 825 |
+
typedef struct xcb_xv_shm_put_image_request_t {
|
| 826 |
+
uint8_t major_opcode;
|
| 827 |
+
uint8_t minor_opcode;
|
| 828 |
+
uint16_t length;
|
| 829 |
+
xcb_xv_port_t port;
|
| 830 |
+
xcb_drawable_t drawable;
|
| 831 |
+
xcb_gcontext_t gc;
|
| 832 |
+
xcb_shm_seg_t shmseg;
|
| 833 |
+
uint32_t id;
|
| 834 |
+
uint32_t offset;
|
| 835 |
+
int16_t src_x;
|
| 836 |
+
int16_t src_y;
|
| 837 |
+
uint16_t src_w;
|
| 838 |
+
uint16_t src_h;
|
| 839 |
+
int16_t drw_x;
|
| 840 |
+
int16_t drw_y;
|
| 841 |
+
uint16_t drw_w;
|
| 842 |
+
uint16_t drw_h;
|
| 843 |
+
uint16_t width;
|
| 844 |
+
uint16_t height;
|
| 845 |
+
uint8_t send_event;
|
| 846 |
+
uint8_t pad0[3];
|
| 847 |
+
} xcb_xv_shm_put_image_request_t;
|
| 848 |
+
|
| 849 |
+
/**
|
| 850 |
+
* Get the next element of the iterator
|
| 851 |
+
* @param i Pointer to a xcb_xv_port_iterator_t
|
| 852 |
+
*
|
| 853 |
+
* Get the next element in the iterator. The member rem is
|
| 854 |
+
* decreased by one. The member data points to the next
|
| 855 |
+
* element. The member index is increased by sizeof(xcb_xv_port_t)
|
| 856 |
+
*/
|
| 857 |
+
void
|
| 858 |
+
xcb_xv_port_next (xcb_xv_port_iterator_t *i);
|
| 859 |
+
|
| 860 |
+
/**
|
| 861 |
+
* Return the iterator pointing to the last element
|
| 862 |
+
* @param i An xcb_xv_port_iterator_t
|
| 863 |
+
* @return The iterator pointing to the last element
|
| 864 |
+
*
|
| 865 |
+
* Set the current element in the iterator to the last element.
|
| 866 |
+
* The member rem is set to 0. The member data points to the
|
| 867 |
+
* last element.
|
| 868 |
+
*/
|
| 869 |
+
xcb_generic_iterator_t
|
| 870 |
+
xcb_xv_port_end (xcb_xv_port_iterator_t i);
|
| 871 |
+
|
| 872 |
+
/**
|
| 873 |
+
* Get the next element of the iterator
|
| 874 |
+
* @param i Pointer to a xcb_xv_encoding_iterator_t
|
| 875 |
+
*
|
| 876 |
+
* Get the next element in the iterator. The member rem is
|
| 877 |
+
* decreased by one. The member data points to the next
|
| 878 |
+
* element. The member index is increased by sizeof(xcb_xv_encoding_t)
|
| 879 |
+
*/
|
| 880 |
+
void
|
| 881 |
+
xcb_xv_encoding_next (xcb_xv_encoding_iterator_t *i);
|
| 882 |
+
|
| 883 |
+
/**
|
| 884 |
+
* Return the iterator pointing to the last element
|
| 885 |
+
* @param i An xcb_xv_encoding_iterator_t
|
| 886 |
+
* @return The iterator pointing to the last element
|
| 887 |
+
*
|
| 888 |
+
* Set the current element in the iterator to the last element.
|
| 889 |
+
* The member rem is set to 0. The member data points to the
|
| 890 |
+
* last element.
|
| 891 |
+
*/
|
| 892 |
+
xcb_generic_iterator_t
|
| 893 |
+
xcb_xv_encoding_end (xcb_xv_encoding_iterator_t i);
|
| 894 |
+
|
| 895 |
+
/**
|
| 896 |
+
* Get the next element of the iterator
|
| 897 |
+
* @param i Pointer to a xcb_xv_rational_iterator_t
|
| 898 |
+
*
|
| 899 |
+
* Get the next element in the iterator. The member rem is
|
| 900 |
+
* decreased by one. The member data points to the next
|
| 901 |
+
* element. The member index is increased by sizeof(xcb_xv_rational_t)
|
| 902 |
+
*/
|
| 903 |
+
void
|
| 904 |
+
xcb_xv_rational_next (xcb_xv_rational_iterator_t *i);
|
| 905 |
+
|
| 906 |
+
/**
|
| 907 |
+
* Return the iterator pointing to the last element
|
| 908 |
+
* @param i An xcb_xv_rational_iterator_t
|
| 909 |
+
* @return The iterator pointing to the last element
|
| 910 |
+
*
|
| 911 |
+
* Set the current element in the iterator to the last element.
|
| 912 |
+
* The member rem is set to 0. The member data points to the
|
| 913 |
+
* last element.
|
| 914 |
+
*/
|
| 915 |
+
xcb_generic_iterator_t
|
| 916 |
+
xcb_xv_rational_end (xcb_xv_rational_iterator_t i);
|
| 917 |
+
|
| 918 |
+
/**
|
| 919 |
+
* Get the next element of the iterator
|
| 920 |
+
* @param i Pointer to a xcb_xv_format_iterator_t
|
| 921 |
+
*
|
| 922 |
+
* Get the next element in the iterator. The member rem is
|
| 923 |
+
* decreased by one. The member data points to the next
|
| 924 |
+
* element. The member index is increased by sizeof(xcb_xv_format_t)
|
| 925 |
+
*/
|
| 926 |
+
void
|
| 927 |
+
xcb_xv_format_next (xcb_xv_format_iterator_t *i);
|
| 928 |
+
|
| 929 |
+
/**
|
| 930 |
+
* Return the iterator pointing to the last element
|
| 931 |
+
* @param i An xcb_xv_format_iterator_t
|
| 932 |
+
* @return The iterator pointing to the last element
|
| 933 |
+
*
|
| 934 |
+
* Set the current element in the iterator to the last element.
|
| 935 |
+
* The member rem is set to 0. The member data points to the
|
| 936 |
+
* last element.
|
| 937 |
+
*/
|
| 938 |
+
xcb_generic_iterator_t
|
| 939 |
+
xcb_xv_format_end (xcb_xv_format_iterator_t i);
|
| 940 |
+
|
| 941 |
+
int
|
| 942 |
+
xcb_xv_adaptor_info_sizeof (const void *_buffer);
|
| 943 |
+
|
| 944 |
+
char *
|
| 945 |
+
xcb_xv_adaptor_info_name (const xcb_xv_adaptor_info_t *R);
|
| 946 |
+
|
| 947 |
+
int
|
| 948 |
+
xcb_xv_adaptor_info_name_length (const xcb_xv_adaptor_info_t *R);
|
| 949 |
+
|
| 950 |
+
xcb_generic_iterator_t
|
| 951 |
+
xcb_xv_adaptor_info_name_end (const xcb_xv_adaptor_info_t *R);
|
| 952 |
+
|
| 953 |
+
xcb_xv_format_t *
|
| 954 |
+
xcb_xv_adaptor_info_formats (const xcb_xv_adaptor_info_t *R);
|
| 955 |
+
|
| 956 |
+
int
|
| 957 |
+
xcb_xv_adaptor_info_formats_length (const xcb_xv_adaptor_info_t *R);
|
| 958 |
+
|
| 959 |
+
xcb_xv_format_iterator_t
|
| 960 |
+
xcb_xv_adaptor_info_formats_iterator (const xcb_xv_adaptor_info_t *R);
|
| 961 |
+
|
| 962 |
+
/**
|
| 963 |
+
* Get the next element of the iterator
|
| 964 |
+
* @param i Pointer to a xcb_xv_adaptor_info_iterator_t
|
| 965 |
+
*
|
| 966 |
+
* Get the next element in the iterator. The member rem is
|
| 967 |
+
* decreased by one. The member data points to the next
|
| 968 |
+
* element. The member index is increased by sizeof(xcb_xv_adaptor_info_t)
|
| 969 |
+
*/
|
| 970 |
+
void
|
| 971 |
+
xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i);
|
| 972 |
+
|
| 973 |
+
/**
|
| 974 |
+
* Return the iterator pointing to the last element
|
| 975 |
+
* @param i An xcb_xv_adaptor_info_iterator_t
|
| 976 |
+
* @return The iterator pointing to the last element
|
| 977 |
+
*
|
| 978 |
+
* Set the current element in the iterator to the last element.
|
| 979 |
+
* The member rem is set to 0. The member data points to the
|
| 980 |
+
* last element.
|
| 981 |
+
*/
|
| 982 |
+
xcb_generic_iterator_t
|
| 983 |
+
xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i);
|
| 984 |
+
|
| 985 |
+
int
|
| 986 |
+
xcb_xv_encoding_info_sizeof (const void *_buffer);
|
| 987 |
+
|
| 988 |
+
char *
|
| 989 |
+
xcb_xv_encoding_info_name (const xcb_xv_encoding_info_t *R);
|
| 990 |
+
|
| 991 |
+
int
|
| 992 |
+
xcb_xv_encoding_info_name_length (const xcb_xv_encoding_info_t *R);
|
| 993 |
+
|
| 994 |
+
xcb_generic_iterator_t
|
| 995 |
+
xcb_xv_encoding_info_name_end (const xcb_xv_encoding_info_t *R);
|
| 996 |
+
|
| 997 |
+
/**
|
| 998 |
+
* Get the next element of the iterator
|
| 999 |
+
* @param i Pointer to a xcb_xv_encoding_info_iterator_t
|
| 1000 |
+
*
|
| 1001 |
+
* Get the next element in the iterator. The member rem is
|
| 1002 |
+
* decreased by one. The member data points to the next
|
| 1003 |
+
* element. The member index is increased by sizeof(xcb_xv_encoding_info_t)
|
| 1004 |
+
*/
|
| 1005 |
+
void
|
| 1006 |
+
xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i);
|
| 1007 |
+
|
| 1008 |
+
/**
|
| 1009 |
+
* Return the iterator pointing to the last element
|
| 1010 |
+
* @param i An xcb_xv_encoding_info_iterator_t
|
| 1011 |
+
* @return The iterator pointing to the last element
|
| 1012 |
+
*
|
| 1013 |
+
* Set the current element in the iterator to the last element.
|
| 1014 |
+
* The member rem is set to 0. The member data points to the
|
| 1015 |
+
* last element.
|
| 1016 |
+
*/
|
| 1017 |
+
xcb_generic_iterator_t
|
| 1018 |
+
xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i);
|
| 1019 |
+
|
| 1020 |
+
int
|
| 1021 |
+
xcb_xv_image_sizeof (const void *_buffer);
|
| 1022 |
+
|
| 1023 |
+
uint32_t *
|
| 1024 |
+
xcb_xv_image_pitches (const xcb_xv_image_t *R);
|
| 1025 |
+
|
| 1026 |
+
int
|
| 1027 |
+
xcb_xv_image_pitches_length (const xcb_xv_image_t *R);
|
| 1028 |
+
|
| 1029 |
+
xcb_generic_iterator_t
|
| 1030 |
+
xcb_xv_image_pitches_end (const xcb_xv_image_t *R);
|
| 1031 |
+
|
| 1032 |
+
uint32_t *
|
| 1033 |
+
xcb_xv_image_offsets (const xcb_xv_image_t *R);
|
| 1034 |
+
|
| 1035 |
+
int
|
| 1036 |
+
xcb_xv_image_offsets_length (const xcb_xv_image_t *R);
|
| 1037 |
+
|
| 1038 |
+
xcb_generic_iterator_t
|
| 1039 |
+
xcb_xv_image_offsets_end (const xcb_xv_image_t *R);
|
| 1040 |
+
|
| 1041 |
+
uint8_t *
|
| 1042 |
+
xcb_xv_image_data (const xcb_xv_image_t *R);
|
| 1043 |
+
|
| 1044 |
+
int
|
| 1045 |
+
xcb_xv_image_data_length (const xcb_xv_image_t *R);
|
| 1046 |
+
|
| 1047 |
+
xcb_generic_iterator_t
|
| 1048 |
+
xcb_xv_image_data_end (const xcb_xv_image_t *R);
|
| 1049 |
+
|
| 1050 |
+
/**
|
| 1051 |
+
* Get the next element of the iterator
|
| 1052 |
+
* @param i Pointer to a xcb_xv_image_iterator_t
|
| 1053 |
+
*
|
| 1054 |
+
* Get the next element in the iterator. The member rem is
|
| 1055 |
+
* decreased by one. The member data points to the next
|
| 1056 |
+
* element. The member index is increased by sizeof(xcb_xv_image_t)
|
| 1057 |
+
*/
|
| 1058 |
+
void
|
| 1059 |
+
xcb_xv_image_next (xcb_xv_image_iterator_t *i);
|
| 1060 |
+
|
| 1061 |
+
/**
|
| 1062 |
+
* Return the iterator pointing to the last element
|
| 1063 |
+
* @param i An xcb_xv_image_iterator_t
|
| 1064 |
+
* @return The iterator pointing to the last element
|
| 1065 |
+
*
|
| 1066 |
+
* Set the current element in the iterator to the last element.
|
| 1067 |
+
* The member rem is set to 0. The member data points to the
|
| 1068 |
+
* last element.
|
| 1069 |
+
*/
|
| 1070 |
+
xcb_generic_iterator_t
|
| 1071 |
+
xcb_xv_image_end (xcb_xv_image_iterator_t i);
|
| 1072 |
+
|
| 1073 |
+
int
|
| 1074 |
+
xcb_xv_attribute_info_sizeof (const void *_buffer);
|
| 1075 |
+
|
| 1076 |
+
char *
|
| 1077 |
+
xcb_xv_attribute_info_name (const xcb_xv_attribute_info_t *R);
|
| 1078 |
+
|
| 1079 |
+
int
|
| 1080 |
+
xcb_xv_attribute_info_name_length (const xcb_xv_attribute_info_t *R);
|
| 1081 |
+
|
| 1082 |
+
xcb_generic_iterator_t
|
| 1083 |
+
xcb_xv_attribute_info_name_end (const xcb_xv_attribute_info_t *R);
|
| 1084 |
+
|
| 1085 |
+
/**
|
| 1086 |
+
* Get the next element of the iterator
|
| 1087 |
+
* @param i Pointer to a xcb_xv_attribute_info_iterator_t
|
| 1088 |
+
*
|
| 1089 |
+
* Get the next element in the iterator. The member rem is
|
| 1090 |
+
* decreased by one. The member data points to the next
|
| 1091 |
+
* element. The member index is increased by sizeof(xcb_xv_attribute_info_t)
|
| 1092 |
+
*/
|
| 1093 |
+
void
|
| 1094 |
+
xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i);
|
| 1095 |
+
|
| 1096 |
+
/**
|
| 1097 |
+
* Return the iterator pointing to the last element
|
| 1098 |
+
* @param i An xcb_xv_attribute_info_iterator_t
|
| 1099 |
+
* @return The iterator pointing to the last element
|
| 1100 |
+
*
|
| 1101 |
+
* Set the current element in the iterator to the last element.
|
| 1102 |
+
* The member rem is set to 0. The member data points to the
|
| 1103 |
+
* last element.
|
| 1104 |
+
*/
|
| 1105 |
+
xcb_generic_iterator_t
|
| 1106 |
+
xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i);
|
| 1107 |
+
|
| 1108 |
+
/**
|
| 1109 |
+
* Get the next element of the iterator
|
| 1110 |
+
* @param i Pointer to a xcb_xv_image_format_info_iterator_t
|
| 1111 |
+
*
|
| 1112 |
+
* Get the next element in the iterator. The member rem is
|
| 1113 |
+
* decreased by one. The member data points to the next
|
| 1114 |
+
* element. The member index is increased by sizeof(xcb_xv_image_format_info_t)
|
| 1115 |
+
*/
|
| 1116 |
+
void
|
| 1117 |
+
xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i);
|
| 1118 |
+
|
| 1119 |
+
/**
|
| 1120 |
+
* Return the iterator pointing to the last element
|
| 1121 |
+
* @param i An xcb_xv_image_format_info_iterator_t
|
| 1122 |
+
* @return The iterator pointing to the last element
|
| 1123 |
+
*
|
| 1124 |
+
* Set the current element in the iterator to the last element.
|
| 1125 |
+
* The member rem is set to 0. The member data points to the
|
| 1126 |
+
* last element.
|
| 1127 |
+
*/
|
| 1128 |
+
xcb_generic_iterator_t
|
| 1129 |
+
xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i);
|
| 1130 |
+
|
| 1131 |
+
/**
|
| 1132 |
+
*
|
| 1133 |
+
* @param c The connection
|
| 1134 |
+
* @return A cookie
|
| 1135 |
+
*
|
| 1136 |
+
* Delivers a request to the X server.
|
| 1137 |
+
*
|
| 1138 |
+
*/
|
| 1139 |
+
xcb_xv_query_extension_cookie_t
|
| 1140 |
+
xcb_xv_query_extension (xcb_connection_t *c);
|
| 1141 |
+
|
| 1142 |
+
/**
|
| 1143 |
+
*
|
| 1144 |
+
* @param c The connection
|
| 1145 |
+
* @return A cookie
|
| 1146 |
+
*
|
| 1147 |
+
* Delivers a request to the X server.
|
| 1148 |
+
*
|
| 1149 |
+
* This form can be used only if the request will cause
|
| 1150 |
+
* a reply to be generated. Any returned error will be
|
| 1151 |
+
* placed in the event queue.
|
| 1152 |
+
*/
|
| 1153 |
+
xcb_xv_query_extension_cookie_t
|
| 1154 |
+
xcb_xv_query_extension_unchecked (xcb_connection_t *c);
|
| 1155 |
+
|
| 1156 |
+
/**
|
| 1157 |
+
* Return the reply
|
| 1158 |
+
* @param c The connection
|
| 1159 |
+
* @param cookie The cookie
|
| 1160 |
+
* @param e The xcb_generic_error_t supplied
|
| 1161 |
+
*
|
| 1162 |
+
* Returns the reply of the request asked by
|
| 1163 |
+
*
|
| 1164 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1165 |
+
* xcb_xv_query_extension_unchecked(). is used.
|
| 1166 |
+
* Otherwise, it stores the error if any.
|
| 1167 |
+
*
|
| 1168 |
+
* The returned value must be freed by the caller using free().
|
| 1169 |
+
*/
|
| 1170 |
+
xcb_xv_query_extension_reply_t *
|
| 1171 |
+
xcb_xv_query_extension_reply (xcb_connection_t *c,
|
| 1172 |
+
xcb_xv_query_extension_cookie_t cookie /**< */,
|
| 1173 |
+
xcb_generic_error_t **e);
|
| 1174 |
+
|
| 1175 |
+
int
|
| 1176 |
+
xcb_xv_query_adaptors_sizeof (const void *_buffer);
|
| 1177 |
+
|
| 1178 |
+
/**
|
| 1179 |
+
*
|
| 1180 |
+
* @param c The connection
|
| 1181 |
+
* @return A cookie
|
| 1182 |
+
*
|
| 1183 |
+
* Delivers a request to the X server.
|
| 1184 |
+
*
|
| 1185 |
+
*/
|
| 1186 |
+
xcb_xv_query_adaptors_cookie_t
|
| 1187 |
+
xcb_xv_query_adaptors (xcb_connection_t *c,
|
| 1188 |
+
xcb_window_t window);
|
| 1189 |
+
|
| 1190 |
+
/**
|
| 1191 |
+
*
|
| 1192 |
+
* @param c The connection
|
| 1193 |
+
* @return A cookie
|
| 1194 |
+
*
|
| 1195 |
+
* Delivers a request to the X server.
|
| 1196 |
+
*
|
| 1197 |
+
* This form can be used only if the request will cause
|
| 1198 |
+
* a reply to be generated. Any returned error will be
|
| 1199 |
+
* placed in the event queue.
|
| 1200 |
+
*/
|
| 1201 |
+
xcb_xv_query_adaptors_cookie_t
|
| 1202 |
+
xcb_xv_query_adaptors_unchecked (xcb_connection_t *c,
|
| 1203 |
+
xcb_window_t window);
|
| 1204 |
+
|
| 1205 |
+
int
|
| 1206 |
+
xcb_xv_query_adaptors_info_length (const xcb_xv_query_adaptors_reply_t *R);
|
| 1207 |
+
|
| 1208 |
+
xcb_xv_adaptor_info_iterator_t
|
| 1209 |
+
xcb_xv_query_adaptors_info_iterator (const xcb_xv_query_adaptors_reply_t *R);
|
| 1210 |
+
|
| 1211 |
+
/**
|
| 1212 |
+
* Return the reply
|
| 1213 |
+
* @param c The connection
|
| 1214 |
+
* @param cookie The cookie
|
| 1215 |
+
* @param e The xcb_generic_error_t supplied
|
| 1216 |
+
*
|
| 1217 |
+
* Returns the reply of the request asked by
|
| 1218 |
+
*
|
| 1219 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1220 |
+
* xcb_xv_query_adaptors_unchecked(). is used.
|
| 1221 |
+
* Otherwise, it stores the error if any.
|
| 1222 |
+
*
|
| 1223 |
+
* The returned value must be freed by the caller using free().
|
| 1224 |
+
*/
|
| 1225 |
+
xcb_xv_query_adaptors_reply_t *
|
| 1226 |
+
xcb_xv_query_adaptors_reply (xcb_connection_t *c,
|
| 1227 |
+
xcb_xv_query_adaptors_cookie_t cookie /**< */,
|
| 1228 |
+
xcb_generic_error_t **e);
|
| 1229 |
+
|
| 1230 |
+
int
|
| 1231 |
+
xcb_xv_query_encodings_sizeof (const void *_buffer);
|
| 1232 |
+
|
| 1233 |
+
/**
|
| 1234 |
+
*
|
| 1235 |
+
* @param c The connection
|
| 1236 |
+
* @return A cookie
|
| 1237 |
+
*
|
| 1238 |
+
* Delivers a request to the X server.
|
| 1239 |
+
*
|
| 1240 |
+
*/
|
| 1241 |
+
xcb_xv_query_encodings_cookie_t
|
| 1242 |
+
xcb_xv_query_encodings (xcb_connection_t *c,
|
| 1243 |
+
xcb_xv_port_t port);
|
| 1244 |
+
|
| 1245 |
+
/**
|
| 1246 |
+
*
|
| 1247 |
+
* @param c The connection
|
| 1248 |
+
* @return A cookie
|
| 1249 |
+
*
|
| 1250 |
+
* Delivers a request to the X server.
|
| 1251 |
+
*
|
| 1252 |
+
* This form can be used only if the request will cause
|
| 1253 |
+
* a reply to be generated. Any returned error will be
|
| 1254 |
+
* placed in the event queue.
|
| 1255 |
+
*/
|
| 1256 |
+
xcb_xv_query_encodings_cookie_t
|
| 1257 |
+
xcb_xv_query_encodings_unchecked (xcb_connection_t *c,
|
| 1258 |
+
xcb_xv_port_t port);
|
| 1259 |
+
|
| 1260 |
+
int
|
| 1261 |
+
xcb_xv_query_encodings_info_length (const xcb_xv_query_encodings_reply_t *R);
|
| 1262 |
+
|
| 1263 |
+
xcb_xv_encoding_info_iterator_t
|
| 1264 |
+
xcb_xv_query_encodings_info_iterator (const xcb_xv_query_encodings_reply_t *R);
|
| 1265 |
+
|
| 1266 |
+
/**
|
| 1267 |
+
* Return the reply
|
| 1268 |
+
* @param c The connection
|
| 1269 |
+
* @param cookie The cookie
|
| 1270 |
+
* @param e The xcb_generic_error_t supplied
|
| 1271 |
+
*
|
| 1272 |
+
* Returns the reply of the request asked by
|
| 1273 |
+
*
|
| 1274 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1275 |
+
* xcb_xv_query_encodings_unchecked(). is used.
|
| 1276 |
+
* Otherwise, it stores the error if any.
|
| 1277 |
+
*
|
| 1278 |
+
* The returned value must be freed by the caller using free().
|
| 1279 |
+
*/
|
| 1280 |
+
xcb_xv_query_encodings_reply_t *
|
| 1281 |
+
xcb_xv_query_encodings_reply (xcb_connection_t *c,
|
| 1282 |
+
xcb_xv_query_encodings_cookie_t cookie /**< */,
|
| 1283 |
+
xcb_generic_error_t **e);
|
| 1284 |
+
|
| 1285 |
+
/**
|
| 1286 |
+
*
|
| 1287 |
+
* @param c The connection
|
| 1288 |
+
* @return A cookie
|
| 1289 |
+
*
|
| 1290 |
+
* Delivers a request to the X server.
|
| 1291 |
+
*
|
| 1292 |
+
*/
|
| 1293 |
+
xcb_xv_grab_port_cookie_t
|
| 1294 |
+
xcb_xv_grab_port (xcb_connection_t *c,
|
| 1295 |
+
xcb_xv_port_t port,
|
| 1296 |
+
xcb_timestamp_t time);
|
| 1297 |
+
|
| 1298 |
+
/**
|
| 1299 |
+
*
|
| 1300 |
+
* @param c The connection
|
| 1301 |
+
* @return A cookie
|
| 1302 |
+
*
|
| 1303 |
+
* Delivers a request to the X server.
|
| 1304 |
+
*
|
| 1305 |
+
* This form can be used only if the request will cause
|
| 1306 |
+
* a reply to be generated. Any returned error will be
|
| 1307 |
+
* placed in the event queue.
|
| 1308 |
+
*/
|
| 1309 |
+
xcb_xv_grab_port_cookie_t
|
| 1310 |
+
xcb_xv_grab_port_unchecked (xcb_connection_t *c,
|
| 1311 |
+
xcb_xv_port_t port,
|
| 1312 |
+
xcb_timestamp_t time);
|
| 1313 |
+
|
| 1314 |
+
/**
|
| 1315 |
+
* Return the reply
|
| 1316 |
+
* @param c The connection
|
| 1317 |
+
* @param cookie The cookie
|
| 1318 |
+
* @param e The xcb_generic_error_t supplied
|
| 1319 |
+
*
|
| 1320 |
+
* Returns the reply of the request asked by
|
| 1321 |
+
*
|
| 1322 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1323 |
+
* xcb_xv_grab_port_unchecked(). is used.
|
| 1324 |
+
* Otherwise, it stores the error if any.
|
| 1325 |
+
*
|
| 1326 |
+
* The returned value must be freed by the caller using free().
|
| 1327 |
+
*/
|
| 1328 |
+
xcb_xv_grab_port_reply_t *
|
| 1329 |
+
xcb_xv_grab_port_reply (xcb_connection_t *c,
|
| 1330 |
+
xcb_xv_grab_port_cookie_t cookie /**< */,
|
| 1331 |
+
xcb_generic_error_t **e);
|
| 1332 |
+
|
| 1333 |
+
/**
|
| 1334 |
+
*
|
| 1335 |
+
* @param c The connection
|
| 1336 |
+
* @return A cookie
|
| 1337 |
+
*
|
| 1338 |
+
* Delivers a request to the X server.
|
| 1339 |
+
*
|
| 1340 |
+
* This form can be used only if the request will not cause
|
| 1341 |
+
* a reply to be generated. Any returned error will be
|
| 1342 |
+
* saved for handling by xcb_request_check().
|
| 1343 |
+
*/
|
| 1344 |
+
xcb_void_cookie_t
|
| 1345 |
+
xcb_xv_ungrab_port_checked (xcb_connection_t *c,
|
| 1346 |
+
xcb_xv_port_t port,
|
| 1347 |
+
xcb_timestamp_t time);
|
| 1348 |
+
|
| 1349 |
+
/**
|
| 1350 |
+
*
|
| 1351 |
+
* @param c The connection
|
| 1352 |
+
* @return A cookie
|
| 1353 |
+
*
|
| 1354 |
+
* Delivers a request to the X server.
|
| 1355 |
+
*
|
| 1356 |
+
*/
|
| 1357 |
+
xcb_void_cookie_t
|
| 1358 |
+
xcb_xv_ungrab_port (xcb_connection_t *c,
|
| 1359 |
+
xcb_xv_port_t port,
|
| 1360 |
+
xcb_timestamp_t time);
|
| 1361 |
+
|
| 1362 |
+
/**
|
| 1363 |
+
*
|
| 1364 |
+
* @param c The connection
|
| 1365 |
+
* @return A cookie
|
| 1366 |
+
*
|
| 1367 |
+
* Delivers a request to the X server.
|
| 1368 |
+
*
|
| 1369 |
+
* This form can be used only if the request will not cause
|
| 1370 |
+
* a reply to be generated. Any returned error will be
|
| 1371 |
+
* saved for handling by xcb_request_check().
|
| 1372 |
+
*/
|
| 1373 |
+
xcb_void_cookie_t
|
| 1374 |
+
xcb_xv_put_video_checked (xcb_connection_t *c,
|
| 1375 |
+
xcb_xv_port_t port,
|
| 1376 |
+
xcb_drawable_t drawable,
|
| 1377 |
+
xcb_gcontext_t gc,
|
| 1378 |
+
int16_t vid_x,
|
| 1379 |
+
int16_t vid_y,
|
| 1380 |
+
uint16_t vid_w,
|
| 1381 |
+
uint16_t vid_h,
|
| 1382 |
+
int16_t drw_x,
|
| 1383 |
+
int16_t drw_y,
|
| 1384 |
+
uint16_t drw_w,
|
| 1385 |
+
uint16_t drw_h);
|
| 1386 |
+
|
| 1387 |
+
/**
|
| 1388 |
+
*
|
| 1389 |
+
* @param c The connection
|
| 1390 |
+
* @return A cookie
|
| 1391 |
+
*
|
| 1392 |
+
* Delivers a request to the X server.
|
| 1393 |
+
*
|
| 1394 |
+
*/
|
| 1395 |
+
xcb_void_cookie_t
|
| 1396 |
+
xcb_xv_put_video (xcb_connection_t *c,
|
| 1397 |
+
xcb_xv_port_t port,
|
| 1398 |
+
xcb_drawable_t drawable,
|
| 1399 |
+
xcb_gcontext_t gc,
|
| 1400 |
+
int16_t vid_x,
|
| 1401 |
+
int16_t vid_y,
|
| 1402 |
+
uint16_t vid_w,
|
| 1403 |
+
uint16_t vid_h,
|
| 1404 |
+
int16_t drw_x,
|
| 1405 |
+
int16_t drw_y,
|
| 1406 |
+
uint16_t drw_w,
|
| 1407 |
+
uint16_t drw_h);
|
| 1408 |
+
|
| 1409 |
+
/**
|
| 1410 |
+
*
|
| 1411 |
+
* @param c The connection
|
| 1412 |
+
* @return A cookie
|
| 1413 |
+
*
|
| 1414 |
+
* Delivers a request to the X server.
|
| 1415 |
+
*
|
| 1416 |
+
* This form can be used only if the request will not cause
|
| 1417 |
+
* a reply to be generated. Any returned error will be
|
| 1418 |
+
* saved for handling by xcb_request_check().
|
| 1419 |
+
*/
|
| 1420 |
+
xcb_void_cookie_t
|
| 1421 |
+
xcb_xv_put_still_checked (xcb_connection_t *c,
|
| 1422 |
+
xcb_xv_port_t port,
|
| 1423 |
+
xcb_drawable_t drawable,
|
| 1424 |
+
xcb_gcontext_t gc,
|
| 1425 |
+
int16_t vid_x,
|
| 1426 |
+
int16_t vid_y,
|
| 1427 |
+
uint16_t vid_w,
|
| 1428 |
+
uint16_t vid_h,
|
| 1429 |
+
int16_t drw_x,
|
| 1430 |
+
int16_t drw_y,
|
| 1431 |
+
uint16_t drw_w,
|
| 1432 |
+
uint16_t drw_h);
|
| 1433 |
+
|
| 1434 |
+
/**
|
| 1435 |
+
*
|
| 1436 |
+
* @param c The connection
|
| 1437 |
+
* @return A cookie
|
| 1438 |
+
*
|
| 1439 |
+
* Delivers a request to the X server.
|
| 1440 |
+
*
|
| 1441 |
+
*/
|
| 1442 |
+
xcb_void_cookie_t
|
| 1443 |
+
xcb_xv_put_still (xcb_connection_t *c,
|
| 1444 |
+
xcb_xv_port_t port,
|
| 1445 |
+
xcb_drawable_t drawable,
|
| 1446 |
+
xcb_gcontext_t gc,
|
| 1447 |
+
int16_t vid_x,
|
| 1448 |
+
int16_t vid_y,
|
| 1449 |
+
uint16_t vid_w,
|
| 1450 |
+
uint16_t vid_h,
|
| 1451 |
+
int16_t drw_x,
|
| 1452 |
+
int16_t drw_y,
|
| 1453 |
+
uint16_t drw_w,
|
| 1454 |
+
uint16_t drw_h);
|
| 1455 |
+
|
| 1456 |
+
/**
|
| 1457 |
+
*
|
| 1458 |
+
* @param c The connection
|
| 1459 |
+
* @return A cookie
|
| 1460 |
+
*
|
| 1461 |
+
* Delivers a request to the X server.
|
| 1462 |
+
*
|
| 1463 |
+
* This form can be used only if the request will not cause
|
| 1464 |
+
* a reply to be generated. Any returned error will be
|
| 1465 |
+
* saved for handling by xcb_request_check().
|
| 1466 |
+
*/
|
| 1467 |
+
xcb_void_cookie_t
|
| 1468 |
+
xcb_xv_get_video_checked (xcb_connection_t *c,
|
| 1469 |
+
xcb_xv_port_t port,
|
| 1470 |
+
xcb_drawable_t drawable,
|
| 1471 |
+
xcb_gcontext_t gc,
|
| 1472 |
+
int16_t vid_x,
|
| 1473 |
+
int16_t vid_y,
|
| 1474 |
+
uint16_t vid_w,
|
| 1475 |
+
uint16_t vid_h,
|
| 1476 |
+
int16_t drw_x,
|
| 1477 |
+
int16_t drw_y,
|
| 1478 |
+
uint16_t drw_w,
|
| 1479 |
+
uint16_t drw_h);
|
| 1480 |
+
|
| 1481 |
+
/**
|
| 1482 |
+
*
|
| 1483 |
+
* @param c The connection
|
| 1484 |
+
* @return A cookie
|
| 1485 |
+
*
|
| 1486 |
+
* Delivers a request to the X server.
|
| 1487 |
+
*
|
| 1488 |
+
*/
|
| 1489 |
+
xcb_void_cookie_t
|
| 1490 |
+
xcb_xv_get_video (xcb_connection_t *c,
|
| 1491 |
+
xcb_xv_port_t port,
|
| 1492 |
+
xcb_drawable_t drawable,
|
| 1493 |
+
xcb_gcontext_t gc,
|
| 1494 |
+
int16_t vid_x,
|
| 1495 |
+
int16_t vid_y,
|
| 1496 |
+
uint16_t vid_w,
|
| 1497 |
+
uint16_t vid_h,
|
| 1498 |
+
int16_t drw_x,
|
| 1499 |
+
int16_t drw_y,
|
| 1500 |
+
uint16_t drw_w,
|
| 1501 |
+
uint16_t drw_h);
|
| 1502 |
+
|
| 1503 |
+
/**
|
| 1504 |
+
*
|
| 1505 |
+
* @param c The connection
|
| 1506 |
+
* @return A cookie
|
| 1507 |
+
*
|
| 1508 |
+
* Delivers a request to the X server.
|
| 1509 |
+
*
|
| 1510 |
+
* This form can be used only if the request will not cause
|
| 1511 |
+
* a reply to be generated. Any returned error will be
|
| 1512 |
+
* saved for handling by xcb_request_check().
|
| 1513 |
+
*/
|
| 1514 |
+
xcb_void_cookie_t
|
| 1515 |
+
xcb_xv_get_still_checked (xcb_connection_t *c,
|
| 1516 |
+
xcb_xv_port_t port,
|
| 1517 |
+
xcb_drawable_t drawable,
|
| 1518 |
+
xcb_gcontext_t gc,
|
| 1519 |
+
int16_t vid_x,
|
| 1520 |
+
int16_t vid_y,
|
| 1521 |
+
uint16_t vid_w,
|
| 1522 |
+
uint16_t vid_h,
|
| 1523 |
+
int16_t drw_x,
|
| 1524 |
+
int16_t drw_y,
|
| 1525 |
+
uint16_t drw_w,
|
| 1526 |
+
uint16_t drw_h);
|
| 1527 |
+
|
| 1528 |
+
/**
|
| 1529 |
+
*
|
| 1530 |
+
* @param c The connection
|
| 1531 |
+
* @return A cookie
|
| 1532 |
+
*
|
| 1533 |
+
* Delivers a request to the X server.
|
| 1534 |
+
*
|
| 1535 |
+
*/
|
| 1536 |
+
xcb_void_cookie_t
|
| 1537 |
+
xcb_xv_get_still (xcb_connection_t *c,
|
| 1538 |
+
xcb_xv_port_t port,
|
| 1539 |
+
xcb_drawable_t drawable,
|
| 1540 |
+
xcb_gcontext_t gc,
|
| 1541 |
+
int16_t vid_x,
|
| 1542 |
+
int16_t vid_y,
|
| 1543 |
+
uint16_t vid_w,
|
| 1544 |
+
uint16_t vid_h,
|
| 1545 |
+
int16_t drw_x,
|
| 1546 |
+
int16_t drw_y,
|
| 1547 |
+
uint16_t drw_w,
|
| 1548 |
+
uint16_t drw_h);
|
| 1549 |
+
|
| 1550 |
+
/**
|
| 1551 |
+
*
|
| 1552 |
+
* @param c The connection
|
| 1553 |
+
* @return A cookie
|
| 1554 |
+
*
|
| 1555 |
+
* Delivers a request to the X server.
|
| 1556 |
+
*
|
| 1557 |
+
* This form can be used only if the request will not cause
|
| 1558 |
+
* a reply to be generated. Any returned error will be
|
| 1559 |
+
* saved for handling by xcb_request_check().
|
| 1560 |
+
*/
|
| 1561 |
+
xcb_void_cookie_t
|
| 1562 |
+
xcb_xv_stop_video_checked (xcb_connection_t *c,
|
| 1563 |
+
xcb_xv_port_t port,
|
| 1564 |
+
xcb_drawable_t drawable);
|
| 1565 |
+
|
| 1566 |
+
/**
|
| 1567 |
+
*
|
| 1568 |
+
* @param c The connection
|
| 1569 |
+
* @return A cookie
|
| 1570 |
+
*
|
| 1571 |
+
* Delivers a request to the X server.
|
| 1572 |
+
*
|
| 1573 |
+
*/
|
| 1574 |
+
xcb_void_cookie_t
|
| 1575 |
+
xcb_xv_stop_video (xcb_connection_t *c,
|
| 1576 |
+
xcb_xv_port_t port,
|
| 1577 |
+
xcb_drawable_t drawable);
|
| 1578 |
+
|
| 1579 |
+
/**
|
| 1580 |
+
*
|
| 1581 |
+
* @param c The connection
|
| 1582 |
+
* @return A cookie
|
| 1583 |
+
*
|
| 1584 |
+
* Delivers a request to the X server.
|
| 1585 |
+
*
|
| 1586 |
+
* This form can be used only if the request will not cause
|
| 1587 |
+
* a reply to be generated. Any returned error will be
|
| 1588 |
+
* saved for handling by xcb_request_check().
|
| 1589 |
+
*/
|
| 1590 |
+
xcb_void_cookie_t
|
| 1591 |
+
xcb_xv_select_video_notify_checked (xcb_connection_t *c,
|
| 1592 |
+
xcb_drawable_t drawable,
|
| 1593 |
+
uint8_t onoff);
|
| 1594 |
+
|
| 1595 |
+
/**
|
| 1596 |
+
*
|
| 1597 |
+
* @param c The connection
|
| 1598 |
+
* @return A cookie
|
| 1599 |
+
*
|
| 1600 |
+
* Delivers a request to the X server.
|
| 1601 |
+
*
|
| 1602 |
+
*/
|
| 1603 |
+
xcb_void_cookie_t
|
| 1604 |
+
xcb_xv_select_video_notify (xcb_connection_t *c,
|
| 1605 |
+
xcb_drawable_t drawable,
|
| 1606 |
+
uint8_t onoff);
|
| 1607 |
+
|
| 1608 |
+
/**
|
| 1609 |
+
*
|
| 1610 |
+
* @param c The connection
|
| 1611 |
+
* @return A cookie
|
| 1612 |
+
*
|
| 1613 |
+
* Delivers a request to the X server.
|
| 1614 |
+
*
|
| 1615 |
+
* This form can be used only if the request will not cause
|
| 1616 |
+
* a reply to be generated. Any returned error will be
|
| 1617 |
+
* saved for handling by xcb_request_check().
|
| 1618 |
+
*/
|
| 1619 |
+
xcb_void_cookie_t
|
| 1620 |
+
xcb_xv_select_port_notify_checked (xcb_connection_t *c,
|
| 1621 |
+
xcb_xv_port_t port,
|
| 1622 |
+
uint8_t onoff);
|
| 1623 |
+
|
| 1624 |
+
/**
|
| 1625 |
+
*
|
| 1626 |
+
* @param c The connection
|
| 1627 |
+
* @return A cookie
|
| 1628 |
+
*
|
| 1629 |
+
* Delivers a request to the X server.
|
| 1630 |
+
*
|
| 1631 |
+
*/
|
| 1632 |
+
xcb_void_cookie_t
|
| 1633 |
+
xcb_xv_select_port_notify (xcb_connection_t *c,
|
| 1634 |
+
xcb_xv_port_t port,
|
| 1635 |
+
uint8_t onoff);
|
| 1636 |
+
|
| 1637 |
+
/**
|
| 1638 |
+
*
|
| 1639 |
+
* @param c The connection
|
| 1640 |
+
* @return A cookie
|
| 1641 |
+
*
|
| 1642 |
+
* Delivers a request to the X server.
|
| 1643 |
+
*
|
| 1644 |
+
*/
|
| 1645 |
+
xcb_xv_query_best_size_cookie_t
|
| 1646 |
+
xcb_xv_query_best_size (xcb_connection_t *c,
|
| 1647 |
+
xcb_xv_port_t port,
|
| 1648 |
+
uint16_t vid_w,
|
| 1649 |
+
uint16_t vid_h,
|
| 1650 |
+
uint16_t drw_w,
|
| 1651 |
+
uint16_t drw_h,
|
| 1652 |
+
uint8_t motion);
|
| 1653 |
+
|
| 1654 |
+
/**
|
| 1655 |
+
*
|
| 1656 |
+
* @param c The connection
|
| 1657 |
+
* @return A cookie
|
| 1658 |
+
*
|
| 1659 |
+
* Delivers a request to the X server.
|
| 1660 |
+
*
|
| 1661 |
+
* This form can be used only if the request will cause
|
| 1662 |
+
* a reply to be generated. Any returned error will be
|
| 1663 |
+
* placed in the event queue.
|
| 1664 |
+
*/
|
| 1665 |
+
xcb_xv_query_best_size_cookie_t
|
| 1666 |
+
xcb_xv_query_best_size_unchecked (xcb_connection_t *c,
|
| 1667 |
+
xcb_xv_port_t port,
|
| 1668 |
+
uint16_t vid_w,
|
| 1669 |
+
uint16_t vid_h,
|
| 1670 |
+
uint16_t drw_w,
|
| 1671 |
+
uint16_t drw_h,
|
| 1672 |
+
uint8_t motion);
|
| 1673 |
+
|
| 1674 |
+
/**
|
| 1675 |
+
* Return the reply
|
| 1676 |
+
* @param c The connection
|
| 1677 |
+
* @param cookie The cookie
|
| 1678 |
+
* @param e The xcb_generic_error_t supplied
|
| 1679 |
+
*
|
| 1680 |
+
* Returns the reply of the request asked by
|
| 1681 |
+
*
|
| 1682 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1683 |
+
* xcb_xv_query_best_size_unchecked(). is used.
|
| 1684 |
+
* Otherwise, it stores the error if any.
|
| 1685 |
+
*
|
| 1686 |
+
* The returned value must be freed by the caller using free().
|
| 1687 |
+
*/
|
| 1688 |
+
xcb_xv_query_best_size_reply_t *
|
| 1689 |
+
xcb_xv_query_best_size_reply (xcb_connection_t *c,
|
| 1690 |
+
xcb_xv_query_best_size_cookie_t cookie /**< */,
|
| 1691 |
+
xcb_generic_error_t **e);
|
| 1692 |
+
|
| 1693 |
+
/**
|
| 1694 |
+
*
|
| 1695 |
+
* @param c The connection
|
| 1696 |
+
* @return A cookie
|
| 1697 |
+
*
|
| 1698 |
+
* Delivers a request to the X server.
|
| 1699 |
+
*
|
| 1700 |
+
* This form can be used only if the request will not cause
|
| 1701 |
+
* a reply to be generated. Any returned error will be
|
| 1702 |
+
* saved for handling by xcb_request_check().
|
| 1703 |
+
*/
|
| 1704 |
+
xcb_void_cookie_t
|
| 1705 |
+
xcb_xv_set_port_attribute_checked (xcb_connection_t *c,
|
| 1706 |
+
xcb_xv_port_t port,
|
| 1707 |
+
xcb_atom_t attribute,
|
| 1708 |
+
int32_t value);
|
| 1709 |
+
|
| 1710 |
+
/**
|
| 1711 |
+
*
|
| 1712 |
+
* @param c The connection
|
| 1713 |
+
* @return A cookie
|
| 1714 |
+
*
|
| 1715 |
+
* Delivers a request to the X server.
|
| 1716 |
+
*
|
| 1717 |
+
*/
|
| 1718 |
+
xcb_void_cookie_t
|
| 1719 |
+
xcb_xv_set_port_attribute (xcb_connection_t *c,
|
| 1720 |
+
xcb_xv_port_t port,
|
| 1721 |
+
xcb_atom_t attribute,
|
| 1722 |
+
int32_t value);
|
| 1723 |
+
|
| 1724 |
+
/**
|
| 1725 |
+
*
|
| 1726 |
+
* @param c The connection
|
| 1727 |
+
* @return A cookie
|
| 1728 |
+
*
|
| 1729 |
+
* Delivers a request to the X server.
|
| 1730 |
+
*
|
| 1731 |
+
*/
|
| 1732 |
+
xcb_xv_get_port_attribute_cookie_t
|
| 1733 |
+
xcb_xv_get_port_attribute (xcb_connection_t *c,
|
| 1734 |
+
xcb_xv_port_t port,
|
| 1735 |
+
xcb_atom_t attribute);
|
| 1736 |
+
|
| 1737 |
+
/**
|
| 1738 |
+
*
|
| 1739 |
+
* @param c The connection
|
| 1740 |
+
* @return A cookie
|
| 1741 |
+
*
|
| 1742 |
+
* Delivers a request to the X server.
|
| 1743 |
+
*
|
| 1744 |
+
* This form can be used only if the request will cause
|
| 1745 |
+
* a reply to be generated. Any returned error will be
|
| 1746 |
+
* placed in the event queue.
|
| 1747 |
+
*/
|
| 1748 |
+
xcb_xv_get_port_attribute_cookie_t
|
| 1749 |
+
xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c,
|
| 1750 |
+
xcb_xv_port_t port,
|
| 1751 |
+
xcb_atom_t attribute);
|
| 1752 |
+
|
| 1753 |
+
/**
|
| 1754 |
+
* Return the reply
|
| 1755 |
+
* @param c The connection
|
| 1756 |
+
* @param cookie The cookie
|
| 1757 |
+
* @param e The xcb_generic_error_t supplied
|
| 1758 |
+
*
|
| 1759 |
+
* Returns the reply of the request asked by
|
| 1760 |
+
*
|
| 1761 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1762 |
+
* xcb_xv_get_port_attribute_unchecked(). is used.
|
| 1763 |
+
* Otherwise, it stores the error if any.
|
| 1764 |
+
*
|
| 1765 |
+
* The returned value must be freed by the caller using free().
|
| 1766 |
+
*/
|
| 1767 |
+
xcb_xv_get_port_attribute_reply_t *
|
| 1768 |
+
xcb_xv_get_port_attribute_reply (xcb_connection_t *c,
|
| 1769 |
+
xcb_xv_get_port_attribute_cookie_t cookie /**< */,
|
| 1770 |
+
xcb_generic_error_t **e);
|
| 1771 |
+
|
| 1772 |
+
int
|
| 1773 |
+
xcb_xv_query_port_attributes_sizeof (const void *_buffer);
|
| 1774 |
+
|
| 1775 |
+
/**
|
| 1776 |
+
*
|
| 1777 |
+
* @param c The connection
|
| 1778 |
+
* @return A cookie
|
| 1779 |
+
*
|
| 1780 |
+
* Delivers a request to the X server.
|
| 1781 |
+
*
|
| 1782 |
+
*/
|
| 1783 |
+
xcb_xv_query_port_attributes_cookie_t
|
| 1784 |
+
xcb_xv_query_port_attributes (xcb_connection_t *c,
|
| 1785 |
+
xcb_xv_port_t port);
|
| 1786 |
+
|
| 1787 |
+
/**
|
| 1788 |
+
*
|
| 1789 |
+
* @param c The connection
|
| 1790 |
+
* @return A cookie
|
| 1791 |
+
*
|
| 1792 |
+
* Delivers a request to the X server.
|
| 1793 |
+
*
|
| 1794 |
+
* This form can be used only if the request will cause
|
| 1795 |
+
* a reply to be generated. Any returned error will be
|
| 1796 |
+
* placed in the event queue.
|
| 1797 |
+
*/
|
| 1798 |
+
xcb_xv_query_port_attributes_cookie_t
|
| 1799 |
+
xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c,
|
| 1800 |
+
xcb_xv_port_t port);
|
| 1801 |
+
|
| 1802 |
+
int
|
| 1803 |
+
xcb_xv_query_port_attributes_attributes_length (const xcb_xv_query_port_attributes_reply_t *R);
|
| 1804 |
+
|
| 1805 |
+
xcb_xv_attribute_info_iterator_t
|
| 1806 |
+
xcb_xv_query_port_attributes_attributes_iterator (const xcb_xv_query_port_attributes_reply_t *R);
|
| 1807 |
+
|
| 1808 |
+
/**
|
| 1809 |
+
* Return the reply
|
| 1810 |
+
* @param c The connection
|
| 1811 |
+
* @param cookie The cookie
|
| 1812 |
+
* @param e The xcb_generic_error_t supplied
|
| 1813 |
+
*
|
| 1814 |
+
* Returns the reply of the request asked by
|
| 1815 |
+
*
|
| 1816 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1817 |
+
* xcb_xv_query_port_attributes_unchecked(). is used.
|
| 1818 |
+
* Otherwise, it stores the error if any.
|
| 1819 |
+
*
|
| 1820 |
+
* The returned value must be freed by the caller using free().
|
| 1821 |
+
*/
|
| 1822 |
+
xcb_xv_query_port_attributes_reply_t *
|
| 1823 |
+
xcb_xv_query_port_attributes_reply (xcb_connection_t *c,
|
| 1824 |
+
xcb_xv_query_port_attributes_cookie_t cookie /**< */,
|
| 1825 |
+
xcb_generic_error_t **e);
|
| 1826 |
+
|
| 1827 |
+
int
|
| 1828 |
+
xcb_xv_list_image_formats_sizeof (const void *_buffer);
|
| 1829 |
+
|
| 1830 |
+
/**
|
| 1831 |
+
*
|
| 1832 |
+
* @param c The connection
|
| 1833 |
+
* @return A cookie
|
| 1834 |
+
*
|
| 1835 |
+
* Delivers a request to the X server.
|
| 1836 |
+
*
|
| 1837 |
+
*/
|
| 1838 |
+
xcb_xv_list_image_formats_cookie_t
|
| 1839 |
+
xcb_xv_list_image_formats (xcb_connection_t *c,
|
| 1840 |
+
xcb_xv_port_t port);
|
| 1841 |
+
|
| 1842 |
+
/**
|
| 1843 |
+
*
|
| 1844 |
+
* @param c The connection
|
| 1845 |
+
* @return A cookie
|
| 1846 |
+
*
|
| 1847 |
+
* Delivers a request to the X server.
|
| 1848 |
+
*
|
| 1849 |
+
* This form can be used only if the request will cause
|
| 1850 |
+
* a reply to be generated. Any returned error will be
|
| 1851 |
+
* placed in the event queue.
|
| 1852 |
+
*/
|
| 1853 |
+
xcb_xv_list_image_formats_cookie_t
|
| 1854 |
+
xcb_xv_list_image_formats_unchecked (xcb_connection_t *c,
|
| 1855 |
+
xcb_xv_port_t port);
|
| 1856 |
+
|
| 1857 |
+
xcb_xv_image_format_info_t *
|
| 1858 |
+
xcb_xv_list_image_formats_format (const xcb_xv_list_image_formats_reply_t *R);
|
| 1859 |
+
|
| 1860 |
+
int
|
| 1861 |
+
xcb_xv_list_image_formats_format_length (const xcb_xv_list_image_formats_reply_t *R);
|
| 1862 |
+
|
| 1863 |
+
xcb_xv_image_format_info_iterator_t
|
| 1864 |
+
xcb_xv_list_image_formats_format_iterator (const xcb_xv_list_image_formats_reply_t *R);
|
| 1865 |
+
|
| 1866 |
+
/**
|
| 1867 |
+
* Return the reply
|
| 1868 |
+
* @param c The connection
|
| 1869 |
+
* @param cookie The cookie
|
| 1870 |
+
* @param e The xcb_generic_error_t supplied
|
| 1871 |
+
*
|
| 1872 |
+
* Returns the reply of the request asked by
|
| 1873 |
+
*
|
| 1874 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1875 |
+
* xcb_xv_list_image_formats_unchecked(). is used.
|
| 1876 |
+
* Otherwise, it stores the error if any.
|
| 1877 |
+
*
|
| 1878 |
+
* The returned value must be freed by the caller using free().
|
| 1879 |
+
*/
|
| 1880 |
+
xcb_xv_list_image_formats_reply_t *
|
| 1881 |
+
xcb_xv_list_image_formats_reply (xcb_connection_t *c,
|
| 1882 |
+
xcb_xv_list_image_formats_cookie_t cookie /**< */,
|
| 1883 |
+
xcb_generic_error_t **e);
|
| 1884 |
+
|
| 1885 |
+
int
|
| 1886 |
+
xcb_xv_query_image_attributes_sizeof (const void *_buffer);
|
| 1887 |
+
|
| 1888 |
+
/**
|
| 1889 |
+
*
|
| 1890 |
+
* @param c The connection
|
| 1891 |
+
* @return A cookie
|
| 1892 |
+
*
|
| 1893 |
+
* Delivers a request to the X server.
|
| 1894 |
+
*
|
| 1895 |
+
*/
|
| 1896 |
+
xcb_xv_query_image_attributes_cookie_t
|
| 1897 |
+
xcb_xv_query_image_attributes (xcb_connection_t *c,
|
| 1898 |
+
xcb_xv_port_t port,
|
| 1899 |
+
uint32_t id,
|
| 1900 |
+
uint16_t width,
|
| 1901 |
+
uint16_t height);
|
| 1902 |
+
|
| 1903 |
+
/**
|
| 1904 |
+
*
|
| 1905 |
+
* @param c The connection
|
| 1906 |
+
* @return A cookie
|
| 1907 |
+
*
|
| 1908 |
+
* Delivers a request to the X server.
|
| 1909 |
+
*
|
| 1910 |
+
* This form can be used only if the request will cause
|
| 1911 |
+
* a reply to be generated. Any returned error will be
|
| 1912 |
+
* placed in the event queue.
|
| 1913 |
+
*/
|
| 1914 |
+
xcb_xv_query_image_attributes_cookie_t
|
| 1915 |
+
xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c,
|
| 1916 |
+
xcb_xv_port_t port,
|
| 1917 |
+
uint32_t id,
|
| 1918 |
+
uint16_t width,
|
| 1919 |
+
uint16_t height);
|
| 1920 |
+
|
| 1921 |
+
uint32_t *
|
| 1922 |
+
xcb_xv_query_image_attributes_pitches (const xcb_xv_query_image_attributes_reply_t *R);
|
| 1923 |
+
|
| 1924 |
+
int
|
| 1925 |
+
xcb_xv_query_image_attributes_pitches_length (const xcb_xv_query_image_attributes_reply_t *R);
|
| 1926 |
+
|
| 1927 |
+
xcb_generic_iterator_t
|
| 1928 |
+
xcb_xv_query_image_attributes_pitches_end (const xcb_xv_query_image_attributes_reply_t *R);
|
| 1929 |
+
|
| 1930 |
+
uint32_t *
|
| 1931 |
+
xcb_xv_query_image_attributes_offsets (const xcb_xv_query_image_attributes_reply_t *R);
|
| 1932 |
+
|
| 1933 |
+
int
|
| 1934 |
+
xcb_xv_query_image_attributes_offsets_length (const xcb_xv_query_image_attributes_reply_t *R);
|
| 1935 |
+
|
| 1936 |
+
xcb_generic_iterator_t
|
| 1937 |
+
xcb_xv_query_image_attributes_offsets_end (const xcb_xv_query_image_attributes_reply_t *R);
|
| 1938 |
+
|
| 1939 |
+
/**
|
| 1940 |
+
* Return the reply
|
| 1941 |
+
* @param c The connection
|
| 1942 |
+
* @param cookie The cookie
|
| 1943 |
+
* @param e The xcb_generic_error_t supplied
|
| 1944 |
+
*
|
| 1945 |
+
* Returns the reply of the request asked by
|
| 1946 |
+
*
|
| 1947 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 1948 |
+
* xcb_xv_query_image_attributes_unchecked(). is used.
|
| 1949 |
+
* Otherwise, it stores the error if any.
|
| 1950 |
+
*
|
| 1951 |
+
* The returned value must be freed by the caller using free().
|
| 1952 |
+
*/
|
| 1953 |
+
xcb_xv_query_image_attributes_reply_t *
|
| 1954 |
+
xcb_xv_query_image_attributes_reply (xcb_connection_t *c,
|
| 1955 |
+
xcb_xv_query_image_attributes_cookie_t cookie /**< */,
|
| 1956 |
+
xcb_generic_error_t **e);
|
| 1957 |
+
|
| 1958 |
+
int
|
| 1959 |
+
xcb_xv_put_image_sizeof (const void *_buffer,
|
| 1960 |
+
uint32_t data_len);
|
| 1961 |
+
|
| 1962 |
+
/**
|
| 1963 |
+
*
|
| 1964 |
+
* @param c The connection
|
| 1965 |
+
* @return A cookie
|
| 1966 |
+
*
|
| 1967 |
+
* Delivers a request to the X server.
|
| 1968 |
+
*
|
| 1969 |
+
* This form can be used only if the request will not cause
|
| 1970 |
+
* a reply to be generated. Any returned error will be
|
| 1971 |
+
* saved for handling by xcb_request_check().
|
| 1972 |
+
*/
|
| 1973 |
+
xcb_void_cookie_t
|
| 1974 |
+
xcb_xv_put_image_checked (xcb_connection_t *c,
|
| 1975 |
+
xcb_xv_port_t port,
|
| 1976 |
+
xcb_drawable_t drawable,
|
| 1977 |
+
xcb_gcontext_t gc,
|
| 1978 |
+
uint32_t id,
|
| 1979 |
+
int16_t src_x,
|
| 1980 |
+
int16_t src_y,
|
| 1981 |
+
uint16_t src_w,
|
| 1982 |
+
uint16_t src_h,
|
| 1983 |
+
int16_t drw_x,
|
| 1984 |
+
int16_t drw_y,
|
| 1985 |
+
uint16_t drw_w,
|
| 1986 |
+
uint16_t drw_h,
|
| 1987 |
+
uint16_t width,
|
| 1988 |
+
uint16_t height,
|
| 1989 |
+
uint32_t data_len,
|
| 1990 |
+
const uint8_t *data);
|
| 1991 |
+
|
| 1992 |
+
/**
|
| 1993 |
+
*
|
| 1994 |
+
* @param c The connection
|
| 1995 |
+
* @return A cookie
|
| 1996 |
+
*
|
| 1997 |
+
* Delivers a request to the X server.
|
| 1998 |
+
*
|
| 1999 |
+
*/
|
| 2000 |
+
xcb_void_cookie_t
|
| 2001 |
+
xcb_xv_put_image (xcb_connection_t *c,
|
| 2002 |
+
xcb_xv_port_t port,
|
| 2003 |
+
xcb_drawable_t drawable,
|
| 2004 |
+
xcb_gcontext_t gc,
|
| 2005 |
+
uint32_t id,
|
| 2006 |
+
int16_t src_x,
|
| 2007 |
+
int16_t src_y,
|
| 2008 |
+
uint16_t src_w,
|
| 2009 |
+
uint16_t src_h,
|
| 2010 |
+
int16_t drw_x,
|
| 2011 |
+
int16_t drw_y,
|
| 2012 |
+
uint16_t drw_w,
|
| 2013 |
+
uint16_t drw_h,
|
| 2014 |
+
uint16_t width,
|
| 2015 |
+
uint16_t height,
|
| 2016 |
+
uint32_t data_len,
|
| 2017 |
+
const uint8_t *data);
|
| 2018 |
+
|
| 2019 |
+
uint8_t *
|
| 2020 |
+
xcb_xv_put_image_data (const xcb_xv_put_image_request_t *R);
|
| 2021 |
+
|
| 2022 |
+
int
|
| 2023 |
+
xcb_xv_put_image_data_length (const xcb_xv_put_image_request_t *R);
|
| 2024 |
+
|
| 2025 |
+
xcb_generic_iterator_t
|
| 2026 |
+
xcb_xv_put_image_data_end (const xcb_xv_put_image_request_t *R);
|
| 2027 |
+
|
| 2028 |
+
/**
|
| 2029 |
+
*
|
| 2030 |
+
* @param c The connection
|
| 2031 |
+
* @return A cookie
|
| 2032 |
+
*
|
| 2033 |
+
* Delivers a request to the X server.
|
| 2034 |
+
*
|
| 2035 |
+
* This form can be used only if the request will not cause
|
| 2036 |
+
* a reply to be generated. Any returned error will be
|
| 2037 |
+
* saved for handling by xcb_request_check().
|
| 2038 |
+
*/
|
| 2039 |
+
xcb_void_cookie_t
|
| 2040 |
+
xcb_xv_shm_put_image_checked (xcb_connection_t *c,
|
| 2041 |
+
xcb_xv_port_t port,
|
| 2042 |
+
xcb_drawable_t drawable,
|
| 2043 |
+
xcb_gcontext_t gc,
|
| 2044 |
+
xcb_shm_seg_t shmseg,
|
| 2045 |
+
uint32_t id,
|
| 2046 |
+
uint32_t offset,
|
| 2047 |
+
int16_t src_x,
|
| 2048 |
+
int16_t src_y,
|
| 2049 |
+
uint16_t src_w,
|
| 2050 |
+
uint16_t src_h,
|
| 2051 |
+
int16_t drw_x,
|
| 2052 |
+
int16_t drw_y,
|
| 2053 |
+
uint16_t drw_w,
|
| 2054 |
+
uint16_t drw_h,
|
| 2055 |
+
uint16_t width,
|
| 2056 |
+
uint16_t height,
|
| 2057 |
+
uint8_t send_event);
|
| 2058 |
+
|
| 2059 |
+
/**
|
| 2060 |
+
*
|
| 2061 |
+
* @param c The connection
|
| 2062 |
+
* @return A cookie
|
| 2063 |
+
*
|
| 2064 |
+
* Delivers a request to the X server.
|
| 2065 |
+
*
|
| 2066 |
+
*/
|
| 2067 |
+
xcb_void_cookie_t
|
| 2068 |
+
xcb_xv_shm_put_image (xcb_connection_t *c,
|
| 2069 |
+
xcb_xv_port_t port,
|
| 2070 |
+
xcb_drawable_t drawable,
|
| 2071 |
+
xcb_gcontext_t gc,
|
| 2072 |
+
xcb_shm_seg_t shmseg,
|
| 2073 |
+
uint32_t id,
|
| 2074 |
+
uint32_t offset,
|
| 2075 |
+
int16_t src_x,
|
| 2076 |
+
int16_t src_y,
|
| 2077 |
+
uint16_t src_w,
|
| 2078 |
+
uint16_t src_h,
|
| 2079 |
+
int16_t drw_x,
|
| 2080 |
+
int16_t drw_y,
|
| 2081 |
+
uint16_t drw_w,
|
| 2082 |
+
uint16_t drw_h,
|
| 2083 |
+
uint16_t width,
|
| 2084 |
+
uint16_t height,
|
| 2085 |
+
uint8_t send_event);
|
| 2086 |
+
|
| 2087 |
+
|
| 2088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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* This file generated automatically from xvmc.xml by c_client.py.
|
| 3 |
+
* Edit at your peril.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
/**
|
| 7 |
+
* @defgroup XCB_XvMC_API XCB XvMC API
|
| 8 |
+
* @brief XvMC XCB Protocol Implementation.
|
| 9 |
+
* @{
|
| 10 |
+
**/
|
| 11 |
+
|
| 12 |
+
#ifndef __XVMC_H
|
| 13 |
+
#define __XVMC_H
|
| 14 |
+
|
| 15 |
+
#include "xcb.h"
|
| 16 |
+
#include "xv.h"
|
| 17 |
+
|
| 18 |
+
#ifdef __cplusplus
|
| 19 |
+
extern "C" {
|
| 20 |
+
#endif
|
| 21 |
+
|
| 22 |
+
#define XCB_XVMC_MAJOR_VERSION 1
|
| 23 |
+
#define XCB_XVMC_MINOR_VERSION 1
|
| 24 |
+
|
| 25 |
+
extern xcb_extension_t xcb_xvmc_id;
|
| 26 |
+
|
| 27 |
+
typedef uint32_t xcb_xvmc_context_t;
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @brief xcb_xvmc_context_iterator_t
|
| 31 |
+
**/
|
| 32 |
+
typedef struct xcb_xvmc_context_iterator_t {
|
| 33 |
+
xcb_xvmc_context_t *data;
|
| 34 |
+
int rem;
|
| 35 |
+
int index;
|
| 36 |
+
} xcb_xvmc_context_iterator_t;
|
| 37 |
+
|
| 38 |
+
typedef uint32_t xcb_xvmc_surface_t;
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* @brief xcb_xvmc_surface_iterator_t
|
| 42 |
+
**/
|
| 43 |
+
typedef struct xcb_xvmc_surface_iterator_t {
|
| 44 |
+
xcb_xvmc_surface_t *data;
|
| 45 |
+
int rem;
|
| 46 |
+
int index;
|
| 47 |
+
} xcb_xvmc_surface_iterator_t;
|
| 48 |
+
|
| 49 |
+
typedef uint32_t xcb_xvmc_subpicture_t;
|
| 50 |
+
|
| 51 |
+
/**
|
| 52 |
+
* @brief xcb_xvmc_subpicture_iterator_t
|
| 53 |
+
**/
|
| 54 |
+
typedef struct xcb_xvmc_subpicture_iterator_t {
|
| 55 |
+
xcb_xvmc_subpicture_t *data;
|
| 56 |
+
int rem;
|
| 57 |
+
int index;
|
| 58 |
+
} xcb_xvmc_subpicture_iterator_t;
|
| 59 |
+
|
| 60 |
+
/**
|
| 61 |
+
* @brief xcb_xvmc_surface_info_t
|
| 62 |
+
**/
|
| 63 |
+
typedef struct xcb_xvmc_surface_info_t {
|
| 64 |
+
xcb_xvmc_surface_t id;
|
| 65 |
+
uint16_t chroma_format;
|
| 66 |
+
uint16_t pad0;
|
| 67 |
+
uint16_t max_width;
|
| 68 |
+
uint16_t max_height;
|
| 69 |
+
uint16_t subpicture_max_width;
|
| 70 |
+
uint16_t subpicture_max_height;
|
| 71 |
+
uint32_t mc_type;
|
| 72 |
+
uint32_t flags;
|
| 73 |
+
} xcb_xvmc_surface_info_t;
|
| 74 |
+
|
| 75 |
+
/**
|
| 76 |
+
* @brief xcb_xvmc_surface_info_iterator_t
|
| 77 |
+
**/
|
| 78 |
+
typedef struct xcb_xvmc_surface_info_iterator_t {
|
| 79 |
+
xcb_xvmc_surface_info_t *data;
|
| 80 |
+
int rem;
|
| 81 |
+
int index;
|
| 82 |
+
} xcb_xvmc_surface_info_iterator_t;
|
| 83 |
+
|
| 84 |
+
/**
|
| 85 |
+
* @brief xcb_xvmc_query_version_cookie_t
|
| 86 |
+
**/
|
| 87 |
+
typedef struct xcb_xvmc_query_version_cookie_t {
|
| 88 |
+
unsigned int sequence;
|
| 89 |
+
} xcb_xvmc_query_version_cookie_t;
|
| 90 |
+
|
| 91 |
+
/** Opcode for xcb_xvmc_query_version. */
|
| 92 |
+
#define XCB_XVMC_QUERY_VERSION 0
|
| 93 |
+
|
| 94 |
+
/**
|
| 95 |
+
* @brief xcb_xvmc_query_version_request_t
|
| 96 |
+
**/
|
| 97 |
+
typedef struct xcb_xvmc_query_version_request_t {
|
| 98 |
+
uint8_t major_opcode;
|
| 99 |
+
uint8_t minor_opcode;
|
| 100 |
+
uint16_t length;
|
| 101 |
+
} xcb_xvmc_query_version_request_t;
|
| 102 |
+
|
| 103 |
+
/**
|
| 104 |
+
* @brief xcb_xvmc_query_version_reply_t
|
| 105 |
+
**/
|
| 106 |
+
typedef struct xcb_xvmc_query_version_reply_t {
|
| 107 |
+
uint8_t response_type;
|
| 108 |
+
uint8_t pad0;
|
| 109 |
+
uint16_t sequence;
|
| 110 |
+
uint32_t length;
|
| 111 |
+
uint32_t major;
|
| 112 |
+
uint32_t minor;
|
| 113 |
+
} xcb_xvmc_query_version_reply_t;
|
| 114 |
+
|
| 115 |
+
/**
|
| 116 |
+
* @brief xcb_xvmc_list_surface_types_cookie_t
|
| 117 |
+
**/
|
| 118 |
+
typedef struct xcb_xvmc_list_surface_types_cookie_t {
|
| 119 |
+
unsigned int sequence;
|
| 120 |
+
} xcb_xvmc_list_surface_types_cookie_t;
|
| 121 |
+
|
| 122 |
+
/** Opcode for xcb_xvmc_list_surface_types. */
|
| 123 |
+
#define XCB_XVMC_LIST_SURFACE_TYPES 1
|
| 124 |
+
|
| 125 |
+
/**
|
| 126 |
+
* @brief xcb_xvmc_list_surface_types_request_t
|
| 127 |
+
**/
|
| 128 |
+
typedef struct xcb_xvmc_list_surface_types_request_t {
|
| 129 |
+
uint8_t major_opcode;
|
| 130 |
+
uint8_t minor_opcode;
|
| 131 |
+
uint16_t length;
|
| 132 |
+
xcb_xv_port_t port_id;
|
| 133 |
+
} xcb_xvmc_list_surface_types_request_t;
|
| 134 |
+
|
| 135 |
+
/**
|
| 136 |
+
* @brief xcb_xvmc_list_surface_types_reply_t
|
| 137 |
+
**/
|
| 138 |
+
typedef struct xcb_xvmc_list_surface_types_reply_t {
|
| 139 |
+
uint8_t response_type;
|
| 140 |
+
uint8_t pad0;
|
| 141 |
+
uint16_t sequence;
|
| 142 |
+
uint32_t length;
|
| 143 |
+
uint32_t num;
|
| 144 |
+
uint8_t pad1[20];
|
| 145 |
+
} xcb_xvmc_list_surface_types_reply_t;
|
| 146 |
+
|
| 147 |
+
/**
|
| 148 |
+
* @brief xcb_xvmc_create_context_cookie_t
|
| 149 |
+
**/
|
| 150 |
+
typedef struct xcb_xvmc_create_context_cookie_t {
|
| 151 |
+
unsigned int sequence;
|
| 152 |
+
} xcb_xvmc_create_context_cookie_t;
|
| 153 |
+
|
| 154 |
+
/** Opcode for xcb_xvmc_create_context. */
|
| 155 |
+
#define XCB_XVMC_CREATE_CONTEXT 2
|
| 156 |
+
|
| 157 |
+
/**
|
| 158 |
+
* @brief xcb_xvmc_create_context_request_t
|
| 159 |
+
**/
|
| 160 |
+
typedef struct xcb_xvmc_create_context_request_t {
|
| 161 |
+
uint8_t major_opcode;
|
| 162 |
+
uint8_t minor_opcode;
|
| 163 |
+
uint16_t length;
|
| 164 |
+
xcb_xvmc_context_t context_id;
|
| 165 |
+
xcb_xv_port_t port_id;
|
| 166 |
+
xcb_xvmc_surface_t surface_id;
|
| 167 |
+
uint16_t width;
|
| 168 |
+
uint16_t height;
|
| 169 |
+
uint32_t flags;
|
| 170 |
+
} xcb_xvmc_create_context_request_t;
|
| 171 |
+
|
| 172 |
+
/**
|
| 173 |
+
* @brief xcb_xvmc_create_context_reply_t
|
| 174 |
+
**/
|
| 175 |
+
typedef struct xcb_xvmc_create_context_reply_t {
|
| 176 |
+
uint8_t response_type;
|
| 177 |
+
uint8_t pad0;
|
| 178 |
+
uint16_t sequence;
|
| 179 |
+
uint32_t length;
|
| 180 |
+
uint16_t width_actual;
|
| 181 |
+
uint16_t height_actual;
|
| 182 |
+
uint32_t flags_return;
|
| 183 |
+
uint8_t pad1[20];
|
| 184 |
+
} xcb_xvmc_create_context_reply_t;
|
| 185 |
+
|
| 186 |
+
/** Opcode for xcb_xvmc_destroy_context. */
|
| 187 |
+
#define XCB_XVMC_DESTROY_CONTEXT 3
|
| 188 |
+
|
| 189 |
+
/**
|
| 190 |
+
* @brief xcb_xvmc_destroy_context_request_t
|
| 191 |
+
**/
|
| 192 |
+
typedef struct xcb_xvmc_destroy_context_request_t {
|
| 193 |
+
uint8_t major_opcode;
|
| 194 |
+
uint8_t minor_opcode;
|
| 195 |
+
uint16_t length;
|
| 196 |
+
xcb_xvmc_context_t context_id;
|
| 197 |
+
} xcb_xvmc_destroy_context_request_t;
|
| 198 |
+
|
| 199 |
+
/**
|
| 200 |
+
* @brief xcb_xvmc_create_surface_cookie_t
|
| 201 |
+
**/
|
| 202 |
+
typedef struct xcb_xvmc_create_surface_cookie_t {
|
| 203 |
+
unsigned int sequence;
|
| 204 |
+
} xcb_xvmc_create_surface_cookie_t;
|
| 205 |
+
|
| 206 |
+
/** Opcode for xcb_xvmc_create_surface. */
|
| 207 |
+
#define XCB_XVMC_CREATE_SURFACE 4
|
| 208 |
+
|
| 209 |
+
/**
|
| 210 |
+
* @brief xcb_xvmc_create_surface_request_t
|
| 211 |
+
**/
|
| 212 |
+
typedef struct xcb_xvmc_create_surface_request_t {
|
| 213 |
+
uint8_t major_opcode;
|
| 214 |
+
uint8_t minor_opcode;
|
| 215 |
+
uint16_t length;
|
| 216 |
+
xcb_xvmc_surface_t surface_id;
|
| 217 |
+
xcb_xvmc_context_t context_id;
|
| 218 |
+
} xcb_xvmc_create_surface_request_t;
|
| 219 |
+
|
| 220 |
+
/**
|
| 221 |
+
* @brief xcb_xvmc_create_surface_reply_t
|
| 222 |
+
**/
|
| 223 |
+
typedef struct xcb_xvmc_create_surface_reply_t {
|
| 224 |
+
uint8_t response_type;
|
| 225 |
+
uint8_t pad0;
|
| 226 |
+
uint16_t sequence;
|
| 227 |
+
uint32_t length;
|
| 228 |
+
uint8_t pad1[24];
|
| 229 |
+
} xcb_xvmc_create_surface_reply_t;
|
| 230 |
+
|
| 231 |
+
/** Opcode for xcb_xvmc_destroy_surface. */
|
| 232 |
+
#define XCB_XVMC_DESTROY_SURFACE 5
|
| 233 |
+
|
| 234 |
+
/**
|
| 235 |
+
* @brief xcb_xvmc_destroy_surface_request_t
|
| 236 |
+
**/
|
| 237 |
+
typedef struct xcb_xvmc_destroy_surface_request_t {
|
| 238 |
+
uint8_t major_opcode;
|
| 239 |
+
uint8_t minor_opcode;
|
| 240 |
+
uint16_t length;
|
| 241 |
+
xcb_xvmc_surface_t surface_id;
|
| 242 |
+
} xcb_xvmc_destroy_surface_request_t;
|
| 243 |
+
|
| 244 |
+
/**
|
| 245 |
+
* @brief xcb_xvmc_create_subpicture_cookie_t
|
| 246 |
+
**/
|
| 247 |
+
typedef struct xcb_xvmc_create_subpicture_cookie_t {
|
| 248 |
+
unsigned int sequence;
|
| 249 |
+
} xcb_xvmc_create_subpicture_cookie_t;
|
| 250 |
+
|
| 251 |
+
/** Opcode for xcb_xvmc_create_subpicture. */
|
| 252 |
+
#define XCB_XVMC_CREATE_SUBPICTURE 6
|
| 253 |
+
|
| 254 |
+
/**
|
| 255 |
+
* @brief xcb_xvmc_create_subpicture_request_t
|
| 256 |
+
**/
|
| 257 |
+
typedef struct xcb_xvmc_create_subpicture_request_t {
|
| 258 |
+
uint8_t major_opcode;
|
| 259 |
+
uint8_t minor_opcode;
|
| 260 |
+
uint16_t length;
|
| 261 |
+
xcb_xvmc_subpicture_t subpicture_id;
|
| 262 |
+
xcb_xvmc_context_t context;
|
| 263 |
+
uint32_t xvimage_id;
|
| 264 |
+
uint16_t width;
|
| 265 |
+
uint16_t height;
|
| 266 |
+
} xcb_xvmc_create_subpicture_request_t;
|
| 267 |
+
|
| 268 |
+
/**
|
| 269 |
+
* @brief xcb_xvmc_create_subpicture_reply_t
|
| 270 |
+
**/
|
| 271 |
+
typedef struct xcb_xvmc_create_subpicture_reply_t {
|
| 272 |
+
uint8_t response_type;
|
| 273 |
+
uint8_t pad0;
|
| 274 |
+
uint16_t sequence;
|
| 275 |
+
uint32_t length;
|
| 276 |
+
uint16_t width_actual;
|
| 277 |
+
uint16_t height_actual;
|
| 278 |
+
uint16_t num_palette_entries;
|
| 279 |
+
uint16_t entry_bytes;
|
| 280 |
+
uint8_t component_order[4];
|
| 281 |
+
uint8_t pad1[12];
|
| 282 |
+
} xcb_xvmc_create_subpicture_reply_t;
|
| 283 |
+
|
| 284 |
+
/** Opcode for xcb_xvmc_destroy_subpicture. */
|
| 285 |
+
#define XCB_XVMC_DESTROY_SUBPICTURE 7
|
| 286 |
+
|
| 287 |
+
/**
|
| 288 |
+
* @brief xcb_xvmc_destroy_subpicture_request_t
|
| 289 |
+
**/
|
| 290 |
+
typedef struct xcb_xvmc_destroy_subpicture_request_t {
|
| 291 |
+
uint8_t major_opcode;
|
| 292 |
+
uint8_t minor_opcode;
|
| 293 |
+
uint16_t length;
|
| 294 |
+
xcb_xvmc_subpicture_t subpicture_id;
|
| 295 |
+
} xcb_xvmc_destroy_subpicture_request_t;
|
| 296 |
+
|
| 297 |
+
/**
|
| 298 |
+
* @brief xcb_xvmc_list_subpicture_types_cookie_t
|
| 299 |
+
**/
|
| 300 |
+
typedef struct xcb_xvmc_list_subpicture_types_cookie_t {
|
| 301 |
+
unsigned int sequence;
|
| 302 |
+
} xcb_xvmc_list_subpicture_types_cookie_t;
|
| 303 |
+
|
| 304 |
+
/** Opcode for xcb_xvmc_list_subpicture_types. */
|
| 305 |
+
#define XCB_XVMC_LIST_SUBPICTURE_TYPES 8
|
| 306 |
+
|
| 307 |
+
/**
|
| 308 |
+
* @brief xcb_xvmc_list_subpicture_types_request_t
|
| 309 |
+
**/
|
| 310 |
+
typedef struct xcb_xvmc_list_subpicture_types_request_t {
|
| 311 |
+
uint8_t major_opcode;
|
| 312 |
+
uint8_t minor_opcode;
|
| 313 |
+
uint16_t length;
|
| 314 |
+
xcb_xv_port_t port_id;
|
| 315 |
+
xcb_xvmc_surface_t surface_id;
|
| 316 |
+
} xcb_xvmc_list_subpicture_types_request_t;
|
| 317 |
+
|
| 318 |
+
/**
|
| 319 |
+
* @brief xcb_xvmc_list_subpicture_types_reply_t
|
| 320 |
+
**/
|
| 321 |
+
typedef struct xcb_xvmc_list_subpicture_types_reply_t {
|
| 322 |
+
uint8_t response_type;
|
| 323 |
+
uint8_t pad0;
|
| 324 |
+
uint16_t sequence;
|
| 325 |
+
uint32_t length;
|
| 326 |
+
uint32_t num;
|
| 327 |
+
uint8_t pad1[20];
|
| 328 |
+
} xcb_xvmc_list_subpicture_types_reply_t;
|
| 329 |
+
|
| 330 |
+
/**
|
| 331 |
+
* Get the next element of the iterator
|
| 332 |
+
* @param i Pointer to a xcb_xvmc_context_iterator_t
|
| 333 |
+
*
|
| 334 |
+
* Get the next element in the iterator. The member rem is
|
| 335 |
+
* decreased by one. The member data points to the next
|
| 336 |
+
* element. The member index is increased by sizeof(xcb_xvmc_context_t)
|
| 337 |
+
*/
|
| 338 |
+
void
|
| 339 |
+
xcb_xvmc_context_next (xcb_xvmc_context_iterator_t *i);
|
| 340 |
+
|
| 341 |
+
/**
|
| 342 |
+
* Return the iterator pointing to the last element
|
| 343 |
+
* @param i An xcb_xvmc_context_iterator_t
|
| 344 |
+
* @return The iterator pointing to the last element
|
| 345 |
+
*
|
| 346 |
+
* Set the current element in the iterator to the last element.
|
| 347 |
+
* The member rem is set to 0. The member data points to the
|
| 348 |
+
* last element.
|
| 349 |
+
*/
|
| 350 |
+
xcb_generic_iterator_t
|
| 351 |
+
xcb_xvmc_context_end (xcb_xvmc_context_iterator_t i);
|
| 352 |
+
|
| 353 |
+
/**
|
| 354 |
+
* Get the next element of the iterator
|
| 355 |
+
* @param i Pointer to a xcb_xvmc_surface_iterator_t
|
| 356 |
+
*
|
| 357 |
+
* Get the next element in the iterator. The member rem is
|
| 358 |
+
* decreased by one. The member data points to the next
|
| 359 |
+
* element. The member index is increased by sizeof(xcb_xvmc_surface_t)
|
| 360 |
+
*/
|
| 361 |
+
void
|
| 362 |
+
xcb_xvmc_surface_next (xcb_xvmc_surface_iterator_t *i);
|
| 363 |
+
|
| 364 |
+
/**
|
| 365 |
+
* Return the iterator pointing to the last element
|
| 366 |
+
* @param i An xcb_xvmc_surface_iterator_t
|
| 367 |
+
* @return The iterator pointing to the last element
|
| 368 |
+
*
|
| 369 |
+
* Set the current element in the iterator to the last element.
|
| 370 |
+
* The member rem is set to 0. The member data points to the
|
| 371 |
+
* last element.
|
| 372 |
+
*/
|
| 373 |
+
xcb_generic_iterator_t
|
| 374 |
+
xcb_xvmc_surface_end (xcb_xvmc_surface_iterator_t i);
|
| 375 |
+
|
| 376 |
+
/**
|
| 377 |
+
* Get the next element of the iterator
|
| 378 |
+
* @param i Pointer to a xcb_xvmc_subpicture_iterator_t
|
| 379 |
+
*
|
| 380 |
+
* Get the next element in the iterator. The member rem is
|
| 381 |
+
* decreased by one. The member data points to the next
|
| 382 |
+
* element. The member index is increased by sizeof(xcb_xvmc_subpicture_t)
|
| 383 |
+
*/
|
| 384 |
+
void
|
| 385 |
+
xcb_xvmc_subpicture_next (xcb_xvmc_subpicture_iterator_t *i);
|
| 386 |
+
|
| 387 |
+
/**
|
| 388 |
+
* Return the iterator pointing to the last element
|
| 389 |
+
* @param i An xcb_xvmc_subpicture_iterator_t
|
| 390 |
+
* @return The iterator pointing to the last element
|
| 391 |
+
*
|
| 392 |
+
* Set the current element in the iterator to the last element.
|
| 393 |
+
* The member rem is set to 0. The member data points to the
|
| 394 |
+
* last element.
|
| 395 |
+
*/
|
| 396 |
+
xcb_generic_iterator_t
|
| 397 |
+
xcb_xvmc_subpicture_end (xcb_xvmc_subpicture_iterator_t i);
|
| 398 |
+
|
| 399 |
+
/**
|
| 400 |
+
* Get the next element of the iterator
|
| 401 |
+
* @param i Pointer to a xcb_xvmc_surface_info_iterator_t
|
| 402 |
+
*
|
| 403 |
+
* Get the next element in the iterator. The member rem is
|
| 404 |
+
* decreased by one. The member data points to the next
|
| 405 |
+
* element. The member index is increased by sizeof(xcb_xvmc_surface_info_t)
|
| 406 |
+
*/
|
| 407 |
+
void
|
| 408 |
+
xcb_xvmc_surface_info_next (xcb_xvmc_surface_info_iterator_t *i);
|
| 409 |
+
|
| 410 |
+
/**
|
| 411 |
+
* Return the iterator pointing to the last element
|
| 412 |
+
* @param i An xcb_xvmc_surface_info_iterator_t
|
| 413 |
+
* @return The iterator pointing to the last element
|
| 414 |
+
*
|
| 415 |
+
* Set the current element in the iterator to the last element.
|
| 416 |
+
* The member rem is set to 0. The member data points to the
|
| 417 |
+
* last element.
|
| 418 |
+
*/
|
| 419 |
+
xcb_generic_iterator_t
|
| 420 |
+
xcb_xvmc_surface_info_end (xcb_xvmc_surface_info_iterator_t i);
|
| 421 |
+
|
| 422 |
+
/**
|
| 423 |
+
*
|
| 424 |
+
* @param c The connection
|
| 425 |
+
* @return A cookie
|
| 426 |
+
*
|
| 427 |
+
* Delivers a request to the X server.
|
| 428 |
+
*
|
| 429 |
+
*/
|
| 430 |
+
xcb_xvmc_query_version_cookie_t
|
| 431 |
+
xcb_xvmc_query_version (xcb_connection_t *c);
|
| 432 |
+
|
| 433 |
+
/**
|
| 434 |
+
*
|
| 435 |
+
* @param c The connection
|
| 436 |
+
* @return A cookie
|
| 437 |
+
*
|
| 438 |
+
* Delivers a request to the X server.
|
| 439 |
+
*
|
| 440 |
+
* This form can be used only if the request will cause
|
| 441 |
+
* a reply to be generated. Any returned error will be
|
| 442 |
+
* placed in the event queue.
|
| 443 |
+
*/
|
| 444 |
+
xcb_xvmc_query_version_cookie_t
|
| 445 |
+
xcb_xvmc_query_version_unchecked (xcb_connection_t *c);
|
| 446 |
+
|
| 447 |
+
/**
|
| 448 |
+
* Return the reply
|
| 449 |
+
* @param c The connection
|
| 450 |
+
* @param cookie The cookie
|
| 451 |
+
* @param e The xcb_generic_error_t supplied
|
| 452 |
+
*
|
| 453 |
+
* Returns the reply of the request asked by
|
| 454 |
+
*
|
| 455 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 456 |
+
* xcb_xvmc_query_version_unchecked(). is used.
|
| 457 |
+
* Otherwise, it stores the error if any.
|
| 458 |
+
*
|
| 459 |
+
* The returned value must be freed by the caller using free().
|
| 460 |
+
*/
|
| 461 |
+
xcb_xvmc_query_version_reply_t *
|
| 462 |
+
xcb_xvmc_query_version_reply (xcb_connection_t *c,
|
| 463 |
+
xcb_xvmc_query_version_cookie_t cookie /**< */,
|
| 464 |
+
xcb_generic_error_t **e);
|
| 465 |
+
|
| 466 |
+
int
|
| 467 |
+
xcb_xvmc_list_surface_types_sizeof (const void *_buffer);
|
| 468 |
+
|
| 469 |
+
/**
|
| 470 |
+
*
|
| 471 |
+
* @param c The connection
|
| 472 |
+
* @return A cookie
|
| 473 |
+
*
|
| 474 |
+
* Delivers a request to the X server.
|
| 475 |
+
*
|
| 476 |
+
*/
|
| 477 |
+
xcb_xvmc_list_surface_types_cookie_t
|
| 478 |
+
xcb_xvmc_list_surface_types (xcb_connection_t *c,
|
| 479 |
+
xcb_xv_port_t port_id);
|
| 480 |
+
|
| 481 |
+
/**
|
| 482 |
+
*
|
| 483 |
+
* @param c The connection
|
| 484 |
+
* @return A cookie
|
| 485 |
+
*
|
| 486 |
+
* Delivers a request to the X server.
|
| 487 |
+
*
|
| 488 |
+
* This form can be used only if the request will cause
|
| 489 |
+
* a reply to be generated. Any returned error will be
|
| 490 |
+
* placed in the event queue.
|
| 491 |
+
*/
|
| 492 |
+
xcb_xvmc_list_surface_types_cookie_t
|
| 493 |
+
xcb_xvmc_list_surface_types_unchecked (xcb_connection_t *c,
|
| 494 |
+
xcb_xv_port_t port_id);
|
| 495 |
+
|
| 496 |
+
xcb_xvmc_surface_info_t *
|
| 497 |
+
xcb_xvmc_list_surface_types_surfaces (const xcb_xvmc_list_surface_types_reply_t *R);
|
| 498 |
+
|
| 499 |
+
int
|
| 500 |
+
xcb_xvmc_list_surface_types_surfaces_length (const xcb_xvmc_list_surface_types_reply_t *R);
|
| 501 |
+
|
| 502 |
+
xcb_xvmc_surface_info_iterator_t
|
| 503 |
+
xcb_xvmc_list_surface_types_surfaces_iterator (const xcb_xvmc_list_surface_types_reply_t *R);
|
| 504 |
+
|
| 505 |
+
/**
|
| 506 |
+
* Return the reply
|
| 507 |
+
* @param c The connection
|
| 508 |
+
* @param cookie The cookie
|
| 509 |
+
* @param e The xcb_generic_error_t supplied
|
| 510 |
+
*
|
| 511 |
+
* Returns the reply of the request asked by
|
| 512 |
+
*
|
| 513 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 514 |
+
* xcb_xvmc_list_surface_types_unchecked(). is used.
|
| 515 |
+
* Otherwise, it stores the error if any.
|
| 516 |
+
*
|
| 517 |
+
* The returned value must be freed by the caller using free().
|
| 518 |
+
*/
|
| 519 |
+
xcb_xvmc_list_surface_types_reply_t *
|
| 520 |
+
xcb_xvmc_list_surface_types_reply (xcb_connection_t *c,
|
| 521 |
+
xcb_xvmc_list_surface_types_cookie_t cookie /**< */,
|
| 522 |
+
xcb_generic_error_t **e);
|
| 523 |
+
|
| 524 |
+
int
|
| 525 |
+
xcb_xvmc_create_context_sizeof (const void *_buffer);
|
| 526 |
+
|
| 527 |
+
/**
|
| 528 |
+
*
|
| 529 |
+
* @param c The connection
|
| 530 |
+
* @return A cookie
|
| 531 |
+
*
|
| 532 |
+
* Delivers a request to the X server.
|
| 533 |
+
*
|
| 534 |
+
*/
|
| 535 |
+
xcb_xvmc_create_context_cookie_t
|
| 536 |
+
xcb_xvmc_create_context (xcb_connection_t *c,
|
| 537 |
+
xcb_xvmc_context_t context_id,
|
| 538 |
+
xcb_xv_port_t port_id,
|
| 539 |
+
xcb_xvmc_surface_t surface_id,
|
| 540 |
+
uint16_t width,
|
| 541 |
+
uint16_t height,
|
| 542 |
+
uint32_t flags);
|
| 543 |
+
|
| 544 |
+
/**
|
| 545 |
+
*
|
| 546 |
+
* @param c The connection
|
| 547 |
+
* @return A cookie
|
| 548 |
+
*
|
| 549 |
+
* Delivers a request to the X server.
|
| 550 |
+
*
|
| 551 |
+
* This form can be used only if the request will cause
|
| 552 |
+
* a reply to be generated. Any returned error will be
|
| 553 |
+
* placed in the event queue.
|
| 554 |
+
*/
|
| 555 |
+
xcb_xvmc_create_context_cookie_t
|
| 556 |
+
xcb_xvmc_create_context_unchecked (xcb_connection_t *c,
|
| 557 |
+
xcb_xvmc_context_t context_id,
|
| 558 |
+
xcb_xv_port_t port_id,
|
| 559 |
+
xcb_xvmc_surface_t surface_id,
|
| 560 |
+
uint16_t width,
|
| 561 |
+
uint16_t height,
|
| 562 |
+
uint32_t flags);
|
| 563 |
+
|
| 564 |
+
uint32_t *
|
| 565 |
+
xcb_xvmc_create_context_priv_data (const xcb_xvmc_create_context_reply_t *R);
|
| 566 |
+
|
| 567 |
+
int
|
| 568 |
+
xcb_xvmc_create_context_priv_data_length (const xcb_xvmc_create_context_reply_t *R);
|
| 569 |
+
|
| 570 |
+
xcb_generic_iterator_t
|
| 571 |
+
xcb_xvmc_create_context_priv_data_end (const xcb_xvmc_create_context_reply_t *R);
|
| 572 |
+
|
| 573 |
+
/**
|
| 574 |
+
* Return the reply
|
| 575 |
+
* @param c The connection
|
| 576 |
+
* @param cookie The cookie
|
| 577 |
+
* @param e The xcb_generic_error_t supplied
|
| 578 |
+
*
|
| 579 |
+
* Returns the reply of the request asked by
|
| 580 |
+
*
|
| 581 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 582 |
+
* xcb_xvmc_create_context_unchecked(). is used.
|
| 583 |
+
* Otherwise, it stores the error if any.
|
| 584 |
+
*
|
| 585 |
+
* The returned value must be freed by the caller using free().
|
| 586 |
+
*/
|
| 587 |
+
xcb_xvmc_create_context_reply_t *
|
| 588 |
+
xcb_xvmc_create_context_reply (xcb_connection_t *c,
|
| 589 |
+
xcb_xvmc_create_context_cookie_t cookie /**< */,
|
| 590 |
+
xcb_generic_error_t **e);
|
| 591 |
+
|
| 592 |
+
/**
|
| 593 |
+
*
|
| 594 |
+
* @param c The connection
|
| 595 |
+
* @return A cookie
|
| 596 |
+
*
|
| 597 |
+
* Delivers a request to the X server.
|
| 598 |
+
*
|
| 599 |
+
* This form can be used only if the request will not cause
|
| 600 |
+
* a reply to be generated. Any returned error will be
|
| 601 |
+
* saved for handling by xcb_request_check().
|
| 602 |
+
*/
|
| 603 |
+
xcb_void_cookie_t
|
| 604 |
+
xcb_xvmc_destroy_context_checked (xcb_connection_t *c,
|
| 605 |
+
xcb_xvmc_context_t context_id);
|
| 606 |
+
|
| 607 |
+
/**
|
| 608 |
+
*
|
| 609 |
+
* @param c The connection
|
| 610 |
+
* @return A cookie
|
| 611 |
+
*
|
| 612 |
+
* Delivers a request to the X server.
|
| 613 |
+
*
|
| 614 |
+
*/
|
| 615 |
+
xcb_void_cookie_t
|
| 616 |
+
xcb_xvmc_destroy_context (xcb_connection_t *c,
|
| 617 |
+
xcb_xvmc_context_t context_id);
|
| 618 |
+
|
| 619 |
+
int
|
| 620 |
+
xcb_xvmc_create_surface_sizeof (const void *_buffer);
|
| 621 |
+
|
| 622 |
+
/**
|
| 623 |
+
*
|
| 624 |
+
* @param c The connection
|
| 625 |
+
* @return A cookie
|
| 626 |
+
*
|
| 627 |
+
* Delivers a request to the X server.
|
| 628 |
+
*
|
| 629 |
+
*/
|
| 630 |
+
xcb_xvmc_create_surface_cookie_t
|
| 631 |
+
xcb_xvmc_create_surface (xcb_connection_t *c,
|
| 632 |
+
xcb_xvmc_surface_t surface_id,
|
| 633 |
+
xcb_xvmc_context_t context_id);
|
| 634 |
+
|
| 635 |
+
/**
|
| 636 |
+
*
|
| 637 |
+
* @param c The connection
|
| 638 |
+
* @return A cookie
|
| 639 |
+
*
|
| 640 |
+
* Delivers a request to the X server.
|
| 641 |
+
*
|
| 642 |
+
* This form can be used only if the request will cause
|
| 643 |
+
* a reply to be generated. Any returned error will be
|
| 644 |
+
* placed in the event queue.
|
| 645 |
+
*/
|
| 646 |
+
xcb_xvmc_create_surface_cookie_t
|
| 647 |
+
xcb_xvmc_create_surface_unchecked (xcb_connection_t *c,
|
| 648 |
+
xcb_xvmc_surface_t surface_id,
|
| 649 |
+
xcb_xvmc_context_t context_id);
|
| 650 |
+
|
| 651 |
+
uint32_t *
|
| 652 |
+
xcb_xvmc_create_surface_priv_data (const xcb_xvmc_create_surface_reply_t *R);
|
| 653 |
+
|
| 654 |
+
int
|
| 655 |
+
xcb_xvmc_create_surface_priv_data_length (const xcb_xvmc_create_surface_reply_t *R);
|
| 656 |
+
|
| 657 |
+
xcb_generic_iterator_t
|
| 658 |
+
xcb_xvmc_create_surface_priv_data_end (const xcb_xvmc_create_surface_reply_t *R);
|
| 659 |
+
|
| 660 |
+
/**
|
| 661 |
+
* Return the reply
|
| 662 |
+
* @param c The connection
|
| 663 |
+
* @param cookie The cookie
|
| 664 |
+
* @param e The xcb_generic_error_t supplied
|
| 665 |
+
*
|
| 666 |
+
* Returns the reply of the request asked by
|
| 667 |
+
*
|
| 668 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 669 |
+
* xcb_xvmc_create_surface_unchecked(). is used.
|
| 670 |
+
* Otherwise, it stores the error if any.
|
| 671 |
+
*
|
| 672 |
+
* The returned value must be freed by the caller using free().
|
| 673 |
+
*/
|
| 674 |
+
xcb_xvmc_create_surface_reply_t *
|
| 675 |
+
xcb_xvmc_create_surface_reply (xcb_connection_t *c,
|
| 676 |
+
xcb_xvmc_create_surface_cookie_t cookie /**< */,
|
| 677 |
+
xcb_generic_error_t **e);
|
| 678 |
+
|
| 679 |
+
/**
|
| 680 |
+
*
|
| 681 |
+
* @param c The connection
|
| 682 |
+
* @return A cookie
|
| 683 |
+
*
|
| 684 |
+
* Delivers a request to the X server.
|
| 685 |
+
*
|
| 686 |
+
* This form can be used only if the request will not cause
|
| 687 |
+
* a reply to be generated. Any returned error will be
|
| 688 |
+
* saved for handling by xcb_request_check().
|
| 689 |
+
*/
|
| 690 |
+
xcb_void_cookie_t
|
| 691 |
+
xcb_xvmc_destroy_surface_checked (xcb_connection_t *c,
|
| 692 |
+
xcb_xvmc_surface_t surface_id);
|
| 693 |
+
|
| 694 |
+
/**
|
| 695 |
+
*
|
| 696 |
+
* @param c The connection
|
| 697 |
+
* @return A cookie
|
| 698 |
+
*
|
| 699 |
+
* Delivers a request to the X server.
|
| 700 |
+
*
|
| 701 |
+
*/
|
| 702 |
+
xcb_void_cookie_t
|
| 703 |
+
xcb_xvmc_destroy_surface (xcb_connection_t *c,
|
| 704 |
+
xcb_xvmc_surface_t surface_id);
|
| 705 |
+
|
| 706 |
+
int
|
| 707 |
+
xcb_xvmc_create_subpicture_sizeof (const void *_buffer);
|
| 708 |
+
|
| 709 |
+
/**
|
| 710 |
+
*
|
| 711 |
+
* @param c The connection
|
| 712 |
+
* @return A cookie
|
| 713 |
+
*
|
| 714 |
+
* Delivers a request to the X server.
|
| 715 |
+
*
|
| 716 |
+
*/
|
| 717 |
+
xcb_xvmc_create_subpicture_cookie_t
|
| 718 |
+
xcb_xvmc_create_subpicture (xcb_connection_t *c,
|
| 719 |
+
xcb_xvmc_subpicture_t subpicture_id,
|
| 720 |
+
xcb_xvmc_context_t context,
|
| 721 |
+
uint32_t xvimage_id,
|
| 722 |
+
uint16_t width,
|
| 723 |
+
uint16_t height);
|
| 724 |
+
|
| 725 |
+
/**
|
| 726 |
+
*
|
| 727 |
+
* @param c The connection
|
| 728 |
+
* @return A cookie
|
| 729 |
+
*
|
| 730 |
+
* Delivers a request to the X server.
|
| 731 |
+
*
|
| 732 |
+
* This form can be used only if the request will cause
|
| 733 |
+
* a reply to be generated. Any returned error will be
|
| 734 |
+
* placed in the event queue.
|
| 735 |
+
*/
|
| 736 |
+
xcb_xvmc_create_subpicture_cookie_t
|
| 737 |
+
xcb_xvmc_create_subpicture_unchecked (xcb_connection_t *c,
|
| 738 |
+
xcb_xvmc_subpicture_t subpicture_id,
|
| 739 |
+
xcb_xvmc_context_t context,
|
| 740 |
+
uint32_t xvimage_id,
|
| 741 |
+
uint16_t width,
|
| 742 |
+
uint16_t height);
|
| 743 |
+
|
| 744 |
+
uint32_t *
|
| 745 |
+
xcb_xvmc_create_subpicture_priv_data (const xcb_xvmc_create_subpicture_reply_t *R);
|
| 746 |
+
|
| 747 |
+
int
|
| 748 |
+
xcb_xvmc_create_subpicture_priv_data_length (const xcb_xvmc_create_subpicture_reply_t *R);
|
| 749 |
+
|
| 750 |
+
xcb_generic_iterator_t
|
| 751 |
+
xcb_xvmc_create_subpicture_priv_data_end (const xcb_xvmc_create_subpicture_reply_t *R);
|
| 752 |
+
|
| 753 |
+
/**
|
| 754 |
+
* Return the reply
|
| 755 |
+
* @param c The connection
|
| 756 |
+
* @param cookie The cookie
|
| 757 |
+
* @param e The xcb_generic_error_t supplied
|
| 758 |
+
*
|
| 759 |
+
* Returns the reply of the request asked by
|
| 760 |
+
*
|
| 761 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 762 |
+
* xcb_xvmc_create_subpicture_unchecked(). is used.
|
| 763 |
+
* Otherwise, it stores the error if any.
|
| 764 |
+
*
|
| 765 |
+
* The returned value must be freed by the caller using free().
|
| 766 |
+
*/
|
| 767 |
+
xcb_xvmc_create_subpicture_reply_t *
|
| 768 |
+
xcb_xvmc_create_subpicture_reply (xcb_connection_t *c,
|
| 769 |
+
xcb_xvmc_create_subpicture_cookie_t cookie /**< */,
|
| 770 |
+
xcb_generic_error_t **e);
|
| 771 |
+
|
| 772 |
+
/**
|
| 773 |
+
*
|
| 774 |
+
* @param c The connection
|
| 775 |
+
* @return A cookie
|
| 776 |
+
*
|
| 777 |
+
* Delivers a request to the X server.
|
| 778 |
+
*
|
| 779 |
+
* This form can be used only if the request will not cause
|
| 780 |
+
* a reply to be generated. Any returned error will be
|
| 781 |
+
* saved for handling by xcb_request_check().
|
| 782 |
+
*/
|
| 783 |
+
xcb_void_cookie_t
|
| 784 |
+
xcb_xvmc_destroy_subpicture_checked (xcb_connection_t *c,
|
| 785 |
+
xcb_xvmc_subpicture_t subpicture_id);
|
| 786 |
+
|
| 787 |
+
/**
|
| 788 |
+
*
|
| 789 |
+
* @param c The connection
|
| 790 |
+
* @return A cookie
|
| 791 |
+
*
|
| 792 |
+
* Delivers a request to the X server.
|
| 793 |
+
*
|
| 794 |
+
*/
|
| 795 |
+
xcb_void_cookie_t
|
| 796 |
+
xcb_xvmc_destroy_subpicture (xcb_connection_t *c,
|
| 797 |
+
xcb_xvmc_subpicture_t subpicture_id);
|
| 798 |
+
|
| 799 |
+
int
|
| 800 |
+
xcb_xvmc_list_subpicture_types_sizeof (const void *_buffer);
|
| 801 |
+
|
| 802 |
+
/**
|
| 803 |
+
*
|
| 804 |
+
* @param c The connection
|
| 805 |
+
* @return A cookie
|
| 806 |
+
*
|
| 807 |
+
* Delivers a request to the X server.
|
| 808 |
+
*
|
| 809 |
+
*/
|
| 810 |
+
xcb_xvmc_list_subpicture_types_cookie_t
|
| 811 |
+
xcb_xvmc_list_subpicture_types (xcb_connection_t *c,
|
| 812 |
+
xcb_xv_port_t port_id,
|
| 813 |
+
xcb_xvmc_surface_t surface_id);
|
| 814 |
+
|
| 815 |
+
/**
|
| 816 |
+
*
|
| 817 |
+
* @param c The connection
|
| 818 |
+
* @return A cookie
|
| 819 |
+
*
|
| 820 |
+
* Delivers a request to the X server.
|
| 821 |
+
*
|
| 822 |
+
* This form can be used only if the request will cause
|
| 823 |
+
* a reply to be generated. Any returned error will be
|
| 824 |
+
* placed in the event queue.
|
| 825 |
+
*/
|
| 826 |
+
xcb_xvmc_list_subpicture_types_cookie_t
|
| 827 |
+
xcb_xvmc_list_subpicture_types_unchecked (xcb_connection_t *c,
|
| 828 |
+
xcb_xv_port_t port_id,
|
| 829 |
+
xcb_xvmc_surface_t surface_id);
|
| 830 |
+
|
| 831 |
+
xcb_xv_image_format_info_t *
|
| 832 |
+
xcb_xvmc_list_subpicture_types_types (const xcb_xvmc_list_subpicture_types_reply_t *R);
|
| 833 |
+
|
| 834 |
+
int
|
| 835 |
+
xcb_xvmc_list_subpicture_types_types_length (const xcb_xvmc_list_subpicture_types_reply_t *R);
|
| 836 |
+
|
| 837 |
+
xcb_xv_image_format_info_iterator_t
|
| 838 |
+
xcb_xvmc_list_subpicture_types_types_iterator (const xcb_xvmc_list_subpicture_types_reply_t *R);
|
| 839 |
+
|
| 840 |
+
/**
|
| 841 |
+
* Return the reply
|
| 842 |
+
* @param c The connection
|
| 843 |
+
* @param cookie The cookie
|
| 844 |
+
* @param e The xcb_generic_error_t supplied
|
| 845 |
+
*
|
| 846 |
+
* Returns the reply of the request asked by
|
| 847 |
+
*
|
| 848 |
+
* The parameter @p e supplied to this function must be NULL if
|
| 849 |
+
* xcb_xvmc_list_subpicture_types_unchecked(). is used.
|
| 850 |
+
* Otherwise, it stores the error if any.
|
| 851 |
+
*
|
| 852 |
+
* The returned value must be freed by the caller using free().
|
| 853 |
+
*/
|
| 854 |
+
xcb_xvmc_list_subpicture_types_reply_t *
|
| 855 |
+
xcb_xvmc_list_subpicture_types_reply (xcb_connection_t *c,
|
| 856 |
+
xcb_xvmc_list_subpicture_types_cookie_t cookie /**< */,
|
| 857 |
+
xcb_generic_error_t **e);
|
| 858 |
+
|
| 859 |
+
|
| 860 |
+
#ifdef __cplusplus
|
| 861 |
+
}
|
| 862 |
+
#endif
|
| 863 |
+
|
| 864 |
+
#endif
|
| 865 |
+
|
| 866 |
+
/**
|
| 867 |
+
* @}
|
| 868 |
+
*/
|
miniconda3/envs/ladir/lib/cmake/OpenSSL/OpenSSLConfig.cmake
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by OpenSSL
|
| 2 |
+
|
| 3 |
+
# Commands may need to know the format version.
|
| 4 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 5 |
+
|
| 6 |
+
# Avoid duplicate find_package()
|
| 7 |
+
set(_ossl_expected_targets OpenSSL::Crypto OpenSSL::SSL
|
| 8 |
+
)
|
| 9 |
+
set(_ossl_defined_targets)
|
| 10 |
+
set(_ossl_undefined_targets)
|
| 11 |
+
foreach(t IN LISTS _ossl_expected_targets)
|
| 12 |
+
if(TARGET "${t}")
|
| 13 |
+
LIST(APPEND _ossl_defined_targets "${t}")
|
| 14 |
+
else()
|
| 15 |
+
LIST(APPEND _ossl_undefined_targets "${t}")
|
| 16 |
+
endif()
|
| 17 |
+
endforeach()
|
| 18 |
+
message(DEBUG "_ossl_expected_targets = ${_ossl_expected_targets}")
|
| 19 |
+
message(DEBUG "_ossl_defined_targets = ${_ossl_defined_targets}")
|
| 20 |
+
message(DEBUG "_ossl_undefined_targets = ${_ossl_undefined_targets}")
|
| 21 |
+
if(NOT _ossl_undefined_targets)
|
| 22 |
+
# All targets are defined, we're good, just undo everything and return
|
| 23 |
+
unset(_ossl_expected_targets)
|
| 24 |
+
unset(_ossl_defined_targets)
|
| 25 |
+
unset(_ossl_undefined_targets)
|
| 26 |
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
| 27 |
+
return()
|
| 28 |
+
endif()
|
| 29 |
+
if(_ossl_defined_targets)
|
| 30 |
+
# We have a mix of defined and undefined targets. This is hard to reconcile,
|
| 31 |
+
# and probably the result of another config, or FindOpenSSL.cmake having been
|
| 32 |
+
# called, or whatever. Therefore, the best course of action is to quit with a
|
| 33 |
+
# hard error.
|
| 34 |
+
message(FATAL_ERROR "Some targets defined, others not:\nNot defined: ${_ossl_undefined_targets}\nDefined: ${_ossl_defined_targets}")
|
| 35 |
+
endif()
|
| 36 |
+
unset(_ossl_expected_targets)
|
| 37 |
+
unset(_ossl_defined_targets)
|
| 38 |
+
unset(_ossl_undefined_targets)
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
# Set up the import path, so all other import paths are made relative this file
|
| 42 |
+
get_filename_component(_ossl_prefix "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
| 43 |
+
get_filename_component(_ossl_prefix "${_ossl_prefix}" PATH)
|
| 44 |
+
get_filename_component(_ossl_prefix "${_ossl_prefix}" PATH)
|
| 45 |
+
get_filename_component(_ossl_prefix "${_ossl_prefix}" PATH)
|
| 46 |
+
|
| 47 |
+
if(_ossl_prefix STREQUAL "/")
|
| 48 |
+
set(_ossl_prefix "")
|
| 49 |
+
endif()
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
if(OPENSSL_USE_STATIC_LIBS)
|
| 53 |
+
set(_ossl_use_static_libs True)
|
| 54 |
+
elseif(DEFINED OPENSSL_USE_STATIC_LIBS)
|
| 55 |
+
# We know OPENSSL_USE_STATIC_LIBS is defined and False
|
| 56 |
+
if(_ossl_use_static_libs)
|
| 57 |
+
# OPENSSL_USE_STATIC_LIBS is explicitly false, indicating that shared libraries are
|
| 58 |
+
# required. However, _ossl_use_static_libs indicates that no shared libraries are
|
| 59 |
+
# available. The best course of action is to simply return and leave it to CMake to
|
| 60 |
+
# use another OpenSSL config.
|
| 61 |
+
unset(_ossl_use_static_libs)
|
| 62 |
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
| 63 |
+
return()
|
| 64 |
+
endif()
|
| 65 |
+
endif()
|
| 66 |
+
|
| 67 |
+
# Version, copied from what find_package() gives, for compatibility with FindOpenSSL.cmake
|
| 68 |
+
set(OPENSSL_VERSION "${OpenSSL_VERSION}")
|
| 69 |
+
set(OPENSSL_VERSION_MAJOR "${OpenSSL_VERSION_MAJOR}")
|
| 70 |
+
set(OPENSSL_VERSION_MINOR "${OpenSSL_VERSION_MINOR}")
|
| 71 |
+
set(OPENSSL_VERSION_FIX "${OpenSSL_VERSION_PATCH}")
|
| 72 |
+
set(OPENSSL_FOUND YES)
|
| 73 |
+
|
| 74 |
+
# Directories and names
|
| 75 |
+
set(OPENSSL_LIBRARY_DIR "${_ossl_prefix}/lib")
|
| 76 |
+
set(OPENSSL_INCLUDE_DIR "${_ossl_prefix}/include")
|
| 77 |
+
set(OPENSSL_ENGINES_DIR "${_ossl_prefix}/lib/engines-3")
|
| 78 |
+
set(OPENSSL_MODULES_DIR "${_ossl_prefix}/lib/ossl-modules")
|
| 79 |
+
set(OPENSSL_RUNTIME_DIR "${_ossl_prefix}/bin")
|
| 80 |
+
|
| 81 |
+
set(OPENSSL_PROGRAM "${OPENSSL_RUNTIME_DIR}/openssl")
|
| 82 |
+
|
| 83 |
+
# Set up the imported targets
|
| 84 |
+
if(_ossl_use_static_libs)
|
| 85 |
+
|
| 86 |
+
add_library(OpenSSL::Crypto STATIC IMPORTED)
|
| 87 |
+
add_library(OpenSSL::SSL STATIC IMPORTED)
|
| 88 |
+
|
| 89 |
+
set(OPENSSL_LIBCRYPTO_STATIC "${OPENSSL_LIBRARY_DIR}/libcrypto.a")
|
| 90 |
+
set(OPENSSL_LIBCRYPTO_DEPENDENCIES -ldl -pthread)
|
| 91 |
+
set_target_properties(OpenSSL::Crypto PROPERTIES
|
| 92 |
+
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
|
| 93 |
+
IMPORTED_LOCATION ${OPENSSL_LIBCRYPTO_STATIC})
|
| 94 |
+
set_property(TARGET OpenSSL::Crypto
|
| 95 |
+
PROPERTY INTERFACE_LINK_LIBRARIES ${OPENSSL_LIBCRYPTO_DEPENDENCIES})
|
| 96 |
+
|
| 97 |
+
set(OPENSSL_LIBSSL_STATIC "${OPENSSL_LIBRARY_DIR}/libssl.a")
|
| 98 |
+
set(OPENSSL_LIBSSL_DEPENDENCIES OpenSSL::Crypto)
|
| 99 |
+
set_target_properties(OpenSSL::SSL PROPERTIES
|
| 100 |
+
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
|
| 101 |
+
IMPORTED_LOCATION ${OPENSSL_LIBSSL_STATIC})
|
| 102 |
+
set_property(TARGET OpenSSL::SSL
|
| 103 |
+
PROPERTY INTERFACE_LINK_LIBRARIES ${OPENSSL_LIBSSL_DEPENDENCIES})
|
| 104 |
+
|
| 105 |
+
# Directories and names compatible with CMake's FindOpenSSL.cmake
|
| 106 |
+
set(OPENSSL_CRYPTO_LIBRARY ${OPENSSL_LIBCRYPTO_STATIC})
|
| 107 |
+
set(OPENSSL_CRYPTO_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_LIBCRYPTO_DEPENDENCIES})
|
| 108 |
+
set(OPENSSL_SSL_LIBRARY ${OPENSSL_LIBSSL_STATIC})
|
| 109 |
+
set(OPENSSL_SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_LIBSSL_DEPENDENCIES})
|
| 110 |
+
set(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_LIBSSL_DEPENDENCIES} ${OPENSSL_LIBCRYPTO_DEPENDENCIES})
|
| 111 |
+
|
| 112 |
+
else()
|
| 113 |
+
|
| 114 |
+
add_library(OpenSSL::Crypto SHARED IMPORTED)
|
| 115 |
+
add_library(OpenSSL::SSL SHARED IMPORTED)
|
| 116 |
+
|
| 117 |
+
# Dependencies are assumed to be implied in the shared libraries
|
| 118 |
+
set(OPENSSL_LIBCRYPTO_SHARED "${OPENSSL_LIBRARY_DIR}/libcrypto.so")
|
| 119 |
+
set_target_properties(OpenSSL::Crypto PROPERTIES
|
| 120 |
+
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
|
| 121 |
+
IMPORTED_LOCATION ${OPENSSL_LIBCRYPTO_SHARED})
|
| 122 |
+
|
| 123 |
+
set(OPENSSL_LIBSSL_SHARED "${OPENSSL_LIBRARY_DIR}/libssl.so")
|
| 124 |
+
set_target_properties(OpenSSL::SSL PROPERTIES
|
| 125 |
+
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
|
| 126 |
+
IMPORTED_LOCATION ${OPENSSL_LIBSSL_SHARED})
|
| 127 |
+
|
| 128 |
+
# Directories and names compatible with CMake's FindOpenSSL.cmake
|
| 129 |
+
set(OPENSSL_CRYPTO_LIBRARY ${OPENSSL_LIBCRYPTO_SHARED})
|
| 130 |
+
set(OPENSSL_CRYPTO_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY})
|
| 131 |
+
set(OPENSSL_SSL_LIBRARY ${OPENSSL_LIBSSL_SHARED})
|
| 132 |
+
set(OPENSSL_SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY})
|
| 133 |
+
set(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARIES})
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
endif()
|
| 137 |
+
|
| 138 |
+
set_target_properties(OpenSSL::Crypto PROPERTIES
|
| 139 |
+
INTERFACE_INCLUDE_DIRECTORIES "${OPENSSL_INCLUDE_DIR}")
|
| 140 |
+
set_target_properties(OpenSSL::SSL PROPERTIES
|
| 141 |
+
INTERFACE_INCLUDE_DIRECTORIES "${OPENSSL_INCLUDE_DIR}")
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
unset(_ossl_prefix)
|
| 146 |
+
unset(_ossl_use_static_libs)
|
miniconda3/envs/ladir/lib/cmake/OpenSSL/OpenSSLConfigVersion.cmake
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by OpenSSL
|
| 2 |
+
|
| 3 |
+
set(PACKAGE_VERSION 3.5.5)
|
| 4 |
+
|
| 5 |
+
if(NOT PACKAGE_FIND_VERSION)
|
| 6 |
+
# find_package() was called without any version information. This is assumed to
|
| 7 |
+
# mean that the caller accepts whatever they get.
|
| 8 |
+
set(PACKAGE_VERSION_COMPATIBLE 1)
|
| 9 |
+
elseif(PACKAGE_FIND_VERSION_MAJOR LESS 3
|
| 10 |
+
OR PACKAGE_FIND_VERSION VERSION_GREATER 3.5.5)
|
| 11 |
+
set(PACKAGE_VERSION_UNSUITABLE 1)
|
| 12 |
+
else()
|
| 13 |
+
set(PACKAGE_VERSION_COMPATIBLE 1)
|
| 14 |
+
if(PACKAGE_FIND_VERSION VERSION_EQUAL 3.5.5)
|
| 15 |
+
set(PACKAGE_VERSION_EXACT 1)
|
| 16 |
+
endif()
|
| 17 |
+
endif()
|
miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat-config-version.cmake
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is a basic version file for the Config-mode of find_package().
|
| 2 |
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
| 3 |
+
# to create a version-file which can be installed along a config.cmake file.
|
| 4 |
+
#
|
| 5 |
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
| 6 |
+
# the requested version string are exactly the same and it sets
|
| 7 |
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
| 8 |
+
# but only if the requested major version is the same as the current one.
|
| 9 |
+
# The variable CVF_VERSION must be set before calling configure_file().
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
set(PACKAGE_VERSION "2.7.4")
|
| 13 |
+
|
| 14 |
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
| 15 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 16 |
+
else()
|
| 17 |
+
|
| 18 |
+
if("2.7.4" MATCHES "^([0-9]+)\\.")
|
| 19 |
+
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
| 20 |
+
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
| 21 |
+
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
| 22 |
+
endif()
|
| 23 |
+
else()
|
| 24 |
+
set(CVF_VERSION_MAJOR "2.7.4")
|
| 25 |
+
endif()
|
| 26 |
+
|
| 27 |
+
if(PACKAGE_FIND_VERSION_RANGE)
|
| 28 |
+
# both endpoints of the range must have the expected major version
|
| 29 |
+
math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
|
| 30 |
+
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 31 |
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 32 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
|
| 33 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 34 |
+
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 35 |
+
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
| 36 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
| 37 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 38 |
+
else()
|
| 39 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 40 |
+
endif()
|
| 41 |
+
else()
|
| 42 |
+
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 43 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 44 |
+
else()
|
| 45 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 46 |
+
endif()
|
| 47 |
+
|
| 48 |
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
| 49 |
+
set(PACKAGE_VERSION_EXACT TRUE)
|
| 50 |
+
endif()
|
| 51 |
+
endif()
|
| 52 |
+
endif()
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
| 56 |
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
| 57 |
+
return()
|
| 58 |
+
endif()
|
| 59 |
+
|
| 60 |
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
| 61 |
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
| 62 |
+
math(EXPR installedBits "8 * 8")
|
| 63 |
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
| 64 |
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
| 65 |
+
endif()
|
miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat-config.cmake
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# __ __ _
|
| 2 |
+
# ___\ \/ /_ __ __ _| |_
|
| 3 |
+
# / _ \\ /| '_ \ / _` | __|
|
| 4 |
+
# | __// \| |_) | (_| | |_
|
| 5 |
+
# \___/_/\_\ .__/ \__,_|\__|
|
| 6 |
+
# |_| XML parser
|
| 7 |
+
#
|
| 8 |
+
# Copyright (c) 2019 Expat development team
|
| 9 |
+
# Licensed under the MIT license:
|
| 10 |
+
#
|
| 11 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
| 12 |
+
# a copy of this software and associated documentation files (the
|
| 13 |
+
# "Software"), to deal in the Software without restriction, including
|
| 14 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
| 15 |
+
# distribute, sublicense, and/or sell copies of the Software, and to permit
|
| 16 |
+
# persons to whom the Software is furnished to do so, subject to the
|
| 17 |
+
# following conditions:
|
| 18 |
+
#
|
| 19 |
+
# The above copyright notice and this permission notice shall be included
|
| 20 |
+
# in all copies or substantial portions of the Software.
|
| 21 |
+
#
|
| 22 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 23 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 24 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
| 25 |
+
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
| 26 |
+
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
| 27 |
+
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
| 28 |
+
# USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 29 |
+
#
|
| 30 |
+
if(NOT _expat_config_included)
|
| 31 |
+
# Protect against multiple inclusion
|
| 32 |
+
set(_expat_config_included TRUE)
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
include("${CMAKE_CURRENT_LIST_DIR}/expat.cmake")
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
| 39 |
+
####### Any changes to this file will be overwritten by the next CMake run ####
|
| 40 |
+
####### The input file was expat-config.cmake.in ########
|
| 41 |
+
|
| 42 |
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
| 43 |
+
|
| 44 |
+
macro(set_and_check _var _file)
|
| 45 |
+
set(${_var} "${_file}")
|
| 46 |
+
if(NOT EXISTS "${_file}")
|
| 47 |
+
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
| 48 |
+
endif()
|
| 49 |
+
endmacro()
|
| 50 |
+
|
| 51 |
+
macro(check_required_components _NAME)
|
| 52 |
+
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
| 53 |
+
if(NOT ${_NAME}_${comp}_FOUND)
|
| 54 |
+
if(${_NAME}_FIND_REQUIRED_${comp})
|
| 55 |
+
set(${_NAME}_FOUND FALSE)
|
| 56 |
+
endif()
|
| 57 |
+
endif()
|
| 58 |
+
endforeach()
|
| 59 |
+
endmacro()
|
| 60 |
+
|
| 61 |
+
####################################################################################
|
| 62 |
+
|
| 63 |
+
#
|
| 64 |
+
# Supported components
|
| 65 |
+
#
|
| 66 |
+
macro(expat_register_component _NAME _AVAILABE)
|
| 67 |
+
set(expat_${_NAME}_FOUND ${_AVAILABE})
|
| 68 |
+
endmacro()
|
| 69 |
+
|
| 70 |
+
expat_register_component(attr_info OFF)
|
| 71 |
+
expat_register_component(dtd ON)
|
| 72 |
+
expat_register_component(large_size OFF)
|
| 73 |
+
expat_register_component(min_size OFF)
|
| 74 |
+
expat_register_component(ns ON)
|
| 75 |
+
|
| 76 |
+
if(1024)
|
| 77 |
+
expat_register_component(context_bytes ON)
|
| 78 |
+
else()
|
| 79 |
+
expat_register_component(context_bytes OFF)
|
| 80 |
+
endif()
|
| 81 |
+
|
| 82 |
+
if("char" STREQUAL "char")
|
| 83 |
+
expat_register_component(char ON)
|
| 84 |
+
expat_register_component(ushort OFF)
|
| 85 |
+
expat_register_component(wchar_t OFF)
|
| 86 |
+
elseif("char" STREQUAL "ushort")
|
| 87 |
+
expat_register_component(char OFF)
|
| 88 |
+
expat_register_component(ushort ON)
|
| 89 |
+
expat_register_component(wchar_t OFF)
|
| 90 |
+
elseif("char" STREQUAL "wchar_t")
|
| 91 |
+
expat_register_component(char OFF)
|
| 92 |
+
expat_register_component(ushort OFF)
|
| 93 |
+
expat_register_component(wchar_t ON)
|
| 94 |
+
endif()
|
| 95 |
+
|
| 96 |
+
check_required_components(expat)
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
endif(NOT _expat_config_included)
|
miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat-release.cmake
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#----------------------------------------------------------------
|
| 2 |
+
# Generated CMake target import file for configuration "Release".
|
| 3 |
+
#----------------------------------------------------------------
|
| 4 |
+
|
| 5 |
+
# Commands may need to know the format version.
|
| 6 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 7 |
+
|
| 8 |
+
# Import target "expat::expat" for configuration "Release"
|
| 9 |
+
set_property(TARGET expat::expat APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
| 10 |
+
set_target_properties(expat::expat PROPERTIES
|
| 11 |
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libexpat.so.1.11.2"
|
| 12 |
+
IMPORTED_SONAME_RELEASE "libexpat.so.1"
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
list(APPEND _cmake_import_check_targets expat::expat )
|
| 16 |
+
list(APPEND _cmake_import_check_files_for_expat::expat "${_IMPORT_PREFIX}/lib/libexpat.so.1.11.2" )
|
| 17 |
+
|
| 18 |
+
# Commands beyond this point should not need to know the version.
|
| 19 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
miniconda3/envs/ladir/lib/cmake/expat-2.7.4/expat.cmake
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by CMake
|
| 2 |
+
|
| 3 |
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
| 4 |
+
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
| 5 |
+
endif()
|
| 6 |
+
if(CMAKE_VERSION VERSION_LESS "2.8.12")
|
| 7 |
+
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
| 8 |
+
endif()
|
| 9 |
+
cmake_policy(PUSH)
|
| 10 |
+
cmake_policy(VERSION 2.8.12...3.31)
|
| 11 |
+
#----------------------------------------------------------------
|
| 12 |
+
# Generated CMake target import file.
|
| 13 |
+
#----------------------------------------------------------------
|
| 14 |
+
|
| 15 |
+
# Commands may need to know the format version.
|
| 16 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 17 |
+
|
| 18 |
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
| 19 |
+
set(_cmake_targets_defined "")
|
| 20 |
+
set(_cmake_targets_not_defined "")
|
| 21 |
+
set(_cmake_expected_targets "")
|
| 22 |
+
foreach(_cmake_expected_target IN ITEMS expat::expat)
|
| 23 |
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
| 24 |
+
if(TARGET "${_cmake_expected_target}")
|
| 25 |
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
| 26 |
+
else()
|
| 27 |
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
| 28 |
+
endif()
|
| 29 |
+
endforeach()
|
| 30 |
+
unset(_cmake_expected_target)
|
| 31 |
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
| 32 |
+
unset(_cmake_targets_defined)
|
| 33 |
+
unset(_cmake_targets_not_defined)
|
| 34 |
+
unset(_cmake_expected_targets)
|
| 35 |
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
| 36 |
+
cmake_policy(POP)
|
| 37 |
+
return()
|
| 38 |
+
endif()
|
| 39 |
+
if(NOT _cmake_targets_defined STREQUAL "")
|
| 40 |
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
| 41 |
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
| 42 |
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
| 43 |
+
endif()
|
| 44 |
+
unset(_cmake_targets_defined)
|
| 45 |
+
unset(_cmake_targets_not_defined)
|
| 46 |
+
unset(_cmake_expected_targets)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
# Compute the installation prefix relative to this file.
|
| 50 |
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
| 51 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 52 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 53 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 54 |
+
if(_IMPORT_PREFIX STREQUAL "/")
|
| 55 |
+
set(_IMPORT_PREFIX "")
|
| 56 |
+
endif()
|
| 57 |
+
|
| 58 |
+
# Create imported target expat::expat
|
| 59 |
+
add_library(expat::expat SHARED IMPORTED)
|
| 60 |
+
|
| 61 |
+
set_target_properties(expat::expat PROPERTIES
|
| 62 |
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
| 63 |
+
INTERFACE_LINK_LIBRARIES "m"
|
| 64 |
+
)
|
| 65 |
+
|
| 66 |
+
# Load information for each installed configuration.
|
| 67 |
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/expat-*.cmake")
|
| 68 |
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
| 69 |
+
include("${_cmake_config_file}")
|
| 70 |
+
endforeach()
|
| 71 |
+
unset(_cmake_config_file)
|
| 72 |
+
unset(_cmake_config_files)
|
| 73 |
+
|
| 74 |
+
# Cleanup temporary variables.
|
| 75 |
+
set(_IMPORT_PREFIX)
|
| 76 |
+
|
| 77 |
+
# Loop over all imported files and verify that they actually exist
|
| 78 |
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
| 79 |
+
if(CMAKE_VERSION VERSION_LESS "3.28"
|
| 80 |
+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
| 81 |
+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
| 82 |
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
| 83 |
+
if(NOT EXISTS "${_cmake_file}")
|
| 84 |
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
| 85 |
+
\"${_cmake_file}\"
|
| 86 |
+
but this file does not exist. Possible reasons include:
|
| 87 |
+
* The file was deleted, renamed, or moved to another location.
|
| 88 |
+
* An install or uninstall procedure did not complete successfully.
|
| 89 |
+
* The installation package was faulty and contained
|
| 90 |
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
| 91 |
+
but not all the files it references.
|
| 92 |
+
")
|
| 93 |
+
endif()
|
| 94 |
+
endforeach()
|
| 95 |
+
endif()
|
| 96 |
+
unset(_cmake_file)
|
| 97 |
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
| 98 |
+
endforeach()
|
| 99 |
+
unset(_cmake_target)
|
| 100 |
+
unset(_cmake_import_check_targets)
|
| 101 |
+
|
| 102 |
+
# This file does not depend on other imported targets which have
|
| 103 |
+
# been exported from the same project but in a separate export set.
|
| 104 |
+
|
| 105 |
+
# Commands beyond this point should not need to know the version.
|
| 106 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
| 107 |
+
cmake_policy(POP)
|
miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-config-version.cmake
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is a basic version file for the Config-mode of find_package().
|
| 2 |
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
| 3 |
+
# to create a version-file which can be installed along a config.cmake file.
|
| 4 |
+
#
|
| 5 |
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
| 6 |
+
# the requested version string are exactly the same and it sets
|
| 7 |
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
| 8 |
+
# but only if the requested major version is the same as the current one.
|
| 9 |
+
# The variable CVF_VERSION must be set before calling configure_file().
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
set(PACKAGE_VERSION "5.8.2")
|
| 13 |
+
|
| 14 |
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
| 15 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 16 |
+
else()
|
| 17 |
+
|
| 18 |
+
if("5.8.2" MATCHES "^([0-9]+)\\.")
|
| 19 |
+
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
| 20 |
+
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
| 21 |
+
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
| 22 |
+
endif()
|
| 23 |
+
else()
|
| 24 |
+
set(CVF_VERSION_MAJOR "5.8.2")
|
| 25 |
+
endif()
|
| 26 |
+
|
| 27 |
+
if(PACKAGE_FIND_VERSION_RANGE)
|
| 28 |
+
# both endpoints of the range must have the expected major version
|
| 29 |
+
math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
|
| 30 |
+
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 31 |
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 32 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
|
| 33 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 34 |
+
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 35 |
+
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
| 36 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
| 37 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 38 |
+
else()
|
| 39 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 40 |
+
endif()
|
| 41 |
+
else()
|
| 42 |
+
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 43 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 44 |
+
else()
|
| 45 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 46 |
+
endif()
|
| 47 |
+
|
| 48 |
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
| 49 |
+
set(PACKAGE_VERSION_EXACT TRUE)
|
| 50 |
+
endif()
|
| 51 |
+
endif()
|
| 52 |
+
endif()
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
# if the installed project requested no architecture check, don't perform the check
|
| 56 |
+
if("FALSE")
|
| 57 |
+
return()
|
| 58 |
+
endif()
|
| 59 |
+
|
| 60 |
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
| 61 |
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
| 62 |
+
return()
|
| 63 |
+
endif()
|
| 64 |
+
|
| 65 |
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
| 66 |
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
| 67 |
+
math(EXPR installedBits "8 * 8")
|
| 68 |
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
| 69 |
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
| 70 |
+
endif()
|
miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-config.cmake
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
include(CMakeFindDependencyMacro)
|
| 2 |
+
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
|
| 3 |
+
find_dependency(Threads)
|
| 4 |
+
|
| 5 |
+
include("${CMAKE_CURRENT_LIST_DIR}/liblzma-targets.cmake")
|
| 6 |
+
|
| 7 |
+
if(NOT TARGET LibLZMA::LibLZMA)
|
| 8 |
+
# Be compatible with the spelling used by the FindLibLZMA module. This
|
| 9 |
+
# doesn't use ALIAS because it would make CMake resolve LibLZMA::LibLZMA
|
| 10 |
+
# to liblzma::liblzma instead of keeping the original spelling. Keeping
|
| 11 |
+
# the original spelling is important for good FindLibLZMA compatibility.
|
| 12 |
+
add_library(LibLZMA::LibLZMA INTERFACE IMPORTED)
|
| 13 |
+
set_target_properties(LibLZMA::LibLZMA PROPERTIES
|
| 14 |
+
INTERFACE_LINK_LIBRARIES liblzma::liblzma)
|
| 15 |
+
endif()
|
| 16 |
+
|
miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-targets-release.cmake
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#----------------------------------------------------------------
|
| 2 |
+
# Generated CMake target import file for configuration "Release".
|
| 3 |
+
#----------------------------------------------------------------
|
| 4 |
+
|
| 5 |
+
# Commands may need to know the format version.
|
| 6 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 7 |
+
|
| 8 |
+
# Import target "liblzma::liblzma" for configuration "Release"
|
| 9 |
+
set_property(TARGET liblzma::liblzma APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
| 10 |
+
set_target_properties(liblzma::liblzma PROPERTIES
|
| 11 |
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/liblzma.so.5.8.2"
|
| 12 |
+
IMPORTED_SONAME_RELEASE "liblzma.so.5"
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
list(APPEND _cmake_import_check_targets liblzma::liblzma )
|
| 16 |
+
list(APPEND _cmake_import_check_files_for_liblzma::liblzma "${_IMPORT_PREFIX}/lib/liblzma.so.5.8.2" )
|
| 17 |
+
|
| 18 |
+
# Commands beyond this point should not need to know the version.
|
| 19 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
miniconda3/envs/ladir/lib/cmake/liblzma/liblzma-targets.cmake
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by CMake
|
| 2 |
+
|
| 3 |
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
| 4 |
+
message(FATAL_ERROR "CMake >= 2.8.0 required")
|
| 5 |
+
endif()
|
| 6 |
+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
| 7 |
+
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
| 8 |
+
endif()
|
| 9 |
+
cmake_policy(PUSH)
|
| 10 |
+
cmake_policy(VERSION 2.8.3...3.23)
|
| 11 |
+
#----------------------------------------------------------------
|
| 12 |
+
# Generated CMake target import file.
|
| 13 |
+
#----------------------------------------------------------------
|
| 14 |
+
|
| 15 |
+
# Commands may need to know the format version.
|
| 16 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 17 |
+
|
| 18 |
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
| 19 |
+
set(_cmake_targets_defined "")
|
| 20 |
+
set(_cmake_targets_not_defined "")
|
| 21 |
+
set(_cmake_expected_targets "")
|
| 22 |
+
foreach(_cmake_expected_target IN ITEMS liblzma::liblzma)
|
| 23 |
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
| 24 |
+
if(TARGET "${_cmake_expected_target}")
|
| 25 |
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
| 26 |
+
else()
|
| 27 |
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
| 28 |
+
endif()
|
| 29 |
+
endforeach()
|
| 30 |
+
unset(_cmake_expected_target)
|
| 31 |
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
| 32 |
+
unset(_cmake_targets_defined)
|
| 33 |
+
unset(_cmake_targets_not_defined)
|
| 34 |
+
unset(_cmake_expected_targets)
|
| 35 |
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
| 36 |
+
cmake_policy(POP)
|
| 37 |
+
return()
|
| 38 |
+
endif()
|
| 39 |
+
if(NOT _cmake_targets_defined STREQUAL "")
|
| 40 |
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
| 41 |
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
| 42 |
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
| 43 |
+
endif()
|
| 44 |
+
unset(_cmake_targets_defined)
|
| 45 |
+
unset(_cmake_targets_not_defined)
|
| 46 |
+
unset(_cmake_expected_targets)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
# Compute the installation prefix relative to this file.
|
| 50 |
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
| 51 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 52 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 53 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 54 |
+
if(_IMPORT_PREFIX STREQUAL "/")
|
| 55 |
+
set(_IMPORT_PREFIX "")
|
| 56 |
+
endif()
|
| 57 |
+
|
| 58 |
+
# Create imported target liblzma::liblzma
|
| 59 |
+
add_library(liblzma::liblzma SHARED IMPORTED)
|
| 60 |
+
|
| 61 |
+
set_target_properties(liblzma::liblzma PROPERTIES
|
| 62 |
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
# Load information for each installed configuration.
|
| 66 |
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/liblzma-targets-*.cmake")
|
| 67 |
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
| 68 |
+
include("${_cmake_config_file}")
|
| 69 |
+
endforeach()
|
| 70 |
+
unset(_cmake_config_file)
|
| 71 |
+
unset(_cmake_config_files)
|
| 72 |
+
|
| 73 |
+
# Cleanup temporary variables.
|
| 74 |
+
set(_IMPORT_PREFIX)
|
| 75 |
+
|
| 76 |
+
# Loop over all imported files and verify that they actually exist
|
| 77 |
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
| 78 |
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
| 79 |
+
if(NOT EXISTS "${_cmake_file}")
|
| 80 |
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
| 81 |
+
\"${_cmake_file}\"
|
| 82 |
+
but this file does not exist. Possible reasons include:
|
| 83 |
+
* The file was deleted, renamed, or moved to another location.
|
| 84 |
+
* An install or uninstall procedure did not complete successfully.
|
| 85 |
+
* The installation package was faulty and contained
|
| 86 |
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
| 87 |
+
but not all the files it references.
|
| 88 |
+
")
|
| 89 |
+
endif()
|
| 90 |
+
endforeach()
|
| 91 |
+
unset(_cmake_file)
|
| 92 |
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
| 93 |
+
endforeach()
|
| 94 |
+
unset(_cmake_target)
|
| 95 |
+
unset(_cmake_import_check_targets)
|
| 96 |
+
|
| 97 |
+
# This file does not depend on other imported targets which have
|
| 98 |
+
# been exported from the same project but in a separate export set.
|
| 99 |
+
|
| 100 |
+
# Commands beyond this point should not need to know the version.
|
| 101 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
| 102 |
+
cmake_policy(POP)
|
miniconda3/envs/ladir/lib/itcl4.3.0/itcl.tcl
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#
|
| 2 |
+
# itcl.tcl
|
| 3 |
+
# ----------------------------------------------------------------------
|
| 4 |
+
# Invoked automatically upon startup to customize the interpreter
|
| 5 |
+
# for [incr Tcl].
|
| 6 |
+
# ----------------------------------------------------------------------
|
| 7 |
+
# AUTHOR: Michael J. McLennan
|
| 8 |
+
# Bell Labs Innovations for Lucent Technologies
|
| 9 |
+
# mmclennan@lucent.com
|
| 10 |
+
# http://www.tcltk.com/itcl
|
| 11 |
+
# ----------------------------------------------------------------------
|
| 12 |
+
# Copyright (c) 1993-1998 Lucent Technologies, Inc.
|
| 13 |
+
# ======================================================================
|
| 14 |
+
# See the file "license.terms" for information on usage and
|
| 15 |
+
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
| 16 |
+
|
| 17 |
+
proc ::itcl::delete_helper { name args } {
|
| 18 |
+
::itcl::delete object $name
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
# ----------------------------------------------------------------------
|
| 22 |
+
# USAGE: local <className> <objName> ?<arg> <arg>...?
|
| 23 |
+
#
|
| 24 |
+
# Creates a new object called <objName> in class <className>, passing
|
| 25 |
+
# the remaining <arg>'s to the constructor. Unlike the usual
|
| 26 |
+
# [incr Tcl] objects, however, an object created by this procedure
|
| 27 |
+
# will be automatically deleted when the local call frame is destroyed.
|
| 28 |
+
# This command is useful for creating objects that should only remain
|
| 29 |
+
# alive until a procedure exits.
|
| 30 |
+
# ----------------------------------------------------------------------
|
| 31 |
+
proc ::itcl::local {class name args} {
|
| 32 |
+
set ptr [uplevel [list $class $name] $args]
|
| 33 |
+
uplevel [list set itcl-local-$ptr $ptr]
|
| 34 |
+
set cmd [uplevel namespace which -command $ptr]
|
| 35 |
+
uplevel [list trace add variable itcl-local-$ptr unset \
|
| 36 |
+
"::itcl::delete_helper $cmd"]
|
| 37 |
+
return $ptr
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
# ----------------------------------------------------------------------
|
| 41 |
+
# auto_mkindex
|
| 42 |
+
# ----------------------------------------------------------------------
|
| 43 |
+
# Define Itcl commands that will be recognized by the auto_mkindex
|
| 44 |
+
# parser in Tcl...
|
| 45 |
+
#
|
| 46 |
+
|
| 47 |
+
#
|
| 48 |
+
# USAGE: itcl::class name body
|
| 49 |
+
# Adds an entry for the given class declaration.
|
| 50 |
+
#
|
| 51 |
+
foreach __cmd {itcl::class class itcl::type type ictl::widget widget itcl::widgetadaptor widgetadaptor itcl::extendedclass extendedclass} {
|
| 52 |
+
auto_mkindex_parser::command $__cmd {name body} {
|
| 53 |
+
variable index
|
| 54 |
+
variable scriptFile
|
| 55 |
+
append index "set [list auto_index([fullname $name])]"
|
| 56 |
+
append index " \[list source -encoding utf-8 \[file join \$dir [list $scriptFile]\]\]\n"
|
| 57 |
+
|
| 58 |
+
variable parser
|
| 59 |
+
variable contextStack
|
| 60 |
+
set contextStack [linsert $contextStack 0 $name]
|
| 61 |
+
$parser eval $body
|
| 62 |
+
set contextStack [lrange $contextStack 1 end]
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
#
|
| 67 |
+
# USAGE: itcl::body name arglist body
|
| 68 |
+
# Adds an entry for the given method/proc body.
|
| 69 |
+
#
|
| 70 |
+
foreach __cmd {itcl::body body} {
|
| 71 |
+
auto_mkindex_parser::command $__cmd {name arglist body} {
|
| 72 |
+
variable index
|
| 73 |
+
variable scriptFile
|
| 74 |
+
append index "set [list auto_index([fullname $name])]"
|
| 75 |
+
append index " \[list source -encoding utf-8 \[file join \$dir [list $scriptFile]\]\]\n"
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
#
|
| 80 |
+
# USAGE: itcl::configbody name arglist body
|
| 81 |
+
# Adds an entry for the given method/proc body.
|
| 82 |
+
#
|
| 83 |
+
foreach __cmd {itcl::configbody configbody} {
|
| 84 |
+
auto_mkindex_parser::command $__cmd {name body} {
|
| 85 |
+
variable index
|
| 86 |
+
variable scriptFile
|
| 87 |
+
append index "set [list auto_index([fullname $name])]"
|
| 88 |
+
append index " \[list source -encoding utf-8 \[file join \$dir [list $scriptFile]\]\]\n"
|
| 89 |
+
}
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
#
|
| 93 |
+
# USAGE: ensemble name ?body?
|
| 94 |
+
# Adds an entry to the auto index list for the given ensemble name.
|
| 95 |
+
#
|
| 96 |
+
foreach __cmd {itcl::ensemble ensemble} {
|
| 97 |
+
auto_mkindex_parser::command $__cmd {name {body ""}} {
|
| 98 |
+
variable index
|
| 99 |
+
variable scriptFile
|
| 100 |
+
append index "set [list auto_index([fullname $name])]"
|
| 101 |
+
append index " \[list source -encoding utf-8 \[file join \$dir [list $scriptFile]\]\]\n"
|
| 102 |
+
}
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
#
|
| 106 |
+
# USAGE: public arg ?arg arg...?
|
| 107 |
+
# protected arg ?arg arg...?
|
| 108 |
+
# private arg ?arg arg...?
|
| 109 |
+
#
|
| 110 |
+
# Evaluates the arguments as commands, so we can recognize proc
|
| 111 |
+
# declarations within classes.
|
| 112 |
+
#
|
| 113 |
+
foreach __cmd {public protected private} {
|
| 114 |
+
auto_mkindex_parser::command $__cmd {args} {
|
| 115 |
+
variable parser
|
| 116 |
+
$parser eval $args
|
| 117 |
+
}
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
# SF bug #246 unset variable __cmd to avoid problems in user programs!!
|
| 121 |
+
unset __cmd
|
| 122 |
+
|
| 123 |
+
# ----------------------------------------------------------------------
|
| 124 |
+
# auto_import
|
| 125 |
+
# ----------------------------------------------------------------------
|
| 126 |
+
# This procedure overrides the usual "auto_import" function in the
|
| 127 |
+
# Tcl library. It is invoked during "namespace import" to make see
|
| 128 |
+
# if the imported commands reside in an autoloaded library. If so,
|
| 129 |
+
# stubs are created to represent the commands. Executing a stub
|
| 130 |
+
# later on causes the real implementation to be autoloaded.
|
| 131 |
+
#
|
| 132 |
+
# Arguments -
|
| 133 |
+
# pattern The pattern of commands being imported (like "foo::*")
|
| 134 |
+
# a canonical namespace as returned by [namespace current]
|
| 135 |
+
|
| 136 |
+
proc auto_import {pattern} {
|
| 137 |
+
global auto_index
|
| 138 |
+
|
| 139 |
+
set ns [uplevel namespace current]
|
| 140 |
+
set patternList [auto_qualify $pattern $ns]
|
| 141 |
+
|
| 142 |
+
auto_load_index
|
| 143 |
+
|
| 144 |
+
foreach pattern $patternList {
|
| 145 |
+
foreach name [array names auto_index $pattern] {
|
| 146 |
+
if {"" == [info commands $name]} {
|
| 147 |
+
::itcl::import::stub create $name
|
| 148 |
+
}
|
| 149 |
+
}
|
| 150 |
+
}
|
| 151 |
+
}
|
miniconda3/envs/ladir/lib/itcl4.3.0/itclConfig.sh
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# itclConfig.sh --
|
| 2 |
+
#
|
| 3 |
+
# This shell script (for sh) is generated automatically by Itcl's
|
| 4 |
+
# configure script. It will create shell variables for most of
|
| 5 |
+
# the configuration options discovered by the configure script.
|
| 6 |
+
# This script is intended to be included by the configure scripts
|
| 7 |
+
# for Itcl extensions so that they don't have to figure this all
|
| 8 |
+
# out for themselves. This file does not duplicate information
|
| 9 |
+
# already provided by tclConfig.sh, so you may need to use that
|
| 10 |
+
# file in addition to this one.
|
| 11 |
+
#
|
| 12 |
+
# The information in this file is specific to a single platform.
|
| 13 |
+
|
| 14 |
+
# Itcl's version number.
|
| 15 |
+
itcl_VERSION='4.3.0'
|
| 16 |
+
ITCL_VERSION='4.3.0'
|
| 17 |
+
|
| 18 |
+
# The name of the Itcl library (may be either a .a file or a shared library):
|
| 19 |
+
itcl_LIB_FILE=libitcl4.3.0.so
|
| 20 |
+
ITCL_LIB_FILE=libitcl4.3.0.so
|
| 21 |
+
|
| 22 |
+
# String to pass to linker to pick up the Itcl library from its
|
| 23 |
+
# build directory.
|
| 24 |
+
itcl_BUILD_LIB_SPEC='-L/croot/tk_1755243777296/work/tcl8.6.15/unix/pkgs/itcl4.3.0 -litcl4.3.0'
|
| 25 |
+
ITCL_BUILD_LIB_SPEC='-L/croot/tk_1755243777296/work/tcl8.6.15/unix/pkgs/itcl4.3.0 -litcl4.3.0'
|
| 26 |
+
|
| 27 |
+
# String to pass to linker to pick up the Itcl library from its
|
| 28 |
+
# installed directory.
|
| 29 |
+
itcl_LIB_SPEC='-L/mnt/bn/bohanzhainas1/jiashuo/miniconda3/envs/ladir/lib/itcl4.3.0 -litcl4.3.0'
|
| 30 |
+
ITCL_LIB_SPEC='-L/mnt/bn/bohanzhainas1/jiashuo/miniconda3/envs/ladir/lib/itcl4.3.0 -litcl4.3.0'
|
| 31 |
+
|
| 32 |
+
# The name of the Itcl stub library (a .a file):
|
| 33 |
+
itcl_STUB_LIB_FILE=libitclstub4.3.0.a
|
| 34 |
+
ITCL_STUB_LIB_FILE=libitclstub4.3.0.a
|
| 35 |
+
|
| 36 |
+
# String to pass to linker to pick up the Itcl stub library from its
|
| 37 |
+
# build directory.
|
| 38 |
+
itcl_BUILD_STUB_LIB_SPEC='-L/croot/tk_1755243777296/work/tcl8.6.15/unix/pkgs/itcl4.3.0 -litclstub4.3.0'
|
| 39 |
+
ITCL_BUILD_STUB_LIB_SPEC='-L/croot/tk_1755243777296/work/tcl8.6.15/unix/pkgs/itcl4.3.0 -litclstub4.3.0'
|
| 40 |
+
|
| 41 |
+
# String to pass to linker to pick up the Itcl stub library from its
|
| 42 |
+
# installed directory.
|
| 43 |
+
itcl_STUB_LIB_SPEC='-L/mnt/bn/bohanzhainas1/jiashuo/miniconda3/envs/ladir/lib/itcl4.3.0 -litclstub4.3.0'
|
| 44 |
+
ITCL_STUB_LIB_SPEC='-L/mnt/bn/bohanzhainas1/jiashuo/miniconda3/envs/ladir/lib/itcl4.3.0 -litclstub4.3.0'
|
| 45 |
+
|
| 46 |
+
# String to pass to linker to pick up the Itcl stub library from its
|
| 47 |
+
# build directory.
|
| 48 |
+
itcl_BUILD_STUB_LIB_PATH='/croot/tk_1755243777296/work/tcl8.6.15/unix/pkgs/itcl4.3.0/libitclstub4.3.0.a'
|
| 49 |
+
ITCL_BUILD_STUB_LIB_PATH='/croot/tk_1755243777296/work/tcl8.6.15/unix/pkgs/itcl4.3.0/libitclstub4.3.0.a'
|
| 50 |
+
|
| 51 |
+
# String to pass to linker to pick up the Itcl stub library from its
|
| 52 |
+
# installed directory.
|
| 53 |
+
itcl_STUB_LIB_PATH='/mnt/bn/bohanzhainas1/jiashuo/miniconda3/envs/ladir/lib/itcl4.3.0/libitclstub4.3.0.a'
|
| 54 |
+
ITCL_STUB_LIB_PATH='/mnt/bn/bohanzhainas1/jiashuo/miniconda3/envs/ladir/lib/itcl4.3.0/libitclstub4.3.0.a'
|
| 55 |
+
|
| 56 |
+
# Location of the top-level source directories from which [incr Tcl]
|
| 57 |
+
# was built. This is the directory that contains generic, unix, etc.
|
| 58 |
+
# If [incr Tcl] was compiled in a different place than the directory
|
| 59 |
+
# containing the source files, this points to the location of the sources,
|
| 60 |
+
# not the location where [incr Tcl] was compiled.
|
| 61 |
+
itcl_SRC_DIR='/croot/tk_1755243777296/work/tcl8.6.15/pkgs/itcl4.3.0'
|
| 62 |
+
ITCL_SRC_DIR='/croot/tk_1755243777296/work/tcl8.6.15/pkgs/itcl4.3.0'
|
| 63 |
+
|
| 64 |
+
# String to pass to the compiler so that an extension can
|
| 65 |
+
# find installed Itcl headers.
|
| 66 |
+
itcl_INCLUDE_SPEC=''
|
| 67 |
+
ITCL_INCLUDE_SPEC=''
|