diff options
author | marha <marha@users.sourceforge.net> | 2009-07-12 18:20:04 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-12 18:20:04 +0000 |
commit | da8fe31a7ba4acf109097d5696ad0145b991cdfd (patch) | |
tree | 1c74d6f075702a73e557872f2a6f020ea4eb5432 /include | |
parent | 6590f805a12779909cb8504c230fa367148fe38c (diff) | |
parent | 529dcfd0858d75cb3c87c73cb0f81dd20bbb9230 (diff) | |
download | vcxsrv-da8fe31a7ba4acf109097d5696ad0145b991cdfd.tar.gz vcxsrv-da8fe31a7ba4acf109097d5696ad0145b991cdfd.tar.bz2 vcxsrv-da8fe31a7ba4acf109097d5696ad0145b991cdfd.zip |
Changes for VC compilation
Diffstat (limited to 'include')
-rw-r--r-- | include/byteswap.h | 39 | ||||
-rw-r--r-- | include/dirent.h | 210 | ||||
-rw-r--r-- | include/dix-config.h | 553 | ||||
-rw-r--r-- | include/dlfcn.h | 0 | ||||
-rw-r--r-- | include/inttypes.h | 245 | ||||
-rw-r--r-- | include/kdrive-config.h | 35 | ||||
-rw-r--r-- | include/stdint.h | 170 | ||||
-rw-r--r-- | include/strings.h | 0 | ||||
-rw-r--r-- | include/sys/time.h | 0 | ||||
-rw-r--r-- | include/unistd.h | 7 | ||||
-rw-r--r-- | include/xcb/bigreq.h | 131 | ||||
-rw-r--r-- | include/xcb/render.h | 4367 | ||||
-rw-r--r-- | include/xcb/xc_misc.h | 396 | ||||
-rw-r--r-- | include/xcb/xcb.h | 460 | ||||
-rw-r--r-- | include/xcb/xcbext.h | 77 | ||||
-rw-r--r-- | include/xcb/xcbxlib.h | 47 | ||||
-rw-r--r-- | include/xcb/xproto.h | 15083 | ||||
-rw-r--r-- | include/xwin-config.h | 35 |
18 files changed, 21855 insertions, 0 deletions
diff --git a/include/byteswap.h b/include/byteswap.h new file mode 100644 index 000000000..cd5a726d4 --- /dev/null +++ b/include/byteswap.h @@ -0,0 +1,39 @@ +/* byteswap.h + +Copyright 2005 Red Hat, Inc. + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. */ + +#ifndef _BYTESWAP_H +#define _BYTESWAP_H + +#ifdef __cplusplus +extern "C" { +#endif + +static __inline unsigned short +bswap_16 (unsigned short __x) +{ + return (__x >> 8) | (__x << 8); +} + +static __inline unsigned int +bswap_32 (unsigned int __x) +{ + return (bswap_16 (__x & 0xffff) << 16) | (bswap_16 (__x >> 16)); +} + +static __inline unsigned long long +bswap_64 (unsigned long long __x) +{ + return (((unsigned long long) bswap_32 (__x & 0xffffffffull)) << 32) | (bswap_32 (__x >> 32)); +} + +#ifdef __cplusplus +} +#endif +#endif /* _BYTESWAP_H */ diff --git a/include/dirent.h b/include/dirent.h new file mode 100644 index 000000000..021a95ef9 --- /dev/null +++ b/include/dirent.h @@ -0,0 +1,210 @@ +/* + * dirent.h - dirent API for Microsoft Visual Studio + * + * Copyright (C) 2006 Toni Ronkko + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * ``Software''), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * + * Jan 18, 2008, Toni Ronkko + * Using FindFirstFileA and WIN32_FIND_DATAA to avoid converting string + * between multi-byte and unicode representations. This makes the + * code simpler and also allows the code to be compiled under MingW. Thanks + * to Azriel Fasten for the suggestion. + * + * Mar 4, 2007, Toni Ronkko + * Bug fix: due to the strncpy_s() function this file only compiled in + * Visual Studio 2005. Using the new string functions only when the + * compiler version allows. + * + * Nov 2, 2006, Toni Ronkko + * Major update: removed support for Watcom C, MS-DOS and Turbo C to + * simplify the file, updated the code to compile cleanly on Visual + * Studio 2005 with both unicode and multi-byte character strings, + * removed rewinddir() as it had a bug. + * + * Aug 20, 2006, Toni Ronkko + * Removed all remarks about MSVC 1.0, which is antiqued now. Simplified + * comments by removing SGML tags. + * + * May 14 2002, Toni Ronkko + * Embedded the function definitions directly to the header so that no + * source modules need to be included in the Visual Studio project. Removed + * all the dependencies to other projects so that this very header can be + * used independently. + * + * May 28 1998, Toni Ronkko + * First version. + */ +#ifndef DIRENT_H +#define DIRENT_H + +#include <windows.h> +#include <string.h> +#include <assert.h> + + +typedef struct dirent { + /* name of current directory entry (a multi-byte character string) */ + char d_name[MAX_PATH + 1]; + + /* file attributes */ + WIN32_FIND_DATAA data; +} dirent; + + +typedef struct DIR { + /* current directory entry */ + dirent current; + + /* is there an un-processed entry in current? */ + int cached; + + /* file search handle */ + HANDLE search_handle; + + /* search pattern (3 = zero terminator + pattern "\\*") */ + char patt[MAX_PATH + 3]; +} DIR; + + +static DIR *opendir (const char *dirname); +static struct dirent *readdir (DIR *dirp); +static int closedir (DIR *dirp); + + +/* use the new safe string functions introduced in Visual Studio 2005 */ +#if defined(_MSC_VER) && _MSC_VER >= 1400 +# define STRNCPY(dest,src,size) strncpy_s((dest),(size),(src),_TRUNCATE) +#else +# define STRNCPY(dest,src,size) strncpy((dest),(src),(size)) +#endif + + +/* + * Open directory stream DIRNAME for read and return a pointer to the + * internal working area that is used to retrieve individual directory + * entries. + */ +static DIR* +opendir( + const char *dirname) +{ + DIR *dirp; + assert (dirname != NULL); + assert (strlen (dirname) < MAX_PATH); + + /* construct new DIR structure */ + dirp = (DIR*) malloc (sizeof (struct DIR)); + if (dirp != NULL) { + char *p; + + /* take directory name... */ + STRNCPY (dirp->patt, dirname, sizeof(dirp->patt)); + dirp->patt[MAX_PATH] = '\0'; + + /* ... and append search pattern to it */ + p = strchr (dirp->patt, '\0'); + if (dirp->patt < p && *(p-1) != '\\' && *(p-1) != ':') { + *p++ = '\\'; + } + *p++ = '*'; + *p = '\0'; + + /* open stream and retrieve first file */ + dirp->search_handle = FindFirstFileA (dirp->patt, &dirp->current.data); + if (dirp->search_handle == INVALID_HANDLE_VALUE) { + /* invalid search pattern? */ + free (dirp); + return NULL; + } + + /* there is an un-processed directory entry in memory now */ + dirp->cached = 1; + + } + return dirp; +} + + +/* + * Read a directory entry, and return a pointer to a dirent structure + * containing the name of the entry in d_name field. Individual directory + * entries returned by this very function include regular files, + * sub-directories, pseudo-directories "." and "..", but also volume labels, + * hidden files and system files may be returned. + */ +static struct dirent * +readdir( + DIR *dirp) +{ + assert (dirp != NULL); + + if (dirp->search_handle == INVALID_HANDLE_VALUE) { + /* directory stream was opened/rewound incorrectly or it ended normally */ + return NULL; + } + + /* get next directory entry */ + if (dirp->cached != 0) { + /* a valid directory entry already in memory */ + dirp->cached = 0; + } else { + /* read next directory entry from disk */ + if (FindNextFileA (dirp->search_handle, &dirp->current.data) == FALSE) { + /* the very last file has been processed or an error occured */ + FindClose (dirp->search_handle); + dirp->search_handle = INVALID_HANDLE_VALUE; + return NULL; + } + } + + /* copy as a multibyte character string */ + STRNCPY (dirp->current.d_name, dirp->current.data.cFileName, sizeof(dirp->current.d_name)); + dirp->current.d_name[MAX_PATH] = '\0'; + + return &dirp->current; +} + + +/* + * Close directory stream opened by opendir() function. Close of the + * directory stream invalidates the DIR structure as well as any previously + * read directory entry. + */ +static int +closedir( + DIR *dirp) +{ + assert (dirp != NULL); + + /* release search handle */ + if (dirp->search_handle != INVALID_HANDLE_VALUE) { + FindClose (dirp->search_handle); + dirp->search_handle = INVALID_HANDLE_VALUE; + } + + /* release directory handle */ + free (dirp); + return 0; +} + + +#endif /*DIRENT_H*/ diff --git a/include/dix-config.h b/include/dix-config.h new file mode 100644 index 000000000..1a0f2d1f7 --- /dev/null +++ b/include/dix-config.h @@ -0,0 +1,553 @@ +/* include/dix-config.h. Generated from dix-config.h.in by configure. */ +/* dix-config.h.in: not at all generated. -*- c -*- */ + +#ifndef _DIX_CONFIG_H_ +#define _DIX_CONFIG_H_ + +#define GLYPHPADBYTES 4 + +/* Use XCB for low-level protocol implementation */ +#define USE_XCB 1 + +/* Support BigRequests extension */ +#define BIGREQS 1 + +/* Builder address */ +#define BUILDERADDR "cygwin-xfree@cygwin.com" + +/* Operating System Name */ +#define OSNAME "Cygwin" + +/* Operating System Vendor */ +#define OSVENDOR "Red Hat" + +/* Builder string */ +#define BUILDERSTRING "" + +/* Default font path */ +#define COMPILEDDEFAULTFONTPATH "fonts/misc/,fonts/TTF/,fonts/OTF,fonts/Type1/,fonts/100dpi/,fonts/75dpi/,built-ins" + +/* Miscellaneous server configuration files path */ +#define SERVER_MISC_CONFIG_PATH "."///usr/lib/X11" + +/* Support Composite Extension */ +#define COMPOSITE 1 + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to 1 if using `alloca.c'. */ +/* #undef C_ALLOCA */ + +/* Support Damage extension */ +#define DAMAGE 1 + +/* Build for darwin with Quartz support */ +/* #undef DARWIN_WITH_QUARTZ */ + +/* Use OsVendorInit */ +#define DDXOSINIT 1 + +/* Use GetTimeInMillis */ +#define DDXTIME 1 + +/* Use OsVendorFatalError */ +#define DDXOSFATALERROR 1 + +/* Use OsVendorVErrorF */ +#define DDXOSVERRORF 1 + +/* Use ddxBeforeReset */ +#define DDXBEFORERESET 1 + +/* Build DPMS extension */ +#define DPMSExtension 1 + +/* Build GLX extension */ +/*#define GLXEXT 1 */ + +/* Build GLX DRI loader */ +/* #undef GLX_DRI */ + +/* Path to DRI drivers */ +#define DRI_DRIVER_PATH "/usr/lib/dri" + +/* Include handhelds.org h3600 touchscreen driver */ +/* #undef H3600_TS */ + +/* Support XDM-AUTH*-1 */ +#define HASXDMAUTH 1 + +/* Define to 1 if you have the `getdtablesize' function. */ +#define HAS_GETDTABLESIZE 1 + +/* Define to 1 if you have the `getifaddrs' function. */ +/* #undef HAS_GETIFADDRS */ + +/* Define to 1 if you have the `getpeereid' function. */ +/*#define HAS_GETPEEREID 1*/ + +/* Define to 1 if you have the `getpeerucred' function. */ +/* #undef HAS_GETPEERUCRED */ + +/* Define to 1 if you have the `mmap' function. */ +//#define HAS_MMAP 1 + +/* Support SHM */ +//MH#define HAS_SHM 1 + +/* Define to 1 if you have `alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). + */ +#define HAVE_ALLOCA_H 1 + +/* Define to 1 if you have the <asm/mtrr.h> header file. */ +/* #undef HAVE_ASM_MTRR_H */ + +/* Has backtrace support */ +/* #undef HAVE_BACKTRACE */ + +/* Define to 1 if you have the <byteswap.h> header file. */ +#define HAVE_BYTESWAP_H 1 + +/* Define to 1 if you have cbrt */ +//#define HAVE_CBRT 1 + +/* Define to 1 if you have the <dbm.h> header file. */ +/* #undef HAVE_DBM_H */ + +/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. + */ +#define HAVE_DIRENT_H 1 + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ +/* #undef HAVE_DOPRNT */ + +/* Have execinfo.h */ +/* #undef HAVE_EXECINFO_H */ + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `geteuid' function. */ +#define HAVE_GETEUID 1 + +/* Define to 1 if you have the `getisax' function. */ +/* #undef HAVE_GETISAX */ + +/* Define to 1 if you have the `getopt' function. */ +#define HAVE_GETOPT 1 + +/* Define to 1 if you have the `getopt_long' function. */ +#define HAVE_GETOPT_LONG 1 + +/* Define to 1 if you have the `getuid' function. */ +#define HAVE_GETUID 1 + +/* Define to 1 if you have the `getzoneid' function. */ +/* #undef HAVE_GETZONEID */ + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have version 2.2 (or newer) of the drm library */ +/* #undef HAVE_LIBDRM_2_2 */ + +/* Have Quartz */ +/* #undef XQUARTZ */ + +/* Define to 1 if you have the `m' library (-lm). */ +#define HAVE_LIBM 1 + +/* Define to 1 if you have the `link' function. */ +#define HAVE_LINK 1 + +/* Define to 1 if you have the <linux/agpgart.h> header file. */ +/* #undef HAVE_LINUX_AGPGART_H */ + +/* Define to 1 if you have the <linux/apm_bios.h> header file. */ +/* #undef HAVE_LINUX_APM_BIOS_H */ + +/* Define to 1 if you have the <linux/fb.h> header file. */ +/* #undef HAVE_LINUX_FB_H */ + +/* Define to 1 if you have the <linux/h3600_ts.h> header file. */ +/* #undef HAVE_LINUX_H3600_TS_H */ + +/* Define to 1 if you have the `memmove' function. */ +#define HAVE_MEMMOVE 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `memset' function. */ +#define HAVE_MEMSET 1 + +/* Define to 1 if you have the `mkstemp' function. */ +#define HAVE_MKSTEMP 1 + +/* Define to 1 if you have the <ndbm.h> header file. */ +/* #undef HAVE_NDBM_H */ + +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* Define to 1 if you have the <rpcsvc/dbm.h> header file. */ +/* #undef HAVE_RPCSVC_DBM_H */ + +/* Define to 1 if you have the `shmctl64' function. */ +/* #undef HAVE_SHMCTL64 */ + +/* Define to 1 if you have the <stdint.h> header file. */ +/*#define HAVE_STDINT_H 1*/ + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strchr' function. */ +#define HAVE_STRCHR 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strrchr' function. */ +#define HAVE_STRRCHR 1 + +/* Define to 1 if you have the `strtol' function. */ +#define HAVE_STRTOL 1 + +/* Define to 1 if SYSV IPC is available */ +/* #undef HAVE_SYSV_IPC */ + +/* Define to 1 if you have the <sys/agpio.h> header file. */ +/* #undef HAVE_SYS_AGPIO_H */ + +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the <sys/io.h> header file. */ +/* #undef HAVE_SYS_IO_H */ + +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <sys/vm86.h> header file. */ +/* #undef HAVE_SYS_VM86_H */ + +/* Define to 1 if you have the <tslib.h> header file. */ +/* #undef HAVE_TSLIB_H */ + +/* Define to 1 if you have the <unistd.h> header file. */ +/*#define HAVE_UNISTD_H 1*/ + +/* Have /dev/urandom */ +/* #undef HAVE_URANDOM */ + +/* Define to 1 if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 + +/* Support IPv6 for TCP connections */ +/* #undef IPv6 */ + +/* Support os-specific local connections */ +/* #undef LOCALCONN */ + +/* Support MIT Misc extension */ +#define MITMISC 1 + +/* Support MIT-SHM Extension */ +//#define MITSHM 1 + +/* Disable some debugging code */ +#define NDEBUG 1 + +/* Enable some debugging code */ +/* #undef DEBUG */ + +/* Name of package */ +#define PACKAGE "xorg-server" + +/* Internal define for Xinerama */ +/* #undef PANORAMIX */ + +/* Overall prefix */ +#define PROJECTROOT "." + +/* Support RANDR extension */ +#define RANDR 1 + +/* Support Record extension */ +#define XRECORD 1 + +/* Support RENDER extension */ +#define RENDER 1 + +/* Support X resource extension */ +#define RES 1 + +/* Support MIT-SCREEN-SAVER extension */ +#define SCREENSAVER 1 + +/* Support Secure RPC ("SUN-DES-1") authentication for X11 clients */ +/* #undef SECURE_RPC */ + +/* Use a lock to prevent multiple servers on a display */ +/* #define SERVER_LOCK 1 */ + +/* Support SHAPE extension */ +#define SHAPE 1 + +/* Include time-based scheduler */ +#define SMART_SCHEDULE 1 + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +/* #undef STACK_DIRECTION */ + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 on systems derived from System V Release 4 */ +/* #undef SVR4 */ + +/* Support TCP socket connections */ +#define TCPCONN 1 + +/* Enable touchscreen support */ +/* #undef TOUCHSCREEN */ + +/* Support tslib touchscreen abstraction library */ +/* #undef TSLIB */ + +/* Support UNIX socket connections */ +/*#define UNIXCONN 1*/ + +/* Define to use byteswap macros from <sys/endian.h> */ +/* #undef USE_SYS_ENDIAN_H */ + +/* unaligned word accesses behave as expected */ +/* #undef WORKING_UNALIGNED_INT */ + +/* Build X string registry */ +#define XREGISTRY 1 + +/* Build X-ACE extension */ +#define XACE 1 + +/* Build SELinux extension */ +/* #undef XSELINUX */ + +/* Support XCMisc extension */ +#define XCMISC 1 + +/* Build Security extension */ +/* #undef XCSECURITY */ + +/* Support Xdmcp */ +#define XDMCP 1 + +/* Build XEvIE extension */ +#define XEVIE 1 + +/* Build XFree86 BigFont extension */ +/* #undef XF86BIGFONT */ + +/* Support XFree86 miscellaneous extensions */ +/* #undef XF86MISC */ + +/* Support XFree86 Video Mode extension */ +/* #undef XF86VIDMODE */ + +/* Support XFixes extension */ +#define XFIXES 1 + +/* Build XDGA support */ +/* #undef XFreeXDGA */ + +/* Support Xinerama extension */ +/* #undef XINERAMA */ + +/* Support X Input extension */ +#define XINPUT 1 + +/* Build XKB */ +#define XKB 1 + +/* Enable XKB per default */ +#define XKB_DFLT_DISABLED 0 + +/* Build XKB server */ +/*#define XKB_IN_SERVER 1*/ + +/* Vendor release */ +/* #undef XORG_RELEASE */ + +/* Current Xorg version */ +#define XORG_VERSION_CURRENT (((1) * 10000000) + ((5) * 100000) + ((3) * 1000) + 0) + +/* Xorg release date */ +#define XORG_DATE "5 November 2008" + +/* Build Xv Extension */ +/* #undef XvExtension */ + +/* Build XvMC Extension */ +/* #undef XvMCExtension */ + +/* Build XRes extension */ +#define XResExtension 1 + +/* Support XSync extension */ +#define XSYNC 1 + +/* Support XTest extension */ +#define XTEST 1 + +/* Support XTrap extension */ +/* #undef XTRAP */ + +/* Support Xv extension */ +/* #undef XV */ + +/* Build APPGROUP extension */ +/* #undef XAPPGROUP */ + +/* Build TOG-CUP extension */ +#define TOGCUP 1 + +/* Build Extended-Visual-Information extension */ +#define EVI 1 + +/* Build Multibuffer extension */ +/* #undef MULTIBUFFER */ + +/* Support DRI extension */ +/* #undef XF86DRI */ + +/* #undef XEPHYR_DRI */ + +/* Build DRI2 extension */ +/* #undef DRI2 */ + +/* Build DBE support */ +#define DBE 1 + +/* Vendor name */ +#define XVENDORNAME "The Cygwin/X Project" + +/* Endian order */ +#ifndef X_BYTE_ORDER + +#define _X_BYTE_ORDER X_LITTLE_ENDIAN +/* Deal with multiple architecture compiles on Mac OS X */ +#ifndef __APPLE_CC__ +#define X_BYTE_ORDER _X_BYTE_ORDER +#else +#ifdef __BIG_ENDIAN__ +#define X_BYTE_ORDER X_BIG_ENDIAN +#else +#define X_BYTE_ORDER X_LITTLE_ENDIAN +#endif +#endif +#endif + +/* Enable GNU and other extensions to the C environment for GLIBC */ +/* #undef _GNU_SOURCE */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `int' if <sys/types.h> does not define. */ +/* #undef pid_t */ + +/* Build Rootless code */ +#define ROOTLESS 1 + +/* Define to 1 if unsigned long is 64 bits. */ +/* #undef _XSERVER64 */ + +/* System is BSD-like */ +/* #undef CSRG_BASED */ + +/* Define to 1 if `struct sockaddr_in' has a `sin_len' member */ +/* #undef BSD44SOCKETS */ + +/* Define to 1 if modules should avoid the libcwrapper */ +#define NO_LIBCWRAPPER 1 + +/* Support D-Bus */ +/* #undef HAVE_DBUS */ + +/* Support the D-Bus hotplug API */ +/* #undef CONFIG_DBUS_API */ + +/* Support HAL for hotplug */ +/* #undef CONFIG_HAL */ + +/* Use only built-in fonts */ +/* #undef BUILTIN_FONTS */ + +/* Avoid using font servers */ +/* #undef NOFONTSERVERACCESS */ + +/* Use an empty root cursor */ +/* #undef NULL_ROOT_CURSOR */ + +/* Have a monotonic clock from clock_gettime() */ +/* #undef MONOTONIC_CLOCK */ + +/* Define to 1 if the DTrace Xserver provider probes should be built in */ +/* #undef XSERVER_DTRACE */ + +/* Define to 16-bit byteswap macro */ +/* #undef bswap_16 */ + +/* Define to 32-bit byteswap macro */ +/* #undef bswap_32 */ + +/* Define to 64-bit byteswap macro */ +/* #undef bswap_64 */ + +/* Need the strcasecmp function. */ +/* #undef NEED_STRCASECMP */ + +/* Need the strncasecmp function. */ +/* #undef NEED_STRNCASECMP */ + +/* Need the strcasestr function. */ +#define NEED_STRCASESTR 1 + +#include <X11/Xwinsock.h> +#include <X11/Xwindows.h> +#include <assert.h> +#define strcasecmp _stricmp + +#undef MINSHORT +#undef MAXSHORT + +#define MINSHORT -32768 +#define MAXSHORT 32767 + +#endif /* _DIX_CONFIG_H_ */ diff --git a/include/dlfcn.h b/include/dlfcn.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/include/dlfcn.h diff --git a/include/inttypes.h b/include/inttypes.h new file mode 100644 index 000000000..b6dcf1662 --- /dev/null +++ b/include/inttypes.h @@ -0,0 +1,245 @@ +/* inttypes.h - fixed size integer types + + Copyright 2003 Red Hat, Inc. + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. */ + +#ifndef _INTTYPES_H +#define _INTTYPES_H + +#include <stdint.h> + +/* fprintf() macros for signed integers */ + +#define PRId8 "d" +#define PRId16 "d" +#define PRId32 "ld" +#define PRId64 "lld" + +#define PRIdLEAST8 "d" +#define PRIdLEAST16 "d" +#define PRIdLEAST32 "ld" +#define PRIdLEAST64 "lld" + +#define PRIdFAST8 "d" +#define PRIdFAST16 "ld" +#define PRIdFAST32 "ld" +#define PRIdFAST64 "lld" + +#define PRIdMAX "lld" +#define PRIdPTR "ld" + +#define PRIi8 "i" +#define PRIi16 "i" +#define PRIi32 "li" +#define PRIi64 "lli" + +#define PRIiLEAST8 "i" +#define PRIiLEAST16 "i" +#define PRIiLEAST32 "li" +#define PRIiLEAST64 "lli" + +#define PRIiFAST8 "i" +#define PRIiFAST16 "li" +#define PRIiFAST32 "li" +#define PRIiFAST64 "lli" + +#define PRIiMAX "lli" +#define PRIiPTR "li" + +/* fprintf() macros for unsigned integers */ + +#define PRIo8 "o" +#define PRIo16 "o" +#define PRIo32 "lo" +#define PRIo64 "llo" + +#define PRIoLEAST8 "o" +#define PRIoLEAST16 "o" +#define PRIoLEAST32 "lo" +#define PRIoLEAST64 "llo" + +#define PRIoFAST8 "o" +#define PRIoFAST16 "lo" +#define PRIoFAST32 "lo" +#define PRIoFAST64 "llo" + +#define PRIoMAX "llo" +#define PRIoPTR "lo" + +#define PRIu8 "u" +#define PRIu16 "u" +#define PRIu32 "lu" +#define PRIu64 "llu" + +#define PRIuLEAST8 "u" +#define PRIuLEAST16 "u" +#define PRIuLEAST32 "lu" +#define PRIuLEAST64 "llu" + +#define PRIuFAST8 "u" +#define PRIuFAST16 "lu" +#define PRIuFAST32 "lu" +#define PRIuFAST64 "llu" + +#define PRIuMAX "llu" +#define PRIuPTR "lu" + +#define PRIx8 "x" +#define PRIx16 "x" +#define PRIx32 "lx" +#define PRIx64 "llx" + +#define PRIxLEAST8 "x" +#define PRIxLEAST16 "x" +#define PRIxLEAST32 "lx" +#define PRIxLEAST64 "llx" + +#define PRIxFAST8 "x" +#define PRIxFAST16 "lx" +#define PRIxFAST32 "lx" +#define PRIxFAST64 "llx" + +#define PRIxMAX "llx" +#define PRIxPTR "lx" + +#define PRIX8 "X" +#define PRIX16 "X" +#define PRIX32 "lX" +#define PRIX64 "llX" + +#define PRIXLEAST8 "X" +#define PRIXLEAST16 "X" +#define PRIXLEAST32 "lX" +#define PRIXLEAST64 "llX" + +#define PRIXFAST8 "X" +#define PRIXFAST16 "lX" +#define PRIXFAST32 "lX" +#define PRIXFAST64 "llX" + +#define PRIXMAX "llX" +#define PRIXPTR "lX" + +/* fscanf() macros for signed integers */ + +#define SCNd8 "hhd" +#define SCNd16 "hd" +#define SCNd32 "ld" +#define SCNd64 "lld" + +#define SCNdLEAST8 "hhd" +#define SCNdLEAST16 "hd" +#define SCNdLEAST32 "ld" +#define SCNdLEAST64 "lld" + +#define SCNdFAST8 "hhd" +#define SCNdFAST16 "ld" +#define SCNdFAST32 "ld" +#define SCNdFAST64 "lld" + +#define SCNdMAX "lld" +#define SCNdPTR "ld" + +#define SCNi8 "hhi" +#define SCNi16 "hi" +#define SCNi32 "li" +#define SCNi64 "lli" + +#define SCNiLEAST8 "hhi" +#define SCNiLEAST16 "hi" +#define SCNiLEAST32 "li" +#define SCNiLEAST64 "lli" + +#define SCNiFAST8 "hhi" +#define SCNiFAST16 "li" +#define SCNiFAST32 "li" +#define SCNiFAST64 "lli" + +#define SCNiMAX "lli" +#define SCNiPTR "li" + +/* fscanf() macros for unsigned integers */ + +#define SCNo8 "hho" +#define SCNo16 "ho" +#define SCNo32 "lo" +#define SCNo64 "llo" + +#define SCNoLEAST8 "hho" +#define SCNoLEAST16 "ho" +#define SCNoLEAST32 "lo" +#define SCNoLEAST64 "llo" + +#define SCNoFAST8 "hho" +#define SCNoFAST16 "lo" +#define SCNoFAST32 "lo" +#define SCNoFAST64 "llo" + +#define SCNoMAX "llo" +#define SCNoPTR "lo" + +#define SCNu8 "hhu" +#define SCNu16 "hu" +#define SCNu32 "lu" +#define SCNu64 "llu" + +#define SCNuLEAST8 "hhu" +#define SCNuLEAST16 "hu" +#define SCNuLEAST32 "lu" +#define SCNuLEAST64 "llu" + +#define SCNuFAST8 "hhu" +#define SCNuFAST16 "lu" +#define SCNuFAST32 "lu" +#define SCNuFAST64 "llu" + +#define SCNuMAX "llu" +#define SCNuPTR "lu" + +#define SCNx8 "hhx" +#define SCNx16 "hx" +#define SCNx32 "lx" +#define SCNx64 "llx" + +#define SCNxLEAST8 "hhx" +#define SCNxLEAST16 "hx" +#define SCNxLEAST32 "lx" +#define SCNxLEAST64 "llx" + +#define SCNxFAST8 "hhx" +#define SCNxFAST16 "lx" +#define SCNxFAST32 "lx" +#define SCNxFAST64 "llx" + +#define SCNxMAX "llx" +#define SCNxPTR "lx" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct { + intmax_t quot; + intmax_t rem; +} imaxdiv_t; + +#if 0 /* Not yet defined */ +intmax_t _EXFUN(imaxabs, (intmax_t)); +imaxdiv_t _EXFUN(imaxdiv, (intmax_t, intmax_t)); +intmax_t _EXFUN(strtoimax, (const char *, char **, int)); +uintmax_t _EXFUN(strtoumax, (const char *, char **, int)); + +intmax_t _EXFUN(wcstoimax, (const wchar_t *, wchar_t **, int)); +uintmax_t _EXFUN(wcstoumax, (const wchar_t *, wchar_t **, int)); +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* _INTTYPES_H */ diff --git a/include/kdrive-config.h b/include/kdrive-config.h new file mode 100644 index 000000000..fdfd80f73 --- /dev/null +++ b/include/kdrive-config.h @@ -0,0 +1,35 @@ +/* include/kdrive-config.h. Generated from kdrive-config.h.in by configure. */ +/* kdrive-config.h.in: not at all generated. -*- c -*- + */ + +#ifndef _KDRIVE_CONFIG_H_ +#define _KDRIVE_CONFIG_H_ + +#include <dix-config.h> +#include <xkb-config.h> + +/* Building kdrive server. */ +#define KDRIVESERVER 1 + +/* Include framebuffer support in X servers */ +/* #undef KDRIVEFBDEV */ + +/* Include vesa support in X servers */ +/* #undef KDRIVEVESA */ + +/* Enable touchscreen support */ +/* #undef TOUCHSCREEN */ + +/* Support tslib touchscreen abstraction library */ +/* #undef TSLIB */ + +/* Verbose debugging output hilarity */ +/* #undef DEBUG */ + +/* Have the backtrace() function. */ +/* #undef HAVE_BACKTRACE */ + +/* Have execinfo.h for backtrace(). */ +/* #undef HAVE_EXECINFO_H */ + +#endif /* _KDRIVE_CONFIG_H_ */ diff --git a/include/stdint.h b/include/stdint.h new file mode 100644 index 000000000..dbcfbc18e --- /dev/null +++ b/include/stdint.h @@ -0,0 +1,170 @@ +/* stdint.h - integer types + + Copyright 2003, 2006, 2007 Red Hat, Inc. + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. */ + +#ifndef _STDINT_H +#define _STDINT_H + +/* Exact-width integer types */ + +#ifndef __int8_t_defined +#define __int8_t_defined +typedef signed char int8_t; +typedef short int16_t; +typedef long long int64_t; +#endif + +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; + +/* Minimum-width integer types */ + +typedef signed char int_least8_t; +typedef short int_least16_t; +typedef long int_least32_t; +typedef long long int_least64_t; + +typedef unsigned char uint_least8_t; +typedef unsigned short uint_least16_t; +typedef unsigned long uint_least32_t; +typedef unsigned long long uint_least64_t; + +/* Fastest minimum-width integer types */ + +typedef signed char int_fast8_t; +typedef long int_fast16_t; +typedef long int_fast32_t; +typedef long long int_fast64_t; + +typedef unsigned char uint_fast8_t; +typedef unsigned long uint_fast16_t; +typedef unsigned long uint_fast32_t; +typedef unsigned long long uint_fast64_t; + +/* Integer types capable of holding object pointers */ + +/* Greatest-width integer types */ + +typedef long long intmax_t; +typedef unsigned long long uintmax_t; + +/* Limits of exact-width integer types */ + +#define INT8_MIN (-128) +#define INT16_MIN (-32768) +#define INT32_MIN (-2147483647 - 1) +#define INT64_MIN (-9223372036854775807LL - 1LL) + +#define INT8_MAX (127) +#define INT16_MAX (32767) +#define INT32_MAX (2147483647) +#define INT64_MAX (9223372036854775807LL) + +#define UINT8_MAX (255) +#define UINT16_MAX (65535) +#define UINT32_MAX (4294967295UL) +#define UINT64_MAX (18446744073709551615ULL) + +/* Limits of minimum-width integer types */ + +#define INT_LEAST8_MIN (-128) +#define INT_LEAST16_MIN (-32768) +#define INT_LEAST32_MIN (-2147483647 - 1) +#define INT_LEAST64_MIN (-9223372036854775807LL - 1LL) + +#define INT_LEAST8_MAX (127) +#define INT_LEAST16_MAX (32767) +#define INT_LEAST32_MAX (2147483647) +#define INT_LEAST64_MAX (9223372036854775807LL) + +#define UINT_LEAST8_MAX (255) +#define UINT_LEAST16_MAX (65535) +#define UINT_LEAST32_MAX (4294967295UL) +#define UINT_LEAST64_MAX (18446744073709551615ULL) + +/* Limits of fastest minimum-width integer types */ + +#define INT_FAST8_MIN (-128) +#define INT_FAST16_MIN (-2147483647 - 1) +#define INT_FAST32_MIN (-2147483647 - 1) +#define INT_FAST64_MIN (-9223372036854775807LL - 1LL) + +#define INT_FAST8_MAX (127) +#define INT_FAST16_MAX (2147483647) +#define INT_FAST32_MAX (2147483647) +#define INT_FAST64_MAX (9223372036854775807LL) + +#define UINT_FAST8_MAX (255) +#define UINT_FAST16_MAX (4294967295UL) +#define UINT_FAST32_MAX (4294967295UL) +#define UINT_FAST64_MAX (18446744073709551615ULL) + +/* Limits of integer types capable of holding object pointers */ + +#define INTPTR_MIN (-2147483647 - 1) +#define INTPTR_MAX (2147483647) +#define UINTPTR_MAX (4294967295UL) + +/* Limits of greatest-width integer types */ + +#define INTMAX_MIN (-9223372036854775807LL - 1LL) +#define INTMAX_MAX (9223372036854775807LL) +#define UINTMAX_MAX (18446744073709551615ULL) + +/* Limits of other integer types */ + +#ifndef PTRDIFF_MIN +#define PTRDIFF_MIN (-2147483647 - 1) +#define PTRDIFF_MAX (2147483647) +#endif + +#ifndef SIG_ATOMIC_MIN +#define SIG_ATOMIC_MIN (-2147483647 - 1) +#endif +#ifndef SIG_ATOMIC_MAX +#define SIG_ATOMIC_MAX (2147483647) +#endif + +#ifndef SIZE_MAX +#define SIZE_MAX (4294967295UL) +#endif + +#ifndef WCHAR_MIN +#ifdef __WCHAR_MIN__ +#define WCHAR_MIN __WCHAR_MIN__ +#define WCHAR_MAX __WCHAR_MAX__ +#else +#define WCHAR_MIN (0) +#define WCHAR_MAX (65535) +#endif +#endif + +#ifndef WINT_MIN +#define WINT_MIN 0U +#define WINT_MAX UINT_MAX +#endif + +/* Macros for minimum-width integer constant expressions */ + +#define INT8_C(x) x +#define INT16_C(x) x +#define INT32_C(x) x ## L +#define INT64_C(x) x ## LL + +#define UINT8_C(x) x +#define UINT16_C(x) x +#define UINT32_C(x) x ## UL +#define UINT64_C(x) x ## ULL + +/* Macros for greatest-width integer constant expressions */ + +#define INTMAX_C(x) x ## LL +#define UINTMAX_C(x) x ## ULL + +#endif /* _STDINT_H */ diff --git a/include/strings.h b/include/strings.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/include/strings.h diff --git a/include/sys/time.h b/include/sys/time.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/include/sys/time.h diff --git a/include/unistd.h b/include/unistd.h new file mode 100644 index 000000000..9bb36d7e0 --- /dev/null +++ b/include/unistd.h @@ -0,0 +1,7 @@ +#ifndef __UNISTD_H__
+#define __UNISTD_H__
+
+#define strcasecmp _stricmp
+#define snprintf _snprintf
+
+#endif
diff --git a/include/xcb/bigreq.h b/include/xcb/bigreq.h new file mode 100644 index 000000000..72a88666b --- /dev/null +++ b/include/xcb/bigreq.h @@ -0,0 +1,131 @@ +/* + * This file generated automatically from bigreq.xml by c-client.xsl using XSLT. + * Edit at your peril. + */ + +/** + * @defgroup XCB_BigRequests_API XCB BigRequests API + * @brief BigRequests XCB Protocol Implementation. + * @{ + **/ + +#ifndef __BIGREQ_H +#define __BIGREQ_H + +#include "xcb.h" + +#define XCB_BIGREQUESTS_MAJOR_VERSION 0 +#define XCB_BIGREQUESTS_MINOR_VERSION 0 + +extern xcb_extension_t xcb_big_requests_id; + +/** + * @brief xcb_big_requests_enable_cookie_t + **/ +typedef struct xcb_big_requests_enable_cookie_t { + unsigned int sequence; /**< */ +} xcb_big_requests_enable_cookie_t; + +/** Opcode for xcb_big_requests_enable. */ +#define XCB_BIG_REQUESTS_ENABLE 0 + +/** + * @brief xcb_big_requests_enable_request_t + **/ +typedef struct xcb_big_requests_enable_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ +} xcb_big_requests_enable_request_t; + +/** + * @brief xcb_big_requests_enable_reply_t + **/ +typedef struct xcb_big_requests_enable_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t maximum_request_length; /**< */ +} xcb_big_requests_enable_reply_t; + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable + ** + ** @param xcb_connection_t *c + ** @returns xcb_big_requests_enable_cookie_t + ** + *****************************************************************************/ + +xcb_big_requests_enable_cookie_t +xcb_big_requests_enable (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_big_requests_enable_cookie_t + ** + *****************************************************************************/ + +xcb_big_requests_enable_cookie_t +xcb_big_requests_enable_unchecked (xcb_connection_t *c /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_big_requests_enable_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_big_requests_enable_reply_t * xcb_big_requests_enable_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_big_requests_enable_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_big_requests_enable_reply_t * + ** + *****************************************************************************/ + +xcb_big_requests_enable_reply_t * +xcb_big_requests_enable_reply (xcb_connection_t *c /**< */, + xcb_big_requests_enable_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + + +#endif + +/** + * @} + */ diff --git a/include/xcb/render.h b/include/xcb/render.h new file mode 100644 index 000000000..fd492e34a --- /dev/null +++ b/include/xcb/render.h @@ -0,0 +1,4367 @@ +/* + * This file generated automatically from render.xml by c-client.xsl using XSLT. + * Edit at your peril. + */ + +/** + * @defgroup XCB_Render_API XCB Render API + * @brief Render XCB Protocol Implementation. + * @{ + **/ + +#ifndef __RENDER_H +#define __RENDER_H + +#include "xcb.h" +#include "xproto.h" + +#define XCB_RENDER_MAJOR_VERSION 0 +#define XCB_RENDER_MINOR_VERSION 10 + +extern xcb_extension_t xcb_render_id; + +typedef enum xcb_render_pict_type_t { + XCB_RENDER_PICT_TYPE_INDEXED, + XCB_RENDER_PICT_TYPE_DIRECT +} xcb_render_pict_type_t; + +typedef enum xcb_render_pict_op_t { + XCB_RENDER_PICT_OP_CLEAR, + XCB_RENDER_PICT_OP_SRC, + XCB_RENDER_PICT_OP_DST, + XCB_RENDER_PICT_OP_OVER, + XCB_RENDER_PICT_OP_OVER_REVERSE, + XCB_RENDER_PICT_OP_IN, + XCB_RENDER_PICT_OP_IN_REVERSE, + XCB_RENDER_PICT_OP_OUT, + XCB_RENDER_PICT_OP_OUT_REVERSE, + XCB_RENDER_PICT_OP_ATOP, + XCB_RENDER_PICT_OP_ATOP_REVERSE, + XCB_RENDER_PICT_OP_XOR, + XCB_RENDER_PICT_OP_ADD, + XCB_RENDER_PICT_OP_SATURATE, + XCB_RENDER_PICT_OP_DISJOINT_CLEAR = 0x10, + XCB_RENDER_PICT_OP_DISJOINT_SRC, + XCB_RENDER_PICT_OP_DISJOINT_DST, + XCB_RENDER_PICT_OP_DISJOINT_OVER, + XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE, + XCB_RENDER_PICT_OP_DISJOINT_IN, + XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE, + XCB_RENDER_PICT_OP_DISJOINT_OUT, + XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE, + XCB_RENDER_PICT_OP_DISJOINT_ATOP, + XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE, + XCB_RENDER_PICT_OP_DISJOINT_XOR, + XCB_RENDER_PICT_OP_CONJOINT_CLEAR = 0x20, + XCB_RENDER_PICT_OP_CONJOINT_SRC, + XCB_RENDER_PICT_OP_CONJOINT_DST, + XCB_RENDER_PICT_OP_CONJOINT_OVER, + XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE, + XCB_RENDER_PICT_OP_CONJOINT_IN, + XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE, + XCB_RENDER_PICT_OP_CONJOINT_OUT, + XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE, + XCB_RENDER_PICT_OP_CONJOINT_ATOP, + XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE, + XCB_RENDER_PICT_OP_CONJOINT_XOR +} xcb_render_pict_op_t; + +typedef enum xcb_render_poly_edge_t { + XCB_RENDER_POLY_EDGE_SHARP, + XCB_RENDER_POLY_EDGE_SMOOTH +} xcb_render_poly_edge_t; + +typedef enum xcb_render_poly_mode_t { + XCB_RENDER_POLY_MODE_PRECISE, + XCB_RENDER_POLY_MODE_IMPRECISE +} xcb_render_poly_mode_t; + +typedef enum xcb_render_cp_t { + XCB_RENDER_CP_REPEAT = (1 << 0), + XCB_RENDER_CP_ALPHA_MAP = (1 << 1), + XCB_RENDER_CP_ALPHA_X_ORIGIN = (1 << 2), + XCB_RENDER_CP_ALPHA_Y_ORIGIN = (1 << 3), + XCB_RENDER_CP_CLIP_X_ORIGIN = (1 << 4), + XCB_RENDER_CP_CLIP_Y_ORIGIN = (1 << 5), + XCB_RENDER_CP_CLIP_MASK = (1 << 6), + XCB_RENDER_CP_GRAPHICS_EXPOSURE = (1 << 7), + XCB_RENDER_CP_SUBWINDOW_MODE = (1 << 8), + XCB_RENDER_CP_POLY_EDGE = (1 << 9), + XCB_RENDER_CP_POLY_MODE = (1 << 10), + XCB_RENDER_CP_DITHER = (1 << 11), + XCB_RENDER_CP_COMPONENT_ALPHA = (1 << 12) +} xcb_render_cp_t; + +typedef enum xcb_render_sub_pixel_t { + XCB_RENDER_SUB_PIXEL_UNKNOWN, + XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB, + XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR, + XCB_RENDER_SUB_PIXEL_VERTICAL_RGB, + XCB_RENDER_SUB_PIXEL_VERTICAL_BGR, + XCB_RENDER_SUB_PIXEL_NONE +} xcb_render_sub_pixel_t; + +typedef enum xcb_render_repeat_t { + XCB_RENDER_REPEAT_NONE, + XCB_RENDER_REPEAT_NORMAL, + XCB_RENDER_REPEAT_PAD, + XCB_RENDER_REPEAT_REFLECT +} xcb_render_repeat_t; + +typedef uint32_t xcb_render_glyph_t; + +/** + * @brief xcb_render_glyph_iterator_t + **/ +typedef struct xcb_render_glyph_iterator_t { + xcb_render_glyph_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_glyph_iterator_t; + +typedef uint32_t xcb_render_glyphset_t; + +/** + * @brief xcb_render_glyphset_iterator_t + **/ +typedef struct xcb_render_glyphset_iterator_t { + xcb_render_glyphset_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_glyphset_iterator_t; + +typedef uint32_t xcb_render_picture_t; + +/** + * @brief xcb_render_picture_iterator_t + **/ +typedef struct xcb_render_picture_iterator_t { + xcb_render_picture_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_picture_iterator_t; + +typedef uint32_t xcb_render_pictformat_t; + +/** + * @brief xcb_render_pictformat_iterator_t + **/ +typedef struct xcb_render_pictformat_iterator_t { + xcb_render_pictformat_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_pictformat_iterator_t; + +typedef int32_t xcb_render_fixed_t; + +/** + * @brief xcb_render_fixed_iterator_t + **/ +typedef struct xcb_render_fixed_iterator_t { + xcb_render_fixed_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_fixed_iterator_t; + +/** Opcode for xcb_render_pict_format. */ +#define XCB_RENDER_PICT_FORMAT 0 + +/** + * @brief xcb_render_pict_format_error_t + **/ +typedef struct xcb_render_pict_format_error_t { + uint8_t response_type; /**< */ + uint8_t error_code; /**< */ + uint16_t sequence; /**< */ +} xcb_render_pict_format_error_t; + +/** Opcode for xcb_render_picture. */ +#define XCB_RENDER_PICTURE 1 + +/** + * @brief xcb_render_picture_error_t + **/ +typedef struct xcb_render_picture_error_t { + uint8_t response_type; /**< */ + uint8_t error_code; /**< */ + uint16_t sequence; /**< */ +} xcb_render_picture_error_t; + +/** Opcode for xcb_render_pict_op. */ +#define XCB_RENDER_PICT_OP 2 + +/** + * @brief xcb_render_pict_op_error_t + **/ +typedef struct xcb_render_pict_op_error_t { + uint8_t response_type; /**< */ + uint8_t error_code; /**< */ + uint16_t sequence; /**< */ +} xcb_render_pict_op_error_t; + +/** Opcode for xcb_render_glyph_set. */ +#define XCB_RENDER_GLYPH_SET 3 + +/** + * @brief xcb_render_glyph_set_error_t + **/ +typedef struct xcb_render_glyph_set_error_t { + uint8_t response_type; /**< */ + uint8_t error_code; /**< */ + uint16_t sequence; /**< */ +} xcb_render_glyph_set_error_t; + +/** Opcode for xcb_render_glyph. */ +#define XCB_RENDER_GLYPH 4 + +/** + * @brief xcb_render_glyph_error_t + **/ +typedef struct xcb_render_glyph_error_t { + uint8_t response_type; /**< */ + uint8_t error_code; /**< */ + uint16_t sequence; /**< */ +} xcb_render_glyph_error_t; + +/** + * @brief xcb_render_directformat_t + **/ +typedef struct xcb_render_directformat_t { + uint16_t red_shift; /**< */ + uint16_t red_mask; /**< */ + uint16_t green_shift; /**< */ + uint16_t green_mask; /**< */ + uint16_t blue_shift; /**< */ + uint16_t blue_mask; /**< */ + uint16_t alpha_shift; /**< */ + uint16_t alpha_mask; /**< */ +} xcb_render_directformat_t; + +/** + * @brief xcb_render_directformat_iterator_t + **/ +typedef struct xcb_render_directformat_iterator_t { + xcb_render_directformat_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_directformat_iterator_t; + +/** + * @brief xcb_render_pictforminfo_t + **/ +typedef struct xcb_render_pictforminfo_t { + xcb_render_pictformat_t id; /**< */ + uint8_t type; /**< */ + uint8_t depth; /**< */ + uint8_t pad0[2]; /**< */ + xcb_render_directformat_t direct; /**< */ + xcb_colormap_t colormap; /**< */ +} xcb_render_pictforminfo_t; + +/** + * @brief xcb_render_pictforminfo_iterator_t + **/ +typedef struct xcb_render_pictforminfo_iterator_t { + xcb_render_pictforminfo_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_pictforminfo_iterator_t; + +/** + * @brief xcb_render_pictvisual_t + **/ +typedef struct xcb_render_pictvisual_t { + xcb_visualid_t visual; /**< */ + xcb_render_pictformat_t format; /**< */ +} xcb_render_pictvisual_t; + +/** + * @brief xcb_render_pictvisual_iterator_t + **/ +typedef struct xcb_render_pictvisual_iterator_t { + xcb_render_pictvisual_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_pictvisual_iterator_t; + +/** + * @brief xcb_render_pictdepth_t + **/ +typedef struct xcb_render_pictdepth_t { + uint8_t depth; /**< */ + uint8_t pad0; /**< */ + uint16_t num_visuals; /**< */ + uint8_t pad1[4]; /**< */ +} xcb_render_pictdepth_t; + +/** + * @brief xcb_render_pictdepth_iterator_t + **/ +typedef struct xcb_render_pictdepth_iterator_t { + xcb_render_pictdepth_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_pictdepth_iterator_t; + +/** + * @brief xcb_render_pictscreen_t + **/ +typedef struct xcb_render_pictscreen_t { + uint32_t num_depths; /**< */ + xcb_render_pictformat_t fallback; /**< */ +} xcb_render_pictscreen_t; + +/** + * @brief xcb_render_pictscreen_iterator_t + **/ +typedef struct xcb_render_pictscreen_iterator_t { + xcb_render_pictscreen_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_pictscreen_iterator_t; + +/** + * @brief xcb_render_indexvalue_t + **/ +typedef struct xcb_render_indexvalue_t { + uint32_t pixel; /**< */ + uint16_t red; /**< */ + uint16_t green; /**< */ + uint16_t blue; /**< */ + uint16_t alpha; /**< */ +} xcb_render_indexvalue_t; + +/** + * @brief xcb_render_indexvalue_iterator_t + **/ +typedef struct xcb_render_indexvalue_iterator_t { + xcb_render_indexvalue_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_indexvalue_iterator_t; + +/** + * @brief xcb_render_color_t + **/ +typedef struct xcb_render_color_t { + uint16_t red; /**< */ + uint16_t green; /**< */ + uint16_t blue; /**< */ + uint16_t alpha; /**< */ +} xcb_render_color_t; + +/** + * @brief xcb_render_color_iterator_t + **/ +typedef struct xcb_render_color_iterator_t { + xcb_render_color_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_color_iterator_t; + +/** + * @brief xcb_render_pointfix_t + **/ +typedef struct xcb_render_pointfix_t { + xcb_render_fixed_t x; /**< */ + xcb_render_fixed_t y; /**< */ +} xcb_render_pointfix_t; + +/** + * @brief xcb_render_pointfix_iterator_t + **/ +typedef struct xcb_render_pointfix_iterator_t { + xcb_render_pointfix_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_pointfix_iterator_t; + +/** + * @brief xcb_render_linefix_t + **/ +typedef struct xcb_render_linefix_t { + xcb_render_pointfix_t p1; /**< */ + xcb_render_pointfix_t p2; /**< */ +} xcb_render_linefix_t; + +/** + * @brief xcb_render_linefix_iterator_t + **/ +typedef struct xcb_render_linefix_iterator_t { + xcb_render_linefix_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_linefix_iterator_t; + +/** + * @brief xcb_render_triangle_t + **/ +typedef struct xcb_render_triangle_t { + xcb_render_pointfix_t p1; /**< */ + xcb_render_pointfix_t p2; /**< */ + xcb_render_pointfix_t p3; /**< */ +} xcb_render_triangle_t; + +/** + * @brief xcb_render_triangle_iterator_t + **/ +typedef struct xcb_render_triangle_iterator_t { + xcb_render_triangle_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_triangle_iterator_t; + +/** + * @brief xcb_render_trapezoid_t + **/ +typedef struct xcb_render_trapezoid_t { + xcb_render_fixed_t top; /**< */ + xcb_render_fixed_t bottom; /**< */ + xcb_render_linefix_t left; /**< */ + xcb_render_linefix_t right; /**< */ +} xcb_render_trapezoid_t; + +/** + * @brief xcb_render_trapezoid_iterator_t + **/ +typedef struct xcb_render_trapezoid_iterator_t { + xcb_render_trapezoid_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_trapezoid_iterator_t; + +/** + * @brief xcb_render_glyphinfo_t + **/ +typedef struct xcb_render_glyphinfo_t { + uint16_t width; /**< */ + uint16_t height; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + int16_t x_off; /**< */ + int16_t y_off; /**< */ +} xcb_render_glyphinfo_t; + +/** + * @brief xcb_render_glyphinfo_iterator_t + **/ +typedef struct xcb_render_glyphinfo_iterator_t { + xcb_render_glyphinfo_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_glyphinfo_iterator_t; + +/** + * @brief xcb_render_query_version_cookie_t + **/ +typedef struct xcb_render_query_version_cookie_t { + unsigned int sequence; /**< */ +} xcb_render_query_version_cookie_t; + +/** Opcode for xcb_render_query_version. */ +#define XCB_RENDER_QUERY_VERSION 0 + +/** + * @brief xcb_render_query_version_request_t + **/ +typedef struct xcb_render_query_version_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint32_t client_major_version; /**< */ + uint32_t client_minor_version; /**< */ +} xcb_render_query_version_request_t; + +/** + * @brief xcb_render_query_version_reply_t + **/ +typedef struct xcb_render_query_version_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t major_version; /**< */ + uint32_t minor_version; /**< */ + uint8_t pad1[16]; /**< */ +} xcb_render_query_version_reply_t; + +/** + * @brief xcb_render_query_pict_formats_cookie_t + **/ +typedef struct xcb_render_query_pict_formats_cookie_t { + unsigned int sequence; /**< */ +} xcb_render_query_pict_formats_cookie_t; + +/** Opcode for xcb_render_query_pict_formats. */ +#define XCB_RENDER_QUERY_PICT_FORMATS 1 + +/** + * @brief xcb_render_query_pict_formats_request_t + **/ +typedef struct xcb_render_query_pict_formats_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ +} xcb_render_query_pict_formats_request_t; + +/** + * @brief xcb_render_query_pict_formats_reply_t + **/ +typedef struct xcb_render_query_pict_formats_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t num_formats; /**< */ + uint32_t num_screens; /**< */ + uint32_t num_depths; /**< */ + uint32_t num_visuals; /**< */ + uint32_t num_subpixel; /**< */ + uint8_t pad1[4]; /**< */ +} xcb_render_query_pict_formats_reply_t; + +/** + * @brief xcb_render_query_pict_index_values_cookie_t + **/ +typedef struct xcb_render_query_pict_index_values_cookie_t { + unsigned int sequence; /**< */ +} xcb_render_query_pict_index_values_cookie_t; + +/** Opcode for xcb_render_query_pict_index_values. */ +#define XCB_RENDER_QUERY_PICT_INDEX_VALUES 2 + +/** + * @brief xcb_render_query_pict_index_values_request_t + **/ +typedef struct xcb_render_query_pict_index_values_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_pictformat_t format; /**< */ +} xcb_render_query_pict_index_values_request_t; + +/** + * @brief xcb_render_query_pict_index_values_reply_t + **/ +typedef struct xcb_render_query_pict_index_values_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t num_values; /**< */ + uint8_t pad1[20]; /**< */ +} xcb_render_query_pict_index_values_reply_t; + +/** Opcode for xcb_render_create_picture. */ +#define XCB_RENDER_CREATE_PICTURE 4 + +/** + * @brief xcb_render_create_picture_request_t + **/ +typedef struct xcb_render_create_picture_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t pid; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_render_pictformat_t format; /**< */ + uint32_t value_mask; /**< */ +} xcb_render_create_picture_request_t; + +/** Opcode for xcb_render_change_picture. */ +#define XCB_RENDER_CHANGE_PICTURE 5 + +/** + * @brief xcb_render_change_picture_request_t + **/ +typedef struct xcb_render_change_picture_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + uint32_t value_mask; /**< */ +} xcb_render_change_picture_request_t; + +/** Opcode for xcb_render_set_picture_clip_rectangles. */ +#define XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES 6 + +/** + * @brief xcb_render_set_picture_clip_rectangles_request_t + **/ +typedef struct xcb_render_set_picture_clip_rectangles_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + int16_t clip_x_origin; /**< */ + int16_t clip_y_origin; /**< */ +} xcb_render_set_picture_clip_rectangles_request_t; + +/** Opcode for xcb_render_free_picture. */ +#define XCB_RENDER_FREE_PICTURE 7 + +/** + * @brief xcb_render_free_picture_request_t + **/ +typedef struct xcb_render_free_picture_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ +} xcb_render_free_picture_request_t; + +/** Opcode for xcb_render_composite. */ +#define XCB_RENDER_COMPOSITE 8 + +/** + * @brief xcb_render_composite_request_t + **/ +typedef struct xcb_render_composite_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t mask; /**< */ + xcb_render_picture_t dst; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ + int16_t mask_x; /**< */ + int16_t mask_y; /**< */ + int16_t dst_x; /**< */ + int16_t dst_y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_render_composite_request_t; + +/** Opcode for xcb_render_trapezoids. */ +#define XCB_RENDER_TRAPEZOIDS 10 + +/** + * @brief xcb_render_trapezoids_request_t + **/ +typedef struct xcb_render_trapezoids_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_pictformat_t mask_format; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_render_trapezoids_request_t; + +/** Opcode for xcb_render_triangles. */ +#define XCB_RENDER_TRIANGLES 11 + +/** + * @brief xcb_render_triangles_request_t + **/ +typedef struct xcb_render_triangles_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_pictformat_t mask_format; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_render_triangles_request_t; + +/** Opcode for xcb_render_tri_strip. */ +#define XCB_RENDER_TRI_STRIP 12 + +/** + * @brief xcb_render_tri_strip_request_t + **/ +typedef struct xcb_render_tri_strip_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_pictformat_t mask_format; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_render_tri_strip_request_t; + +/** Opcode for xcb_render_tri_fan. */ +#define XCB_RENDER_TRI_FAN 13 + +/** + * @brief xcb_render_tri_fan_request_t + **/ +typedef struct xcb_render_tri_fan_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_pictformat_t mask_format; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_render_tri_fan_request_t; + +/** Opcode for xcb_render_create_glyph_set. */ +#define XCB_RENDER_CREATE_GLYPH_SET 17 + +/** + * @brief xcb_render_create_glyph_set_request_t + **/ +typedef struct xcb_render_create_glyph_set_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_glyphset_t gsid; /**< */ + xcb_render_pictformat_t format; /**< */ +} xcb_render_create_glyph_set_request_t; + +/** Opcode for xcb_render_reference_glyph_set. */ +#define XCB_RENDER_REFERENCE_GLYPH_SET 18 + +/** + * @brief xcb_render_reference_glyph_set_request_t + **/ +typedef struct xcb_render_reference_glyph_set_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_glyphset_t gsid; /**< */ + xcb_render_glyphset_t existing; /**< */ +} xcb_render_reference_glyph_set_request_t; + +/** Opcode for xcb_render_free_glyph_set. */ +#define XCB_RENDER_FREE_GLYPH_SET 19 + +/** + * @brief xcb_render_free_glyph_set_request_t + **/ +typedef struct xcb_render_free_glyph_set_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_glyphset_t glyphset; /**< */ +} xcb_render_free_glyph_set_request_t; + +/** Opcode for xcb_render_add_glyphs. */ +#define XCB_RENDER_ADD_GLYPHS 20 + +/** + * @brief xcb_render_add_glyphs_request_t + **/ +typedef struct xcb_render_add_glyphs_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_glyphset_t glyphset; /**< */ + uint32_t glyphs_len; /**< */ +} xcb_render_add_glyphs_request_t; + +/** Opcode for xcb_render_free_glyphs. */ +#define XCB_RENDER_FREE_GLYPHS 22 + +/** + * @brief xcb_render_free_glyphs_request_t + **/ +typedef struct xcb_render_free_glyphs_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_glyphset_t glyphset; /**< */ +} xcb_render_free_glyphs_request_t; + +/** Opcode for xcb_render_composite_glyphs_8. */ +#define XCB_RENDER_COMPOSITE_GLYPHS_8 23 + +/** + * @brief xcb_render_composite_glyphs_8_request_t + **/ +typedef struct xcb_render_composite_glyphs_8_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_pictformat_t mask_format; /**< */ + xcb_render_glyphset_t glyphset; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_render_composite_glyphs_8_request_t; + +/** Opcode for xcb_render_composite_glyphs_16. */ +#define XCB_RENDER_COMPOSITE_GLYPHS_16 24 + +/** + * @brief xcb_render_composite_glyphs_16_request_t + **/ +typedef struct xcb_render_composite_glyphs_16_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_pictformat_t mask_format; /**< */ + xcb_render_glyphset_t glyphset; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_render_composite_glyphs_16_request_t; + +/** Opcode for xcb_render_composite_glyphs_32. */ +#define XCB_RENDER_COMPOSITE_GLYPHS_32 25 + +/** + * @brief xcb_render_composite_glyphs_32_request_t + **/ +typedef struct xcb_render_composite_glyphs_32_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t src; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_pictformat_t mask_format; /**< */ + xcb_render_glyphset_t glyphset; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_render_composite_glyphs_32_request_t; + +/** Opcode for xcb_render_fill_rectangles. */ +#define XCB_RENDER_FILL_RECTANGLES 26 + +/** + * @brief xcb_render_fill_rectangles_request_t + **/ +typedef struct xcb_render_fill_rectangles_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint8_t op; /**< */ + uint8_t pad0[3]; /**< */ + xcb_render_picture_t dst; /**< */ + xcb_render_color_t color; /**< */ +} xcb_render_fill_rectangles_request_t; + +/** Opcode for xcb_render_create_cursor. */ +#define XCB_RENDER_CREATE_CURSOR 27 + +/** + * @brief xcb_render_create_cursor_request_t + **/ +typedef struct xcb_render_create_cursor_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_cursor_t cid; /**< */ + xcb_render_picture_t source; /**< */ + uint16_t x; /**< */ + uint16_t y; /**< */ +} xcb_render_create_cursor_request_t; + +/** + * @brief xcb_render_transform_t + **/ +typedef struct xcb_render_transform_t { + xcb_render_fixed_t matrix11; /**< */ + xcb_render_fixed_t matrix12; /**< */ + xcb_render_fixed_t matrix13; /**< */ + xcb_render_fixed_t matrix21; /**< */ + xcb_render_fixed_t matrix22; /**< */ + xcb_render_fixed_t matrix23; /**< */ + xcb_render_fixed_t matrix31; /**< */ + xcb_render_fixed_t matrix32; /**< */ + xcb_render_fixed_t matrix33; /**< */ +} xcb_render_transform_t; + +/** + * @brief xcb_render_transform_iterator_t + **/ +typedef struct xcb_render_transform_iterator_t { + xcb_render_transform_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_transform_iterator_t; + +/** Opcode for xcb_render_set_picture_transform. */ +#define XCB_RENDER_SET_PICTURE_TRANSFORM 28 + +/** + * @brief xcb_render_set_picture_transform_request_t + **/ +typedef struct xcb_render_set_picture_transform_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + xcb_render_transform_t transform; /**< */ +} xcb_render_set_picture_transform_request_t; + +/** + * @brief xcb_render_query_filters_cookie_t + **/ +typedef struct xcb_render_query_filters_cookie_t { + unsigned int sequence; /**< */ +} xcb_render_query_filters_cookie_t; + +/** Opcode for xcb_render_query_filters. */ +#define XCB_RENDER_QUERY_FILTERS 29 + +/** + * @brief xcb_render_query_filters_request_t + **/ +typedef struct xcb_render_query_filters_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ +} xcb_render_query_filters_request_t; + +/** + * @brief xcb_render_query_filters_reply_t + **/ +typedef struct xcb_render_query_filters_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t num_aliases; /**< */ + uint32_t num_filters; /**< */ + uint8_t pad1[16]; /**< */ +} xcb_render_query_filters_reply_t; + +/** Opcode for xcb_render_set_picture_filter. */ +#define XCB_RENDER_SET_PICTURE_FILTER 30 + +/** + * @brief xcb_render_set_picture_filter_request_t + **/ +typedef struct xcb_render_set_picture_filter_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + uint16_t filter_len; /**< */ +} xcb_render_set_picture_filter_request_t; + +/** + * @brief xcb_render_animcursorelt_t + **/ +typedef struct xcb_render_animcursorelt_t { + xcb_cursor_t cursor; /**< */ + uint32_t delay; /**< */ +} xcb_render_animcursorelt_t; + +/** + * @brief xcb_render_animcursorelt_iterator_t + **/ +typedef struct xcb_render_animcursorelt_iterator_t { + xcb_render_animcursorelt_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_animcursorelt_iterator_t; + +/** Opcode for xcb_render_create_anim_cursor. */ +#define XCB_RENDER_CREATE_ANIM_CURSOR 31 + +/** + * @brief xcb_render_create_anim_cursor_request_t + **/ +typedef struct xcb_render_create_anim_cursor_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_cursor_t cid; /**< */ +} xcb_render_create_anim_cursor_request_t; + +/** + * @brief xcb_render_spanfix_t + **/ +typedef struct xcb_render_spanfix_t { + xcb_render_fixed_t l; /**< */ + xcb_render_fixed_t r; /**< */ + xcb_render_fixed_t y; /**< */ +} xcb_render_spanfix_t; + +/** + * @brief xcb_render_spanfix_iterator_t + **/ +typedef struct xcb_render_spanfix_iterator_t { + xcb_render_spanfix_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_spanfix_iterator_t; + +/** + * @brief xcb_render_trap_t + **/ +typedef struct xcb_render_trap_t { + xcb_render_spanfix_t top; /**< */ + xcb_render_spanfix_t bot; /**< */ +} xcb_render_trap_t; + +/** + * @brief xcb_render_trap_iterator_t + **/ +typedef struct xcb_render_trap_iterator_t { + xcb_render_trap_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_render_trap_iterator_t; + +/** Opcode for xcb_render_add_traps. */ +#define XCB_RENDER_ADD_TRAPS 32 + +/** + * @brief xcb_render_add_traps_request_t + **/ +typedef struct xcb_render_add_traps_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + int16_t x_off; /**< */ + int16_t y_off; /**< */ +} xcb_render_add_traps_request_t; + +/** Opcode for xcb_render_create_solid_fill. */ +#define XCB_RENDER_CREATE_SOLID_FILL 33 + +/** + * @brief xcb_render_create_solid_fill_request_t + **/ +typedef struct xcb_render_create_solid_fill_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + xcb_render_color_t color; /**< */ +} xcb_render_create_solid_fill_request_t; + +/** Opcode for xcb_render_create_linear_gradient. */ +#define XCB_RENDER_CREATE_LINEAR_GRADIENT 34 + +/** + * @brief xcb_render_create_linear_gradient_request_t + **/ +typedef struct xcb_render_create_linear_gradient_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + xcb_render_pointfix_t p1; /**< */ + xcb_render_pointfix_t p2; /**< */ + uint32_t num_stops; /**< */ +} xcb_render_create_linear_gradient_request_t; + +/** Opcode for xcb_render_create_radial_gradient. */ +#define XCB_RENDER_CREATE_RADIAL_GRADIENT 35 + +/** + * @brief xcb_render_create_radial_gradient_request_t + **/ +typedef struct xcb_render_create_radial_gradient_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + xcb_render_pointfix_t inner; /**< */ + xcb_render_pointfix_t outer; /**< */ + xcb_render_fixed_t inner_radius; /**< */ + xcb_render_fixed_t outer_radius; /**< */ + uint32_t num_stops; /**< */ +} xcb_render_create_radial_gradient_request_t; + +/** Opcode for xcb_render_create_conical_gradient. */ +#define XCB_RENDER_CREATE_CONICAL_GRADIENT 36 + +/** + * @brief xcb_render_create_conical_gradient_request_t + **/ +typedef struct xcb_render_create_conical_gradient_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + xcb_render_picture_t picture; /**< */ + xcb_render_pointfix_t center; /**< */ + xcb_render_fixed_t angle; /**< */ + uint32_t num_stops; /**< */ +} xcb_render_create_conical_gradient_request_t; + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_glyph_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_glyph_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_glyph_next + ** + ** @param xcb_render_glyph_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_glyph_next (xcb_render_glyph_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_glyph_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_glyph_end + ** + ** @param xcb_render_glyph_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_glyph_end (xcb_render_glyph_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_glyphset_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_glyphset_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_glyphset_next + ** + ** @param xcb_render_glyphset_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_glyphset_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_glyphset_end + ** + ** @param xcb_render_glyphset_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_picture_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_picture_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_picture_next + ** + ** @param xcb_render_picture_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_picture_next (xcb_render_picture_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_picture_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_picture_end + ** + ** @param xcb_render_picture_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_picture_end (xcb_render_picture_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_pictformat_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_pictformat_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_pictformat_next + ** + ** @param xcb_render_pictformat_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_pictformat_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_pictformat_end + ** + ** @param xcb_render_pictformat_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_fixed_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_fixed_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_fixed_next + ** + ** @param xcb_render_fixed_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_fixed_next (xcb_render_fixed_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_fixed_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_fixed_end + ** + ** @param xcb_render_fixed_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_fixed_end (xcb_render_fixed_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_directformat_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_directformat_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_directformat_next + ** + ** @param xcb_render_directformat_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_directformat_next (xcb_render_directformat_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_directformat_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_directformat_end + ** + ** @param xcb_render_directformat_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_directformat_end (xcb_render_directformat_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_pictforminfo_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_pictforminfo_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_pictforminfo_next + ** + ** @param xcb_render_pictforminfo_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_pictforminfo_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_pictforminfo_end + ** + ** @param xcb_render_pictforminfo_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_pictvisual_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_pictvisual_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_pictvisual_next + ** + ** @param xcb_render_pictvisual_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_pictvisual_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_pictvisual_end + ** + ** @param xcb_render_pictvisual_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** xcb_render_pictvisual_t * xcb_render_pictdepth_visuals + ** + ** @param const xcb_render_pictdepth_t *R + ** @returns xcb_render_pictvisual_t * + ** + *****************************************************************************/ + +xcb_render_pictvisual_t * +xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_pictdepth_visuals_length + ** + ** @param const xcb_render_pictdepth_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_render_pictvisual_iterator_t xcb_render_pictdepth_visuals_iterator + ** + ** @param const xcb_render_pictdepth_t *R + ** @returns xcb_render_pictvisual_iterator_t + ** + *****************************************************************************/ + +xcb_render_pictvisual_iterator_t +xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_pictdepth_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_pictdepth_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_pictdepth_next + ** + ** @param xcb_render_pictdepth_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_pictdepth_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_pictdepth_end + ** + ** @param xcb_render_pictdepth_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_pictscreen_depths_length + ** + ** @param const xcb_render_pictscreen_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_render_pictdepth_iterator_t xcb_render_pictscreen_depths_iterator + ** + ** @param const xcb_render_pictscreen_t *R + ** @returns xcb_render_pictdepth_iterator_t + ** + *****************************************************************************/ + +xcb_render_pictdepth_iterator_t +xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_pictscreen_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_pictscreen_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_pictscreen_next + ** + ** @param xcb_render_pictscreen_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_pictscreen_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_pictscreen_end + ** + ** @param xcb_render_pictscreen_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_indexvalue_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_indexvalue_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_indexvalue_next + ** + ** @param xcb_render_indexvalue_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_indexvalue_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_indexvalue_end + ** + ** @param xcb_render_indexvalue_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_color_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_color_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_color_next + ** + ** @param xcb_render_color_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_color_next (xcb_render_color_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_color_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_color_end + ** + ** @param xcb_render_color_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_color_end (xcb_render_color_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_pointfix_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_pointfix_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_pointfix_next + ** + ** @param xcb_render_pointfix_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_pointfix_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_pointfix_end + ** + ** @param xcb_render_pointfix_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_linefix_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_linefix_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_linefix_next + ** + ** @param xcb_render_linefix_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_linefix_next (xcb_render_linefix_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_linefix_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_linefix_end + ** + ** @param xcb_render_linefix_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_linefix_end (xcb_render_linefix_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_triangle_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_triangle_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_triangle_next + ** + ** @param xcb_render_triangle_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_triangle_next (xcb_render_triangle_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_triangle_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_triangle_end + ** + ** @param xcb_render_triangle_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_triangle_end (xcb_render_triangle_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_trapezoid_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_trapezoid_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_trapezoid_next + ** + ** @param xcb_render_trapezoid_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_trapezoid_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_trapezoid_end + ** + ** @param xcb_render_trapezoid_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_glyphinfo_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_glyphinfo_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_glyphinfo_next + ** + ** @param xcb_render_glyphinfo_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_glyphinfo_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_glyphinfo_end + ** + ** @param xcb_render_glyphinfo_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_render_query_version_cookie_t xcb_render_query_version + ** + ** @param xcb_connection_t *c + ** @param uint32_t client_major_version + ** @param uint32_t client_minor_version + ** @returns xcb_render_query_version_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_version_cookie_t +xcb_render_query_version (xcb_connection_t *c /**< */, + uint32_t client_major_version /**< */, + uint32_t client_minor_version /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_render_query_version_cookie_t xcb_render_query_version_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint32_t client_major_version + ** @param uint32_t client_minor_version + ** @returns xcb_render_query_version_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_version_cookie_t +xcb_render_query_version_unchecked (xcb_connection_t *c /**< */, + uint32_t client_major_version /**< */, + uint32_t client_minor_version /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_render_query_version_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_render_query_version_reply_t * xcb_render_query_version_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_render_query_version_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_render_query_version_reply_t * + ** + *****************************************************************************/ + +xcb_render_query_version_reply_t * +xcb_render_query_version_reply (xcb_connection_t *c /**< */, + xcb_render_query_version_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_render_query_pict_formats_cookie_t xcb_render_query_pict_formats + ** + ** @param xcb_connection_t *c + ** @returns xcb_render_query_pict_formats_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_pict_formats_cookie_t +xcb_render_query_pict_formats (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_render_query_pict_formats_cookie_t xcb_render_query_pict_formats_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_render_query_pict_formats_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_pict_formats_cookie_t +xcb_render_query_pict_formats_unchecked (xcb_connection_t *c /**< */); + + +/***************************************************************************** + ** + ** xcb_render_pictforminfo_t * xcb_render_query_pict_formats_formats + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns xcb_render_pictforminfo_t * + ** + *****************************************************************************/ + +xcb_render_pictforminfo_t * +xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_query_pict_formats_formats_length + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_render_pictforminfo_iterator_t xcb_render_query_pict_formats_formats_iterator + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns xcb_render_pictforminfo_iterator_t + ** + *****************************************************************************/ + +xcb_render_pictforminfo_iterator_t +xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_query_pict_formats_screens_length + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_render_pictscreen_iterator_t xcb_render_query_pict_formats_screens_iterator + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns xcb_render_pictscreen_iterator_t + ** + *****************************************************************************/ + +xcb_render_pictscreen_iterator_t +xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** uint32_t * xcb_render_query_pict_formats_subpixels + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns uint32_t * + ** + *****************************************************************************/ + +uint32_t * +xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_query_pict_formats_subpixels_length + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_query_pict_formats_subpixels_end + ** + ** @param const xcb_render_query_pict_formats_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_render_query_pict_formats_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_render_query_pict_formats_reply_t * xcb_render_query_pict_formats_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_render_query_pict_formats_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_render_query_pict_formats_reply_t * + ** + *****************************************************************************/ + +xcb_render_query_pict_formats_reply_t * +xcb_render_query_pict_formats_reply (xcb_connection_t *c /**< */, + xcb_render_query_pict_formats_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_render_query_pict_index_values_cookie_t xcb_render_query_pict_index_values + ** + ** @param xcb_connection_t *c + ** @param xcb_render_pictformat_t format + ** @returns xcb_render_query_pict_index_values_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_pict_index_values_cookie_t +xcb_render_query_pict_index_values (xcb_connection_t *c /**< */, + xcb_render_pictformat_t format /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_render_query_pict_index_values_cookie_t xcb_render_query_pict_index_values_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_pictformat_t format + ** @returns xcb_render_query_pict_index_values_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_pict_index_values_cookie_t +xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c /**< */, + xcb_render_pictformat_t format /**< */); + + +/***************************************************************************** + ** + ** xcb_render_indexvalue_t * xcb_render_query_pict_index_values_values + ** + ** @param const xcb_render_query_pict_index_values_reply_t *R + ** @returns xcb_render_indexvalue_t * + ** + *****************************************************************************/ + +xcb_render_indexvalue_t * +xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_query_pict_index_values_values_length + ** + ** @param const xcb_render_query_pict_index_values_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_render_indexvalue_iterator_t xcb_render_query_pict_index_values_values_iterator + ** + ** @param const xcb_render_query_pict_index_values_reply_t *R + ** @returns xcb_render_indexvalue_iterator_t + ** + *****************************************************************************/ + +xcb_render_indexvalue_iterator_t +xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_render_query_pict_index_values_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_render_query_pict_index_values_reply_t * xcb_render_query_pict_index_values_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_render_query_pict_index_values_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_render_query_pict_index_values_reply_t * + ** + *****************************************************************************/ + +xcb_render_query_pict_index_values_reply_t * +xcb_render_query_pict_index_values_reply (xcb_connection_t *c /**< */, + xcb_render_query_pict_index_values_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_picture_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t pid + ** @param xcb_drawable_t drawable + ** @param xcb_render_pictformat_t format + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_picture_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t pid /**< */, + xcb_drawable_t drawable /**< */, + xcb_render_pictformat_t format /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_picture + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t pid + ** @param xcb_drawable_t drawable + ** @param xcb_render_pictformat_t format + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_picture (xcb_connection_t *c /**< */, + xcb_render_picture_t pid /**< */, + xcb_drawable_t drawable /**< */, + xcb_render_pictformat_t format /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_change_picture_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_change_picture_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_change_picture + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_change_picture (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_set_picture_clip_rectangles_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param int16_t clip_x_origin + ** @param int16_t clip_y_origin + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + int16_t clip_x_origin /**< */, + int16_t clip_y_origin /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_set_picture_clip_rectangles + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param int16_t clip_x_origin + ** @param int16_t clip_y_origin + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_set_picture_clip_rectangles (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + int16_t clip_x_origin /**< */, + int16_t clip_y_origin /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_free_picture_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_free_picture_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_free_picture + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_free_picture (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t mask + ** @param xcb_render_picture_t dst + ** @param int16_t src_x + ** @param int16_t src_y + ** @param int16_t mask_x + ** @param int16_t mask_y + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t mask /**< */, + xcb_render_picture_t dst /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + int16_t mask_x /**< */, + int16_t mask_y /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t mask + ** @param xcb_render_picture_t dst + ** @param int16_t src_x + ** @param int16_t src_y + ** @param int16_t mask_x + ** @param int16_t mask_y + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t mask /**< */, + xcb_render_picture_t dst /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + int16_t mask_x /**< */, + int16_t mask_y /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_trapezoids_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t traps_len + ** @param const xcb_render_trapezoid_t *traps + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_trapezoids_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t traps_len /**< */, + const xcb_render_trapezoid_t *traps /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_trapezoids + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t traps_len + ** @param const xcb_render_trapezoid_t *traps + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_trapezoids (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t traps_len /**< */, + const xcb_render_trapezoid_t *traps /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_triangles_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t triangles_len + ** @param const xcb_render_triangle_t *triangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_triangles_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t triangles_len /**< */, + const xcb_render_triangle_t *triangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_triangles + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t triangles_len + ** @param const xcb_render_triangle_t *triangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_triangles (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t triangles_len /**< */, + const xcb_render_triangle_t *triangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_tri_strip_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t points_len + ** @param const xcb_render_pointfix_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_tri_strip_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t points_len /**< */, + const xcb_render_pointfix_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_tri_strip + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t points_len + ** @param const xcb_render_pointfix_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_tri_strip (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t points_len /**< */, + const xcb_render_pointfix_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_tri_fan_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t points_len + ** @param const xcb_render_pointfix_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_tri_fan_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t points_len /**< */, + const xcb_render_pointfix_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_tri_fan + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t points_len + ** @param const xcb_render_pointfix_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_tri_fan (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t points_len /**< */, + const xcb_render_pointfix_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_glyph_set_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t gsid + ** @param xcb_render_pictformat_t format + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_glyph_set_checked (xcb_connection_t *c /**< */, + xcb_render_glyphset_t gsid /**< */, + xcb_render_pictformat_t format /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_glyph_set + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t gsid + ** @param xcb_render_pictformat_t format + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_glyph_set (xcb_connection_t *c /**< */, + xcb_render_glyphset_t gsid /**< */, + xcb_render_pictformat_t format /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_reference_glyph_set_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t gsid + ** @param xcb_render_glyphset_t existing + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_reference_glyph_set_checked (xcb_connection_t *c /**< */, + xcb_render_glyphset_t gsid /**< */, + xcb_render_glyphset_t existing /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_reference_glyph_set + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t gsid + ** @param xcb_render_glyphset_t existing + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_reference_glyph_set (xcb_connection_t *c /**< */, + xcb_render_glyphset_t gsid /**< */, + xcb_render_glyphset_t existing /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_free_glyph_set_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t glyphset + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_free_glyph_set_checked (xcb_connection_t *c /**< */, + xcb_render_glyphset_t glyphset /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_free_glyph_set + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t glyphset + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_free_glyph_set (xcb_connection_t *c /**< */, + xcb_render_glyphset_t glyphset /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_add_glyphs_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t glyphset + ** @param uint32_t glyphs_len + ** @param const uint32_t *glyphids + ** @param const xcb_render_glyphinfo_t *glyphs + ** @param uint32_t data_len + ** @param const uint8_t *data + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_add_glyphs_checked (xcb_connection_t *c /**< */, + xcb_render_glyphset_t glyphset /**< */, + uint32_t glyphs_len /**< */, + const uint32_t *glyphids /**< */, + const xcb_render_glyphinfo_t *glyphs /**< */, + uint32_t data_len /**< */, + const uint8_t *data /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_add_glyphs + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t glyphset + ** @param uint32_t glyphs_len + ** @param const uint32_t *glyphids + ** @param const xcb_render_glyphinfo_t *glyphs + ** @param uint32_t data_len + ** @param const uint8_t *data + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_add_glyphs (xcb_connection_t *c /**< */, + xcb_render_glyphset_t glyphset /**< */, + uint32_t glyphs_len /**< */, + const uint32_t *glyphids /**< */, + const xcb_render_glyphinfo_t *glyphs /**< */, + uint32_t data_len /**< */, + const uint8_t *data /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_free_glyphs_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t glyphset + ** @param uint32_t glyphs_len + ** @param const xcb_render_glyph_t *glyphs + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_free_glyphs_checked (xcb_connection_t *c /**< */, + xcb_render_glyphset_t glyphset /**< */, + uint32_t glyphs_len /**< */, + const xcb_render_glyph_t *glyphs /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_free_glyphs + ** + ** @param xcb_connection_t *c + ** @param xcb_render_glyphset_t glyphset + ** @param uint32_t glyphs_len + ** @param const xcb_render_glyph_t *glyphs + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_free_glyphs (xcb_connection_t *c /**< */, + xcb_render_glyphset_t glyphset /**< */, + uint32_t glyphs_len /**< */, + const xcb_render_glyph_t *glyphs /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite_glyphs_8_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param xcb_render_glyphset_t glyphset + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t glyphcmds_len + ** @param const uint8_t *glyphcmds + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite_glyphs_8_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + xcb_render_glyphset_t glyphset /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t glyphcmds_len /**< */, + const uint8_t *glyphcmds /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite_glyphs_8 + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param xcb_render_glyphset_t glyphset + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t glyphcmds_len + ** @param const uint8_t *glyphcmds + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite_glyphs_8 (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + xcb_render_glyphset_t glyphset /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t glyphcmds_len /**< */, + const uint8_t *glyphcmds /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite_glyphs_16_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param xcb_render_glyphset_t glyphset + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t glyphcmds_len + ** @param const uint8_t *glyphcmds + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite_glyphs_16_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + xcb_render_glyphset_t glyphset /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t glyphcmds_len /**< */, + const uint8_t *glyphcmds /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite_glyphs_16 + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param xcb_render_glyphset_t glyphset + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t glyphcmds_len + ** @param const uint8_t *glyphcmds + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite_glyphs_16 (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + xcb_render_glyphset_t glyphset /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t glyphcmds_len /**< */, + const uint8_t *glyphcmds /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite_glyphs_32_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param xcb_render_glyphset_t glyphset + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t glyphcmds_len + ** @param const uint8_t *glyphcmds + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite_glyphs_32_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + xcb_render_glyphset_t glyphset /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t glyphcmds_len /**< */, + const uint8_t *glyphcmds /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_composite_glyphs_32 + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t src + ** @param xcb_render_picture_t dst + ** @param xcb_render_pictformat_t mask_format + ** @param xcb_render_glyphset_t glyphset + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint32_t glyphcmds_len + ** @param const uint8_t *glyphcmds + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_composite_glyphs_32 (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t src /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_pictformat_t mask_format /**< */, + xcb_render_glyphset_t glyphset /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint32_t glyphcmds_len /**< */, + const uint8_t *glyphcmds /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_fill_rectangles_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t dst + ** @param xcb_render_color_t color + ** @param uint32_t rects_len + ** @param const xcb_rectangle_t *rects + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_fill_rectangles_checked (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_color_t color /**< */, + uint32_t rects_len /**< */, + const xcb_rectangle_t *rects /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_fill_rectangles + ** + ** @param xcb_connection_t *c + ** @param uint8_t op + ** @param xcb_render_picture_t dst + ** @param xcb_render_color_t color + ** @param uint32_t rects_len + ** @param const xcb_rectangle_t *rects + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_fill_rectangles (xcb_connection_t *c /**< */, + uint8_t op /**< */, + xcb_render_picture_t dst /**< */, + xcb_render_color_t color /**< */, + uint32_t rects_len /**< */, + const xcb_rectangle_t *rects /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_cursor_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param xcb_render_picture_t source + ** @param uint16_t x + ** @param uint16_t y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_cursor_checked (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + xcb_render_picture_t source /**< */, + uint16_t x /**< */, + uint16_t y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_cursor + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param xcb_render_picture_t source + ** @param uint16_t x + ** @param uint16_t y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_cursor (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + xcb_render_picture_t source /**< */, + uint16_t x /**< */, + uint16_t y /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_transform_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_transform_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_transform_next + ** + ** @param xcb_render_transform_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_transform_next (xcb_render_transform_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_transform_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_transform_end + ** + ** @param xcb_render_transform_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_transform_end (xcb_render_transform_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_set_picture_transform_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_transform_t transform + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_set_picture_transform_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_transform_t transform /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_set_picture_transform + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_transform_t transform + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_set_picture_transform (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_transform_t transform /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_render_query_filters_cookie_t xcb_render_query_filters + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @returns xcb_render_query_filters_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_filters_cookie_t +xcb_render_query_filters (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_render_query_filters_cookie_t xcb_render_query_filters_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @returns xcb_render_query_filters_cookie_t + ** + *****************************************************************************/ + +xcb_render_query_filters_cookie_t +xcb_render_query_filters_unchecked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */); + + +/***************************************************************************** + ** + ** uint16_t * xcb_render_query_filters_aliases + ** + ** @param const xcb_render_query_filters_reply_t *R + ** @returns uint16_t * + ** + *****************************************************************************/ + +uint16_t * +xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_query_filters_aliases_length + ** + ** @param const xcb_render_query_filters_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_query_filters_aliases_end + ** + ** @param const xcb_render_query_filters_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_render_query_filters_filters_length + ** + ** @param const xcb_render_query_filters_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_str_iterator_t xcb_render_query_filters_filters_iterator + ** + ** @param const xcb_render_query_filters_reply_t *R + ** @returns xcb_str_iterator_t + ** + *****************************************************************************/ + +xcb_str_iterator_t +xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_render_query_filters_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_render_query_filters_reply_t * xcb_render_query_filters_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_render_query_filters_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_render_query_filters_reply_t * + ** + *****************************************************************************/ + +xcb_render_query_filters_reply_t * +xcb_render_query_filters_reply (xcb_connection_t *c /**< */, + xcb_render_query_filters_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_set_picture_filter_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param uint16_t filter_len + ** @param const char *filter + ** @param uint32_t values_len + ** @param const xcb_render_fixed_t *values + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_set_picture_filter_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + uint16_t filter_len /**< */, + const char *filter /**< */, + uint32_t values_len /**< */, + const xcb_render_fixed_t *values /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_set_picture_filter + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param uint16_t filter_len + ** @param const char *filter + ** @param uint32_t values_len + ** @param const xcb_render_fixed_t *values + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_set_picture_filter (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + uint16_t filter_len /**< */, + const char *filter /**< */, + uint32_t values_len /**< */, + const xcb_render_fixed_t *values /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_animcursorelt_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_animcursorelt_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_animcursorelt_next + ** + ** @param xcb_render_animcursorelt_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_animcursorelt_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_animcursorelt_end + ** + ** @param xcb_render_animcursorelt_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_anim_cursor_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param uint32_t cursors_len + ** @param const xcb_render_animcursorelt_t *cursors + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_anim_cursor_checked (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + uint32_t cursors_len /**< */, + const xcb_render_animcursorelt_t *cursors /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_anim_cursor + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param uint32_t cursors_len + ** @param const xcb_render_animcursorelt_t *cursors + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_anim_cursor (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + uint32_t cursors_len /**< */, + const xcb_render_animcursorelt_t *cursors /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_spanfix_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_spanfix_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_spanfix_next + ** + ** @param xcb_render_spanfix_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_spanfix_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_spanfix_end + ** + ** @param xcb_render_spanfix_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_render_trap_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_render_trap_t) + */ + +/***************************************************************************** + ** + ** void xcb_render_trap_next + ** + ** @param xcb_render_trap_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_render_trap_next (xcb_render_trap_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_render_trap_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_render_trap_end + ** + ** @param xcb_render_trap_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_render_trap_end (xcb_render_trap_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_add_traps_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param int16_t x_off + ** @param int16_t y_off + ** @param uint32_t traps_len + ** @param const xcb_render_trap_t *traps + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_add_traps_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + int16_t x_off /**< */, + int16_t y_off /**< */, + uint32_t traps_len /**< */, + const xcb_render_trap_t *traps /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_add_traps + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param int16_t x_off + ** @param int16_t y_off + ** @param uint32_t traps_len + ** @param const xcb_render_trap_t *traps + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_add_traps (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + int16_t x_off /**< */, + int16_t y_off /**< */, + uint32_t traps_len /**< */, + const xcb_render_trap_t *traps /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_solid_fill_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_color_t color + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_solid_fill_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_color_t color /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_solid_fill + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_color_t color + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_solid_fill (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_color_t color /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_linear_gradient_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_pointfix_t p1 + ** @param xcb_render_pointfix_t p2 + ** @param uint32_t num_stops + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_linear_gradient_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_pointfix_t p1 /**< */, + xcb_render_pointfix_t p2 /**< */, + uint32_t num_stops /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_linear_gradient + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_pointfix_t p1 + ** @param xcb_render_pointfix_t p2 + ** @param uint32_t num_stops + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_linear_gradient (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_pointfix_t p1 /**< */, + xcb_render_pointfix_t p2 /**< */, + uint32_t num_stops /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_radial_gradient_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_pointfix_t inner + ** @param xcb_render_pointfix_t outer + ** @param xcb_render_fixed_t inner_radius + ** @param xcb_render_fixed_t outer_radius + ** @param uint32_t num_stops + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_radial_gradient_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_pointfix_t inner /**< */, + xcb_render_pointfix_t outer /**< */, + xcb_render_fixed_t inner_radius /**< */, + xcb_render_fixed_t outer_radius /**< */, + uint32_t num_stops /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_radial_gradient + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_pointfix_t inner + ** @param xcb_render_pointfix_t outer + ** @param xcb_render_fixed_t inner_radius + ** @param xcb_render_fixed_t outer_radius + ** @param uint32_t num_stops + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_radial_gradient (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_pointfix_t inner /**< */, + xcb_render_pointfix_t outer /**< */, + xcb_render_fixed_t inner_radius /**< */, + xcb_render_fixed_t outer_radius /**< */, + uint32_t num_stops /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_conical_gradient_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_pointfix_t center + ** @param xcb_render_fixed_t angle + ** @param uint32_t num_stops + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_conical_gradient_checked (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_pointfix_t center /**< */, + xcb_render_fixed_t angle /**< */, + uint32_t num_stops /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_render_create_conical_gradient + ** + ** @param xcb_connection_t *c + ** @param xcb_render_picture_t picture + ** @param xcb_render_pointfix_t center + ** @param xcb_render_fixed_t angle + ** @param uint32_t num_stops + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_render_create_conical_gradient (xcb_connection_t *c /**< */, + xcb_render_picture_t picture /**< */, + xcb_render_pointfix_t center /**< */, + xcb_render_fixed_t angle /**< */, + uint32_t num_stops /**< */); + + +#endif + +/** + * @} + */ diff --git a/include/xcb/xc_misc.h b/include/xcb/xc_misc.h new file mode 100644 index 000000000..5bc61c32c --- /dev/null +++ b/include/xcb/xc_misc.h @@ -0,0 +1,396 @@ +/* + * This file generated automatically from xc_misc.xml by c-client.xsl using XSLT. + * Edit at your peril. + */ + +/** + * @defgroup XCB_XCMisc_API XCB XCMisc API + * @brief XCMisc XCB Protocol Implementation. + * @{ + **/ + +#ifndef __XC_MISC_H +#define __XC_MISC_H + +#include "xcb.h" + +#define XCB_XCMISC_MAJOR_VERSION 1 +#define XCB_XCMISC_MINOR_VERSION 1 + +extern xcb_extension_t xcb_xc_misc_id; + +/** + * @brief xcb_xc_misc_get_version_cookie_t + **/ +typedef struct xcb_xc_misc_get_version_cookie_t { + unsigned int sequence; /**< */ +} xcb_xc_misc_get_version_cookie_t; + +/** Opcode for xcb_xc_misc_get_version. */ +#define XCB_XC_MISC_GET_VERSION 0 + +/** + * @brief xcb_xc_misc_get_version_request_t + **/ +typedef struct xcb_xc_misc_get_version_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint16_t client_major_version; /**< */ + uint16_t client_minor_version; /**< */ +} xcb_xc_misc_get_version_request_t; + +/** + * @brief xcb_xc_misc_get_version_reply_t + **/ +typedef struct xcb_xc_misc_get_version_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t server_major_version; /**< */ + uint16_t server_minor_version; /**< */ +} xcb_xc_misc_get_version_reply_t; + +/** + * @brief xcb_xc_misc_get_xid_range_cookie_t + **/ +typedef struct xcb_xc_misc_get_xid_range_cookie_t { + unsigned int sequence; /**< */ +} xcb_xc_misc_get_xid_range_cookie_t; + +/** Opcode for xcb_xc_misc_get_xid_range. */ +#define XCB_XC_MISC_GET_XID_RANGE 1 + +/** + * @brief xcb_xc_misc_get_xid_range_request_t + **/ +typedef struct xcb_xc_misc_get_xid_range_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ +} xcb_xc_misc_get_xid_range_request_t; + +/** + * @brief xcb_xc_misc_get_xid_range_reply_t + **/ +typedef struct xcb_xc_misc_get_xid_range_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t start_id; /**< */ + uint32_t count; /**< */ +} xcb_xc_misc_get_xid_range_reply_t; + +/** + * @brief xcb_xc_misc_get_xid_list_cookie_t + **/ +typedef struct xcb_xc_misc_get_xid_list_cookie_t { + unsigned int sequence; /**< */ +} xcb_xc_misc_get_xid_list_cookie_t; + +/** Opcode for xcb_xc_misc_get_xid_list. */ +#define XCB_XC_MISC_GET_XID_LIST 2 + +/** + * @brief xcb_xc_misc_get_xid_list_request_t + **/ +typedef struct xcb_xc_misc_get_xid_list_request_t { + uint8_t major_opcode; /**< */ + uint8_t minor_opcode; /**< */ + uint16_t length; /**< */ + uint32_t count; /**< */ +} xcb_xc_misc_get_xid_list_request_t; + +/** + * @brief xcb_xc_misc_get_xid_list_reply_t + **/ +typedef struct xcb_xc_misc_get_xid_list_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t ids_len; /**< */ + uint8_t pad1[20]; /**< */ +} xcb_xc_misc_get_xid_list_reply_t; + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version + ** + ** @param xcb_connection_t *c + ** @param uint16_t client_major_version + ** @param uint16_t client_minor_version + ** @returns xcb_xc_misc_get_version_cookie_t + ** + *****************************************************************************/ + +xcb_xc_misc_get_version_cookie_t +xcb_xc_misc_get_version (xcb_connection_t *c /**< */, + uint16_t client_major_version /**< */, + uint16_t client_minor_version /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint16_t client_major_version + ** @param uint16_t client_minor_version + ** @returns xcb_xc_misc_get_version_cookie_t + ** + *****************************************************************************/ + +xcb_xc_misc_get_version_cookie_t +xcb_xc_misc_get_version_unchecked (xcb_connection_t *c /**< */, + uint16_t client_major_version /**< */, + uint16_t client_minor_version /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_xc_misc_get_version_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_version_reply_t * xcb_xc_misc_get_version_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_xc_misc_get_version_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_xc_misc_get_version_reply_t * + ** + *****************************************************************************/ + +xcb_xc_misc_get_version_reply_t * +xcb_xc_misc_get_version_reply (xcb_connection_t *c /**< */, + xcb_xc_misc_get_version_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range + ** + ** @param xcb_connection_t *c + ** @returns xcb_xc_misc_get_xid_range_cookie_t + ** + *****************************************************************************/ + +xcb_xc_misc_get_xid_range_cookie_t +xcb_xc_misc_get_xid_range (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_xc_misc_get_xid_range_cookie_t + ** + *****************************************************************************/ + +xcb_xc_misc_get_xid_range_cookie_t +xcb_xc_misc_get_xid_range_unchecked (xcb_connection_t *c /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_xc_misc_get_xid_range_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_xid_range_reply_t * xcb_xc_misc_get_xid_range_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_xc_misc_get_xid_range_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_xc_misc_get_xid_range_reply_t * + ** + *****************************************************************************/ + +xcb_xc_misc_get_xid_range_reply_t * +xcb_xc_misc_get_xid_range_reply (xcb_connection_t *c /**< */, + xcb_xc_misc_get_xid_range_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list + ** + ** @param xcb_connection_t *c + ** @param uint32_t count + ** @returns xcb_xc_misc_get_xid_list_cookie_t + ** + *****************************************************************************/ + +xcb_xc_misc_get_xid_list_cookie_t +xcb_xc_misc_get_xid_list (xcb_connection_t *c /**< */, + uint32_t count /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint32_t count + ** @returns xcb_xc_misc_get_xid_list_cookie_t + ** + *****************************************************************************/ + +xcb_xc_misc_get_xid_list_cookie_t +xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c /**< */, + uint32_t count /**< */); + + +/***************************************************************************** + ** + ** uint32_t * xcb_xc_misc_get_xid_list_ids + ** + ** @param const xcb_xc_misc_get_xid_list_reply_t *R + ** @returns uint32_t * + ** + *****************************************************************************/ + +uint32_t * +xcb_xc_misc_get_xid_list_ids (const xcb_xc_misc_get_xid_list_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_xc_misc_get_xid_list_ids_length + ** + ** @param const xcb_xc_misc_get_xid_list_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_xc_misc_get_xid_list_ids_length (const xcb_xc_misc_get_xid_list_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end + ** + ** @param const xcb_xc_misc_get_xid_list_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_xc_misc_get_xid_list_ids_end (const xcb_xc_misc_get_xid_list_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_xc_misc_get_xid_list_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_xc_misc_get_xid_list_reply_t * xcb_xc_misc_get_xid_list_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_xc_misc_get_xid_list_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_xc_misc_get_xid_list_reply_t * + ** + *****************************************************************************/ + +xcb_xc_misc_get_xid_list_reply_t * +xcb_xc_misc_get_xid_list_reply (xcb_connection_t *c /**< */, + xcb_xc_misc_get_xid_list_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + + +#endif + +/** + * @} + */ diff --git a/include/xcb/xcb.h b/include/xcb/xcb.h new file mode 100644 index 000000000..323a31fb2 --- /dev/null +++ b/include/xcb/xcb.h @@ -0,0 +1,460 @@ +/* + * Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the names of the authors or their + * institutions shall not be used in advertising or otherwise to promote the + * sale, use or other dealings in this Software without prior written + * authorization from the authors. + */ + +#ifndef __XCB_H__ +#define __XCB_H__ +#include <sys/types.h> + +#if defined(__solaris__) +#include <inttypes.h> +#else +#include <stdint.h> +#endif + +#ifndef _MSC_VER +#include <sys/uio.h> +#else +#define HANDLE void * +typedef int pid_t; +#endif +#include <pthread.h> + +#ifdef _MSC_VER +#undef HANDLE +typedef unsigned uint32_t; +typedef int int32_t; +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @file xcb.h + */ + +/** + * @defgroup XCB_Core_API XCB Core API + * @brief Core API of the XCB library. + * + * @{ + */ + +/* Pre-defined constants */ + +/** Current protocol version */ +#define X_PROTOCOL 11 + +/** Current minor version */ +#define X_PROTOCOL_REVISION 0 + +/** X_TCP_PORT + display number = server port for TCP transport */ +#define X_TCP_PORT 6000 + +#define XCB_TYPE_PAD(T,I) (-(I) & (sizeof(T) > 4 ? 3 : sizeof(T) - 1)) + +/* Opaque structures */ + +/** + * @brief XCB Connection structure. + * + * A structure that contain all data that XCB needs to communicate with an X server. + */ +typedef struct xcb_connection_t xcb_connection_t; /**< Opaque structure containing all data that XCB needs to communicate with an X server. */ + + +/* Other types */ + +/** + * @brief Generic iterator. + * + * A generic iterator structure. + */ +typedef struct { + void *data; /**< Data of the current iterator */ + int rem; /**< remaining elements */ + int index; /**< index of the current iterator */ +} xcb_generic_iterator_t; + +/** + * @brief Generic reply. + * + * A generic reply structure. + */ +typedef struct { + uint8_t response_type; /**< Type of the response */ + uint8_t pad0; /**< Padding */ + uint16_t sequence; /**< Sequence number */ + uint32_t length; /**< Length of the response */ +} xcb_generic_reply_t; + +/** + * @brief Generic event. + * + * A generic event structure. + */ +typedef struct { + uint8_t response_type; /**< Type of the response */ + uint8_t pad0; /**< Padding */ + uint16_t sequence; /**< Sequence number */ + uint32_t pad[7]; /**< Padding */ + uint32_t full_sequence; /**< full sequence */ +} xcb_generic_event_t; + +/** + * @brief Generic error. + * + * A generic error structure. + */ +typedef struct { + uint8_t response_type; /**< Type of the response */ + uint8_t error_code; /**< Error code */ + uint16_t sequence; /**< Sequence number */ + uint32_t pad[7]; /**< Padding */ + uint32_t full_sequence; /**< full sequence */ +} xcb_generic_error_t; + +/** + * @brief Generic cookie. + * + * A generic cookie structure. + */ +typedef struct { + unsigned int sequence; /**< Sequence number */ +} xcb_void_cookie_t; + + +/* Include the generated xproto header. */ +#include "xproto.h" + + +/** XCB_NONE is the universal null resource or null atom parameter value for many core X requests */ +#define XCB_NONE 0L + +/** XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters */ +#define XCB_COPY_FROM_PARENT 0L + +/** XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t */ +#define XCB_CURRENT_TIME 0L + +/** XCB_NO_SYMBOL fills in unused entries in xcb_keysym_t tables */ +#define XCB_NO_SYMBOL 0L + + +/* xcb_auth.c */ + +/** + * @brief Container for authorization information. + * + * A container for authorization information to be sent to the X server. + */ +typedef struct xcb_auth_info_t { + int namelen; /**< Length of the string name (as returned by strlen). */ + char *name; /**< String containing the authentication protocol name, such as "MIT-MAGIC-COOKIE-1" or "XDM-AUTHORIZATION-1". */ + int datalen; /**< Length of the data member. */ + char *data; /**< Data interpreted in a protocol-specific manner. */ +} xcb_auth_info_t; + + +/* xcb_out.c */ + +/** + * @brief Forces any buffered output to be written to the server. + * @param c: The connection to the X server. + * @return > @c 0 on success, <= @c 0 otherwise. + * + * Forces any buffered output to be written to the server. Blocks + * until the write is complete. + */ +int xcb_flush(xcb_connection_t *c); + +/** + * @brief Returns the maximum request length that this server accepts. + * @param c: The connection to the X server. + * @return The maximum request length field. + * + * In the absence of the BIG-REQUESTS extension, returns the + * maximum request length field from the connection setup data, which + * may be as much as 65535. If the server supports BIG-REQUESTS, then + * the maximum request length field from the reply to the + * BigRequestsEnable request will be returned instead. + * + * Note that this length is measured in four-byte units, making the + * theoretical maximum lengths roughly 256kB without BIG-REQUESTS and + * 16GB with. + */ +uint32_t xcb_get_maximum_request_length(xcb_connection_t *c); + +/** + * @brief Prefetch the maximum request length without blocking. + * @param c: The connection to the X server. + * + * Without blocking, does as much work as possible toward computing + * the maximum request length accepted by the X server. + * + * Invoking this function may cause a call to xcb_big_requests_enable, + * but will not block waiting for the reply. + * xcb_get_maximum_request_length will return the prefetched data + * after possibly blocking while the reply is retrieved. + * + * Note that in order for this function to be fully non-blocking, the + * application must previously have called + * xcb_prefetch_extension_data(c, &xcb_big_requests_id) and the reply + * must have already arrived. + */ +void xcb_prefetch_maximum_request_length(xcb_connection_t *c); + + +/* xcb_in.c */ + +/** + * @brief Returns the next event or error from the server. + * @param c: The connection to the X server. + * @return The next event from the server. + * + * Returns the next event or error from the server, or returns null in + * the event of an I/O error. Blocks until either an event or error + * arrive, or an I/O error occurs. + */ +xcb_generic_event_t *xcb_wait_for_event(xcb_connection_t *c); + +/** + * @brief Returns the next event or error from the server. + * @param c: The connection to the X server. + * error status of the operation. + * @return The next event from the server. + * + * Returns the next event or error from the server, if one is + * available, or returns @c NULL otherwise. If no event is available, that + * might be because an I/O error like connection close occurred while + * attempting to read the next event, in which case the connection is + * shut down when this function returns. + */ +xcb_generic_event_t *xcb_poll_for_event(xcb_connection_t *c); + +/** + * @brief Return the error for a request, or NULL if none can ever arrive. + * @param c: The connection to the X server. + * @param cookie: The request cookie. + * @return The error for the request, or NULL if none can ever arrive. + * + * The xcb_void_cookie_t cookie supplied to this function must have resulted + * from a call to xcb_[request_name]_checked(). This function will block + * until one of two conditions happens. If an error is received, it will be + * returned. If a reply to a subsequent request has already arrived, no error + * can arrive for this request, so this function will return NULL. + * + * Note that this function will perform a sync if needed to ensure that the + * sequence number will advance beyond that provided in cookie; this is a + * convenience to avoid races in determining whether the sync is needed. + */ +xcb_generic_error_t *xcb_request_check(xcb_connection_t *c, xcb_void_cookie_t cookie); + + +/* xcb_ext.c */ + +/** + * @typedef typedef struct xcb_extension_t xcb_extension_t + */ +typedef struct xcb_extension_t xcb_extension_t; /**< Opaque structure used as key for xcb_get_extension_data_t. */ + +/** + * @brief Caches reply information from QueryExtension requests. + * @param c: The connection. + * @param ext: The extension data. + * @return A pointer to the xcb_query_extension_reply_t for the extension. + * + * This function is the primary interface to the "extension cache", + * which caches reply information from QueryExtension + * requests. Invoking this function may cause a call to + * xcb_query_extension to retrieve extension information from the + * server, and may block until extension data is received from the + * server. + * + * The result must not be freed. This storage is managed by the cache + * itself. + */ +const xcb_query_extension_reply_t *xcb_get_extension_data(xcb_connection_t *c, xcb_extension_t *ext); + +/** + * @brief Prefetch of extension data into the extension cache + * @param c: The connection. + * @param ext: The extension data. + * + * This function allows a "prefetch" of extension data into the + * extension cache. Invoking the function may cause a call to + * xcb_query_extension, but will not block waiting for the + * reply. xcb_get_extension_data will return the prefetched data after + * possibly blocking while it is retrieved. + */ +void xcb_prefetch_extension_data(xcb_connection_t *c, xcb_extension_t *ext); + + +/* xcb_conn.c */ + +/** + * @brief Access the data returned by the server. + * @param c: The connection. + * @return A pointer to an xcb_setup_t structure. + * + * Accessor for the data returned by the server when the xcb_connection_t + * was initialized. This data includes + * - the server's required format for images, + * - a list of available visuals, + * - a list of available screens, + * - the server's maximum request length (in the absence of the + * BIG-REQUESTS extension), + * - and other assorted information. + * + * See the X protocol specification for more details. + * + * The result must not be freed. + */ +const xcb_setup_t *xcb_get_setup(xcb_connection_t *c); + +/** + * @brief Access the file descriptor of the connection. + * @param c: The connection. + * @return The file descriptor. + * + * Accessor for the file descriptor that was passed to the + * xcb_connect_to_fd call that returned @p c. + */ +int xcb_get_file_descriptor(xcb_connection_t *c); + +/** + * @brief Test whether the connection has shut down due to a fatal error. + * @param c: The connection. + * @return 1 if the connection is in an error state; 0 otherwise. + * + * Some errors that occur in the context of an xcb_connection_t + * are unrecoverable. When such an error occurs, the + * connection is shut down and further operations on the + * xcb_connection_t have no effect. + * + * @todo Other functions should document the conditions in + * which they shut down the connection. + */ +int xcb_connection_has_error(xcb_connection_t *c); + +/** + * @brief Connects to the X server. + * @param fd: The file descriptor. + * @param auth_info: Authentication data. + * @return A newly allocated xcb_connection_t structure. + * + * Connects to an X server, given the open socket @p fd and the + * xcb_auth_info_t @p auth_info. The file descriptor @p fd is + * bidirectionally connected to an X server. If the connection + * should be unauthenticated, @p auth_info must be @c + * NULL. + */ +xcb_connection_t *xcb_connect_to_fd(int fd, xcb_auth_info_t *auth_info); + +/** + * @brief Closes the connection. + * @param c: The connection. + * + * Closes the file descriptor and frees all memory associated with the + * connection @c c. + */ +void xcb_disconnect(xcb_connection_t *c); + + +/* xcb_util.c */ + +/** + * @brief Parses a display string name in the form documented by X(7x). + * @param name: The name of the display. + * @param host: A pointer to a malloc'd copy of the hostname. + * @param display: A pointer to the display number. + * @param screen: A pointer to the screen number. + * @return 0 on failure, non 0 otherwise. + * + * Parses the display string name @p display_name in the form + * documented by X(7x). Has no side effects on failure. If + * @p displayname is @c NULL or empty, it uses the environment + * variable DISPLAY. @p hostp is a pointer to a newly allocated string + * that contain the host name. @p displayp is set to the display + * number and @p screenp to the preferred screen number. @p screenp + * can be @c NULL. If @p displayname does not contain a screen number, + * it is set to @c 0. + */ +int xcb_parse_display(const char *name, char **host, int *display, int *screen); + +/** + * @brief Connects to the X server. + * @param displayname: The name of the display. + * @param screenp: A pointer to a preferred screen number. + * @return A newly allocated xcb_connection_t structure. + * + * Connects to the X server specified by @p displayname. If @p + * displayname is @c NULL, uses the value of the DISPLAY environment + * variable. If a particular screen on that server is preferred, the + * int pointed to by @p screenp (if not @c NULL) will be set to that + * screen; otherwise the screen will be set to 0. + */ +xcb_connection_t *xcb_connect(const char *displayname, int *screenp); + +/** + * @brief Connects to the X server, using an authorization information. + * @param display: The name of the display. + * @param auth: The authorization information. + * @param screen: A pointer to a preferred screen number. + * @return A newly allocated xcb_connection_t structure. + * + * Connects to the X server specified by @p displayname, using the + * authorization @p auth. If a particular screen on that server is + * preferred, the int pointed to by @p screenp (if not @c NULL) will + * be set to that screen; otherwise @p screenp will be set to 0. + */ +xcb_connection_t *xcb_connect_to_display_with_auth_info(const char *display, xcb_auth_info_t *auth, int *screen); + + +/* xcb_xid.c */ + +/** + * @brief Allocates an XID for a new object. + * @param c: The connection. + * @return A newly allocated XID. + * + * Allocates an XID for a new object. Typically used just prior to + * various object creation functions, such as xcb_create_window. + */ +uint32_t xcb_generate_id(xcb_connection_t *c); + + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + + +#endif /* __XCB_H__ */ diff --git a/include/xcb/xcbext.h b/include/xcb/xcbext.h new file mode 100644 index 000000000..01dd59015 --- /dev/null +++ b/include/xcb/xcbext.h @@ -0,0 +1,77 @@ +/* + * Copyright (C) 2001-2004 Bart Massey and Jamey Sharp. + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the names of the authors or their + * institutions shall not be used in advertising or otherwise to promote the + * sale, use or other dealings in this Software without prior written + * authorization from the authors. + */ + +#ifndef __XCBEXT_H +#define __XCBEXT_H + +#include "xcb.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* xcb_ext.c */ + +struct xcb_extension_t { + const char *name; + int global_id; +}; + + +/* xcb_out.c */ + +typedef struct { + size_t count; + xcb_extension_t *ext; + uint8_t opcode; + uint8_t isvoid; +} xcb_protocol_request_t; + +enum xcb_send_request_flags_t { + XCB_REQUEST_CHECKED = 1 << 0, + XCB_REQUEST_RAW = 1 << 1, + XCB_REQUEST_DISCARD_REPLY = 1 << 2 +}; + +unsigned int xcb_send_request(xcb_connection_t *c, int flags, struct iovec *vector, const xcb_protocol_request_t *request); + + +/* xcb_in.c */ + +void *xcb_wait_for_reply(xcb_connection_t *c, unsigned int request, xcb_generic_error_t **e); +int xcb_poll_for_reply(xcb_connection_t *c, unsigned int request, void **reply, xcb_generic_error_t **error); + + +/* xcb_util.c */ + +int xcb_popcount(uint32_t mask); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/xcb/xcbxlib.h b/include/xcb/xcbxlib.h new file mode 100644 index 000000000..53821afce --- /dev/null +++ b/include/xcb/xcbxlib.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2005 Bart Massey and Jamey Sharp. + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the names of the authors or their + * institutions shall not be used in advertising or otherwise to promote the + * sale, use or other dealings in this Software without prior written + * authorization from the authors. + */ + +/* This include file declares functions used by Xlib/XCB, but nothing else + * should ever use these functions or link to libxcb-xlib. */ + +#ifndef __XCBXLIB_H +#define __XCBXLIB_H + +#ifdef _MSC_VER +typedef int pid_t; +#endif +#include <pthread.h> +#include "xcb.h" + +/* The caller of this function must hold the xlib lock, using the lock + * functions below. */ +unsigned int xcb_get_request_sent(xcb_connection_t *c); + +void xcb_xlib_lock(xcb_connection_t *c); +void xcb_xlib_unlock(xcb_connection_t *c); + +#endif diff --git a/include/xcb/xproto.h b/include/xcb/xproto.h new file mode 100644 index 000000000..423970779 --- /dev/null +++ b/include/xcb/xproto.h @@ -0,0 +1,15083 @@ +/* + * This file generated automatically from xproto.xml by c-client.xsl using XSLT. + * Edit at your peril. + */ + +/** + * @defgroup XCB__API XCB API + * @brief XCB Protocol Implementation. + * @{ + **/ + +#ifndef __XPROTO_H +#define __XPROTO_H + +#include "xcb.h" + +/** + * @brief xcb_char2b_t + **/ +typedef struct xcb_char2b_t { + uint8_t byte1; /**< */ + uint8_t byte2; /**< */ +} xcb_char2b_t; + +/** + * @brief xcb_char2b_iterator_t + **/ +typedef struct xcb_char2b_iterator_t { + xcb_char2b_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_char2b_iterator_t; + +typedef uint32_t xcb_window_t; + +/** + * @brief xcb_window_iterator_t + **/ +typedef struct xcb_window_iterator_t { + xcb_window_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_window_iterator_t; + +typedef uint32_t xcb_pixmap_t; + +/** + * @brief xcb_pixmap_iterator_t + **/ +typedef struct xcb_pixmap_iterator_t { + xcb_pixmap_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_pixmap_iterator_t; + +typedef uint32_t xcb_cursor_t; + +/** + * @brief xcb_cursor_iterator_t + **/ +typedef struct xcb_cursor_iterator_t { + xcb_cursor_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_cursor_iterator_t; + +typedef uint32_t xcb_font_t; + +/** + * @brief xcb_font_iterator_t + **/ +typedef struct xcb_font_iterator_t { + xcb_font_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_font_iterator_t; + +typedef uint32_t xcb_gcontext_t; + +/** + * @brief xcb_gcontext_iterator_t + **/ +typedef struct xcb_gcontext_iterator_t { + xcb_gcontext_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_gcontext_iterator_t; + +typedef uint32_t xcb_colormap_t; + +/** + * @brief xcb_colormap_iterator_t + **/ +typedef struct xcb_colormap_iterator_t { + xcb_colormap_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_colormap_iterator_t; + +typedef uint32_t xcb_atom_t; + +/** + * @brief xcb_atom_iterator_t + **/ +typedef struct xcb_atom_iterator_t { + xcb_atom_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_atom_iterator_t; + +typedef uint32_t xcb_drawable_t; + +/** + * @brief xcb_drawable_iterator_t + **/ +typedef struct xcb_drawable_iterator_t { + xcb_drawable_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_drawable_iterator_t; + +typedef uint32_t xcb_fontable_t; + +/** + * @brief xcb_fontable_iterator_t + **/ +typedef struct xcb_fontable_iterator_t { + xcb_fontable_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_fontable_iterator_t; + +typedef uint32_t xcb_visualid_t; + +/** + * @brief xcb_visualid_iterator_t + **/ +typedef struct xcb_visualid_iterator_t { + xcb_visualid_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_visualid_iterator_t; + +typedef uint32_t xcb_timestamp_t; + +/** + * @brief xcb_timestamp_iterator_t + **/ +typedef struct xcb_timestamp_iterator_t { + xcb_timestamp_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_timestamp_iterator_t; + +typedef uint32_t xcb_keysym_t; + +/** + * @brief xcb_keysym_iterator_t + **/ +typedef struct xcb_keysym_iterator_t { + xcb_keysym_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_keysym_iterator_t; + +typedef uint8_t xcb_keycode_t; + +/** + * @brief xcb_keycode_iterator_t + **/ +typedef struct xcb_keycode_iterator_t { + xcb_keycode_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_keycode_iterator_t; + +typedef uint8_t xcb_button_t; + +/** + * @brief xcb_button_iterator_t + **/ +typedef struct xcb_button_iterator_t { + xcb_button_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_button_iterator_t; + +/** + * @brief xcb_point_t + **/ +typedef struct xcb_point_t { + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_point_t; + +/** + * @brief xcb_point_iterator_t + **/ +typedef struct xcb_point_iterator_t { + xcb_point_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_point_iterator_t; + +/** + * @brief xcb_rectangle_t + **/ +typedef struct xcb_rectangle_t { + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_rectangle_t; + +/** + * @brief xcb_rectangle_iterator_t + **/ +typedef struct xcb_rectangle_iterator_t { + xcb_rectangle_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_rectangle_iterator_t; + +/** + * @brief xcb_arc_t + **/ +typedef struct xcb_arc_t { + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + int16_t angle1; /**< */ + int16_t angle2; /**< */ +} xcb_arc_t; + +/** + * @brief xcb_arc_iterator_t + **/ +typedef struct xcb_arc_iterator_t { + xcb_arc_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_arc_iterator_t; + +/** + * @brief xcb_format_t + **/ +typedef struct xcb_format_t { + uint8_t depth; /**< */ + uint8_t bits_per_pixel; /**< */ + uint8_t scanline_pad; /**< */ + uint8_t pad0[5]; /**< */ +} xcb_format_t; + +/** + * @brief xcb_format_iterator_t + **/ +typedef struct xcb_format_iterator_t { + xcb_format_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_format_iterator_t; + +typedef enum xcb_visual_class_t { + XCB_VISUAL_CLASS_STATIC_GRAY = 0, + XCB_VISUAL_CLASS_GRAY_SCALE = 1, + XCB_VISUAL_CLASS_STATIC_COLOR = 2, + XCB_VISUAL_CLASS_PSEUDO_COLOR = 3, + XCB_VISUAL_CLASS_TRUE_COLOR = 4, + XCB_VISUAL_CLASS_DIRECT_COLOR = 5 +} xcb_visual_class_t; + +/** + * @brief xcb_visualtype_t + **/ +typedef struct xcb_visualtype_t { + xcb_visualid_t visual_id; /**< */ + uint8_t _class; /**< */ + uint8_t bits_per_rgb_value; /**< */ + uint16_t colormap_entries; /**< */ + uint32_t red_mask; /**< */ + uint32_t green_mask; /**< */ + uint32_t blue_mask; /**< */ + uint8_t pad0[4]; /**< */ +} xcb_visualtype_t; + +/** + * @brief xcb_visualtype_iterator_t + **/ +typedef struct xcb_visualtype_iterator_t { + xcb_visualtype_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_visualtype_iterator_t; + +/** + * @brief xcb_depth_t + **/ +typedef struct xcb_depth_t { + uint8_t depth; /**< */ + uint8_t pad0; /**< */ + uint16_t visuals_len; /**< */ + uint8_t pad1[4]; /**< */ +} xcb_depth_t; + +/** + * @brief xcb_depth_iterator_t + **/ +typedef struct xcb_depth_iterator_t { + xcb_depth_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_depth_iterator_t; + +/** + * @brief xcb_screen_t + **/ +typedef struct xcb_screen_t { + xcb_window_t root; /**< */ + xcb_colormap_t default_colormap; /**< */ + uint32_t white_pixel; /**< */ + uint32_t black_pixel; /**< */ + uint32_t current_input_masks; /**< */ + uint16_t width_in_pixels; /**< */ + uint16_t height_in_pixels; /**< */ + uint16_t width_in_millimeters; /**< */ + uint16_t height_in_millimeters; /**< */ + uint16_t min_installed_maps; /**< */ + uint16_t max_installed_maps; /**< */ + xcb_visualid_t root_visual; /**< */ + uint8_t backing_stores; /**< */ + uint8_t save_unders; /**< */ + uint8_t root_depth; /**< */ + uint8_t allowed_depths_len; /**< */ +} xcb_screen_t; + +/** + * @brief xcb_screen_iterator_t + **/ +typedef struct xcb_screen_iterator_t { + xcb_screen_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_screen_iterator_t; + +/** + * @brief xcb_setup_request_t + **/ +typedef struct xcb_setup_request_t { + uint8_t byte_order; /**< */ + uint8_t pad0; /**< */ + uint16_t protocol_major_version; /**< */ + uint16_t protocol_minor_version; /**< */ + uint16_t authorization_protocol_name_len; /**< */ + uint16_t authorization_protocol_data_len; /**< */ +} xcb_setup_request_t; + +/** + * @brief xcb_setup_request_iterator_t + **/ +typedef struct xcb_setup_request_iterator_t { + xcb_setup_request_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_setup_request_iterator_t; + +/** + * @brief xcb_setup_failed_t + **/ +typedef struct xcb_setup_failed_t { + uint8_t status; /**< */ + uint8_t reason_len; /**< */ + uint16_t protocol_major_version; /**< */ + uint16_t protocol_minor_version; /**< */ + uint16_t length; /**< */ +} xcb_setup_failed_t; + +/** + * @brief xcb_setup_failed_iterator_t + **/ +typedef struct xcb_setup_failed_iterator_t { + xcb_setup_failed_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_setup_failed_iterator_t; + +/** + * @brief xcb_setup_authenticate_t + **/ +typedef struct xcb_setup_authenticate_t { + uint8_t status; /**< */ + uint8_t pad0[5]; /**< */ + uint16_t length; /**< */ +} xcb_setup_authenticate_t; + +/** + * @brief xcb_setup_authenticate_iterator_t + **/ +typedef struct xcb_setup_authenticate_iterator_t { + xcb_setup_authenticate_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_setup_authenticate_iterator_t; + +typedef enum xcb_image_order_t { + XCB_IMAGE_ORDER_LSB_FIRST = 0, + XCB_IMAGE_ORDER_MSB_FIRST = 1 +} xcb_image_order_t; + +/** + * @brief xcb_setup_t + **/ +typedef struct xcb_setup_t { + uint8_t status; /**< */ + uint8_t pad0; /**< */ + uint16_t protocol_major_version; /**< */ + uint16_t protocol_minor_version; /**< */ + uint16_t length; /**< */ + uint32_t release_number; /**< */ + uint32_t resource_id_base; /**< */ + uint32_t resource_id_mask; /**< */ + uint32_t motion_buffer_size; /**< */ + uint16_t vendor_len; /**< */ + uint16_t maximum_request_length; /**< */ + uint8_t roots_len; /**< */ + uint8_t pixmap_formats_len; /**< */ + uint8_t image_byte_order; /**< */ + uint8_t bitmap_format_bit_order; /**< */ + uint8_t bitmap_format_scanline_unit; /**< */ + uint8_t bitmap_format_scanline_pad; /**< */ + xcb_keycode_t min_keycode; /**< */ + xcb_keycode_t max_keycode; /**< */ + uint8_t pad1[4]; /**< */ +} xcb_setup_t; + +/** + * @brief xcb_setup_iterator_t + **/ +typedef struct xcb_setup_iterator_t { + xcb_setup_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_setup_iterator_t; + +typedef enum xcb_mod_mask_t { + XCB_MOD_MASK_SHIFT = (1 << 0), + XCB_MOD_MASK_LOCK = (1 << 1), + XCB_MOD_MASK_CONTROL = (1 << 2), + XCB_MOD_MASK_1 = (1 << 3), + XCB_MOD_MASK_2 = (1 << 4), + XCB_MOD_MASK_3 = (1 << 5), + XCB_MOD_MASK_4 = (1 << 6), + XCB_MOD_MASK_5 = (1 << 7) +} xcb_mod_mask_t; + +/** Opcode for xcb_key_press. */ +#define XCB_KEY_PRESS 2 + +/** + * @brief xcb_key_press_event_t + **/ +typedef struct xcb_key_press_event_t { + uint8_t response_type; /**< */ + xcb_keycode_t detail; /**< */ + uint16_t sequence; /**< */ + xcb_timestamp_t time; /**< */ + xcb_window_t root; /**< */ + xcb_window_t event; /**< */ + xcb_window_t child; /**< */ + int16_t root_x; /**< */ + int16_t root_y; /**< */ + int16_t event_x; /**< */ + int16_t event_y; /**< */ + uint16_t state; /**< */ + uint8_t same_screen; /**< */ +} xcb_key_press_event_t; + +/** Opcode for xcb_key_release. */ +#define XCB_KEY_RELEASE 3 + +typedef xcb_key_press_event_t xcb_key_release_event_t; + +typedef enum xcb_button_mask_t { + XCB_BUTTON_MASK_1 = (1 << 8), + XCB_BUTTON_MASK_2 = (1 << 9), + XCB_BUTTON_MASK_3 = (1 << 10), + XCB_BUTTON_MASK_4 = (1 << 11), + XCB_BUTTON_MASK_5 = (1 << 12), + XCB_BUTTON_MASK_ANY = (1 << 15) +} xcb_button_mask_t; + +/** Opcode for xcb_button_press. */ +#define XCB_BUTTON_PRESS 4 + +/** + * @brief xcb_button_press_event_t + **/ +typedef struct xcb_button_press_event_t { + uint8_t response_type; /**< */ + xcb_button_t detail; /**< */ + uint16_t sequence; /**< */ + xcb_timestamp_t time; /**< */ + xcb_window_t root; /**< */ + xcb_window_t event; /**< */ + xcb_window_t child; /**< */ + int16_t root_x; /**< */ + int16_t root_y; /**< */ + int16_t event_x; /**< */ + int16_t event_y; /**< */ + uint16_t state; /**< */ + uint8_t same_screen; /**< */ +} xcb_button_press_event_t; + +/** Opcode for xcb_button_release. */ +#define XCB_BUTTON_RELEASE 5 + +typedef xcb_button_press_event_t xcb_button_release_event_t; + +typedef enum xcb_motion_t { + XCB_MOTION_NORMAL = 0, + XCB_MOTION_HINT = 1 +} xcb_motion_t; + +/** Opcode for xcb_motion_notify. */ +#define XCB_MOTION_NOTIFY 6 + +/** + * @brief xcb_motion_notify_event_t + **/ +typedef struct xcb_motion_notify_event_t { + uint8_t response_type; /**< */ + uint8_t detail; /**< */ + uint16_t sequence; /**< */ + xcb_timestamp_t time; /**< */ + xcb_window_t root; /**< */ + xcb_window_t event; /**< */ + xcb_window_t child; /**< */ + int16_t root_x; /**< */ + int16_t root_y; /**< */ + int16_t event_x; /**< */ + int16_t event_y; /**< */ + uint16_t state; /**< */ + uint8_t same_screen; /**< */ +} xcb_motion_notify_event_t; + +typedef enum xcb_notify_detail_t { + XCB_NOTIFY_DETAIL_ANCESTOR = 0, + XCB_NOTIFY_DETAIL_VIRTUAL = 1, + XCB_NOTIFY_DETAIL_INFERIOR = 2, + XCB_NOTIFY_DETAIL_NONLINEAR = 3, + XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, + XCB_NOTIFY_DETAIL_POINTER = 5, + XCB_NOTIFY_DETAIL_POINTER_ROOT = 6, + XCB_NOTIFY_DETAIL_NONE = 7 +} xcb_notify_detail_t; + +typedef enum xcb_notify_mode_t { + XCB_NOTIFY_MODE_NORMAL = 0, + XCB_NOTIFY_MODE_GRAB = 1, + XCB_NOTIFY_MODE_UNGRAB = 2, + XCB_NOTIFY_MODE_WHILE_GRABBED = 3 +} xcb_notify_mode_t; + +/** Opcode for xcb_enter_notify. */ +#define XCB_ENTER_NOTIFY 7 + +/** + * @brief xcb_enter_notify_event_t + **/ +typedef struct xcb_enter_notify_event_t { + uint8_t response_type; /**< */ + uint8_t detail; /**< */ + uint16_t sequence; /**< */ + xcb_timestamp_t time; /**< */ + xcb_window_t root; /**< */ + xcb_window_t event; /**< */ + xcb_window_t child; /**< */ + int16_t root_x; /**< */ + int16_t root_y; /**< */ + int16_t event_x; /**< */ + int16_t event_y; /**< */ + uint16_t state; /**< */ + uint8_t mode; /**< */ + uint8_t same_screen_focus; /**< */ +} xcb_enter_notify_event_t; + +/** Opcode for xcb_leave_notify. */ +#define XCB_LEAVE_NOTIFY 8 + +typedef xcb_enter_notify_event_t xcb_leave_notify_event_t; + +/** Opcode for xcb_focus_in. */ +#define XCB_FOCUS_IN 9 + +/** + * @brief xcb_focus_in_event_t + **/ +typedef struct xcb_focus_in_event_t { + uint8_t response_type; /**< */ + uint8_t detail; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + uint8_t mode; /**< */ +} xcb_focus_in_event_t; + +/** Opcode for xcb_focus_out. */ +#define XCB_FOCUS_OUT 10 + +typedef xcb_focus_in_event_t xcb_focus_out_event_t; + +/** Opcode for xcb_keymap_notify. */ +#define XCB_KEYMAP_NOTIFY 11 + +/** + * @brief xcb_keymap_notify_event_t + **/ +typedef struct xcb_keymap_notify_event_t { + uint8_t response_type; /**< */ + uint8_t keys[31]; /**< */ +} xcb_keymap_notify_event_t; + +/** Opcode for xcb_expose. */ +#define XCB_EXPOSE 12 + +/** + * @brief xcb_expose_event_t + **/ +typedef struct xcb_expose_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t window; /**< */ + uint16_t x; /**< */ + uint16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint16_t count; /**< */ +} xcb_expose_event_t; + +/** Opcode for xcb_graphics_exposure. */ +#define XCB_GRAPHICS_EXPOSURE 13 + +/** + * @brief xcb_graphics_exposure_event_t + **/ +typedef struct xcb_graphics_exposure_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_drawable_t drawable; /**< */ + uint16_t x; /**< */ + uint16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint16_t minor_opcode; /**< */ + uint16_t count; /**< */ + uint8_t major_opcode; /**< */ +} xcb_graphics_exposure_event_t; + +/** Opcode for xcb_no_exposure. */ +#define XCB_NO_EXPOSURE 14 + +/** + * @brief xcb_no_exposure_event_t + **/ +typedef struct xcb_no_exposure_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_drawable_t drawable; /**< */ + uint16_t minor_opcode; /**< */ + uint8_t major_opcode; /**< */ +} xcb_no_exposure_event_t; + +typedef enum xcb_visibility_t { + XCB_VISIBILITY_UNOBSCURED = 0, + XCB_VISIBILITY_PARTIALLY_OBSCURED = 1, + XCB_VISIBILITY_FULLY_OBSCURED = 2 +} xcb_visibility_t; + +/** Opcode for xcb_visibility_notify. */ +#define XCB_VISIBILITY_NOTIFY 15 + +/** + * @brief xcb_visibility_notify_event_t + **/ +typedef struct xcb_visibility_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t window; /**< */ + uint8_t state; /**< */ +} xcb_visibility_notify_event_t; + +/** Opcode for xcb_create_notify. */ +#define XCB_CREATE_NOTIFY 16 + +/** + * @brief xcb_create_notify_event_t + **/ +typedef struct xcb_create_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t parent; /**< */ + xcb_window_t window; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint16_t border_width; /**< */ + uint8_t override_redirect; /**< */ +} xcb_create_notify_event_t; + +/** Opcode for xcb_destroy_notify. */ +#define XCB_DESTROY_NOTIFY 17 + +/** + * @brief xcb_destroy_notify_event_t + **/ +typedef struct xcb_destroy_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + xcb_window_t window; /**< */ +} xcb_destroy_notify_event_t; + +/** Opcode for xcb_unmap_notify. */ +#define XCB_UNMAP_NOTIFY 18 + +/** + * @brief xcb_unmap_notify_event_t + **/ +typedef struct xcb_unmap_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + xcb_window_t window; /**< */ + uint8_t from_configure; /**< */ +} xcb_unmap_notify_event_t; + +/** Opcode for xcb_map_notify. */ +#define XCB_MAP_NOTIFY 19 + +/** + * @brief xcb_map_notify_event_t + **/ +typedef struct xcb_map_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + xcb_window_t window; /**< */ + uint8_t override_redirect; /**< */ +} xcb_map_notify_event_t; + +/** Opcode for xcb_map_request. */ +#define XCB_MAP_REQUEST 20 + +/** + * @brief xcb_map_request_event_t + **/ +typedef struct xcb_map_request_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t parent; /**< */ + xcb_window_t window; /**< */ +} xcb_map_request_event_t; + +/** Opcode for xcb_reparent_notify. */ +#define XCB_REPARENT_NOTIFY 21 + +/** + * @brief xcb_reparent_notify_event_t + **/ +typedef struct xcb_reparent_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + xcb_window_t window; /**< */ + xcb_window_t parent; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint8_t override_redirect; /**< */ +} xcb_reparent_notify_event_t; + +/** Opcode for xcb_configure_notify. */ +#define XCB_CONFIGURE_NOTIFY 22 + +/** + * @brief xcb_configure_notify_event_t + **/ +typedef struct xcb_configure_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + xcb_window_t window; /**< */ + xcb_window_t above_sibling; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint16_t border_width; /**< */ + uint8_t override_redirect; /**< */ +} xcb_configure_notify_event_t; + +/** Opcode for xcb_configure_request. */ +#define XCB_CONFIGURE_REQUEST 23 + +/** + * @brief xcb_configure_request_event_t + **/ +typedef struct xcb_configure_request_event_t { + uint8_t response_type; /**< */ + uint8_t stack_mode; /**< */ + uint16_t sequence; /**< */ + xcb_window_t parent; /**< */ + xcb_window_t window; /**< */ + xcb_window_t sibling; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint16_t border_width; /**< */ + uint16_t value_mask; /**< */ +} xcb_configure_request_event_t; + +/** Opcode for xcb_gravity_notify. */ +#define XCB_GRAVITY_NOTIFY 24 + +/** + * @brief xcb_gravity_notify_event_t + **/ +typedef struct xcb_gravity_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + xcb_window_t window; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_gravity_notify_event_t; + +/** Opcode for xcb_resize_request. */ +#define XCB_RESIZE_REQUEST 25 + +/** + * @brief xcb_resize_request_event_t + **/ +typedef struct xcb_resize_request_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t window; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_resize_request_event_t; + +typedef enum xcb_place_t { + XCB_PLACE_ON_TOP = 0, + XCB_PLACE_ON_BOTTOM = 1 +} xcb_place_t; + +/** Opcode for xcb_circulate_notify. */ +#define XCB_CIRCULATE_NOTIFY 26 + +/** + * @brief xcb_circulate_notify_event_t + **/ +typedef struct xcb_circulate_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t event; /**< */ + xcb_window_t window; /**< */ + uint8_t pad1[4]; /**< */ + uint8_t place; /**< */ +} xcb_circulate_notify_event_t; + +/** Opcode for xcb_circulate_request. */ +#define XCB_CIRCULATE_REQUEST 27 + +typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t; + +typedef enum xcb_property_t { + XCB_PROPERTY_NEW_VALUE = 0, + XCB_PROPERTY_DELETE = 1 +} xcb_property_t; + +/** Opcode for xcb_property_notify. */ +#define XCB_PROPERTY_NOTIFY 28 + +/** + * @brief xcb_property_notify_event_t + **/ +typedef struct xcb_property_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t window; /**< */ + xcb_atom_t atom; /**< */ + xcb_timestamp_t time; /**< */ + uint8_t state; /**< */ +} xcb_property_notify_event_t; + +/** Opcode for xcb_selection_clear. */ +#define XCB_SELECTION_CLEAR 29 + +/** + * @brief xcb_selection_clear_event_t + **/ +typedef struct xcb_selection_clear_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_timestamp_t time; /**< */ + xcb_window_t owner; /**< */ + xcb_atom_t selection; /**< */ +} xcb_selection_clear_event_t; + +/** Opcode for xcb_selection_request. */ +#define XCB_SELECTION_REQUEST 30 + +/** + * @brief xcb_selection_request_event_t + **/ +typedef struct xcb_selection_request_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_timestamp_t time; /**< */ + xcb_window_t owner; /**< */ + xcb_window_t requestor; /**< */ + xcb_atom_t selection; /**< */ + xcb_atom_t target; /**< */ + xcb_atom_t property; /**< */ +} xcb_selection_request_event_t; + +/** Opcode for xcb_selection_notify. */ +#define XCB_SELECTION_NOTIFY 31 + +/** + * @brief xcb_selection_notify_event_t + **/ +typedef struct xcb_selection_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_timestamp_t time; /**< */ + xcb_window_t requestor; /**< */ + xcb_atom_t selection; /**< */ + xcb_atom_t target; /**< */ + xcb_atom_t property; /**< */ +} xcb_selection_notify_event_t; + +typedef enum xcb_colormap_state_t { + XCB_COLORMAP_STATE_UNINSTALLED = 0, + XCB_COLORMAP_STATE_INSTALLED = 1 +} xcb_colormap_state_t; + +/** Opcode for xcb_colormap_notify. */ +#define XCB_COLORMAP_NOTIFY 32 + +/** + * @brief xcb_colormap_notify_event_t + **/ +typedef struct xcb_colormap_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + xcb_window_t window; /**< */ + xcb_colormap_t colormap; /**< */ + uint8_t _new; /**< */ + uint8_t state; /**< */ +} xcb_colormap_notify_event_t; + +/** + * @brief xcb_client_message_data_t + **/ +typedef union xcb_client_message_data_t { + uint8_t data8[20]; /**< */ + uint16_t data16[10]; /**< */ + uint32_t data32[5]; /**< */ +} xcb_client_message_data_t; + +/** + * @brief xcb_client_message_data_iterator_t + **/ +typedef struct xcb_client_message_data_iterator_t { + xcb_client_message_data_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_client_message_data_iterator_t; + +/** Opcode for xcb_client_message. */ +#define XCB_CLIENT_MESSAGE 33 + +/** + * @brief xcb_client_message_event_t + **/ +typedef struct xcb_client_message_event_t { + uint8_t response_type; /**< */ + uint8_t format; /**< */ + uint16_t sequence; /**< */ + xcb_window_t window; /**< */ + xcb_atom_t type; /**< */ + xcb_client_message_data_t data; /**< */ +} xcb_client_message_event_t; + +typedef enum xcb_mapping_t { + XCB_MAPPING_MODIFIER = 0, + XCB_MAPPING_KEYBOARD = 1, + XCB_MAPPING_POINTER = 2 +} xcb_mapping_t; + +/** Opcode for xcb_mapping_notify. */ +#define XCB_MAPPING_NOTIFY 34 + +/** + * @brief xcb_mapping_notify_event_t + **/ +typedef struct xcb_mapping_notify_event_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint8_t request; /**< */ + xcb_keycode_t first_keycode; /**< */ + uint8_t count; /**< */ +} xcb_mapping_notify_event_t; + +/** Opcode for xcb_request. */ +#define XCB_REQUEST 1 + +/** + * @brief xcb_request_error_t + **/ +typedef struct xcb_request_error_t { + uint8_t response_type; /**< */ + uint8_t error_code; /**< */ + uint16_t sequence; /**< */ + uint32_t bad_value; /**< */ + uint16_t minor_opcode; /**< */ + uint8_t major_opcode; /**< */ +} xcb_request_error_t; + +/** Opcode for xcb_value. */ +#define XCB_VALUE 2 + +/** + * @brief xcb_value_error_t + **/ +typedef struct xcb_value_error_t { + uint8_t response_type; /**< */ + uint8_t error_code; /**< */ + uint16_t sequence; /**< */ + uint32_t bad_value; /**< */ + uint16_t minor_opcode; /**< */ + uint8_t major_opcode; /**< */ +} xcb_value_error_t; + +/** Opcode for xcb_window. */ +#define XCB_WINDOW 3 + +typedef xcb_value_error_t xcb_window_error_t; + +/** Opcode for xcb_pixmap. */ +#define XCB_PIXMAP 4 + +typedef xcb_value_error_t xcb_pixmap_error_t; + +/** Opcode for xcb_atom. */ +#define XCB_ATOM 5 + +typedef xcb_value_error_t xcb_atom_error_t; + +/** Opcode for xcb_cursor. */ +#define XCB_CURSOR 6 + +typedef xcb_value_error_t xcb_cursor_error_t; + +/** Opcode for xcb_font. */ +#define XCB_FONT 7 + +typedef xcb_value_error_t xcb_font_error_t; + +/** Opcode for xcb_match. */ +#define XCB_MATCH 8 + +typedef xcb_request_error_t xcb_match_error_t; + +/** Opcode for xcb_drawable. */ +#define XCB_DRAWABLE 9 + +typedef xcb_value_error_t xcb_drawable_error_t; + +/** Opcode for xcb_access. */ +#define XCB_ACCESS 10 + +typedef xcb_request_error_t xcb_access_error_t; + +/** Opcode for xcb_alloc. */ +#define XCB_ALLOC 11 + +typedef xcb_request_error_t xcb_alloc_error_t; + +/** Opcode for xcb_colormap. */ +#define XCB_COLORMAP 12 + +typedef xcb_value_error_t xcb_colormap_error_t; + +/** Opcode for xcb_g_context. */ +#define XCB_G_CONTEXT 13 + +typedef xcb_value_error_t xcb_g_context_error_t; + +/** Opcode for xcb_id_choice. */ +#define XCB_ID_CHOICE 14 + +typedef xcb_value_error_t xcb_id_choice_error_t; + +/** Opcode for xcb_name. */ +#define XCB_NAME 15 + +typedef xcb_request_error_t xcb_name_error_t; + +/** Opcode for xcb_length. */ +#define XCB_LENGTH 16 + +typedef xcb_request_error_t xcb_length_error_t; + +/** Opcode for xcb_implementation. */ +#define XCB_IMPLEMENTATION 17 + +typedef xcb_request_error_t xcb_implementation_error_t; + +typedef enum xcb_window_class_t { + XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0, + XCB_WINDOW_CLASS_INPUT_OUTPUT = 1, + XCB_WINDOW_CLASS_INPUT_ONLY = 2 +} xcb_window_class_t; + +typedef enum xcb_cw_t { + XCB_CW_BACK_PIXMAP = (1 << 0), + XCB_CW_BACK_PIXEL = (1 << 1), + XCB_CW_BORDER_PIXMAP = (1 << 2), + XCB_CW_BORDER_PIXEL = (1 << 3), + XCB_CW_BIT_GRAVITY = (1 << 4), + XCB_CW_WIN_GRAVITY = (1 << 5), + XCB_CW_BACKING_STORE = (1 << 6), + XCB_CW_BACKING_PLANES = (1 << 7), + XCB_CW_BACKING_PIXEL = (1 << 8), + XCB_CW_OVERRIDE_REDIRECT = (1 << 9), + XCB_CW_SAVE_UNDER = (1 << 10), + XCB_CW_EVENT_MASK = (1 << 11), + XCB_CW_DONT_PROPAGATE = (1 << 12), + XCB_CW_COLORMAP = (1 << 13), + XCB_CW_CURSOR = (1 << 14) +} xcb_cw_t; + +typedef enum xcb_back_pixmap_t { + XCB_BACK_PIXMAP_NONE = 0, + XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 +} xcb_back_pixmap_t; + +typedef enum xcb_gravity_t { + XCB_GRAVITY_BIT_FORGET = 0, + XCB_GRAVITY_WIN_UNMAP = 0, + XCB_GRAVITY_NORTH_WEST = 1, + XCB_GRAVITY_NORTH = 2, + XCB_GRAVITY_NORTH_EAST = 3, + XCB_GRAVITY_WEST = 4, + XCB_GRAVITY_CENTER = 5, + XCB_GRAVITY_EAST = 6, + XCB_GRAVITY_SOUTH_WEST = 7, + XCB_GRAVITY_SOUTH = 8, + XCB_GRAVITY_SOUTH_EAST = 9, + XCB_GRAVITY_STATIC = 10 +} xcb_gravity_t; + +typedef enum xcb_backing_store_t { + XCB_BACKING_STORE_NOT_USEFUL = 0, + XCB_BACKING_STORE_WHEN_MAPPED = 1, + XCB_BACKING_STORE_ALWAYS = 2 +} xcb_backing_store_t; + +typedef enum xcb_event_mask_t { + XCB_EVENT_MASK_NO_EVENT = 0, + XCB_EVENT_MASK_KEY_PRESS = (1 << 0), + XCB_EVENT_MASK_KEY_RELEASE = (1 << 1), + XCB_EVENT_MASK_BUTTON_PRESS = (1 << 2), + XCB_EVENT_MASK_BUTTON_RELEASE = (1 << 3), + XCB_EVENT_MASK_ENTER_WINDOW = (1 << 4), + XCB_EVENT_MASK_LEAVE_WINDOW = (1 << 5), + XCB_EVENT_MASK_POINTER_MOTION = (1 << 6), + XCB_EVENT_MASK_POINTER_MOTION_HINT = (1 << 7), + XCB_EVENT_MASK_BUTTON_1_MOTION = (1 << 8), + XCB_EVENT_MASK_BUTTON_2_MOTION = (1 << 9), + XCB_EVENT_MASK_BUTTON_3_MOTION = (1 << 10), + XCB_EVENT_MASK_BUTTON_4_MOTION = (1 << 11), + XCB_EVENT_MASK_BUTTON_5_MOTION = (1 << 12), + XCB_EVENT_MASK_BUTTON_MOTION = (1 << 13), + XCB_EVENT_MASK_KEYMAP_STATE = (1 << 14), + XCB_EVENT_MASK_EXPOSURE = (1 << 15), + XCB_EVENT_MASK_VISIBILITY_CHANGE = (1 << 16), + XCB_EVENT_MASK_STRUCTURE_NOTIFY = (1 << 17), + XCB_EVENT_MASK_RESIZE_REDIRECT = (1 << 18), + XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = (1 << 19), + XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = (1 << 20), + XCB_EVENT_MASK_FOCUS_CHANGE = (1 << 21), + XCB_EVENT_MASK_PROPERTY_CHANGE = (1 << 22), + XCB_EVENT_MASK_COLOR_MAP_CHANGE = (1 << 23), + XCB_EVENT_MASK_OWNER_GRAB_BUTTON = (1 << 24) +} xcb_event_mask_t; + +/** Opcode for xcb_create_window. */ +#define XCB_CREATE_WINDOW 1 + +/** + * @brief xcb_create_window_request_t + **/ +typedef struct xcb_create_window_request_t { + uint8_t major_opcode; /**< */ + uint8_t depth; /**< */ + uint16_t length; /**< */ + xcb_window_t wid; /**< */ + xcb_window_t parent; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint16_t border_width; /**< */ + uint16_t _class; /**< */ + xcb_visualid_t visual; /**< */ + uint32_t value_mask; /**< */ +} xcb_create_window_request_t; + +/** Opcode for xcb_change_window_attributes. */ +#define XCB_CHANGE_WINDOW_ATTRIBUTES 2 + +/** + * @brief xcb_change_window_attributes_request_t + **/ +typedef struct xcb_change_window_attributes_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + uint32_t value_mask; /**< */ +} xcb_change_window_attributes_request_t; + +typedef enum xcb_map_state_t { + XCB_MAP_STATE_UNMAPPED = 0, + XCB_MAP_STATE_UNVIEWABLE = 1, + XCB_MAP_STATE_VIEWABLE = 2 +} xcb_map_state_t; + +/** + * @brief xcb_get_window_attributes_cookie_t + **/ +typedef struct xcb_get_window_attributes_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_window_attributes_cookie_t; + +/** Opcode for xcb_get_window_attributes. */ +#define XCB_GET_WINDOW_ATTRIBUTES 3 + +/** + * @brief xcb_get_window_attributes_request_t + **/ +typedef struct xcb_get_window_attributes_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_get_window_attributes_request_t; + +/** + * @brief xcb_get_window_attributes_reply_t + **/ +typedef struct xcb_get_window_attributes_reply_t { + uint8_t response_type; /**< */ + uint8_t backing_store; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_visualid_t visual; /**< */ + uint16_t _class; /**< */ + uint8_t bit_gravity; /**< */ + uint8_t win_gravity; /**< */ + uint32_t backing_planes; /**< */ + uint32_t backing_pixel; /**< */ + uint8_t save_under; /**< */ + uint8_t map_is_installed; /**< */ + uint8_t map_state; /**< */ + uint8_t override_redirect; /**< */ + xcb_colormap_t colormap; /**< */ + uint32_t all_event_masks; /**< */ + uint32_t your_event_mask; /**< */ + uint16_t do_not_propagate_mask; /**< */ +} xcb_get_window_attributes_reply_t; + +/** Opcode for xcb_destroy_window. */ +#define XCB_DESTROY_WINDOW 4 + +/** + * @brief xcb_destroy_window_request_t + **/ +typedef struct xcb_destroy_window_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_destroy_window_request_t; + +/** Opcode for xcb_destroy_subwindows. */ +#define XCB_DESTROY_SUBWINDOWS 5 + +/** + * @brief xcb_destroy_subwindows_request_t + **/ +typedef struct xcb_destroy_subwindows_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_destroy_subwindows_request_t; + +typedef enum xcb_set_mode_t { + XCB_SET_MODE_INSERT = 0, + XCB_SET_MODE_DELETE = 1 +} xcb_set_mode_t; + +/** Opcode for xcb_change_save_set. */ +#define XCB_CHANGE_SAVE_SET 6 + +/** + * @brief xcb_change_save_set_request_t + **/ +typedef struct xcb_change_save_set_request_t { + uint8_t major_opcode; /**< */ + uint8_t mode; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_change_save_set_request_t; + +/** Opcode for xcb_reparent_window. */ +#define XCB_REPARENT_WINDOW 7 + +/** + * @brief xcb_reparent_window_request_t + **/ +typedef struct xcb_reparent_window_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + xcb_window_t parent; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_reparent_window_request_t; + +/** Opcode for xcb_map_window. */ +#define XCB_MAP_WINDOW 8 + +/** + * @brief xcb_map_window_request_t + **/ +typedef struct xcb_map_window_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_map_window_request_t; + +/** Opcode for xcb_map_subwindows. */ +#define XCB_MAP_SUBWINDOWS 9 + +/** + * @brief xcb_map_subwindows_request_t + **/ +typedef struct xcb_map_subwindows_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_map_subwindows_request_t; + +/** Opcode for xcb_unmap_window. */ +#define XCB_UNMAP_WINDOW 10 + +/** + * @brief xcb_unmap_window_request_t + **/ +typedef struct xcb_unmap_window_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_unmap_window_request_t; + +/** Opcode for xcb_unmap_subwindows. */ +#define XCB_UNMAP_SUBWINDOWS 11 + +/** + * @brief xcb_unmap_subwindows_request_t + **/ +typedef struct xcb_unmap_subwindows_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_unmap_subwindows_request_t; + +typedef enum xcb_config_window_t { + XCB_CONFIG_WINDOW_X = (1 << 0), + XCB_CONFIG_WINDOW_Y = (1 << 1), + XCB_CONFIG_WINDOW_WIDTH = (1 << 2), + XCB_CONFIG_WINDOW_HEIGHT = (1 << 3), + XCB_CONFIG_WINDOW_BORDER_WIDTH = (1 << 4), + XCB_CONFIG_WINDOW_SIBLING = (1 << 5), + XCB_CONFIG_WINDOW_STACK_MODE = (1 << 6) +} xcb_config_window_t; + +typedef enum xcb_stack_mode_t { + XCB_STACK_MODE_ABOVE = 0, + XCB_STACK_MODE_BELOW = 1, + XCB_STACK_MODE_TOP_IF = 2, + XCB_STACK_MODE_BOTTOM_IF = 3, + XCB_STACK_MODE_OPPOSITE = 4 +} xcb_stack_mode_t; + +/** Opcode for xcb_configure_window. */ +#define XCB_CONFIGURE_WINDOW 12 + +/** + * @brief xcb_configure_window_request_t + **/ +typedef struct xcb_configure_window_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + uint16_t value_mask; /**< */ +} xcb_configure_window_request_t; + +typedef enum xcb_circulate_t { + XCB_CIRCULATE_RAISE_LOWEST = 0, + XCB_CIRCULATE_LOWER_HIGHEST = 1 +} xcb_circulate_t; + +/** Opcode for xcb_circulate_window. */ +#define XCB_CIRCULATE_WINDOW 13 + +/** + * @brief xcb_circulate_window_request_t + **/ +typedef struct xcb_circulate_window_request_t { + uint8_t major_opcode; /**< */ + uint8_t direction; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_circulate_window_request_t; + +/** + * @brief xcb_get_geometry_cookie_t + **/ +typedef struct xcb_get_geometry_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_geometry_cookie_t; + +/** Opcode for xcb_get_geometry. */ +#define XCB_GET_GEOMETRY 14 + +/** + * @brief xcb_get_geometry_request_t + **/ +typedef struct xcb_get_geometry_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ +} xcb_get_geometry_request_t; + +/** + * @brief xcb_get_geometry_reply_t + **/ +typedef struct xcb_get_geometry_reply_t { + uint8_t response_type; /**< */ + uint8_t depth; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_window_t root; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint16_t border_width; /**< */ +} xcb_get_geometry_reply_t; + +/** + * @brief xcb_query_tree_cookie_t + **/ +typedef struct xcb_query_tree_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_tree_cookie_t; + +/** Opcode for xcb_query_tree. */ +#define XCB_QUERY_TREE 15 + +/** + * @brief xcb_query_tree_request_t + **/ +typedef struct xcb_query_tree_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_query_tree_request_t; + +/** + * @brief xcb_query_tree_reply_t + **/ +typedef struct xcb_query_tree_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_window_t root; /**< */ + xcb_window_t parent; /**< */ + uint16_t children_len; /**< */ + uint8_t pad1[14]; /**< */ +} xcb_query_tree_reply_t; + +/** + * @brief xcb_intern_atom_cookie_t + **/ +typedef struct xcb_intern_atom_cookie_t { + unsigned int sequence; /**< */ +} xcb_intern_atom_cookie_t; + +/** Opcode for xcb_intern_atom. */ +#define XCB_INTERN_ATOM 16 + +/** + * @brief xcb_intern_atom_request_t + **/ +typedef struct xcb_intern_atom_request_t { + uint8_t major_opcode; /**< */ + uint8_t only_if_exists; /**< */ + uint16_t length; /**< */ + uint16_t name_len; /**< */ + uint8_t pad0[2]; /**< */ +} xcb_intern_atom_request_t; + +/** + * @brief xcb_intern_atom_reply_t + **/ +typedef struct xcb_intern_atom_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_atom_t atom; /**< */ +} xcb_intern_atom_reply_t; + +/** + * @brief xcb_get_atom_name_cookie_t + **/ +typedef struct xcb_get_atom_name_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_atom_name_cookie_t; + +/** Opcode for xcb_get_atom_name. */ +#define XCB_GET_ATOM_NAME 17 + +/** + * @brief xcb_get_atom_name_request_t + **/ +typedef struct xcb_get_atom_name_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_atom_t atom; /**< */ +} xcb_get_atom_name_request_t; + +/** + * @brief xcb_get_atom_name_reply_t + **/ +typedef struct xcb_get_atom_name_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t name_len; /**< */ + uint8_t pad1[22]; /**< */ +} xcb_get_atom_name_reply_t; + +typedef enum xcb_prop_mode_t { + XCB_PROP_MODE_REPLACE = 0, + XCB_PROP_MODE_PREPEND = 1, + XCB_PROP_MODE_APPEND = 2 +} xcb_prop_mode_t; + +/** Opcode for xcb_change_property. */ +#define XCB_CHANGE_PROPERTY 18 + +/** + * @brief xcb_change_property_request_t + **/ +typedef struct xcb_change_property_request_t { + uint8_t major_opcode; /**< */ + uint8_t mode; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + xcb_atom_t property; /**< */ + xcb_atom_t type; /**< */ + uint8_t format; /**< */ + uint8_t pad0[3]; /**< */ + uint32_t data_len; /**< */ +} xcb_change_property_request_t; + +/** Opcode for xcb_delete_property. */ +#define XCB_DELETE_PROPERTY 19 + +/** + * @brief xcb_delete_property_request_t + **/ +typedef struct xcb_delete_property_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + xcb_atom_t property; /**< */ +} xcb_delete_property_request_t; + +typedef enum xcb_get_property_type_t { + XCB_GET_PROPERTY_TYPE_ANY = 0 +} xcb_get_property_type_t; + +/** + * @brief xcb_get_property_cookie_t + **/ +typedef struct xcb_get_property_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_property_cookie_t; + +/** Opcode for xcb_get_property. */ +#define XCB_GET_PROPERTY 20 + +/** + * @brief xcb_get_property_request_t + **/ +typedef struct xcb_get_property_request_t { + uint8_t major_opcode; /**< */ + uint8_t _delete; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + xcb_atom_t property; /**< */ + xcb_atom_t type; /**< */ + uint32_t long_offset; /**< */ + uint32_t long_length; /**< */ +} xcb_get_property_request_t; + +/** + * @brief xcb_get_property_reply_t + **/ +typedef struct xcb_get_property_reply_t { + uint8_t response_type; /**< */ + uint8_t format; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_atom_t type; /**< */ + uint32_t bytes_after; /**< */ + uint32_t value_len; /**< */ + uint8_t pad0[12]; /**< */ +} xcb_get_property_reply_t; + +/** + * @brief xcb_list_properties_cookie_t + **/ +typedef struct xcb_list_properties_cookie_t { + unsigned int sequence; /**< */ +} xcb_list_properties_cookie_t; + +/** Opcode for xcb_list_properties. */ +#define XCB_LIST_PROPERTIES 21 + +/** + * @brief xcb_list_properties_request_t + **/ +typedef struct xcb_list_properties_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_list_properties_request_t; + +/** + * @brief xcb_list_properties_reply_t + **/ +typedef struct xcb_list_properties_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t atoms_len; /**< */ + uint8_t pad1[22]; /**< */ +} xcb_list_properties_reply_t; + +/** Opcode for xcb_set_selection_owner. */ +#define XCB_SET_SELECTION_OWNER 22 + +/** + * @brief xcb_set_selection_owner_request_t + **/ +typedef struct xcb_set_selection_owner_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t owner; /**< */ + xcb_atom_t selection; /**< */ + xcb_timestamp_t time; /**< */ +} xcb_set_selection_owner_request_t; + +/** + * @brief xcb_get_selection_owner_cookie_t + **/ +typedef struct xcb_get_selection_owner_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_selection_owner_cookie_t; + +/** Opcode for xcb_get_selection_owner. */ +#define XCB_GET_SELECTION_OWNER 23 + +/** + * @brief xcb_get_selection_owner_request_t + **/ +typedef struct xcb_get_selection_owner_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_atom_t selection; /**< */ +} xcb_get_selection_owner_request_t; + +/** + * @brief xcb_get_selection_owner_reply_t + **/ +typedef struct xcb_get_selection_owner_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_window_t owner; /**< */ +} xcb_get_selection_owner_reply_t; + +/** Opcode for xcb_convert_selection. */ +#define XCB_CONVERT_SELECTION 24 + +/** + * @brief xcb_convert_selection_request_t + **/ +typedef struct xcb_convert_selection_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t requestor; /**< */ + xcb_atom_t selection; /**< */ + xcb_atom_t target; /**< */ + xcb_atom_t property; /**< */ + xcb_timestamp_t time; /**< */ +} xcb_convert_selection_request_t; + +typedef enum xcb_send_event_dest_t { + XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0, + XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 +} xcb_send_event_dest_t; + +/** Opcode for xcb_send_event. */ +#define XCB_SEND_EVENT 25 + +/** + * @brief xcb_send_event_request_t + **/ +typedef struct xcb_send_event_request_t { + uint8_t major_opcode; /**< */ + uint8_t propagate; /**< */ + uint16_t length; /**< */ + xcb_window_t destination; /**< */ + uint32_t event_mask; /**< */ +} xcb_send_event_request_t; + +typedef enum xcb_grab_mode_t { + XCB_GRAB_MODE_SYNC = 0, + XCB_GRAB_MODE_ASYNC = 1 +} xcb_grab_mode_t; + +typedef enum xcb_grab_status_t { + XCB_GRAB_STATUS_SUCCESS = 0, + XCB_GRAB_STATUS_ALREADY_GRABBED = 1, + XCB_GRAB_STATUS_INVALID_TIME = 2, + XCB_GRAB_STATUS_NOT_VIEWABLE = 3, + XCB_GRAB_STATUS_FROZEN = 4 +} xcb_grab_status_t; + +/** + * @brief xcb_grab_pointer_cookie_t + **/ +typedef struct xcb_grab_pointer_cookie_t { + unsigned int sequence; /**< */ +} xcb_grab_pointer_cookie_t; + +/** Opcode for xcb_grab_pointer. */ +#define XCB_GRAB_POINTER 26 + +/** + * @brief xcb_grab_pointer_request_t + **/ +typedef struct xcb_grab_pointer_request_t { + uint8_t major_opcode; /**< */ + uint8_t owner_events; /**< */ + uint16_t length; /**< */ + xcb_window_t grab_window; /**< */ + uint16_t event_mask; /**< */ + uint8_t pointer_mode; /**< */ + uint8_t keyboard_mode; /**< */ + xcb_window_t confine_to; /**< */ + xcb_cursor_t cursor; /**< */ + xcb_timestamp_t time; /**< */ +} xcb_grab_pointer_request_t; + +/** + * @brief xcb_grab_pointer_reply_t + **/ +typedef struct xcb_grab_pointer_reply_t { + uint8_t response_type; /**< */ + uint8_t status; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ +} xcb_grab_pointer_reply_t; + +/** Opcode for xcb_ungrab_pointer. */ +#define XCB_UNGRAB_POINTER 27 + +/** + * @brief xcb_ungrab_pointer_request_t + **/ +typedef struct xcb_ungrab_pointer_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_timestamp_t time; /**< */ +} xcb_ungrab_pointer_request_t; + +typedef enum xcb_button_index_t { + XCB_BUTTON_INDEX_ANY = 0, + XCB_BUTTON_INDEX_1 = 1, + XCB_BUTTON_INDEX_2 = 2, + XCB_BUTTON_INDEX_3 = 3, + XCB_BUTTON_INDEX_4 = 4, + XCB_BUTTON_INDEX_5 = 5 +} xcb_button_index_t; + +/** Opcode for xcb_grab_button. */ +#define XCB_GRAB_BUTTON 28 + +/** + * @brief xcb_grab_button_request_t + **/ +typedef struct xcb_grab_button_request_t { + uint8_t major_opcode; /**< */ + uint8_t owner_events; /**< */ + uint16_t length; /**< */ + xcb_window_t grab_window; /**< */ + uint16_t event_mask; /**< */ + uint8_t pointer_mode; /**< */ + uint8_t keyboard_mode; /**< */ + xcb_window_t confine_to; /**< */ + xcb_cursor_t cursor; /**< */ + uint8_t button; /**< */ + uint8_t pad0; /**< */ + uint16_t modifiers; /**< */ +} xcb_grab_button_request_t; + +/** Opcode for xcb_ungrab_button. */ +#define XCB_UNGRAB_BUTTON 29 + +/** + * @brief xcb_ungrab_button_request_t + **/ +typedef struct xcb_ungrab_button_request_t { + uint8_t major_opcode; /**< */ + uint8_t button; /**< */ + uint16_t length; /**< */ + xcb_window_t grab_window; /**< */ + uint16_t modifiers; /**< */ + uint8_t pad0[2]; /**< */ +} xcb_ungrab_button_request_t; + +/** Opcode for xcb_change_active_pointer_grab. */ +#define XCB_CHANGE_ACTIVE_POINTER_GRAB 30 + +/** + * @brief xcb_change_active_pointer_grab_request_t + **/ +typedef struct xcb_change_active_pointer_grab_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_cursor_t cursor; /**< */ + xcb_timestamp_t time; /**< */ + uint16_t event_mask; /**< */ +} xcb_change_active_pointer_grab_request_t; + +/** + * @brief xcb_grab_keyboard_cookie_t + **/ +typedef struct xcb_grab_keyboard_cookie_t { + unsigned int sequence; /**< */ +} xcb_grab_keyboard_cookie_t; + +/** Opcode for xcb_grab_keyboard. */ +#define XCB_GRAB_KEYBOARD 31 + +/** + * @brief xcb_grab_keyboard_request_t + **/ +typedef struct xcb_grab_keyboard_request_t { + uint8_t major_opcode; /**< */ + uint8_t owner_events; /**< */ + uint16_t length; /**< */ + xcb_window_t grab_window; /**< */ + xcb_timestamp_t time; /**< */ + uint8_t pointer_mode; /**< */ + uint8_t keyboard_mode; /**< */ +} xcb_grab_keyboard_request_t; + +/** + * @brief xcb_grab_keyboard_reply_t + **/ +typedef struct xcb_grab_keyboard_reply_t { + uint8_t response_type; /**< */ + uint8_t status; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ +} xcb_grab_keyboard_reply_t; + +/** Opcode for xcb_ungrab_keyboard. */ +#define XCB_UNGRAB_KEYBOARD 32 + +/** + * @brief xcb_ungrab_keyboard_request_t + **/ +typedef struct xcb_ungrab_keyboard_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_timestamp_t time; /**< */ +} xcb_ungrab_keyboard_request_t; + +typedef enum xcb_grab_t { + XCB_GRAB_ANY = 0 +} xcb_grab_t; + +/** Opcode for xcb_grab_key. */ +#define XCB_GRAB_KEY 33 + +/** + * @brief xcb_grab_key_request_t + **/ +typedef struct xcb_grab_key_request_t { + uint8_t major_opcode; /**< */ + uint8_t owner_events; /**< */ + uint16_t length; /**< */ + xcb_window_t grab_window; /**< */ + uint16_t modifiers; /**< */ + xcb_keycode_t key; /**< */ + uint8_t pointer_mode; /**< */ + uint8_t keyboard_mode; /**< */ +} xcb_grab_key_request_t; + +/** Opcode for xcb_ungrab_key. */ +#define XCB_UNGRAB_KEY 34 + +/** + * @brief xcb_ungrab_key_request_t + **/ +typedef struct xcb_ungrab_key_request_t { + uint8_t major_opcode; /**< */ + xcb_keycode_t key; /**< */ + uint16_t length; /**< */ + xcb_window_t grab_window; /**< */ + uint16_t modifiers; /**< */ +} xcb_ungrab_key_request_t; + +typedef enum xcb_allow_t { + XCB_ALLOW_ASYNC_POINTER = 0, + XCB_ALLOW_SYNC_POINTER = 1, + XCB_ALLOW_REPLAY_POINTER = 2, + XCB_ALLOW_ASYNC_KEYBOARD = 3, + XCB_ALLOW_SYNC_KEYBOARD = 4, + XCB_ALLOW_REPLAY_KEYBOARD = 5, + XCB_ALLOW_ASYNC_BOTH = 6, + XCB_ALLOW_SYNC_BOTH = 7 +} xcb_allow_t; + +/** Opcode for xcb_allow_events. */ +#define XCB_ALLOW_EVENTS 35 + +/** + * @brief xcb_allow_events_request_t + **/ +typedef struct xcb_allow_events_request_t { + uint8_t major_opcode; /**< */ + uint8_t mode; /**< */ + uint16_t length; /**< */ + xcb_timestamp_t time; /**< */ +} xcb_allow_events_request_t; + +/** Opcode for xcb_grab_server. */ +#define XCB_GRAB_SERVER 36 + +/** + * @brief xcb_grab_server_request_t + **/ +typedef struct xcb_grab_server_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_grab_server_request_t; + +/** Opcode for xcb_ungrab_server. */ +#define XCB_UNGRAB_SERVER 37 + +/** + * @brief xcb_ungrab_server_request_t + **/ +typedef struct xcb_ungrab_server_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_ungrab_server_request_t; + +/** + * @brief xcb_query_pointer_cookie_t + **/ +typedef struct xcb_query_pointer_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_pointer_cookie_t; + +/** Opcode for xcb_query_pointer. */ +#define XCB_QUERY_POINTER 38 + +/** + * @brief xcb_query_pointer_request_t + **/ +typedef struct xcb_query_pointer_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_query_pointer_request_t; + +/** + * @brief xcb_query_pointer_reply_t + **/ +typedef struct xcb_query_pointer_reply_t { + uint8_t response_type; /**< */ + uint8_t same_screen; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_window_t root; /**< */ + xcb_window_t child; /**< */ + int16_t root_x; /**< */ + int16_t root_y; /**< */ + int16_t win_x; /**< */ + int16_t win_y; /**< */ + uint16_t mask; /**< */ +} xcb_query_pointer_reply_t; + +/** + * @brief xcb_timecoord_t + **/ +typedef struct xcb_timecoord_t { + xcb_timestamp_t time; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_timecoord_t; + +/** + * @brief xcb_timecoord_iterator_t + **/ +typedef struct xcb_timecoord_iterator_t { + xcb_timecoord_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_timecoord_iterator_t; + +/** + * @brief xcb_get_motion_events_cookie_t + **/ +typedef struct xcb_get_motion_events_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_motion_events_cookie_t; + +/** Opcode for xcb_get_motion_events. */ +#define XCB_GET_MOTION_EVENTS 39 + +/** + * @brief xcb_get_motion_events_request_t + **/ +typedef struct xcb_get_motion_events_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + xcb_timestamp_t start; /**< */ + xcb_timestamp_t stop; /**< */ +} xcb_get_motion_events_request_t; + +/** + * @brief xcb_get_motion_events_reply_t + **/ +typedef struct xcb_get_motion_events_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t events_len; /**< */ + uint8_t pad1[20]; /**< */ +} xcb_get_motion_events_reply_t; + +/** + * @brief xcb_translate_coordinates_cookie_t + **/ +typedef struct xcb_translate_coordinates_cookie_t { + unsigned int sequence; /**< */ +} xcb_translate_coordinates_cookie_t; + +/** Opcode for xcb_translate_coordinates. */ +#define XCB_TRANSLATE_COORDINATES 40 + +/** + * @brief xcb_translate_coordinates_request_t + **/ +typedef struct xcb_translate_coordinates_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t src_window; /**< */ + xcb_window_t dst_window; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ +} xcb_translate_coordinates_request_t; + +/** + * @brief xcb_translate_coordinates_reply_t + **/ +typedef struct xcb_translate_coordinates_reply_t { + uint8_t response_type; /**< */ + uint8_t same_screen; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_window_t child; /**< */ + uint16_t dst_x; /**< */ + uint16_t dst_y; /**< */ +} xcb_translate_coordinates_reply_t; + +/** Opcode for xcb_warp_pointer. */ +#define XCB_WARP_POINTER 41 + +/** + * @brief xcb_warp_pointer_request_t + **/ +typedef struct xcb_warp_pointer_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t src_window; /**< */ + xcb_window_t dst_window; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ + uint16_t src_width; /**< */ + uint16_t src_height; /**< */ + int16_t dst_x; /**< */ + int16_t dst_y; /**< */ +} xcb_warp_pointer_request_t; + +typedef enum xcb_input_focus_t { + XCB_INPUT_FOCUS_NONE = 0, + XCB_INPUT_FOCUS_POINTER_ROOT = 1, + XCB_INPUT_FOCUS_PARENT = 2 +} xcb_input_focus_t; + +/** Opcode for xcb_set_input_focus. */ +#define XCB_SET_INPUT_FOCUS 42 + +/** + * @brief xcb_set_input_focus_request_t + **/ +typedef struct xcb_set_input_focus_request_t { + uint8_t major_opcode; /**< */ + uint8_t revert_to; /**< */ + uint16_t length; /**< */ + xcb_window_t focus; /**< */ + xcb_timestamp_t time; /**< */ +} xcb_set_input_focus_request_t; + +/** + * @brief xcb_get_input_focus_cookie_t + **/ +typedef struct xcb_get_input_focus_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_input_focus_cookie_t; + +/** Opcode for xcb_get_input_focus. */ +#define XCB_GET_INPUT_FOCUS 43 + +/** + * @brief xcb_get_input_focus_request_t + **/ +typedef struct xcb_get_input_focus_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_get_input_focus_request_t; + +/** + * @brief xcb_get_input_focus_reply_t + **/ +typedef struct xcb_get_input_focus_reply_t { + uint8_t response_type; /**< */ + uint8_t revert_to; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_window_t focus; /**< */ +} xcb_get_input_focus_reply_t; + +/** + * @brief xcb_query_keymap_cookie_t + **/ +typedef struct xcb_query_keymap_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_keymap_cookie_t; + +/** Opcode for xcb_query_keymap. */ +#define XCB_QUERY_KEYMAP 44 + +/** + * @brief xcb_query_keymap_request_t + **/ +typedef struct xcb_query_keymap_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_query_keymap_request_t; + +/** + * @brief xcb_query_keymap_reply_t + **/ +typedef struct xcb_query_keymap_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint8_t keys[32]; /**< */ +} xcb_query_keymap_reply_t; + +/** Opcode for xcb_open_font. */ +#define XCB_OPEN_FONT 45 + +/** + * @brief xcb_open_font_request_t + **/ +typedef struct xcb_open_font_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_font_t fid; /**< */ + uint16_t name_len; /**< */ +} xcb_open_font_request_t; + +/** Opcode for xcb_close_font. */ +#define XCB_CLOSE_FONT 46 + +/** + * @brief xcb_close_font_request_t + **/ +typedef struct xcb_close_font_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_font_t font; /**< */ +} xcb_close_font_request_t; + +typedef enum xcb_font_draw_t { + XCB_FONT_DRAW_LEFT_TO_RIGHT = 0, + XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 +} xcb_font_draw_t; + +/** + * @brief xcb_fontprop_t + **/ +typedef struct xcb_fontprop_t { + xcb_atom_t name; /**< */ + uint32_t value; /**< */ +} xcb_fontprop_t; + +/** + * @brief xcb_fontprop_iterator_t + **/ +typedef struct xcb_fontprop_iterator_t { + xcb_fontprop_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_fontprop_iterator_t; + +/** + * @brief xcb_charinfo_t + **/ +typedef struct xcb_charinfo_t { + int16_t left_side_bearing; /**< */ + int16_t right_side_bearing; /**< */ + int16_t character_width; /**< */ + int16_t ascent; /**< */ + int16_t descent; /**< */ + uint16_t attributes; /**< */ +} xcb_charinfo_t; + +/** + * @brief xcb_charinfo_iterator_t + **/ +typedef struct xcb_charinfo_iterator_t { + xcb_charinfo_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_charinfo_iterator_t; + +/** + * @brief xcb_query_font_cookie_t + **/ +typedef struct xcb_query_font_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_font_cookie_t; + +/** Opcode for xcb_query_font. */ +#define XCB_QUERY_FONT 47 + +/** + * @brief xcb_query_font_request_t + **/ +typedef struct xcb_query_font_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_fontable_t font; /**< */ +} xcb_query_font_request_t; + +/** + * @brief xcb_query_font_reply_t + **/ +typedef struct xcb_query_font_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_charinfo_t min_bounds; /**< */ + uint8_t pad1[4]; /**< */ + xcb_charinfo_t max_bounds; /**< */ + uint8_t pad2[4]; /**< */ + uint16_t min_char_or_byte2; /**< */ + uint16_t max_char_or_byte2; /**< */ + uint16_t default_char; /**< */ + uint16_t properties_len; /**< */ + uint8_t draw_direction; /**< */ + uint8_t min_byte1; /**< */ + uint8_t max_byte1; /**< */ + uint8_t all_chars_exist; /**< */ + int16_t font_ascent; /**< */ + int16_t font_descent; /**< */ + uint32_t char_infos_len; /**< */ +} xcb_query_font_reply_t; + +/** + * @brief xcb_query_text_extents_cookie_t + **/ +typedef struct xcb_query_text_extents_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_text_extents_cookie_t; + +/** Opcode for xcb_query_text_extents. */ +#define XCB_QUERY_TEXT_EXTENTS 48 + +/** + * @brief xcb_query_text_extents_request_t + **/ +typedef struct xcb_query_text_extents_request_t { + uint8_t major_opcode; /**< */ + uint8_t odd_length; /**< */ + uint16_t length; /**< */ + xcb_fontable_t font; /**< */ +} xcb_query_text_extents_request_t; + +/** + * @brief xcb_query_text_extents_reply_t + **/ +typedef struct xcb_query_text_extents_reply_t { + uint8_t response_type; /**< */ + uint8_t draw_direction; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + int16_t font_ascent; /**< */ + int16_t font_descent; /**< */ + int16_t overall_ascent; /**< */ + int16_t overall_descent; /**< */ + int32_t overall_width; /**< */ + int32_t overall_left; /**< */ + int32_t overall_right; /**< */ +} xcb_query_text_extents_reply_t; + +/** + * @brief xcb_str_t + **/ +typedef struct xcb_str_t { + uint8_t name_len; /**< */ +} xcb_str_t; + +/** + * @brief xcb_str_iterator_t + **/ +typedef struct xcb_str_iterator_t { + xcb_str_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_str_iterator_t; + +/** + * @brief xcb_list_fonts_cookie_t + **/ +typedef struct xcb_list_fonts_cookie_t { + unsigned int sequence; /**< */ +} xcb_list_fonts_cookie_t; + +/** Opcode for xcb_list_fonts. */ +#define XCB_LIST_FONTS 49 + +/** + * @brief xcb_list_fonts_request_t + **/ +typedef struct xcb_list_fonts_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + uint16_t max_names; /**< */ + uint16_t pattern_len; /**< */ +} xcb_list_fonts_request_t; + +/** + * @brief xcb_list_fonts_reply_t + **/ +typedef struct xcb_list_fonts_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t names_len; /**< */ + uint8_t pad1[22]; /**< */ +} xcb_list_fonts_reply_t; + +/** + * @brief xcb_list_fonts_with_info_cookie_t + **/ +typedef struct xcb_list_fonts_with_info_cookie_t { + unsigned int sequence; /**< */ +} xcb_list_fonts_with_info_cookie_t; + +/** Opcode for xcb_list_fonts_with_info. */ +#define XCB_LIST_FONTS_WITH_INFO 50 + +/** + * @brief xcb_list_fonts_with_info_request_t + **/ +typedef struct xcb_list_fonts_with_info_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + uint16_t max_names; /**< */ + uint16_t pattern_len; /**< */ +} xcb_list_fonts_with_info_request_t; + +/** + * @brief xcb_list_fonts_with_info_reply_t + **/ +typedef struct xcb_list_fonts_with_info_reply_t { + uint8_t response_type; /**< */ + uint8_t name_len; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_charinfo_t min_bounds; /**< */ + uint8_t pad0[4]; /**< */ + xcb_charinfo_t max_bounds; /**< */ + uint8_t pad1[4]; /**< */ + uint16_t min_char_or_byte2; /**< */ + uint16_t max_char_or_byte2; /**< */ + uint16_t default_char; /**< */ + uint16_t properties_len; /**< */ + uint8_t draw_direction; /**< */ + uint8_t min_byte1; /**< */ + uint8_t max_byte1; /**< */ + uint8_t all_chars_exist; /**< */ + int16_t font_ascent; /**< */ + int16_t font_descent; /**< */ + uint32_t replies_hint; /**< */ +} xcb_list_fonts_with_info_reply_t; + +/** Opcode for xcb_set_font_path. */ +#define XCB_SET_FONT_PATH 51 + +/** + * @brief xcb_set_font_path_request_t + **/ +typedef struct xcb_set_font_path_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + uint16_t font_qty; /**< */ +} xcb_set_font_path_request_t; + +/** + * @brief xcb_get_font_path_cookie_t + **/ +typedef struct xcb_get_font_path_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_font_path_cookie_t; + +/** Opcode for xcb_get_font_path. */ +#define XCB_GET_FONT_PATH 52 + +/** + * @brief xcb_get_font_path_request_t + **/ +typedef struct xcb_get_font_path_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_get_font_path_request_t; + +/** + * @brief xcb_get_font_path_reply_t + **/ +typedef struct xcb_get_font_path_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t path_len; /**< */ + uint8_t pad1[22]; /**< */ +} xcb_get_font_path_reply_t; + +/** Opcode for xcb_create_pixmap. */ +#define XCB_CREATE_PIXMAP 53 + +/** + * @brief xcb_create_pixmap_request_t + **/ +typedef struct xcb_create_pixmap_request_t { + uint8_t major_opcode; /**< */ + uint8_t depth; /**< */ + uint16_t length; /**< */ + xcb_pixmap_t pid; /**< */ + xcb_drawable_t drawable; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_create_pixmap_request_t; + +/** Opcode for xcb_free_pixmap. */ +#define XCB_FREE_PIXMAP 54 + +/** + * @brief xcb_free_pixmap_request_t + **/ +typedef struct xcb_free_pixmap_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_pixmap_t pixmap; /**< */ +} xcb_free_pixmap_request_t; + +typedef enum xcb_gc_t { + XCB_GC_FUNCTION = (1 << 0), + XCB_GC_PLANE_MASK = (1 << 1), + XCB_GC_FOREGROUND = (1 << 2), + XCB_GC_BACKGROUND = (1 << 3), + XCB_GC_LINE_WIDTH = (1 << 4), + XCB_GC_LINE_STYLE = (1 << 5), + XCB_GC_CAP_STYLE = (1 << 6), + XCB_GC_JOIN_STYLE = (1 << 7), + XCB_GC_FILL_STYLE = (1 << 8), + XCB_GC_FILL_RULE = (1 << 9), + XCB_GC_TILE = (1 << 10), + XCB_GC_STIPPLE = (1 << 11), + XCB_GC_TILE_STIPPLE_ORIGIN_X = (1 << 12), + XCB_GC_TILE_STIPPLE_ORIGIN_Y = (1 << 13), + XCB_GC_FONT = (1 << 14), + XCB_GC_SUBWINDOW_MODE = (1 << 15), + XCB_GC_GRAPHICS_EXPOSURES = (1 << 16), + XCB_GC_CLIP_ORIGIN_X = (1 << 17), + XCB_GC_CLIP_ORIGIN_Y = (1 << 18), + XCB_GC_CLIP_MASK = (1 << 19), + XCB_GC_DASH_OFFSET = (1 << 20), + XCB_GC_DASH_LIST = (1 << 21), + XCB_GC_ARC_MODE = (1 << 22) +} xcb_gc_t; + +typedef enum xcb_gx_t { + XCB_GX_CLEAR = 0x0, + XCB_GX_AND = 0x1, + XCB_GX_AND_REVERSE = 0x2, + XCB_GX_COPY = 0x3, + XCB_GX_AND_INVERTED = 0x4, + XCB_GX_NOOP = 0x5, + XCB_GX_XOR = 0x6, + XCB_GX_OR = 0x7, + XCB_GX_NOR = 0x8, + XCB_GX_EQUIV = 0x9, + XCB_GX_INVERT = 0xa, + XCB_GX_OR_REVERSE = 0xb, + XCB_GX_COPY_INVERTED = 0xc, + XCB_GX_OR_INVERTED = 0xd, + XCB_GX_NAND = 0xe, + XCB_GX_SET = 0xf +} xcb_gx_t; + +typedef enum xcb_line_style_t { + XCB_LINE_STYLE_SOLID = 0, + XCB_LINE_STYLE_ON_OFF_DASH = 1, + XCB_LINE_STYLE_DOUBLE_DASH = 2 +} xcb_line_style_t; + +typedef enum xcb_cap_style_t { + XCB_CAP_STYLE_NOT_LAST = 0, + XCB_CAP_STYLE_BUTT = 1, + XCB_CAP_STYLE_ROUND = 2, + XCB_CAP_STYLE_PROJECTING = 3 +} xcb_cap_style_t; + +typedef enum xcb_join_style_t { + XCB_JOIN_STYLE_MITRE = 0, + XCB_JOIN_STYLE_ROUND = 1, + XCB_JOIN_STYLE_BEVEL = 2 +} xcb_join_style_t; + +typedef enum xcb_fill_style_t { + XCB_FILL_STYLE_SOLID = 0, + XCB_FILL_STYLE_TILED = 1, + XCB_FILL_STYLE_STIPPLED = 2, + XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 +} xcb_fill_style_t; + +typedef enum xcb_fill_rule_t { + XCB_FILL_RULE_EVEN_ODD = 0, + XCB_FILL_RULE_WINDING = 1 +} xcb_fill_rule_t; + +typedef enum xcb_subwindow_mode_t { + XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0, + XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 +} xcb_subwindow_mode_t; + +typedef enum xcb_arc_mode_t { + XCB_ARC_MODE_CHORD = 0, + XCB_ARC_MODE_PIE_SLICE = 1 +} xcb_arc_mode_t; + +/** Opcode for xcb_create_gc. */ +#define XCB_CREATE_GC 55 + +/** + * @brief xcb_create_gc_request_t + **/ +typedef struct xcb_create_gc_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_gcontext_t cid; /**< */ + xcb_drawable_t drawable; /**< */ + uint32_t value_mask; /**< */ +} xcb_create_gc_request_t; + +/** Opcode for xcb_change_gc. */ +#define XCB_CHANGE_GC 56 + +/** + * @brief xcb_change_gc_request_t + **/ +typedef struct xcb_change_gc_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_gcontext_t gc; /**< */ + uint32_t value_mask; /**< */ +} xcb_change_gc_request_t; + +/** Opcode for xcb_copy_gc. */ +#define XCB_COPY_GC 57 + +/** + * @brief xcb_copy_gc_request_t + **/ +typedef struct xcb_copy_gc_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_gcontext_t src_gc; /**< */ + xcb_gcontext_t dst_gc; /**< */ + uint32_t value_mask; /**< */ +} xcb_copy_gc_request_t; + +/** Opcode for xcb_set_dashes. */ +#define XCB_SET_DASHES 58 + +/** + * @brief xcb_set_dashes_request_t + **/ +typedef struct xcb_set_dashes_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_gcontext_t gc; /**< */ + uint16_t dash_offset; /**< */ + uint16_t dashes_len; /**< */ +} xcb_set_dashes_request_t; + +typedef enum xcb_clip_ordering_t { + XCB_CLIP_ORDERING_UNSORTED = 0, + XCB_CLIP_ORDERING_Y_SORTED = 1, + XCB_CLIP_ORDERING_YX_SORTED = 2, + XCB_CLIP_ORDERING_YX_BANDED = 3 +} xcb_clip_ordering_t; + +/** Opcode for xcb_set_clip_rectangles. */ +#define XCB_SET_CLIP_RECTANGLES 59 + +/** + * @brief xcb_set_clip_rectangles_request_t + **/ +typedef struct xcb_set_clip_rectangles_request_t { + uint8_t major_opcode; /**< */ + uint8_t ordering; /**< */ + uint16_t length; /**< */ + xcb_gcontext_t gc; /**< */ + int16_t clip_x_origin; /**< */ + int16_t clip_y_origin; /**< */ +} xcb_set_clip_rectangles_request_t; + +/** Opcode for xcb_free_gc. */ +#define XCB_FREE_GC 60 + +/** + * @brief xcb_free_gc_request_t + **/ +typedef struct xcb_free_gc_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_free_gc_request_t; + +/** Opcode for xcb_clear_area. */ +#define XCB_CLEAR_AREA 61 + +/** + * @brief xcb_clear_area_request_t + **/ +typedef struct xcb_clear_area_request_t { + uint8_t major_opcode; /**< */ + uint8_t exposures; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_clear_area_request_t; + +/** Opcode for xcb_copy_area. */ +#define XCB_COPY_AREA 62 + +/** + * @brief xcb_copy_area_request_t + **/ +typedef struct xcb_copy_area_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t src_drawable; /**< */ + xcb_drawable_t dst_drawable; /**< */ + xcb_gcontext_t gc; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ + int16_t dst_x; /**< */ + int16_t dst_y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_copy_area_request_t; + +/** Opcode for xcb_copy_plane. */ +#define XCB_COPY_PLANE 63 + +/** + * @brief xcb_copy_plane_request_t + **/ +typedef struct xcb_copy_plane_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t src_drawable; /**< */ + xcb_drawable_t dst_drawable; /**< */ + xcb_gcontext_t gc; /**< */ + int16_t src_x; /**< */ + int16_t src_y; /**< */ + int16_t dst_x; /**< */ + int16_t dst_y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint32_t bit_plane; /**< */ +} xcb_copy_plane_request_t; + +typedef enum xcb_coord_mode_t { + XCB_COORD_MODE_ORIGIN = 0, + XCB_COORD_MODE_PREVIOUS = 1 +} xcb_coord_mode_t; + +/** Opcode for xcb_poly_point. */ +#define XCB_POLY_POINT 64 + +/** + * @brief xcb_poly_point_request_t + **/ +typedef struct xcb_poly_point_request_t { + uint8_t major_opcode; /**< */ + uint8_t coordinate_mode; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_poly_point_request_t; + +/** Opcode for xcb_poly_line. */ +#define XCB_POLY_LINE 65 + +/** + * @brief xcb_poly_line_request_t + **/ +typedef struct xcb_poly_line_request_t { + uint8_t major_opcode; /**< */ + uint8_t coordinate_mode; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_poly_line_request_t; + +/** + * @brief xcb_segment_t + **/ +typedef struct xcb_segment_t { + int16_t x1; /**< */ + int16_t y1; /**< */ + int16_t x2; /**< */ + int16_t y2; /**< */ +} xcb_segment_t; + +/** + * @brief xcb_segment_iterator_t + **/ +typedef struct xcb_segment_iterator_t { + xcb_segment_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_segment_iterator_t; + +/** Opcode for xcb_poly_segment. */ +#define XCB_POLY_SEGMENT 66 + +/** + * @brief xcb_poly_segment_request_t + **/ +typedef struct xcb_poly_segment_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_poly_segment_request_t; + +/** Opcode for xcb_poly_rectangle. */ +#define XCB_POLY_RECTANGLE 67 + +/** + * @brief xcb_poly_rectangle_request_t + **/ +typedef struct xcb_poly_rectangle_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_poly_rectangle_request_t; + +/** Opcode for xcb_poly_arc. */ +#define XCB_POLY_ARC 68 + +/** + * @brief xcb_poly_arc_request_t + **/ +typedef struct xcb_poly_arc_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_poly_arc_request_t; + +typedef enum xcb_poly_shape_t { + XCB_POLY_SHAPE_COMPLEX = 0, + XCB_POLY_SHAPE_NONCONVEX = 1, + XCB_POLY_SHAPE_CONVEX = 2 +} xcb_poly_shape_t; + +/** Opcode for xcb_fill_poly. */ +#define XCB_FILL_POLY 69 + +/** + * @brief xcb_fill_poly_request_t + **/ +typedef struct xcb_fill_poly_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ + uint8_t shape; /**< */ + uint8_t coordinate_mode; /**< */ +} xcb_fill_poly_request_t; + +/** Opcode for xcb_poly_fill_rectangle. */ +#define XCB_POLY_FILL_RECTANGLE 70 + +/** + * @brief xcb_poly_fill_rectangle_request_t + **/ +typedef struct xcb_poly_fill_rectangle_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_poly_fill_rectangle_request_t; + +/** Opcode for xcb_poly_fill_arc. */ +#define XCB_POLY_FILL_ARC 71 + +/** + * @brief xcb_poly_fill_arc_request_t + **/ +typedef struct xcb_poly_fill_arc_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ +} xcb_poly_fill_arc_request_t; + +typedef enum xcb_image_format_t { + XCB_IMAGE_FORMAT_XY_BITMAP = 0, + XCB_IMAGE_FORMAT_XY_PIXMAP = 1, + XCB_IMAGE_FORMAT_Z_PIXMAP = 2 +} xcb_image_format_t; + +/** Opcode for xcb_put_image. */ +#define XCB_PUT_IMAGE 72 + +/** + * @brief xcb_put_image_request_t + **/ +typedef struct xcb_put_image_request_t { + uint8_t major_opcode; /**< */ + uint8_t format; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + int16_t dst_x; /**< */ + int16_t dst_y; /**< */ + uint8_t left_pad; /**< */ + uint8_t depth; /**< */ +} xcb_put_image_request_t; + +/** + * @brief xcb_get_image_cookie_t + **/ +typedef struct xcb_get_image_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_image_cookie_t; + +/** Opcode for xcb_get_image. */ +#define XCB_GET_IMAGE 73 + +/** + * @brief xcb_get_image_request_t + **/ +typedef struct xcb_get_image_request_t { + uint8_t major_opcode; /**< */ + uint8_t format; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ + uint32_t plane_mask; /**< */ +} xcb_get_image_request_t; + +/** + * @brief xcb_get_image_reply_t + **/ +typedef struct xcb_get_image_reply_t { + uint8_t response_type; /**< */ + uint8_t depth; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + xcb_visualid_t visual; /**< */ + uint8_t pad0[20]; /**< */ +} xcb_get_image_reply_t; + +/** Opcode for xcb_poly_text_8. */ +#define XCB_POLY_TEXT_8 74 + +/** + * @brief xcb_poly_text_8_request_t + **/ +typedef struct xcb_poly_text_8_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_poly_text_8_request_t; + +/** Opcode for xcb_poly_text_16. */ +#define XCB_POLY_TEXT_16 75 + +/** + * @brief xcb_poly_text_16_request_t + **/ +typedef struct xcb_poly_text_16_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_poly_text_16_request_t; + +/** Opcode for xcb_image_text_8. */ +#define XCB_IMAGE_TEXT_8 76 + +/** + * @brief xcb_image_text_8_request_t + **/ +typedef struct xcb_image_text_8_request_t { + uint8_t major_opcode; /**< */ + uint8_t string_len; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_image_text_8_request_t; + +/** Opcode for xcb_image_text_16. */ +#define XCB_IMAGE_TEXT_16 77 + +/** + * @brief xcb_image_text_16_request_t + **/ +typedef struct xcb_image_text_16_request_t { + uint8_t major_opcode; /**< */ + uint8_t string_len; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + xcb_gcontext_t gc; /**< */ + int16_t x; /**< */ + int16_t y; /**< */ +} xcb_image_text_16_request_t; + +typedef enum xcb_colormap_alloc_t { + XCB_COLORMAP_ALLOC_NONE = 0, + XCB_COLORMAP_ALLOC_ALL = 1 +} xcb_colormap_alloc_t; + +/** Opcode for xcb_create_colormap. */ +#define XCB_CREATE_COLORMAP 78 + +/** + * @brief xcb_create_colormap_request_t + **/ +typedef struct xcb_create_colormap_request_t { + uint8_t major_opcode; /**< */ + uint8_t alloc; /**< */ + uint16_t length; /**< */ + xcb_colormap_t mid; /**< */ + xcb_window_t window; /**< */ + xcb_visualid_t visual; /**< */ +} xcb_create_colormap_request_t; + +/** Opcode for xcb_free_colormap. */ +#define XCB_FREE_COLORMAP 79 + +/** + * @brief xcb_free_colormap_request_t + **/ +typedef struct xcb_free_colormap_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ +} xcb_free_colormap_request_t; + +/** Opcode for xcb_copy_colormap_and_free. */ +#define XCB_COPY_COLORMAP_AND_FREE 80 + +/** + * @brief xcb_copy_colormap_and_free_request_t + **/ +typedef struct xcb_copy_colormap_and_free_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t mid; /**< */ + xcb_colormap_t src_cmap; /**< */ +} xcb_copy_colormap_and_free_request_t; + +/** Opcode for xcb_install_colormap. */ +#define XCB_INSTALL_COLORMAP 81 + +/** + * @brief xcb_install_colormap_request_t + **/ +typedef struct xcb_install_colormap_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ +} xcb_install_colormap_request_t; + +/** Opcode for xcb_uninstall_colormap. */ +#define XCB_UNINSTALL_COLORMAP 82 + +/** + * @brief xcb_uninstall_colormap_request_t + **/ +typedef struct xcb_uninstall_colormap_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ +} xcb_uninstall_colormap_request_t; + +/** + * @brief xcb_list_installed_colormaps_cookie_t + **/ +typedef struct xcb_list_installed_colormaps_cookie_t { + unsigned int sequence; /**< */ +} xcb_list_installed_colormaps_cookie_t; + +/** Opcode for xcb_list_installed_colormaps. */ +#define XCB_LIST_INSTALLED_COLORMAPS 83 + +/** + * @brief xcb_list_installed_colormaps_request_t + **/ +typedef struct xcb_list_installed_colormaps_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_window_t window; /**< */ +} xcb_list_installed_colormaps_request_t; + +/** + * @brief xcb_list_installed_colormaps_reply_t + **/ +typedef struct xcb_list_installed_colormaps_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t cmaps_len; /**< */ + uint8_t pad1[22]; /**< */ +} xcb_list_installed_colormaps_reply_t; + +/** + * @brief xcb_alloc_color_cookie_t + **/ +typedef struct xcb_alloc_color_cookie_t { + unsigned int sequence; /**< */ +} xcb_alloc_color_cookie_t; + +/** Opcode for xcb_alloc_color. */ +#define XCB_ALLOC_COLOR 84 + +/** + * @brief xcb_alloc_color_request_t + **/ +typedef struct xcb_alloc_color_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ + uint16_t red; /**< */ + uint16_t green; /**< */ + uint16_t blue; /**< */ +} xcb_alloc_color_request_t; + +/** + * @brief xcb_alloc_color_reply_t + **/ +typedef struct xcb_alloc_color_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t red; /**< */ + uint16_t green; /**< */ + uint16_t blue; /**< */ + uint8_t pad1[2]; /**< */ + uint32_t pixel; /**< */ +} xcb_alloc_color_reply_t; + +/** + * @brief xcb_alloc_named_color_cookie_t + **/ +typedef struct xcb_alloc_named_color_cookie_t { + unsigned int sequence; /**< */ +} xcb_alloc_named_color_cookie_t; + +/** Opcode for xcb_alloc_named_color. */ +#define XCB_ALLOC_NAMED_COLOR 85 + +/** + * @brief xcb_alloc_named_color_request_t + **/ +typedef struct xcb_alloc_named_color_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ + uint16_t name_len; /**< */ +} xcb_alloc_named_color_request_t; + +/** + * @brief xcb_alloc_named_color_reply_t + **/ +typedef struct xcb_alloc_named_color_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t pixel; /**< */ + uint16_t exact_red; /**< */ + uint16_t exact_green; /**< */ + uint16_t exact_blue; /**< */ + uint16_t visual_red; /**< */ + uint16_t visual_green; /**< */ + uint16_t visual_blue; /**< */ +} xcb_alloc_named_color_reply_t; + +/** + * @brief xcb_alloc_color_cells_cookie_t + **/ +typedef struct xcb_alloc_color_cells_cookie_t { + unsigned int sequence; /**< */ +} xcb_alloc_color_cells_cookie_t; + +/** Opcode for xcb_alloc_color_cells. */ +#define XCB_ALLOC_COLOR_CELLS 86 + +/** + * @brief xcb_alloc_color_cells_request_t + **/ +typedef struct xcb_alloc_color_cells_request_t { + uint8_t major_opcode; /**< */ + uint8_t contiguous; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ + uint16_t colors; /**< */ + uint16_t planes; /**< */ +} xcb_alloc_color_cells_request_t; + +/** + * @brief xcb_alloc_color_cells_reply_t + **/ +typedef struct xcb_alloc_color_cells_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t pixels_len; /**< */ + uint16_t masks_len; /**< */ + uint8_t pad1[20]; /**< */ +} xcb_alloc_color_cells_reply_t; + +/** + * @brief xcb_alloc_color_planes_cookie_t + **/ +typedef struct xcb_alloc_color_planes_cookie_t { + unsigned int sequence; /**< */ +} xcb_alloc_color_planes_cookie_t; + +/** Opcode for xcb_alloc_color_planes. */ +#define XCB_ALLOC_COLOR_PLANES 87 + +/** + * @brief xcb_alloc_color_planes_request_t + **/ +typedef struct xcb_alloc_color_planes_request_t { + uint8_t major_opcode; /**< */ + uint8_t contiguous; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ + uint16_t colors; /**< */ + uint16_t reds; /**< */ + uint16_t greens; /**< */ + uint16_t blues; /**< */ +} xcb_alloc_color_planes_request_t; + +/** + * @brief xcb_alloc_color_planes_reply_t + **/ +typedef struct xcb_alloc_color_planes_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t pixels_len; /**< */ + uint8_t pad1[2]; /**< */ + uint32_t red_mask; /**< */ + uint32_t green_mask; /**< */ + uint32_t blue_mask; /**< */ + uint8_t pad2[8]; /**< */ +} xcb_alloc_color_planes_reply_t; + +/** Opcode for xcb_free_colors. */ +#define XCB_FREE_COLORS 88 + +/** + * @brief xcb_free_colors_request_t + **/ +typedef struct xcb_free_colors_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ + uint32_t plane_mask; /**< */ +} xcb_free_colors_request_t; + +typedef enum xcb_color_flag_t { + XCB_COLOR_FLAG_RED = (1 << 0), + XCB_COLOR_FLAG_GREEN = (1 << 1), + XCB_COLOR_FLAG_BLUE = (1 << 2) +} xcb_color_flag_t; + +/** + * @brief xcb_coloritem_t + **/ +typedef struct xcb_coloritem_t { + uint32_t pixel; /**< */ + uint16_t red; /**< */ + uint16_t green; /**< */ + uint16_t blue; /**< */ + uint8_t flags; /**< */ + uint8_t pad0; /**< */ +} xcb_coloritem_t; + +/** + * @brief xcb_coloritem_iterator_t + **/ +typedef struct xcb_coloritem_iterator_t { + xcb_coloritem_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_coloritem_iterator_t; + +/** Opcode for xcb_store_colors. */ +#define XCB_STORE_COLORS 89 + +/** + * @brief xcb_store_colors_request_t + **/ +typedef struct xcb_store_colors_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ +} xcb_store_colors_request_t; + +/** Opcode for xcb_store_named_color. */ +#define XCB_STORE_NAMED_COLOR 90 + +/** + * @brief xcb_store_named_color_request_t + **/ +typedef struct xcb_store_named_color_request_t { + uint8_t major_opcode; /**< */ + uint8_t flags; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ + uint32_t pixel; /**< */ + uint16_t name_len; /**< */ +} xcb_store_named_color_request_t; + +/** + * @brief xcb_rgb_t + **/ +typedef struct xcb_rgb_t { + uint16_t red; /**< */ + uint16_t green; /**< */ + uint16_t blue; /**< */ + uint8_t pad0[2]; /**< */ +} xcb_rgb_t; + +/** + * @brief xcb_rgb_iterator_t + **/ +typedef struct xcb_rgb_iterator_t { + xcb_rgb_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_rgb_iterator_t; + +/** + * @brief xcb_query_colors_cookie_t + **/ +typedef struct xcb_query_colors_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_colors_cookie_t; + +/** Opcode for xcb_query_colors. */ +#define XCB_QUERY_COLORS 91 + +/** + * @brief xcb_query_colors_request_t + **/ +typedef struct xcb_query_colors_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ +} xcb_query_colors_request_t; + +/** + * @brief xcb_query_colors_reply_t + **/ +typedef struct xcb_query_colors_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t colors_len; /**< */ + uint8_t pad1[22]; /**< */ +} xcb_query_colors_reply_t; + +/** + * @brief xcb_lookup_color_cookie_t + **/ +typedef struct xcb_lookup_color_cookie_t { + unsigned int sequence; /**< */ +} xcb_lookup_color_cookie_t; + +/** Opcode for xcb_lookup_color. */ +#define XCB_LOOKUP_COLOR 92 + +/** + * @brief xcb_lookup_color_request_t + **/ +typedef struct xcb_lookup_color_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_colormap_t cmap; /**< */ + uint16_t name_len; /**< */ +} xcb_lookup_color_request_t; + +/** + * @brief xcb_lookup_color_reply_t + **/ +typedef struct xcb_lookup_color_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t exact_red; /**< */ + uint16_t exact_green; /**< */ + uint16_t exact_blue; /**< */ + uint16_t visual_red; /**< */ + uint16_t visual_green; /**< */ + uint16_t visual_blue; /**< */ +} xcb_lookup_color_reply_t; + +/** Opcode for xcb_create_cursor. */ +#define XCB_CREATE_CURSOR 93 + +/** + * @brief xcb_create_cursor_request_t + **/ +typedef struct xcb_create_cursor_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_cursor_t cid; /**< */ + xcb_pixmap_t source; /**< */ + xcb_pixmap_t mask; /**< */ + uint16_t fore_red; /**< */ + uint16_t fore_green; /**< */ + uint16_t fore_blue; /**< */ + uint16_t back_red; /**< */ + uint16_t back_green; /**< */ + uint16_t back_blue; /**< */ + uint16_t x; /**< */ + uint16_t y; /**< */ +} xcb_create_cursor_request_t; + +/** Opcode for xcb_create_glyph_cursor. */ +#define XCB_CREATE_GLYPH_CURSOR 94 + +/** + * @brief xcb_create_glyph_cursor_request_t + **/ +typedef struct xcb_create_glyph_cursor_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_cursor_t cid; /**< */ + xcb_font_t source_font; /**< */ + xcb_font_t mask_font; /**< */ + uint16_t source_char; /**< */ + uint16_t mask_char; /**< */ + uint16_t fore_red; /**< */ + uint16_t fore_green; /**< */ + uint16_t fore_blue; /**< */ + uint16_t back_red; /**< */ + uint16_t back_green; /**< */ + uint16_t back_blue; /**< */ +} xcb_create_glyph_cursor_request_t; + +/** Opcode for xcb_free_cursor. */ +#define XCB_FREE_CURSOR 95 + +/** + * @brief xcb_free_cursor_request_t + **/ +typedef struct xcb_free_cursor_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_cursor_t cursor; /**< */ +} xcb_free_cursor_request_t; + +/** Opcode for xcb_recolor_cursor. */ +#define XCB_RECOLOR_CURSOR 96 + +/** + * @brief xcb_recolor_cursor_request_t + **/ +typedef struct xcb_recolor_cursor_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_cursor_t cursor; /**< */ + uint16_t fore_red; /**< */ + uint16_t fore_green; /**< */ + uint16_t fore_blue; /**< */ + uint16_t back_red; /**< */ + uint16_t back_green; /**< */ + uint16_t back_blue; /**< */ +} xcb_recolor_cursor_request_t; + +typedef enum xcb_query_shape_of_t { + XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0, + XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1, + XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 +} xcb_query_shape_of_t; + +/** + * @brief xcb_query_best_size_cookie_t + **/ +typedef struct xcb_query_best_size_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_best_size_cookie_t; + +/** Opcode for xcb_query_best_size. */ +#define XCB_QUERY_BEST_SIZE 97 + +/** + * @brief xcb_query_best_size_request_t + **/ +typedef struct xcb_query_best_size_request_t { + uint8_t major_opcode; /**< */ + uint8_t _class; /**< */ + uint16_t length; /**< */ + xcb_drawable_t drawable; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_query_best_size_request_t; + +/** + * @brief xcb_query_best_size_reply_t + **/ +typedef struct xcb_query_best_size_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t width; /**< */ + uint16_t height; /**< */ +} xcb_query_best_size_reply_t; + +/** + * @brief xcb_query_extension_cookie_t + **/ +typedef struct xcb_query_extension_cookie_t { + unsigned int sequence; /**< */ +} xcb_query_extension_cookie_t; + +/** Opcode for xcb_query_extension. */ +#define XCB_QUERY_EXTENSION 98 + +/** + * @brief xcb_query_extension_request_t + **/ +typedef struct xcb_query_extension_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + uint16_t name_len; /**< */ +} xcb_query_extension_request_t; + +/** + * @brief xcb_query_extension_reply_t + **/ +typedef struct xcb_query_extension_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint8_t present; /**< */ + uint8_t major_opcode; /**< */ + uint8_t first_event; /**< */ + uint8_t first_error; /**< */ +} xcb_query_extension_reply_t; + +/** + * @brief xcb_list_extensions_cookie_t + **/ +typedef struct xcb_list_extensions_cookie_t { + unsigned int sequence; /**< */ +} xcb_list_extensions_cookie_t; + +/** Opcode for xcb_list_extensions. */ +#define XCB_LIST_EXTENSIONS 99 + +/** + * @brief xcb_list_extensions_request_t + **/ +typedef struct xcb_list_extensions_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_list_extensions_request_t; + +/** + * @brief xcb_list_extensions_reply_t + **/ +typedef struct xcb_list_extensions_reply_t { + uint8_t response_type; /**< */ + uint8_t names_len; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint8_t pad0[24]; /**< */ +} xcb_list_extensions_reply_t; + +/** Opcode for xcb_change_keyboard_mapping. */ +#define XCB_CHANGE_KEYBOARD_MAPPING 100 + +/** + * @brief xcb_change_keyboard_mapping_request_t + **/ +typedef struct xcb_change_keyboard_mapping_request_t { + uint8_t major_opcode; /**< */ + uint8_t keycode_count; /**< */ + uint16_t length; /**< */ + xcb_keycode_t first_keycode; /**< */ + uint8_t keysyms_per_keycode; /**< */ +} xcb_change_keyboard_mapping_request_t; + +/** + * @brief xcb_get_keyboard_mapping_cookie_t + **/ +typedef struct xcb_get_keyboard_mapping_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_keyboard_mapping_cookie_t; + +/** Opcode for xcb_get_keyboard_mapping. */ +#define XCB_GET_KEYBOARD_MAPPING 101 + +/** + * @brief xcb_get_keyboard_mapping_request_t + **/ +typedef struct xcb_get_keyboard_mapping_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + xcb_keycode_t first_keycode; /**< */ + uint8_t count; /**< */ +} xcb_get_keyboard_mapping_request_t; + +/** + * @brief xcb_get_keyboard_mapping_reply_t + **/ +typedef struct xcb_get_keyboard_mapping_reply_t { + uint8_t response_type; /**< */ + uint8_t keysyms_per_keycode; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint8_t pad0[24]; /**< */ +} xcb_get_keyboard_mapping_reply_t; + +typedef enum xcb_kb_t { + XCB_KB_KEY_CLICK_PERCENT = (1 << 0), + XCB_KB_BELL_PERCENT = (1 << 1), + XCB_KB_BELL_PITCH = (1 << 2), + XCB_KB_BELL_DURATION = (1 << 3), + XCB_KB_LED = (1 << 4), + XCB_KB_LED_MODE = (1 << 5), + XCB_KB_KEY = (1 << 6), + XCB_KB_AUTO_REPEAT_MODE = (1 << 7) +} xcb_kb_t; + +typedef enum xcb_led_mode_t { + XCB_LED_MODE_OFF = 0, + XCB_LED_MODE_ON = 1 +} xcb_led_mode_t; + +typedef enum xcb_auto_repeat_mode_t { + XCB_AUTO_REPEAT_MODE_OFF = 0, + XCB_AUTO_REPEAT_MODE_ON = 1, + XCB_AUTO_REPEAT_MODE_DEFAULT = 2 +} xcb_auto_repeat_mode_t; + +/** Opcode for xcb_change_keyboard_control. */ +#define XCB_CHANGE_KEYBOARD_CONTROL 102 + +/** + * @brief xcb_change_keyboard_control_request_t + **/ +typedef struct xcb_change_keyboard_control_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + uint32_t value_mask; /**< */ +} xcb_change_keyboard_control_request_t; + +/** + * @brief xcb_get_keyboard_control_cookie_t + **/ +typedef struct xcb_get_keyboard_control_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_keyboard_control_cookie_t; + +/** Opcode for xcb_get_keyboard_control. */ +#define XCB_GET_KEYBOARD_CONTROL 103 + +/** + * @brief xcb_get_keyboard_control_request_t + **/ +typedef struct xcb_get_keyboard_control_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_get_keyboard_control_request_t; + +/** + * @brief xcb_get_keyboard_control_reply_t + **/ +typedef struct xcb_get_keyboard_control_reply_t { + uint8_t response_type; /**< */ + uint8_t global_auto_repeat; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint32_t led_mask; /**< */ + uint8_t key_click_percent; /**< */ + uint8_t bell_percent; /**< */ + uint16_t bell_pitch; /**< */ + uint16_t bell_duration; /**< */ + uint8_t pad0[2]; /**< */ + uint8_t auto_repeats[32]; /**< */ +} xcb_get_keyboard_control_reply_t; + +/** Opcode for xcb_bell. */ +#define XCB_BELL 104 + +/** + * @brief xcb_bell_request_t + **/ +typedef struct xcb_bell_request_t { + uint8_t major_opcode; /**< */ + int8_t percent; /**< */ + uint16_t length; /**< */ +} xcb_bell_request_t; + +/** Opcode for xcb_change_pointer_control. */ +#define XCB_CHANGE_POINTER_CONTROL 105 + +/** + * @brief xcb_change_pointer_control_request_t + **/ +typedef struct xcb_change_pointer_control_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + int16_t acceleration_numerator; /**< */ + int16_t acceleration_denominator; /**< */ + int16_t threshold; /**< */ + uint8_t do_acceleration; /**< */ + uint8_t do_threshold; /**< */ +} xcb_change_pointer_control_request_t; + +/** + * @brief xcb_get_pointer_control_cookie_t + **/ +typedef struct xcb_get_pointer_control_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_pointer_control_cookie_t; + +/** Opcode for xcb_get_pointer_control. */ +#define XCB_GET_POINTER_CONTROL 106 + +/** + * @brief xcb_get_pointer_control_request_t + **/ +typedef struct xcb_get_pointer_control_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_get_pointer_control_request_t; + +/** + * @brief xcb_get_pointer_control_reply_t + **/ +typedef struct xcb_get_pointer_control_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t acceleration_numerator; /**< */ + uint16_t acceleration_denominator; /**< */ + uint16_t threshold; /**< */ +} xcb_get_pointer_control_reply_t; + +typedef enum xcb_blanking_t { + XCB_BLANKING_NOT_PREFERRED = 0, + XCB_BLANKING_PREFERRED = 1, + XCB_BLANKING_DEFAULT = 2 +} xcb_blanking_t; + +typedef enum xcb_exposures_t { + XCB_EXPOSURES_NOT_ALLOWED = 0, + XCB_EXPOSURES_ALLOWED = 1, + XCB_EXPOSURES_DEFAULT = 2 +} xcb_exposures_t; + +/** Opcode for xcb_set_screen_saver. */ +#define XCB_SET_SCREEN_SAVER 107 + +/** + * @brief xcb_set_screen_saver_request_t + **/ +typedef struct xcb_set_screen_saver_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + int16_t timeout; /**< */ + int16_t interval; /**< */ + uint8_t prefer_blanking; /**< */ + uint8_t allow_exposures; /**< */ +} xcb_set_screen_saver_request_t; + +/** + * @brief xcb_get_screen_saver_cookie_t + **/ +typedef struct xcb_get_screen_saver_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_screen_saver_cookie_t; + +/** Opcode for xcb_get_screen_saver. */ +#define XCB_GET_SCREEN_SAVER 108 + +/** + * @brief xcb_get_screen_saver_request_t + **/ +typedef struct xcb_get_screen_saver_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_get_screen_saver_request_t; + +/** + * @brief xcb_get_screen_saver_reply_t + **/ +typedef struct xcb_get_screen_saver_reply_t { + uint8_t response_type; /**< */ + uint8_t pad0; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t timeout; /**< */ + uint16_t interval; /**< */ + uint8_t prefer_blanking; /**< */ + uint8_t allow_exposures; /**< */ +} xcb_get_screen_saver_reply_t; + +typedef enum xcb_host_mode_t { + XCB_HOST_MODE_INSERT = 0, + XCB_HOST_MODE_DELETE = 1 +} xcb_host_mode_t; + +typedef enum xcb_family_t { + XCB_FAMILY_INTERNET = 0, + XCB_FAMILY_DECNET = 1, + XCB_FAMILY_CHAOS = 2, + XCB_FAMILY_SERVER_INTERPRETED = 5, + XCB_FAMILY_INTERNET_6 = 6 +} xcb_family_t; + +/** Opcode for xcb_change_hosts. */ +#define XCB_CHANGE_HOSTS 109 + +/** + * @brief xcb_change_hosts_request_t + **/ +typedef struct xcb_change_hosts_request_t { + uint8_t major_opcode; /**< */ + uint8_t mode; /**< */ + uint16_t length; /**< */ + uint8_t family; /**< */ + uint8_t pad0; /**< */ + uint16_t address_len; /**< */ +} xcb_change_hosts_request_t; + +/** + * @brief xcb_host_t + **/ +typedef struct xcb_host_t { + uint8_t family; /**< */ + uint8_t pad0; /**< */ + uint16_t address_len; /**< */ +} xcb_host_t; + +/** + * @brief xcb_host_iterator_t + **/ +typedef struct xcb_host_iterator_t { + xcb_host_t *data; /**< */ + int rem; /**< */ + int index; /**< */ +} xcb_host_iterator_t; + +/** + * @brief xcb_list_hosts_cookie_t + **/ +typedef struct xcb_list_hosts_cookie_t { + unsigned int sequence; /**< */ +} xcb_list_hosts_cookie_t; + +/** Opcode for xcb_list_hosts. */ +#define XCB_LIST_HOSTS 110 + +/** + * @brief xcb_list_hosts_request_t + **/ +typedef struct xcb_list_hosts_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_list_hosts_request_t; + +/** + * @brief xcb_list_hosts_reply_t + **/ +typedef struct xcb_list_hosts_reply_t { + uint8_t response_type; /**< */ + uint8_t mode; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint16_t hosts_len; /**< */ + uint8_t pad0[22]; /**< */ +} xcb_list_hosts_reply_t; + +typedef enum xcb_access_control_t { + XCB_ACCESS_CONTROL_DISABLE = 0, + XCB_ACCESS_CONTROL_ENABLE = 1 +} xcb_access_control_t; + +/** Opcode for xcb_set_access_control. */ +#define XCB_SET_ACCESS_CONTROL 111 + +/** + * @brief xcb_set_access_control_request_t + **/ +typedef struct xcb_set_access_control_request_t { + uint8_t major_opcode; /**< */ + uint8_t mode; /**< */ + uint16_t length; /**< */ +} xcb_set_access_control_request_t; + +typedef enum xcb_close_down_t { + XCB_CLOSE_DOWN_DESTROY_ALL = 0, + XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1, + XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 +} xcb_close_down_t; + +/** Opcode for xcb_set_close_down_mode. */ +#define XCB_SET_CLOSE_DOWN_MODE 112 + +/** + * @brief xcb_set_close_down_mode_request_t + **/ +typedef struct xcb_set_close_down_mode_request_t { + uint8_t major_opcode; /**< */ + uint8_t mode; /**< */ + uint16_t length; /**< */ +} xcb_set_close_down_mode_request_t; + +typedef enum xcb_kill_t { + XCB_KILL_ALL_TEMPORARY = 0 +} xcb_kill_t; + +/** Opcode for xcb_kill_client. */ +#define XCB_KILL_CLIENT 113 + +/** + * @brief xcb_kill_client_request_t + **/ +typedef struct xcb_kill_client_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ + uint32_t resource; /**< */ +} xcb_kill_client_request_t; + +/** Opcode for xcb_rotate_properties. */ +#define XCB_ROTATE_PROPERTIES 114 + +/** + * @brief xcb_rotate_properties_request_t + **/ +typedef struct xcb_rotate_properties_request_t { + uint8_t major_opcode; /**< */ + xcb_window_t window; /**< */ + uint16_t length; /**< */ + uint16_t atoms_len; /**< */ + int16_t delta; /**< */ +} xcb_rotate_properties_request_t; + +typedef enum xcb_screen_saver_t { + XCB_SCREEN_SAVER_RESET = 0, + XCB_SCREEN_SAVER_ACTIVE = 1 +} xcb_screen_saver_t; + +/** Opcode for xcb_force_screen_saver. */ +#define XCB_FORCE_SCREEN_SAVER 115 + +/** + * @brief xcb_force_screen_saver_request_t + **/ +typedef struct xcb_force_screen_saver_request_t { + uint8_t major_opcode; /**< */ + uint8_t mode; /**< */ + uint16_t length; /**< */ +} xcb_force_screen_saver_request_t; + +typedef enum xcb_mapping_status_t { + XCB_MAPPING_STATUS_SUCCESS = 0, + XCB_MAPPING_STATUS_BUSY = 1, + XCB_MAPPING_STATUS_FAILURE = 2 +} xcb_mapping_status_t; + +/** + * @brief xcb_set_pointer_mapping_cookie_t + **/ +typedef struct xcb_set_pointer_mapping_cookie_t { + unsigned int sequence; /**< */ +} xcb_set_pointer_mapping_cookie_t; + +/** Opcode for xcb_set_pointer_mapping. */ +#define XCB_SET_POINTER_MAPPING 116 + +/** + * @brief xcb_set_pointer_mapping_request_t + **/ +typedef struct xcb_set_pointer_mapping_request_t { + uint8_t major_opcode; /**< */ + uint8_t map_len; /**< */ + uint16_t length; /**< */ +} xcb_set_pointer_mapping_request_t; + +/** + * @brief xcb_set_pointer_mapping_reply_t + **/ +typedef struct xcb_set_pointer_mapping_reply_t { + uint8_t response_type; /**< */ + uint8_t status; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ +} xcb_set_pointer_mapping_reply_t; + +/** + * @brief xcb_get_pointer_mapping_cookie_t + **/ +typedef struct xcb_get_pointer_mapping_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_pointer_mapping_cookie_t; + +/** Opcode for xcb_get_pointer_mapping. */ +#define XCB_GET_POINTER_MAPPING 117 + +/** + * @brief xcb_get_pointer_mapping_request_t + **/ +typedef struct xcb_get_pointer_mapping_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_get_pointer_mapping_request_t; + +/** + * @brief xcb_get_pointer_mapping_reply_t + **/ +typedef struct xcb_get_pointer_mapping_reply_t { + uint8_t response_type; /**< */ + uint8_t map_len; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint8_t pad0[24]; /**< */ +} xcb_get_pointer_mapping_reply_t; + +typedef enum xcb_map_index_t { + XCB_MAP_INDEX_SHIFT = 0, + XCB_MAP_INDEX_LOCK = 1, + XCB_MAP_INDEX_CONTROL = 2, + XCB_MAP_INDEX_1 = 3, + XCB_MAP_INDEX_2 = 4, + XCB_MAP_INDEX_3 = 5, + XCB_MAP_INDEX_4 = 6, + XCB_MAP_INDEX_5 = 7 +} xcb_map_index_t; + +/** + * @brief xcb_set_modifier_mapping_cookie_t + **/ +typedef struct xcb_set_modifier_mapping_cookie_t { + unsigned int sequence; /**< */ +} xcb_set_modifier_mapping_cookie_t; + +/** Opcode for xcb_set_modifier_mapping. */ +#define XCB_SET_MODIFIER_MAPPING 118 + +/** + * @brief xcb_set_modifier_mapping_request_t + **/ +typedef struct xcb_set_modifier_mapping_request_t { + uint8_t major_opcode; /**< */ + uint8_t keycodes_per_modifier; /**< */ + uint16_t length; /**< */ +} xcb_set_modifier_mapping_request_t; + +/** + * @brief xcb_set_modifier_mapping_reply_t + **/ +typedef struct xcb_set_modifier_mapping_reply_t { + uint8_t response_type; /**< */ + uint8_t status; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ +} xcb_set_modifier_mapping_reply_t; + +/** + * @brief xcb_get_modifier_mapping_cookie_t + **/ +typedef struct xcb_get_modifier_mapping_cookie_t { + unsigned int sequence; /**< */ +} xcb_get_modifier_mapping_cookie_t; + +/** Opcode for xcb_get_modifier_mapping. */ +#define XCB_GET_MODIFIER_MAPPING 119 + +/** + * @brief xcb_get_modifier_mapping_request_t + **/ +typedef struct xcb_get_modifier_mapping_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_get_modifier_mapping_request_t; + +/** + * @brief xcb_get_modifier_mapping_reply_t + **/ +typedef struct xcb_get_modifier_mapping_reply_t { + uint8_t response_type; /**< */ + uint8_t keycodes_per_modifier; /**< */ + uint16_t sequence; /**< */ + uint32_t length; /**< */ + uint8_t pad0[24]; /**< */ +} xcb_get_modifier_mapping_reply_t; + +/** Opcode for xcb_no_operation. */ +#define XCB_NO_OPERATION 127 + +/** + * @brief xcb_no_operation_request_t + **/ +typedef struct xcb_no_operation_request_t { + uint8_t major_opcode; /**< */ + uint8_t pad0; /**< */ + uint16_t length; /**< */ +} xcb_no_operation_request_t; + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_char2b_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_char2b_t) + */ + +/***************************************************************************** + ** + ** void xcb_char2b_next + ** + ** @param xcb_char2b_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_char2b_next (xcb_char2b_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_char2b_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_char2b_end + ** + ** @param xcb_char2b_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_char2b_end (xcb_char2b_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_window_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_window_t) + */ + +/***************************************************************************** + ** + ** void xcb_window_next + ** + ** @param xcb_window_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_window_next (xcb_window_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_window_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_window_end + ** + ** @param xcb_window_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_window_end (xcb_window_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_pixmap_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_pixmap_t) + */ + +/***************************************************************************** + ** + ** void xcb_pixmap_next + ** + ** @param xcb_pixmap_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_pixmap_next (xcb_pixmap_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_pixmap_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_pixmap_end + ** + ** @param xcb_pixmap_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_pixmap_end (xcb_pixmap_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_cursor_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_cursor_t) + */ + +/***************************************************************************** + ** + ** void xcb_cursor_next + ** + ** @param xcb_cursor_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_cursor_next (xcb_cursor_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_cursor_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_cursor_end + ** + ** @param xcb_cursor_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_cursor_end (xcb_cursor_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_font_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_font_t) + */ + +/***************************************************************************** + ** + ** void xcb_font_next + ** + ** @param xcb_font_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_font_next (xcb_font_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_font_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_font_end + ** + ** @param xcb_font_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_font_end (xcb_font_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_gcontext_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_gcontext_t) + */ + +/***************************************************************************** + ** + ** void xcb_gcontext_next + ** + ** @param xcb_gcontext_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_gcontext_next (xcb_gcontext_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_gcontext_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_gcontext_end + ** + ** @param xcb_gcontext_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_gcontext_end (xcb_gcontext_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_colormap_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_colormap_t) + */ + +/***************************************************************************** + ** + ** void xcb_colormap_next + ** + ** @param xcb_colormap_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_colormap_next (xcb_colormap_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_colormap_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_colormap_end + ** + ** @param xcb_colormap_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_colormap_end (xcb_colormap_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_atom_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_atom_t) + */ + +/***************************************************************************** + ** + ** void xcb_atom_next + ** + ** @param xcb_atom_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_atom_next (xcb_atom_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_atom_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_atom_end + ** + ** @param xcb_atom_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_atom_end (xcb_atom_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_drawable_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_drawable_t) + */ + +/***************************************************************************** + ** + ** void xcb_drawable_next + ** + ** @param xcb_drawable_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_drawable_next (xcb_drawable_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_drawable_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_drawable_end + ** + ** @param xcb_drawable_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_drawable_end (xcb_drawable_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_fontable_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_fontable_t) + */ + +/***************************************************************************** + ** + ** void xcb_fontable_next + ** + ** @param xcb_fontable_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_fontable_next (xcb_fontable_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_fontable_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_fontable_end + ** + ** @param xcb_fontable_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_fontable_end (xcb_fontable_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_visualid_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_visualid_t) + */ + +/***************************************************************************** + ** + ** void xcb_visualid_next + ** + ** @param xcb_visualid_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_visualid_next (xcb_visualid_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_visualid_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_visualid_end + ** + ** @param xcb_visualid_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_visualid_end (xcb_visualid_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_timestamp_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_timestamp_t) + */ + +/***************************************************************************** + ** + ** void xcb_timestamp_next + ** + ** @param xcb_timestamp_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_timestamp_next (xcb_timestamp_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_timestamp_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_timestamp_end + ** + ** @param xcb_timestamp_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_timestamp_end (xcb_timestamp_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_keysym_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_keysym_t) + */ + +/***************************************************************************** + ** + ** void xcb_keysym_next + ** + ** @param xcb_keysym_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_keysym_next (xcb_keysym_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_keysym_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_keysym_end + ** + ** @param xcb_keysym_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_keysym_end (xcb_keysym_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_keycode_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_keycode_t) + */ + +/***************************************************************************** + ** + ** void xcb_keycode_next + ** + ** @param xcb_keycode_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_keycode_next (xcb_keycode_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_keycode_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_keycode_end + ** + ** @param xcb_keycode_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_keycode_end (xcb_keycode_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_button_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_button_t) + */ + +/***************************************************************************** + ** + ** void xcb_button_next + ** + ** @param xcb_button_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_button_next (xcb_button_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_button_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_button_end + ** + ** @param xcb_button_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_button_end (xcb_button_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_point_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_point_t) + */ + +/***************************************************************************** + ** + ** void xcb_point_next + ** + ** @param xcb_point_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_point_next (xcb_point_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_point_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_point_end + ** + ** @param xcb_point_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_point_end (xcb_point_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_rectangle_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_rectangle_t) + */ + +/***************************************************************************** + ** + ** void xcb_rectangle_next + ** + ** @param xcb_rectangle_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_rectangle_next (xcb_rectangle_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_rectangle_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_rectangle_end + ** + ** @param xcb_rectangle_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_rectangle_end (xcb_rectangle_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_arc_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_arc_t) + */ + +/***************************************************************************** + ** + ** void xcb_arc_next + ** + ** @param xcb_arc_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_arc_next (xcb_arc_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_arc_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_arc_end + ** + ** @param xcb_arc_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_arc_end (xcb_arc_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_format_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_format_t) + */ + +/***************************************************************************** + ** + ** void xcb_format_next + ** + ** @param xcb_format_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_format_next (xcb_format_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_format_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_format_end + ** + ** @param xcb_format_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_format_end (xcb_format_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_visualtype_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_visualtype_t) + */ + +/***************************************************************************** + ** + ** void xcb_visualtype_next + ** + ** @param xcb_visualtype_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_visualtype_next (xcb_visualtype_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_visualtype_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_visualtype_end + ** + ** @param xcb_visualtype_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_visualtype_end (xcb_visualtype_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** xcb_visualtype_t * xcb_depth_visuals + ** + ** @param const xcb_depth_t *R + ** @returns xcb_visualtype_t * + ** + *****************************************************************************/ + +xcb_visualtype_t * +xcb_depth_visuals (const xcb_depth_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_depth_visuals_length + ** + ** @param const xcb_depth_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_depth_visuals_length (const xcb_depth_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_visualtype_iterator_t xcb_depth_visuals_iterator + ** + ** @param const xcb_depth_t *R + ** @returns xcb_visualtype_iterator_t + ** + *****************************************************************************/ + +xcb_visualtype_iterator_t +xcb_depth_visuals_iterator (const xcb_depth_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_depth_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_depth_t) + */ + +/***************************************************************************** + ** + ** void xcb_depth_next + ** + ** @param xcb_depth_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_depth_next (xcb_depth_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_depth_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_depth_end + ** + ** @param xcb_depth_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_depth_end (xcb_depth_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** int xcb_screen_allowed_depths_length + ** + ** @param const xcb_screen_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_screen_allowed_depths_length (const xcb_screen_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_depth_iterator_t xcb_screen_allowed_depths_iterator + ** + ** @param const xcb_screen_t *R + ** @returns xcb_depth_iterator_t + ** + *****************************************************************************/ + +xcb_depth_iterator_t +xcb_screen_allowed_depths_iterator (const xcb_screen_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_screen_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_screen_t) + */ + +/***************************************************************************** + ** + ** void xcb_screen_next + ** + ** @param xcb_screen_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_screen_next (xcb_screen_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_screen_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_screen_end + ** + ** @param xcb_screen_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_screen_end (xcb_screen_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** char * xcb_setup_request_authorization_protocol_name + ** + ** @param const xcb_setup_request_t *R + ** @returns char * + ** + *****************************************************************************/ + +char * +xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_setup_request_authorization_protocol_name_length + ** + ** @param const xcb_setup_request_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_name_end + ** + ** @param const xcb_setup_request_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R /**< */); + + +/***************************************************************************** + ** + ** char * xcb_setup_request_authorization_protocol_data + ** + ** @param const xcb_setup_request_t *R + ** @returns char * + ** + *****************************************************************************/ + +char * +xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_setup_request_authorization_protocol_data_length + ** + ** @param const xcb_setup_request_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_data_end + ** + ** @param const xcb_setup_request_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_setup_request_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_setup_request_t) + */ + +/***************************************************************************** + ** + ** void xcb_setup_request_next + ** + ** @param xcb_setup_request_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_setup_request_next (xcb_setup_request_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_setup_request_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_request_end + ** + ** @param xcb_setup_request_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_request_end (xcb_setup_request_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** char * xcb_setup_failed_reason + ** + ** @param const xcb_setup_failed_t *R + ** @returns char * + ** + *****************************************************************************/ + +char * +xcb_setup_failed_reason (const xcb_setup_failed_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_setup_failed_reason_length + ** + ** @param const xcb_setup_failed_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_setup_failed_reason_length (const xcb_setup_failed_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_failed_reason_end + ** + ** @param const xcb_setup_failed_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_failed_reason_end (const xcb_setup_failed_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_setup_failed_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_setup_failed_t) + */ + +/***************************************************************************** + ** + ** void xcb_setup_failed_next + ** + ** @param xcb_setup_failed_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_setup_failed_next (xcb_setup_failed_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_setup_failed_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_failed_end + ** + ** @param xcb_setup_failed_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_failed_end (xcb_setup_failed_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** char * xcb_setup_authenticate_reason + ** + ** @param const xcb_setup_authenticate_t *R + ** @returns char * + ** + *****************************************************************************/ + +char * +xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_setup_authenticate_reason_length + ** + ** @param const xcb_setup_authenticate_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_authenticate_reason_end + ** + ** @param const xcb_setup_authenticate_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_setup_authenticate_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_setup_authenticate_t) + */ + +/***************************************************************************** + ** + ** void xcb_setup_authenticate_next + ** + ** @param xcb_setup_authenticate_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_setup_authenticate_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_authenticate_end + ** + ** @param xcb_setup_authenticate_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i /**< */); + + +/***************************************************************************** + ** + ** char * xcb_setup_vendor + ** + ** @param const xcb_setup_t *R + ** @returns char * + ** + *****************************************************************************/ + +char * +xcb_setup_vendor (const xcb_setup_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_setup_vendor_length + ** + ** @param const xcb_setup_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_setup_vendor_length (const xcb_setup_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_vendor_end + ** + ** @param const xcb_setup_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_vendor_end (const xcb_setup_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_format_t * xcb_setup_pixmap_formats + ** + ** @param const xcb_setup_t *R + ** @returns xcb_format_t * + ** + *****************************************************************************/ + +xcb_format_t * +xcb_setup_pixmap_formats (const xcb_setup_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_setup_pixmap_formats_length + ** + ** @param const xcb_setup_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_setup_pixmap_formats_length (const xcb_setup_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_format_iterator_t xcb_setup_pixmap_formats_iterator + ** + ** @param const xcb_setup_t *R + ** @returns xcb_format_iterator_t + ** + *****************************************************************************/ + +xcb_format_iterator_t +xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_setup_roots_length + ** + ** @param const xcb_setup_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_setup_roots_length (const xcb_setup_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_screen_iterator_t xcb_setup_roots_iterator + ** + ** @param const xcb_setup_t *R + ** @returns xcb_screen_iterator_t + ** + *****************************************************************************/ + +xcb_screen_iterator_t +xcb_setup_roots_iterator (const xcb_setup_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_setup_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_setup_t) + */ + +/***************************************************************************** + ** + ** void xcb_setup_next + ** + ** @param xcb_setup_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_setup_next (xcb_setup_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_setup_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_setup_end + ** + ** @param xcb_setup_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_setup_end (xcb_setup_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_client_message_data_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_client_message_data_t) + */ + +/***************************************************************************** + ** + ** void xcb_client_message_data_next + ** + ** @param xcb_client_message_data_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_client_message_data_next (xcb_client_message_data_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_client_message_data_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_client_message_data_end + ** + ** @param xcb_client_message_data_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_client_message_data_end (xcb_client_message_data_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_window_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t depth + ** @param xcb_window_t wid + ** @param xcb_window_t parent + ** @param int16_t x + ** @param int16_t y + ** @param uint16_t width + ** @param uint16_t height + ** @param uint16_t border_width + ** @param uint16_t _class + ** @param xcb_visualid_t visual + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_window_checked (xcb_connection_t *c /**< */, + uint8_t depth /**< */, + xcb_window_t wid /**< */, + xcb_window_t parent /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + uint16_t border_width /**< */, + uint16_t _class /**< */, + xcb_visualid_t visual /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_window + ** + ** @param xcb_connection_t *c + ** @param uint8_t depth + ** @param xcb_window_t wid + ** @param xcb_window_t parent + ** @param int16_t x + ** @param int16_t y + ** @param uint16_t width + ** @param uint16_t height + ** @param uint16_t border_width + ** @param uint16_t _class + ** @param xcb_visualid_t visual + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_window (xcb_connection_t *c /**< */, + uint8_t depth /**< */, + xcb_window_t wid /**< */, + xcb_window_t parent /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + uint16_t border_width /**< */, + uint16_t _class /**< */, + xcb_visualid_t visual /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_window_attributes_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_window_attributes_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_window_attributes + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_window_attributes (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_get_window_attributes_cookie_t + ** + *****************************************************************************/ + +xcb_get_window_attributes_cookie_t +xcb_get_window_attributes (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_get_window_attributes_cookie_t + ** + *****************************************************************************/ + +xcb_get_window_attributes_cookie_t +xcb_get_window_attributes_unchecked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_window_attributes_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_window_attributes_reply_t * xcb_get_window_attributes_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_window_attributes_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_window_attributes_reply_t * + ** + *****************************************************************************/ + +xcb_get_window_attributes_reply_t * +xcb_get_window_attributes_reply (xcb_connection_t *c /**< */, + xcb_get_window_attributes_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_destroy_window_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_destroy_window_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_destroy_window + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_destroy_window (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_destroy_subwindows_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_destroy_subwindows_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_destroy_subwindows + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_destroy_subwindows (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_save_set_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_save_set_checked (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_save_set + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_save_set (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_reparent_window_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param xcb_window_t parent + ** @param int16_t x + ** @param int16_t y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_reparent_window_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + xcb_window_t parent /**< */, + int16_t x /**< */, + int16_t y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_reparent_window + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param xcb_window_t parent + ** @param int16_t x + ** @param int16_t y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_reparent_window (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + xcb_window_t parent /**< */, + int16_t x /**< */, + int16_t y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_map_window_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_map_window_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_map_window + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_map_window (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_map_subwindows_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_map_subwindows_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_map_subwindows + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_map_subwindows (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_unmap_window_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_unmap_window_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_unmap_window + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_unmap_window (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_unmap_subwindows_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_unmap_subwindows_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_unmap_subwindows + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_unmap_subwindows (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_configure_window_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param uint16_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_configure_window_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + uint16_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_configure_window + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param uint16_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_configure_window (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + uint16_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_circulate_window_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t direction + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_circulate_window_checked (xcb_connection_t *c /**< */, + uint8_t direction /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_circulate_window + ** + ** @param xcb_connection_t *c + ** @param uint8_t direction + ** @param xcb_window_t window + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_circulate_window (xcb_connection_t *c /**< */, + uint8_t direction /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_geometry_cookie_t xcb_get_geometry + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @returns xcb_get_geometry_cookie_t + ** + *****************************************************************************/ + +xcb_get_geometry_cookie_t +xcb_get_geometry (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_geometry_cookie_t xcb_get_geometry_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @returns xcb_get_geometry_cookie_t + ** + *****************************************************************************/ + +xcb_get_geometry_cookie_t +xcb_get_geometry_unchecked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_geometry_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_geometry_reply_t * xcb_get_geometry_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_geometry_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_geometry_reply_t * + ** + *****************************************************************************/ + +xcb_get_geometry_reply_t * +xcb_get_geometry_reply (xcb_connection_t *c /**< */, + xcb_get_geometry_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_tree_cookie_t xcb_query_tree + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_query_tree_cookie_t + ** + *****************************************************************************/ + +xcb_query_tree_cookie_t +xcb_query_tree (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_tree_cookie_t xcb_query_tree_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_query_tree_cookie_t + ** + *****************************************************************************/ + +xcb_query_tree_cookie_t +xcb_query_tree_unchecked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + + +/***************************************************************************** + ** + ** xcb_window_t * xcb_query_tree_children + ** + ** @param const xcb_query_tree_reply_t *R + ** @returns xcb_window_t * + ** + *****************************************************************************/ + +xcb_window_t * +xcb_query_tree_children (const xcb_query_tree_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_query_tree_children_length + ** + ** @param const xcb_query_tree_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_query_tree_children_length (const xcb_query_tree_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_window_iterator_t xcb_query_tree_children_iterator + ** + ** @param const xcb_query_tree_reply_t *R + ** @returns xcb_window_iterator_t + ** + *****************************************************************************/ + +xcb_window_iterator_t +xcb_query_tree_children_iterator (const xcb_query_tree_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_tree_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_tree_reply_t * xcb_query_tree_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_tree_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_tree_reply_t * + ** + *****************************************************************************/ + +xcb_query_tree_reply_t * +xcb_query_tree_reply (xcb_connection_t *c /**< */, + xcb_query_tree_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_intern_atom_cookie_t xcb_intern_atom + ** + ** @param xcb_connection_t *c + ** @param uint8_t only_if_exists + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_intern_atom_cookie_t + ** + *****************************************************************************/ + +xcb_intern_atom_cookie_t +xcb_intern_atom (xcb_connection_t *c /**< */, + uint8_t only_if_exists /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_intern_atom_cookie_t xcb_intern_atom_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t only_if_exists + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_intern_atom_cookie_t + ** + *****************************************************************************/ + +xcb_intern_atom_cookie_t +xcb_intern_atom_unchecked (xcb_connection_t *c /**< */, + uint8_t only_if_exists /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_intern_atom_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_intern_atom_reply_t * xcb_intern_atom_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_intern_atom_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_intern_atom_reply_t * + ** + *****************************************************************************/ + +xcb_intern_atom_reply_t * +xcb_intern_atom_reply (xcb_connection_t *c /**< */, + xcb_intern_atom_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_atom_name_cookie_t xcb_get_atom_name + ** + ** @param xcb_connection_t *c + ** @param xcb_atom_t atom + ** @returns xcb_get_atom_name_cookie_t + ** + *****************************************************************************/ + +xcb_get_atom_name_cookie_t +xcb_get_atom_name (xcb_connection_t *c /**< */, + xcb_atom_t atom /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_atom_t atom + ** @returns xcb_get_atom_name_cookie_t + ** + *****************************************************************************/ + +xcb_get_atom_name_cookie_t +xcb_get_atom_name_unchecked (xcb_connection_t *c /**< */, + xcb_atom_t atom /**< */); + + +/***************************************************************************** + ** + ** uint8_t * xcb_get_atom_name_name + ** + ** @param const xcb_get_atom_name_reply_t *R + ** @returns uint8_t * + ** + *****************************************************************************/ + +uint8_t * +xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_atom_name_name_length + ** + ** @param const xcb_get_atom_name_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_get_atom_name_name_end + ** + ** @param const xcb_get_atom_name_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_atom_name_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_atom_name_reply_t * xcb_get_atom_name_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_atom_name_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_atom_name_reply_t * + ** + *****************************************************************************/ + +xcb_get_atom_name_reply_t * +xcb_get_atom_name_reply (xcb_connection_t *c /**< */, + xcb_get_atom_name_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_property_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param xcb_window_t window + ** @param xcb_atom_t property + ** @param xcb_atom_t type + ** @param uint8_t format + ** @param uint32_t data_len + ** @param const void *data + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_property_checked (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + xcb_window_t window /**< */, + xcb_atom_t property /**< */, + xcb_atom_t type /**< */, + uint8_t format /**< */, + uint32_t data_len /**< */, + const void *data /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_property + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param xcb_window_t window + ** @param xcb_atom_t property + ** @param xcb_atom_t type + ** @param uint8_t format + ** @param uint32_t data_len + ** @param const void *data + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_property (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + xcb_window_t window /**< */, + xcb_atom_t property /**< */, + xcb_atom_t type /**< */, + uint8_t format /**< */, + uint32_t data_len /**< */, + const void *data /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_delete_property_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param xcb_atom_t property + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_delete_property_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + xcb_atom_t property /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_delete_property + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param xcb_atom_t property + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_delete_property (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + xcb_atom_t property /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_property_cookie_t xcb_get_property + ** + ** @param xcb_connection_t *c + ** @param uint8_t _delete + ** @param xcb_window_t window + ** @param xcb_atom_t property + ** @param xcb_atom_t type + ** @param uint32_t long_offset + ** @param uint32_t long_length + ** @returns xcb_get_property_cookie_t + ** + *****************************************************************************/ + +xcb_get_property_cookie_t +xcb_get_property (xcb_connection_t *c /**< */, + uint8_t _delete /**< */, + xcb_window_t window /**< */, + xcb_atom_t property /**< */, + xcb_atom_t type /**< */, + uint32_t long_offset /**< */, + uint32_t long_length /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_property_cookie_t xcb_get_property_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t _delete + ** @param xcb_window_t window + ** @param xcb_atom_t property + ** @param xcb_atom_t type + ** @param uint32_t long_offset + ** @param uint32_t long_length + ** @returns xcb_get_property_cookie_t + ** + *****************************************************************************/ + +xcb_get_property_cookie_t +xcb_get_property_unchecked (xcb_connection_t *c /**< */, + uint8_t _delete /**< */, + xcb_window_t window /**< */, + xcb_atom_t property /**< */, + xcb_atom_t type /**< */, + uint32_t long_offset /**< */, + uint32_t long_length /**< */); + + +/***************************************************************************** + ** + ** void * xcb_get_property_value + ** + ** @param const xcb_get_property_reply_t *R + ** @returns void * + ** + *****************************************************************************/ + +void * +xcb_get_property_value (const xcb_get_property_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_property_value_length + ** + ** @param const xcb_get_property_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_property_value_length (const xcb_get_property_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_get_property_value_end + ** + ** @param const xcb_get_property_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_get_property_value_end (const xcb_get_property_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_property_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_property_reply_t * xcb_get_property_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_property_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_property_reply_t * + ** + *****************************************************************************/ + +xcb_get_property_reply_t * +xcb_get_property_reply (xcb_connection_t *c /**< */, + xcb_get_property_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_list_properties_cookie_t xcb_list_properties + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_list_properties_cookie_t + ** + *****************************************************************************/ + +xcb_list_properties_cookie_t +xcb_list_properties (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_list_properties_cookie_t xcb_list_properties_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_list_properties_cookie_t + ** + *****************************************************************************/ + +xcb_list_properties_cookie_t +xcb_list_properties_unchecked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + + +/***************************************************************************** + ** + ** xcb_atom_t * xcb_list_properties_atoms + ** + ** @param const xcb_list_properties_reply_t *R + ** @returns xcb_atom_t * + ** + *****************************************************************************/ + +xcb_atom_t * +xcb_list_properties_atoms (const xcb_list_properties_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_list_properties_atoms_length + ** + ** @param const xcb_list_properties_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_atom_iterator_t xcb_list_properties_atoms_iterator + ** + ** @param const xcb_list_properties_reply_t *R + ** @returns xcb_atom_iterator_t + ** + *****************************************************************************/ + +xcb_atom_iterator_t +xcb_list_properties_atoms_iterator (const xcb_list_properties_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_list_properties_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_list_properties_reply_t * xcb_list_properties_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_list_properties_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_list_properties_reply_t * + ** + *****************************************************************************/ + +xcb_list_properties_reply_t * +xcb_list_properties_reply (xcb_connection_t *c /**< */, + xcb_list_properties_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_selection_owner_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t owner + ** @param xcb_atom_t selection + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_selection_owner_checked (xcb_connection_t *c /**< */, + xcb_window_t owner /**< */, + xcb_atom_t selection /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_selection_owner + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t owner + ** @param xcb_atom_t selection + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_selection_owner (xcb_connection_t *c /**< */, + xcb_window_t owner /**< */, + xcb_atom_t selection /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner + ** + ** @param xcb_connection_t *c + ** @param xcb_atom_t selection + ** @returns xcb_get_selection_owner_cookie_t + ** + *****************************************************************************/ + +xcb_get_selection_owner_cookie_t +xcb_get_selection_owner (xcb_connection_t *c /**< */, + xcb_atom_t selection /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_atom_t selection + ** @returns xcb_get_selection_owner_cookie_t + ** + *****************************************************************************/ + +xcb_get_selection_owner_cookie_t +xcb_get_selection_owner_unchecked (xcb_connection_t *c /**< */, + xcb_atom_t selection /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_selection_owner_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_selection_owner_reply_t * xcb_get_selection_owner_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_selection_owner_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_selection_owner_reply_t * + ** + *****************************************************************************/ + +xcb_get_selection_owner_reply_t * +xcb_get_selection_owner_reply (xcb_connection_t *c /**< */, + xcb_get_selection_owner_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_convert_selection_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t requestor + ** @param xcb_atom_t selection + ** @param xcb_atom_t target + ** @param xcb_atom_t property + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_convert_selection_checked (xcb_connection_t *c /**< */, + xcb_window_t requestor /**< */, + xcb_atom_t selection /**< */, + xcb_atom_t target /**< */, + xcb_atom_t property /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_convert_selection + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t requestor + ** @param xcb_atom_t selection + ** @param xcb_atom_t target + ** @param xcb_atom_t property + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_convert_selection (xcb_connection_t *c /**< */, + xcb_window_t requestor /**< */, + xcb_atom_t selection /**< */, + xcb_atom_t target /**< */, + xcb_atom_t property /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_send_event_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t propagate + ** @param xcb_window_t destination + ** @param uint32_t event_mask + ** @param const char *event + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_send_event_checked (xcb_connection_t *c /**< */, + uint8_t propagate /**< */, + xcb_window_t destination /**< */, + uint32_t event_mask /**< */, + const char *event /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_send_event + ** + ** @param xcb_connection_t *c + ** @param uint8_t propagate + ** @param xcb_window_t destination + ** @param uint32_t event_mask + ** @param const char *event + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_send_event (xcb_connection_t *c /**< */, + uint8_t propagate /**< */, + xcb_window_t destination /**< */, + uint32_t event_mask /**< */, + const char *event /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_grab_pointer_cookie_t xcb_grab_pointer + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param uint16_t event_mask + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @param xcb_window_t confine_to + ** @param xcb_cursor_t cursor + ** @param xcb_timestamp_t time + ** @returns xcb_grab_pointer_cookie_t + ** + *****************************************************************************/ + +xcb_grab_pointer_cookie_t +xcb_grab_pointer (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + uint16_t event_mask /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */, + xcb_window_t confine_to /**< */, + xcb_cursor_t cursor /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param uint16_t event_mask + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @param xcb_window_t confine_to + ** @param xcb_cursor_t cursor + ** @param xcb_timestamp_t time + ** @returns xcb_grab_pointer_cookie_t + ** + *****************************************************************************/ + +xcb_grab_pointer_cookie_t +xcb_grab_pointer_unchecked (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + uint16_t event_mask /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */, + xcb_window_t confine_to /**< */, + xcb_cursor_t cursor /**< */, + xcb_timestamp_t time /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_grab_pointer_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_grab_pointer_reply_t * xcb_grab_pointer_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_grab_pointer_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_grab_pointer_reply_t * + ** + *****************************************************************************/ + +xcb_grab_pointer_reply_t * +xcb_grab_pointer_reply (xcb_connection_t *c /**< */, + xcb_grab_pointer_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_pointer_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_pointer_checked (xcb_connection_t *c /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_pointer + ** + ** @param xcb_connection_t *c + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_pointer (xcb_connection_t *c /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_grab_button_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param uint16_t event_mask + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @param xcb_window_t confine_to + ** @param xcb_cursor_t cursor + ** @param uint8_t button + ** @param uint16_t modifiers + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_grab_button_checked (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + uint16_t event_mask /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */, + xcb_window_t confine_to /**< */, + xcb_cursor_t cursor /**< */, + uint8_t button /**< */, + uint16_t modifiers /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_grab_button + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param uint16_t event_mask + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @param xcb_window_t confine_to + ** @param xcb_cursor_t cursor + ** @param uint8_t button + ** @param uint16_t modifiers + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_grab_button (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + uint16_t event_mask /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */, + xcb_window_t confine_to /**< */, + xcb_cursor_t cursor /**< */, + uint8_t button /**< */, + uint16_t modifiers /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_button_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t button + ** @param xcb_window_t grab_window + ** @param uint16_t modifiers + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_button_checked (xcb_connection_t *c /**< */, + uint8_t button /**< */, + xcb_window_t grab_window /**< */, + uint16_t modifiers /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_button + ** + ** @param xcb_connection_t *c + ** @param uint8_t button + ** @param xcb_window_t grab_window + ** @param uint16_t modifiers + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_button (xcb_connection_t *c /**< */, + uint8_t button /**< */, + xcb_window_t grab_window /**< */, + uint16_t modifiers /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_active_pointer_grab_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cursor + ** @param xcb_timestamp_t time + ** @param uint16_t event_mask + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_active_pointer_grab_checked (xcb_connection_t *c /**< */, + xcb_cursor_t cursor /**< */, + xcb_timestamp_t time /**< */, + uint16_t event_mask /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_active_pointer_grab + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cursor + ** @param xcb_timestamp_t time + ** @param uint16_t event_mask + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_active_pointer_grab (xcb_connection_t *c /**< */, + xcb_cursor_t cursor /**< */, + xcb_timestamp_t time /**< */, + uint16_t event_mask /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param xcb_timestamp_t time + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @returns xcb_grab_keyboard_cookie_t + ** + *****************************************************************************/ + +xcb_grab_keyboard_cookie_t +xcb_grab_keyboard (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + xcb_timestamp_t time /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param xcb_timestamp_t time + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @returns xcb_grab_keyboard_cookie_t + ** + *****************************************************************************/ + +xcb_grab_keyboard_cookie_t +xcb_grab_keyboard_unchecked (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + xcb_timestamp_t time /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_grab_keyboard_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_grab_keyboard_reply_t * xcb_grab_keyboard_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_grab_keyboard_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_grab_keyboard_reply_t * + ** + *****************************************************************************/ + +xcb_grab_keyboard_reply_t * +xcb_grab_keyboard_reply (xcb_connection_t *c /**< */, + xcb_grab_keyboard_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_keyboard_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_keyboard_checked (xcb_connection_t *c /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_keyboard + ** + ** @param xcb_connection_t *c + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_keyboard (xcb_connection_t *c /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_grab_key_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param uint16_t modifiers + ** @param xcb_keycode_t key + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_grab_key_checked (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + uint16_t modifiers /**< */, + xcb_keycode_t key /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_grab_key + ** + ** @param xcb_connection_t *c + ** @param uint8_t owner_events + ** @param xcb_window_t grab_window + ** @param uint16_t modifiers + ** @param xcb_keycode_t key + ** @param uint8_t pointer_mode + ** @param uint8_t keyboard_mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_grab_key (xcb_connection_t *c /**< */, + uint8_t owner_events /**< */, + xcb_window_t grab_window /**< */, + uint16_t modifiers /**< */, + xcb_keycode_t key /**< */, + uint8_t pointer_mode /**< */, + uint8_t keyboard_mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_key_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_keycode_t key + ** @param xcb_window_t grab_window + ** @param uint16_t modifiers + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_key_checked (xcb_connection_t *c /**< */, + xcb_keycode_t key /**< */, + xcb_window_t grab_window /**< */, + uint16_t modifiers /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_key + ** + ** @param xcb_connection_t *c + ** @param xcb_keycode_t key + ** @param xcb_window_t grab_window + ** @param uint16_t modifiers + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_key (xcb_connection_t *c /**< */, + xcb_keycode_t key /**< */, + xcb_window_t grab_window /**< */, + uint16_t modifiers /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_allow_events_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_allow_events_checked (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_allow_events + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_allow_events (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_grab_server_checked + ** + ** @param xcb_connection_t *c + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_grab_server_checked (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_grab_server + ** + ** @param xcb_connection_t *c + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_grab_server (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_server_checked + ** + ** @param xcb_connection_t *c + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_server_checked (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_ungrab_server + ** + ** @param xcb_connection_t *c + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_ungrab_server (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_pointer_cookie_t xcb_query_pointer + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_query_pointer_cookie_t + ** + *****************************************************************************/ + +xcb_query_pointer_cookie_t +xcb_query_pointer (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_pointer_cookie_t xcb_query_pointer_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_query_pointer_cookie_t + ** + *****************************************************************************/ + +xcb_query_pointer_cookie_t +xcb_query_pointer_unchecked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_pointer_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_pointer_reply_t * xcb_query_pointer_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_pointer_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_pointer_reply_t * + ** + *****************************************************************************/ + +xcb_query_pointer_reply_t * +xcb_query_pointer_reply (xcb_connection_t *c /**< */, + xcb_query_pointer_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_timecoord_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_timecoord_t) + */ + +/***************************************************************************** + ** + ** void xcb_timecoord_next + ** + ** @param xcb_timecoord_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_timecoord_next (xcb_timecoord_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_timecoord_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_timecoord_end + ** + ** @param xcb_timecoord_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_timecoord_end (xcb_timecoord_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_motion_events_cookie_t xcb_get_motion_events + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param xcb_timestamp_t start + ** @param xcb_timestamp_t stop + ** @returns xcb_get_motion_events_cookie_t + ** + *****************************************************************************/ + +xcb_get_motion_events_cookie_t +xcb_get_motion_events (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + xcb_timestamp_t start /**< */, + xcb_timestamp_t stop /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param xcb_timestamp_t start + ** @param xcb_timestamp_t stop + ** @returns xcb_get_motion_events_cookie_t + ** + *****************************************************************************/ + +xcb_get_motion_events_cookie_t +xcb_get_motion_events_unchecked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + xcb_timestamp_t start /**< */, + xcb_timestamp_t stop /**< */); + + +/***************************************************************************** + ** + ** xcb_timecoord_t * xcb_get_motion_events_events + ** + ** @param const xcb_get_motion_events_reply_t *R + ** @returns xcb_timecoord_t * + ** + *****************************************************************************/ + +xcb_timecoord_t * +xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_motion_events_events_length + ** + ** @param const xcb_get_motion_events_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator + ** + ** @param const xcb_get_motion_events_reply_t *R + ** @returns xcb_timecoord_iterator_t + ** + *****************************************************************************/ + +xcb_timecoord_iterator_t +xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_motion_events_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_motion_events_reply_t * xcb_get_motion_events_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_motion_events_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_motion_events_reply_t * + ** + *****************************************************************************/ + +xcb_get_motion_events_reply_t * +xcb_get_motion_events_reply (xcb_connection_t *c /**< */, + xcb_get_motion_events_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t src_window + ** @param xcb_window_t dst_window + ** @param int16_t src_x + ** @param int16_t src_y + ** @returns xcb_translate_coordinates_cookie_t + ** + *****************************************************************************/ + +xcb_translate_coordinates_cookie_t +xcb_translate_coordinates (xcb_connection_t *c /**< */, + xcb_window_t src_window /**< */, + xcb_window_t dst_window /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t src_window + ** @param xcb_window_t dst_window + ** @param int16_t src_x + ** @param int16_t src_y + ** @returns xcb_translate_coordinates_cookie_t + ** + *****************************************************************************/ + +xcb_translate_coordinates_cookie_t +xcb_translate_coordinates_unchecked (xcb_connection_t *c /**< */, + xcb_window_t src_window /**< */, + xcb_window_t dst_window /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_translate_coordinates_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_translate_coordinates_reply_t * xcb_translate_coordinates_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_translate_coordinates_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_translate_coordinates_reply_t * + ** + *****************************************************************************/ + +xcb_translate_coordinates_reply_t * +xcb_translate_coordinates_reply (xcb_connection_t *c /**< */, + xcb_translate_coordinates_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_warp_pointer_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t src_window + ** @param xcb_window_t dst_window + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint16_t src_width + ** @param uint16_t src_height + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_warp_pointer_checked (xcb_connection_t *c /**< */, + xcb_window_t src_window /**< */, + xcb_window_t dst_window /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint16_t src_width /**< */, + uint16_t src_height /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_warp_pointer + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t src_window + ** @param xcb_window_t dst_window + ** @param int16_t src_x + ** @param int16_t src_y + ** @param uint16_t src_width + ** @param uint16_t src_height + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_warp_pointer (xcb_connection_t *c /**< */, + xcb_window_t src_window /**< */, + xcb_window_t dst_window /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + uint16_t src_width /**< */, + uint16_t src_height /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_input_focus_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t revert_to + ** @param xcb_window_t focus + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_input_focus_checked (xcb_connection_t *c /**< */, + uint8_t revert_to /**< */, + xcb_window_t focus /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_input_focus + ** + ** @param xcb_connection_t *c + ** @param uint8_t revert_to + ** @param xcb_window_t focus + ** @param xcb_timestamp_t time + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_input_focus (xcb_connection_t *c /**< */, + uint8_t revert_to /**< */, + xcb_window_t focus /**< */, + xcb_timestamp_t time /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_input_focus_cookie_t xcb_get_input_focus + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_input_focus_cookie_t + ** + *****************************************************************************/ + +xcb_get_input_focus_cookie_t +xcb_get_input_focus (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_input_focus_cookie_t + ** + *****************************************************************************/ + +xcb_get_input_focus_cookie_t +xcb_get_input_focus_unchecked (xcb_connection_t *c /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_input_focus_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_input_focus_reply_t * xcb_get_input_focus_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_input_focus_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_input_focus_reply_t * + ** + *****************************************************************************/ + +xcb_get_input_focus_reply_t * +xcb_get_input_focus_reply (xcb_connection_t *c /**< */, + xcb_get_input_focus_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_keymap_cookie_t xcb_query_keymap + ** + ** @param xcb_connection_t *c + ** @returns xcb_query_keymap_cookie_t + ** + *****************************************************************************/ + +xcb_query_keymap_cookie_t +xcb_query_keymap (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_keymap_cookie_t xcb_query_keymap_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_query_keymap_cookie_t + ** + *****************************************************************************/ + +xcb_query_keymap_cookie_t +xcb_query_keymap_unchecked (xcb_connection_t *c /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_keymap_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_keymap_reply_t * xcb_query_keymap_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_keymap_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_keymap_reply_t * + ** + *****************************************************************************/ + +xcb_query_keymap_reply_t * +xcb_query_keymap_reply (xcb_connection_t *c /**< */, + xcb_query_keymap_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_open_font_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_font_t fid + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_open_font_checked (xcb_connection_t *c /**< */, + xcb_font_t fid /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_open_font + ** + ** @param xcb_connection_t *c + ** @param xcb_font_t fid + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_open_font (xcb_connection_t *c /**< */, + xcb_font_t fid /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_close_font_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_font_t font + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_close_font_checked (xcb_connection_t *c /**< */, + xcb_font_t font /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_close_font + ** + ** @param xcb_connection_t *c + ** @param xcb_font_t font + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_close_font (xcb_connection_t *c /**< */, + xcb_font_t font /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_fontprop_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_fontprop_t) + */ + +/***************************************************************************** + ** + ** void xcb_fontprop_next + ** + ** @param xcb_fontprop_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_fontprop_next (xcb_fontprop_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_fontprop_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_fontprop_end + ** + ** @param xcb_fontprop_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_fontprop_end (xcb_fontprop_iterator_t i /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_charinfo_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_charinfo_t) + */ + +/***************************************************************************** + ** + ** void xcb_charinfo_next + ** + ** @param xcb_charinfo_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_charinfo_next (xcb_charinfo_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_charinfo_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_charinfo_end + ** + ** @param xcb_charinfo_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_charinfo_end (xcb_charinfo_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_font_cookie_t xcb_query_font + ** + ** @param xcb_connection_t *c + ** @param xcb_fontable_t font + ** @returns xcb_query_font_cookie_t + ** + *****************************************************************************/ + +xcb_query_font_cookie_t +xcb_query_font (xcb_connection_t *c /**< */, + xcb_fontable_t font /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_font_cookie_t xcb_query_font_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_fontable_t font + ** @returns xcb_query_font_cookie_t + ** + *****************************************************************************/ + +xcb_query_font_cookie_t +xcb_query_font_unchecked (xcb_connection_t *c /**< */, + xcb_fontable_t font /**< */); + + +/***************************************************************************** + ** + ** xcb_fontprop_t * xcb_query_font_properties + ** + ** @param const xcb_query_font_reply_t *R + ** @returns xcb_fontprop_t * + ** + *****************************************************************************/ + +xcb_fontprop_t * +xcb_query_font_properties (const xcb_query_font_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_query_font_properties_length + ** + ** @param const xcb_query_font_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_query_font_properties_length (const xcb_query_font_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_fontprop_iterator_t xcb_query_font_properties_iterator + ** + ** @param const xcb_query_font_reply_t *R + ** @returns xcb_fontprop_iterator_t + ** + *****************************************************************************/ + +xcb_fontprop_iterator_t +xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_charinfo_t * xcb_query_font_char_infos + ** + ** @param const xcb_query_font_reply_t *R + ** @returns xcb_charinfo_t * + ** + *****************************************************************************/ + +xcb_charinfo_t * +xcb_query_font_char_infos (const xcb_query_font_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_query_font_char_infos_length + ** + ** @param const xcb_query_font_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_charinfo_iterator_t xcb_query_font_char_infos_iterator + ** + ** @param const xcb_query_font_reply_t *R + ** @returns xcb_charinfo_iterator_t + ** + *****************************************************************************/ + +xcb_charinfo_iterator_t +xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_font_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_font_reply_t * xcb_query_font_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_font_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_font_reply_t * + ** + *****************************************************************************/ + +xcb_query_font_reply_t * +xcb_query_font_reply (xcb_connection_t *c /**< */, + xcb_query_font_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_text_extents_cookie_t xcb_query_text_extents + ** + ** @param xcb_connection_t *c + ** @param xcb_fontable_t font + ** @param uint32_t string_len + ** @param const xcb_char2b_t *string + ** @returns xcb_query_text_extents_cookie_t + ** + *****************************************************************************/ + +xcb_query_text_extents_cookie_t +xcb_query_text_extents (xcb_connection_t *c /**< */, + xcb_fontable_t font /**< */, + uint32_t string_len /**< */, + const xcb_char2b_t *string /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_fontable_t font + ** @param uint32_t string_len + ** @param const xcb_char2b_t *string + ** @returns xcb_query_text_extents_cookie_t + ** + *****************************************************************************/ + +xcb_query_text_extents_cookie_t +xcb_query_text_extents_unchecked (xcb_connection_t *c /**< */, + xcb_fontable_t font /**< */, + uint32_t string_len /**< */, + const xcb_char2b_t *string /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_text_extents_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_text_extents_reply_t * xcb_query_text_extents_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_text_extents_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_text_extents_reply_t * + ** + *****************************************************************************/ + +xcb_query_text_extents_reply_t * +xcb_query_text_extents_reply (xcb_connection_t *c /**< */, + xcb_query_text_extents_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + + +/***************************************************************************** + ** + ** char * xcb_str_name + ** + ** @param const xcb_str_t *R + ** @returns char * + ** + *****************************************************************************/ + +char * +xcb_str_name (const xcb_str_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_str_name_length + ** + ** @param const xcb_str_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_str_name_length (const xcb_str_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_str_name_end + ** + ** @param const xcb_str_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_str_name_end (const xcb_str_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_str_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_str_t) + */ + +/***************************************************************************** + ** + ** void xcb_str_next + ** + ** @param xcb_str_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_str_next (xcb_str_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_str_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_str_end + ** + ** @param xcb_str_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_str_end (xcb_str_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_list_fonts_cookie_t xcb_list_fonts + ** + ** @param xcb_connection_t *c + ** @param uint16_t max_names + ** @param uint16_t pattern_len + ** @param const char *pattern + ** @returns xcb_list_fonts_cookie_t + ** + *****************************************************************************/ + +xcb_list_fonts_cookie_t +xcb_list_fonts (xcb_connection_t *c /**< */, + uint16_t max_names /**< */, + uint16_t pattern_len /**< */, + const char *pattern /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_list_fonts_cookie_t xcb_list_fonts_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint16_t max_names + ** @param uint16_t pattern_len + ** @param const char *pattern + ** @returns xcb_list_fonts_cookie_t + ** + *****************************************************************************/ + +xcb_list_fonts_cookie_t +xcb_list_fonts_unchecked (xcb_connection_t *c /**< */, + uint16_t max_names /**< */, + uint16_t pattern_len /**< */, + const char *pattern /**< */); + + +/***************************************************************************** + ** + ** int xcb_list_fonts_names_length + ** + ** @param const xcb_list_fonts_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_str_iterator_t xcb_list_fonts_names_iterator + ** + ** @param const xcb_list_fonts_reply_t *R + ** @returns xcb_str_iterator_t + ** + *****************************************************************************/ + +xcb_str_iterator_t +xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_list_fonts_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_list_fonts_reply_t * xcb_list_fonts_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_list_fonts_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_list_fonts_reply_t * + ** + *****************************************************************************/ + +xcb_list_fonts_reply_t * +xcb_list_fonts_reply (xcb_connection_t *c /**< */, + xcb_list_fonts_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info + ** + ** @param xcb_connection_t *c + ** @param uint16_t max_names + ** @param uint16_t pattern_len + ** @param const char *pattern + ** @returns xcb_list_fonts_with_info_cookie_t + ** + *****************************************************************************/ + +xcb_list_fonts_with_info_cookie_t +xcb_list_fonts_with_info (xcb_connection_t *c /**< */, + uint16_t max_names /**< */, + uint16_t pattern_len /**< */, + const char *pattern /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint16_t max_names + ** @param uint16_t pattern_len + ** @param const char *pattern + ** @returns xcb_list_fonts_with_info_cookie_t + ** + *****************************************************************************/ + +xcb_list_fonts_with_info_cookie_t +xcb_list_fonts_with_info_unchecked (xcb_connection_t *c /**< */, + uint16_t max_names /**< */, + uint16_t pattern_len /**< */, + const char *pattern /**< */); + + +/***************************************************************************** + ** + ** xcb_fontprop_t * xcb_list_fonts_with_info_properties + ** + ** @param const xcb_list_fonts_with_info_reply_t *R + ** @returns xcb_fontprop_t * + ** + *****************************************************************************/ + +xcb_fontprop_t * +xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_list_fonts_with_info_properties_length + ** + ** @param const xcb_list_fonts_with_info_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator + ** + ** @param const xcb_list_fonts_with_info_reply_t *R + ** @returns xcb_fontprop_iterator_t + ** + *****************************************************************************/ + +xcb_fontprop_iterator_t +xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** char * xcb_list_fonts_with_info_name + ** + ** @param const xcb_list_fonts_with_info_reply_t *R + ** @returns char * + ** + *****************************************************************************/ + +char * +xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_list_fonts_with_info_name_length + ** + ** @param const xcb_list_fonts_with_info_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_list_fonts_with_info_name_end + ** + ** @param const xcb_list_fonts_with_info_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_list_fonts_with_info_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_list_fonts_with_info_reply_t * xcb_list_fonts_with_info_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_list_fonts_with_info_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_list_fonts_with_info_reply_t * + ** + *****************************************************************************/ + +xcb_list_fonts_with_info_reply_t * +xcb_list_fonts_with_info_reply (xcb_connection_t *c /**< */, + xcb_list_fonts_with_info_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_font_path_checked + ** + ** @param xcb_connection_t *c + ** @param uint16_t font_qty + ** @param uint32_t path_len + ** @param const char *path + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_font_path_checked (xcb_connection_t *c /**< */, + uint16_t font_qty /**< */, + uint32_t path_len /**< */, + const char *path /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_font_path + ** + ** @param xcb_connection_t *c + ** @param uint16_t font_qty + ** @param uint32_t path_len + ** @param const char *path + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_font_path (xcb_connection_t *c /**< */, + uint16_t font_qty /**< */, + uint32_t path_len /**< */, + const char *path /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_font_path_cookie_t xcb_get_font_path + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_font_path_cookie_t + ** + *****************************************************************************/ + +xcb_get_font_path_cookie_t +xcb_get_font_path (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_font_path_cookie_t xcb_get_font_path_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_font_path_cookie_t + ** + *****************************************************************************/ + +xcb_get_font_path_cookie_t +xcb_get_font_path_unchecked (xcb_connection_t *c /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_font_path_path_length + ** + ** @param const xcb_get_font_path_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_str_iterator_t xcb_get_font_path_path_iterator + ** + ** @param const xcb_get_font_path_reply_t *R + ** @returns xcb_str_iterator_t + ** + *****************************************************************************/ + +xcb_str_iterator_t +xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_font_path_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_font_path_reply_t * xcb_get_font_path_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_font_path_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_font_path_reply_t * + ** + *****************************************************************************/ + +xcb_get_font_path_reply_t * +xcb_get_font_path_reply (xcb_connection_t *c /**< */, + xcb_get_font_path_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_pixmap_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t depth + ** @param xcb_pixmap_t pid + ** @param xcb_drawable_t drawable + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_pixmap_checked (xcb_connection_t *c /**< */, + uint8_t depth /**< */, + xcb_pixmap_t pid /**< */, + xcb_drawable_t drawable /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_pixmap + ** + ** @param xcb_connection_t *c + ** @param uint8_t depth + ** @param xcb_pixmap_t pid + ** @param xcb_drawable_t drawable + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_pixmap (xcb_connection_t *c /**< */, + uint8_t depth /**< */, + xcb_pixmap_t pid /**< */, + xcb_drawable_t drawable /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_pixmap_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_pixmap_t pixmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_pixmap_checked (xcb_connection_t *c /**< */, + xcb_pixmap_t pixmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_pixmap + ** + ** @param xcb_connection_t *c + ** @param xcb_pixmap_t pixmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_pixmap (xcb_connection_t *c /**< */, + xcb_pixmap_t pixmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_gc_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t cid + ** @param xcb_drawable_t drawable + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_gc_checked (xcb_connection_t *c /**< */, + xcb_gcontext_t cid /**< */, + xcb_drawable_t drawable /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_gc + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t cid + ** @param xcb_drawable_t drawable + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_gc (xcb_connection_t *c /**< */, + xcb_gcontext_t cid /**< */, + xcb_drawable_t drawable /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_gc_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t gc + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_gc_checked (xcb_connection_t *c /**< */, + xcb_gcontext_t gc /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_gc + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t gc + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_gc (xcb_connection_t *c /**< */, + xcb_gcontext_t gc /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_gc_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t src_gc + ** @param xcb_gcontext_t dst_gc + ** @param uint32_t value_mask + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_gc_checked (xcb_connection_t *c /**< */, + xcb_gcontext_t src_gc /**< */, + xcb_gcontext_t dst_gc /**< */, + uint32_t value_mask /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_gc + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t src_gc + ** @param xcb_gcontext_t dst_gc + ** @param uint32_t value_mask + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_gc (xcb_connection_t *c /**< */, + xcb_gcontext_t src_gc /**< */, + xcb_gcontext_t dst_gc /**< */, + uint32_t value_mask /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_dashes_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t gc + ** @param uint16_t dash_offset + ** @param uint16_t dashes_len + ** @param const uint8_t *dashes + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_dashes_checked (xcb_connection_t *c /**< */, + xcb_gcontext_t gc /**< */, + uint16_t dash_offset /**< */, + uint16_t dashes_len /**< */, + const uint8_t *dashes /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_dashes + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t gc + ** @param uint16_t dash_offset + ** @param uint16_t dashes_len + ** @param const uint8_t *dashes + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_dashes (xcb_connection_t *c /**< */, + xcb_gcontext_t gc /**< */, + uint16_t dash_offset /**< */, + uint16_t dashes_len /**< */, + const uint8_t *dashes /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_clip_rectangles_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t ordering + ** @param xcb_gcontext_t gc + ** @param int16_t clip_x_origin + ** @param int16_t clip_y_origin + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_clip_rectangles_checked (xcb_connection_t *c /**< */, + uint8_t ordering /**< */, + xcb_gcontext_t gc /**< */, + int16_t clip_x_origin /**< */, + int16_t clip_y_origin /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_clip_rectangles + ** + ** @param xcb_connection_t *c + ** @param uint8_t ordering + ** @param xcb_gcontext_t gc + ** @param int16_t clip_x_origin + ** @param int16_t clip_y_origin + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_clip_rectangles (xcb_connection_t *c /**< */, + uint8_t ordering /**< */, + xcb_gcontext_t gc /**< */, + int16_t clip_x_origin /**< */, + int16_t clip_y_origin /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_gc_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t gc + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_gc_checked (xcb_connection_t *c /**< */, + xcb_gcontext_t gc /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_gc + ** + ** @param xcb_connection_t *c + ** @param xcb_gcontext_t gc + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_gc (xcb_connection_t *c /**< */, + xcb_gcontext_t gc /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_clear_area_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t exposures + ** @param xcb_window_t window + ** @param int16_t x + ** @param int16_t y + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_clear_area_checked (xcb_connection_t *c /**< */, + uint8_t exposures /**< */, + xcb_window_t window /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_clear_area + ** + ** @param xcb_connection_t *c + ** @param uint8_t exposures + ** @param xcb_window_t window + ** @param int16_t x + ** @param int16_t y + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_clear_area (xcb_connection_t *c /**< */, + uint8_t exposures /**< */, + xcb_window_t window /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_area_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t src_drawable + ** @param xcb_drawable_t dst_drawable + ** @param xcb_gcontext_t gc + ** @param int16_t src_x + ** @param int16_t src_y + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_area_checked (xcb_connection_t *c /**< */, + xcb_drawable_t src_drawable /**< */, + xcb_drawable_t dst_drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_area + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t src_drawable + ** @param xcb_drawable_t dst_drawable + ** @param xcb_gcontext_t gc + ** @param int16_t src_x + ** @param int16_t src_y + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_area (xcb_connection_t *c /**< */, + xcb_drawable_t src_drawable /**< */, + xcb_drawable_t dst_drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_plane_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t src_drawable + ** @param xcb_drawable_t dst_drawable + ** @param xcb_gcontext_t gc + ** @param int16_t src_x + ** @param int16_t src_y + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint16_t width + ** @param uint16_t height + ** @param uint32_t bit_plane + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_plane_checked (xcb_connection_t *c /**< */, + xcb_drawable_t src_drawable /**< */, + xcb_drawable_t dst_drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + uint32_t bit_plane /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_plane + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t src_drawable + ** @param xcb_drawable_t dst_drawable + ** @param xcb_gcontext_t gc + ** @param int16_t src_x + ** @param int16_t src_y + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint16_t width + ** @param uint16_t height + ** @param uint32_t bit_plane + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_plane (xcb_connection_t *c /**< */, + xcb_drawable_t src_drawable /**< */, + xcb_drawable_t dst_drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t src_x /**< */, + int16_t src_y /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + uint32_t bit_plane /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_point_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t coordinate_mode + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t points_len + ** @param const xcb_point_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_point_checked (xcb_connection_t *c /**< */, + uint8_t coordinate_mode /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t points_len /**< */, + const xcb_point_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_point + ** + ** @param xcb_connection_t *c + ** @param uint8_t coordinate_mode + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t points_len + ** @param const xcb_point_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_point (xcb_connection_t *c /**< */, + uint8_t coordinate_mode /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t points_len /**< */, + const xcb_point_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_line_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t coordinate_mode + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t points_len + ** @param const xcb_point_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_line_checked (xcb_connection_t *c /**< */, + uint8_t coordinate_mode /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t points_len /**< */, + const xcb_point_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_line + ** + ** @param xcb_connection_t *c + ** @param uint8_t coordinate_mode + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t points_len + ** @param const xcb_point_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_line (xcb_connection_t *c /**< */, + uint8_t coordinate_mode /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t points_len /**< */, + const xcb_point_t *points /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_segment_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_segment_t) + */ + +/***************************************************************************** + ** + ** void xcb_segment_next + ** + ** @param xcb_segment_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_segment_next (xcb_segment_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_segment_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_segment_end + ** + ** @param xcb_segment_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_segment_end (xcb_segment_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_segment_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t segments_len + ** @param const xcb_segment_t *segments + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_segment_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t segments_len /**< */, + const xcb_segment_t *segments /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_segment + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t segments_len + ** @param const xcb_segment_t *segments + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_segment (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t segments_len /**< */, + const xcb_segment_t *segments /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_rectangle_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_rectangle_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_rectangle + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_rectangle (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_arc_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t arcs_len + ** @param const xcb_arc_t *arcs + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_arc_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t arcs_len /**< */, + const xcb_arc_t *arcs /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_arc + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t arcs_len + ** @param const xcb_arc_t *arcs + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_arc (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t arcs_len /**< */, + const xcb_arc_t *arcs /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_fill_poly_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint8_t shape + ** @param uint8_t coordinate_mode + ** @param uint32_t points_len + ** @param const xcb_point_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_fill_poly_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint8_t shape /**< */, + uint8_t coordinate_mode /**< */, + uint32_t points_len /**< */, + const xcb_point_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_fill_poly + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint8_t shape + ** @param uint8_t coordinate_mode + ** @param uint32_t points_len + ** @param const xcb_point_t *points + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_fill_poly (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint8_t shape /**< */, + uint8_t coordinate_mode /**< */, + uint32_t points_len /**< */, + const xcb_point_t *points /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_fill_rectangle_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_fill_rectangle_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_fill_rectangle + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t rectangles_len + ** @param const xcb_rectangle_t *rectangles + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_fill_rectangle (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t rectangles_len /**< */, + const xcb_rectangle_t *rectangles /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_fill_arc_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t arcs_len + ** @param const xcb_arc_t *arcs + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_fill_arc_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t arcs_len /**< */, + const xcb_arc_t *arcs /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_fill_arc + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint32_t arcs_len + ** @param const xcb_arc_t *arcs + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_fill_arc (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint32_t arcs_len /**< */, + const xcb_arc_t *arcs /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_put_image_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t format + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint16_t width + ** @param uint16_t height + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint8_t left_pad + ** @param uint8_t depth + ** @param uint32_t data_len + ** @param const uint8_t *data + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_put_image_checked (xcb_connection_t *c /**< */, + uint8_t format /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint8_t left_pad /**< */, + uint8_t depth /**< */, + uint32_t data_len /**< */, + const uint8_t *data /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_put_image + ** + ** @param xcb_connection_t *c + ** @param uint8_t format + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param uint16_t width + ** @param uint16_t height + ** @param int16_t dst_x + ** @param int16_t dst_y + ** @param uint8_t left_pad + ** @param uint8_t depth + ** @param uint32_t data_len + ** @param const uint8_t *data + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_put_image (xcb_connection_t *c /**< */, + uint8_t format /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + int16_t dst_x /**< */, + int16_t dst_y /**< */, + uint8_t left_pad /**< */, + uint8_t depth /**< */, + uint32_t data_len /**< */, + const uint8_t *data /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_image_cookie_t xcb_get_image + ** + ** @param xcb_connection_t *c + ** @param uint8_t format + ** @param xcb_drawable_t drawable + ** @param int16_t x + ** @param int16_t y + ** @param uint16_t width + ** @param uint16_t height + ** @param uint32_t plane_mask + ** @returns xcb_get_image_cookie_t + ** + *****************************************************************************/ + +xcb_get_image_cookie_t +xcb_get_image (xcb_connection_t *c /**< */, + uint8_t format /**< */, + xcb_drawable_t drawable /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + uint32_t plane_mask /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_image_cookie_t xcb_get_image_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t format + ** @param xcb_drawable_t drawable + ** @param int16_t x + ** @param int16_t y + ** @param uint16_t width + ** @param uint16_t height + ** @param uint32_t plane_mask + ** @returns xcb_get_image_cookie_t + ** + *****************************************************************************/ + +xcb_get_image_cookie_t +xcb_get_image_unchecked (xcb_connection_t *c /**< */, + uint8_t format /**< */, + xcb_drawable_t drawable /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint16_t width /**< */, + uint16_t height /**< */, + uint32_t plane_mask /**< */); + + +/***************************************************************************** + ** + ** uint8_t * xcb_get_image_data + ** + ** @param const xcb_get_image_reply_t *R + ** @returns uint8_t * + ** + *****************************************************************************/ + +uint8_t * +xcb_get_image_data (const xcb_get_image_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_image_data_length + ** + ** @param const xcb_get_image_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_image_data_length (const xcb_get_image_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_get_image_data_end + ** + ** @param const xcb_get_image_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_get_image_data_end (const xcb_get_image_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_image_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_image_reply_t * xcb_get_image_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_image_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_image_reply_t * + ** + *****************************************************************************/ + +xcb_get_image_reply_t * +xcb_get_image_reply (xcb_connection_t *c /**< */, + xcb_get_image_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_text_8_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param uint32_t items_len + ** @param const uint8_t *items + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_text_8_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint32_t items_len /**< */, + const uint8_t *items /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_text_8 + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param uint32_t items_len + ** @param const uint8_t *items + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_text_8 (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint32_t items_len /**< */, + const uint8_t *items /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_text_16_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param uint32_t items_len + ** @param const uint8_t *items + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_text_16_checked (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint32_t items_len /**< */, + const uint8_t *items /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_poly_text_16 + ** + ** @param xcb_connection_t *c + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param uint32_t items_len + ** @param const uint8_t *items + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_poly_text_16 (xcb_connection_t *c /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + uint32_t items_len /**< */, + const uint8_t *items /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_image_text_8_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t string_len + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param const char *string + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_image_text_8_checked (xcb_connection_t *c /**< */, + uint8_t string_len /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + const char *string /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_image_text_8 + ** + ** @param xcb_connection_t *c + ** @param uint8_t string_len + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param const char *string + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_image_text_8 (xcb_connection_t *c /**< */, + uint8_t string_len /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + const char *string /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_image_text_16_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t string_len + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param const xcb_char2b_t *string + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_image_text_16_checked (xcb_connection_t *c /**< */, + uint8_t string_len /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + const xcb_char2b_t *string /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_image_text_16 + ** + ** @param xcb_connection_t *c + ** @param uint8_t string_len + ** @param xcb_drawable_t drawable + ** @param xcb_gcontext_t gc + ** @param int16_t x + ** @param int16_t y + ** @param const xcb_char2b_t *string + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_image_text_16 (xcb_connection_t *c /**< */, + uint8_t string_len /**< */, + xcb_drawable_t drawable /**< */, + xcb_gcontext_t gc /**< */, + int16_t x /**< */, + int16_t y /**< */, + const xcb_char2b_t *string /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_colormap_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t alloc + ** @param xcb_colormap_t mid + ** @param xcb_window_t window + ** @param xcb_visualid_t visual + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_colormap_checked (xcb_connection_t *c /**< */, + uint8_t alloc /**< */, + xcb_colormap_t mid /**< */, + xcb_window_t window /**< */, + xcb_visualid_t visual /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_colormap + ** + ** @param xcb_connection_t *c + ** @param uint8_t alloc + ** @param xcb_colormap_t mid + ** @param xcb_window_t window + ** @param xcb_visualid_t visual + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_colormap (xcb_connection_t *c /**< */, + uint8_t alloc /**< */, + xcb_colormap_t mid /**< */, + xcb_window_t window /**< */, + xcb_visualid_t visual /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_colormap_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_colormap_checked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_colormap + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_colormap (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_colormap_and_free_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t mid + ** @param xcb_colormap_t src_cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_colormap_and_free_checked (xcb_connection_t *c /**< */, + xcb_colormap_t mid /**< */, + xcb_colormap_t src_cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_copy_colormap_and_free + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t mid + ** @param xcb_colormap_t src_cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_copy_colormap_and_free (xcb_connection_t *c /**< */, + xcb_colormap_t mid /**< */, + xcb_colormap_t src_cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_install_colormap_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_install_colormap_checked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_install_colormap + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_install_colormap (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_uninstall_colormap_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_uninstall_colormap_checked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_uninstall_colormap + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_uninstall_colormap (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_list_installed_colormaps_cookie_t + ** + *****************************************************************************/ + +xcb_list_installed_colormaps_cookie_t +xcb_list_installed_colormaps (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @returns xcb_list_installed_colormaps_cookie_t + ** + *****************************************************************************/ + +xcb_list_installed_colormaps_cookie_t +xcb_list_installed_colormaps_unchecked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */); + + +/***************************************************************************** + ** + ** xcb_colormap_t * xcb_list_installed_colormaps_cmaps + ** + ** @param const xcb_list_installed_colormaps_reply_t *R + ** @returns xcb_colormap_t * + ** + *****************************************************************************/ + +xcb_colormap_t * +xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_list_installed_colormaps_cmaps_length + ** + ** @param const xcb_list_installed_colormaps_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_colormap_iterator_t xcb_list_installed_colormaps_cmaps_iterator + ** + ** @param const xcb_list_installed_colormaps_reply_t *R + ** @returns xcb_colormap_iterator_t + ** + *****************************************************************************/ + +xcb_colormap_iterator_t +xcb_list_installed_colormaps_cmaps_iterator (const xcb_list_installed_colormaps_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_list_installed_colormaps_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_list_installed_colormaps_reply_t * xcb_list_installed_colormaps_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_list_installed_colormaps_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_list_installed_colormaps_reply_t * + ** + *****************************************************************************/ + +xcb_list_installed_colormaps_reply_t * +xcb_list_installed_colormaps_reply (xcb_connection_t *c /**< */, + xcb_list_installed_colormaps_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_cookie_t xcb_alloc_color + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint16_t red + ** @param uint16_t green + ** @param uint16_t blue + ** @returns xcb_alloc_color_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_color_cookie_t +xcb_alloc_color (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint16_t red /**< */, + uint16_t green /**< */, + uint16_t blue /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_cookie_t xcb_alloc_color_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint16_t red + ** @param uint16_t green + ** @param uint16_t blue + ** @returns xcb_alloc_color_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_color_cookie_t +xcb_alloc_color_unchecked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint16_t red /**< */, + uint16_t green /**< */, + uint16_t blue /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_alloc_color_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_reply_t * xcb_alloc_color_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_alloc_color_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_alloc_color_reply_t * + ** + *****************************************************************************/ + +xcb_alloc_color_reply_t * +xcb_alloc_color_reply (xcb_connection_t *c /**< */, + xcb_alloc_color_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_alloc_named_color_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_named_color_cookie_t +xcb_alloc_named_color (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_alloc_named_color_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_named_color_cookie_t +xcb_alloc_named_color_unchecked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_alloc_named_color_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_alloc_named_color_reply_t * xcb_alloc_named_color_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_alloc_named_color_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_alloc_named_color_reply_t * + ** + *****************************************************************************/ + +xcb_alloc_named_color_reply_t * +xcb_alloc_named_color_reply (xcb_connection_t *c /**< */, + xcb_alloc_named_color_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells + ** + ** @param xcb_connection_t *c + ** @param uint8_t contiguous + ** @param xcb_colormap_t cmap + ** @param uint16_t colors + ** @param uint16_t planes + ** @returns xcb_alloc_color_cells_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_color_cells_cookie_t +xcb_alloc_color_cells (xcb_connection_t *c /**< */, + uint8_t contiguous /**< */, + xcb_colormap_t cmap /**< */, + uint16_t colors /**< */, + uint16_t planes /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t contiguous + ** @param xcb_colormap_t cmap + ** @param uint16_t colors + ** @param uint16_t planes + ** @returns xcb_alloc_color_cells_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_color_cells_cookie_t +xcb_alloc_color_cells_unchecked (xcb_connection_t *c /**< */, + uint8_t contiguous /**< */, + xcb_colormap_t cmap /**< */, + uint16_t colors /**< */, + uint16_t planes /**< */); + + +/***************************************************************************** + ** + ** uint32_t * xcb_alloc_color_cells_pixels + ** + ** @param const xcb_alloc_color_cells_reply_t *R + ** @returns uint32_t * + ** + *****************************************************************************/ + +uint32_t * +xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_alloc_color_cells_pixels_length + ** + ** @param const xcb_alloc_color_cells_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end + ** + ** @param const xcb_alloc_color_cells_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** uint32_t * xcb_alloc_color_cells_masks + ** + ** @param const xcb_alloc_color_cells_reply_t *R + ** @returns uint32_t * + ** + *****************************************************************************/ + +uint32_t * +xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_alloc_color_cells_masks_length + ** + ** @param const xcb_alloc_color_cells_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_alloc_color_cells_masks_end + ** + ** @param const xcb_alloc_color_cells_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_alloc_color_cells_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_cells_reply_t * xcb_alloc_color_cells_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_alloc_color_cells_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_alloc_color_cells_reply_t * + ** + *****************************************************************************/ + +xcb_alloc_color_cells_reply_t * +xcb_alloc_color_cells_reply (xcb_connection_t *c /**< */, + xcb_alloc_color_cells_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes + ** + ** @param xcb_connection_t *c + ** @param uint8_t contiguous + ** @param xcb_colormap_t cmap + ** @param uint16_t colors + ** @param uint16_t reds + ** @param uint16_t greens + ** @param uint16_t blues + ** @returns xcb_alloc_color_planes_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_color_planes_cookie_t +xcb_alloc_color_planes (xcb_connection_t *c /**< */, + uint8_t contiguous /**< */, + xcb_colormap_t cmap /**< */, + uint16_t colors /**< */, + uint16_t reds /**< */, + uint16_t greens /**< */, + uint16_t blues /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t contiguous + ** @param xcb_colormap_t cmap + ** @param uint16_t colors + ** @param uint16_t reds + ** @param uint16_t greens + ** @param uint16_t blues + ** @returns xcb_alloc_color_planes_cookie_t + ** + *****************************************************************************/ + +xcb_alloc_color_planes_cookie_t +xcb_alloc_color_planes_unchecked (xcb_connection_t *c /**< */, + uint8_t contiguous /**< */, + xcb_colormap_t cmap /**< */, + uint16_t colors /**< */, + uint16_t reds /**< */, + uint16_t greens /**< */, + uint16_t blues /**< */); + + +/***************************************************************************** + ** + ** uint32_t * xcb_alloc_color_planes_pixels + ** + ** @param const xcb_alloc_color_planes_reply_t *R + ** @returns uint32_t * + ** + *****************************************************************************/ + +uint32_t * +xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_alloc_color_planes_pixels_length + ** + ** @param const xcb_alloc_color_planes_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end + ** + ** @param const xcb_alloc_color_planes_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_alloc_color_planes_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_alloc_color_planes_reply_t * xcb_alloc_color_planes_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_alloc_color_planes_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_alloc_color_planes_reply_t * + ** + *****************************************************************************/ + +xcb_alloc_color_planes_reply_t * +xcb_alloc_color_planes_reply (xcb_connection_t *c /**< */, + xcb_alloc_color_planes_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_colors_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint32_t plane_mask + ** @param uint32_t pixels_len + ** @param const uint32_t *pixels + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_colors_checked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint32_t plane_mask /**< */, + uint32_t pixels_len /**< */, + const uint32_t *pixels /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_colors + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint32_t plane_mask + ** @param uint32_t pixels_len + ** @param const uint32_t *pixels + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_colors (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint32_t plane_mask /**< */, + uint32_t pixels_len /**< */, + const uint32_t *pixels /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_coloritem_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_coloritem_t) + */ + +/***************************************************************************** + ** + ** void xcb_coloritem_next + ** + ** @param xcb_coloritem_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_coloritem_next (xcb_coloritem_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_coloritem_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_coloritem_end + ** + ** @param xcb_coloritem_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_coloritem_end (xcb_coloritem_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_store_colors_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint32_t items_len + ** @param const xcb_coloritem_t *items + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_store_colors_checked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint32_t items_len /**< */, + const xcb_coloritem_t *items /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_store_colors + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint32_t items_len + ** @param const xcb_coloritem_t *items + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_store_colors (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint32_t items_len /**< */, + const xcb_coloritem_t *items /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_store_named_color_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t flags + ** @param xcb_colormap_t cmap + ** @param uint32_t pixel + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_store_named_color_checked (xcb_connection_t *c /**< */, + uint8_t flags /**< */, + xcb_colormap_t cmap /**< */, + uint32_t pixel /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_store_named_color + ** + ** @param xcb_connection_t *c + ** @param uint8_t flags + ** @param xcb_colormap_t cmap + ** @param uint32_t pixel + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_store_named_color (xcb_connection_t *c /**< */, + uint8_t flags /**< */, + xcb_colormap_t cmap /**< */, + uint32_t pixel /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_rgb_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_rgb_t) + */ + +/***************************************************************************** + ** + ** void xcb_rgb_next + ** + ** @param xcb_rgb_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_rgb_next (xcb_rgb_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_rgb_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_rgb_end + ** + ** @param xcb_rgb_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_rgb_end (xcb_rgb_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_colors_cookie_t xcb_query_colors + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint32_t pixels_len + ** @param const uint32_t *pixels + ** @returns xcb_query_colors_cookie_t + ** + *****************************************************************************/ + +xcb_query_colors_cookie_t +xcb_query_colors (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint32_t pixels_len /**< */, + const uint32_t *pixels /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_colors_cookie_t xcb_query_colors_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint32_t pixels_len + ** @param const uint32_t *pixels + ** @returns xcb_query_colors_cookie_t + ** + *****************************************************************************/ + +xcb_query_colors_cookie_t +xcb_query_colors_unchecked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint32_t pixels_len /**< */, + const uint32_t *pixels /**< */); + + +/***************************************************************************** + ** + ** xcb_rgb_t * xcb_query_colors_colors + ** + ** @param const xcb_query_colors_reply_t *R + ** @returns xcb_rgb_t * + ** + *****************************************************************************/ + +xcb_rgb_t * +xcb_query_colors_colors (const xcb_query_colors_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_query_colors_colors_length + ** + ** @param const xcb_query_colors_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_rgb_iterator_t xcb_query_colors_colors_iterator + ** + ** @param const xcb_query_colors_reply_t *R + ** @returns xcb_rgb_iterator_t + ** + *****************************************************************************/ + +xcb_rgb_iterator_t +xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_colors_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_colors_reply_t * xcb_query_colors_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_colors_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_colors_reply_t * + ** + *****************************************************************************/ + +xcb_query_colors_reply_t * +xcb_query_colors_reply (xcb_connection_t *c /**< */, + xcb_query_colors_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_lookup_color_cookie_t xcb_lookup_color + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_lookup_color_cookie_t + ** + *****************************************************************************/ + +xcb_lookup_color_cookie_t +xcb_lookup_color (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_lookup_color_cookie_t xcb_lookup_color_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_colormap_t cmap + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_lookup_color_cookie_t + ** + *****************************************************************************/ + +xcb_lookup_color_cookie_t +xcb_lookup_color_unchecked (xcb_connection_t *c /**< */, + xcb_colormap_t cmap /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_lookup_color_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_lookup_color_reply_t * xcb_lookup_color_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_lookup_color_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_lookup_color_reply_t * + ** + *****************************************************************************/ + +xcb_lookup_color_reply_t * +xcb_lookup_color_reply (xcb_connection_t *c /**< */, + xcb_lookup_color_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_cursor_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param xcb_pixmap_t source + ** @param xcb_pixmap_t mask + ** @param uint16_t fore_red + ** @param uint16_t fore_green + ** @param uint16_t fore_blue + ** @param uint16_t back_red + ** @param uint16_t back_green + ** @param uint16_t back_blue + ** @param uint16_t x + ** @param uint16_t y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_cursor_checked (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + xcb_pixmap_t source /**< */, + xcb_pixmap_t mask /**< */, + uint16_t fore_red /**< */, + uint16_t fore_green /**< */, + uint16_t fore_blue /**< */, + uint16_t back_red /**< */, + uint16_t back_green /**< */, + uint16_t back_blue /**< */, + uint16_t x /**< */, + uint16_t y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_cursor + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param xcb_pixmap_t source + ** @param xcb_pixmap_t mask + ** @param uint16_t fore_red + ** @param uint16_t fore_green + ** @param uint16_t fore_blue + ** @param uint16_t back_red + ** @param uint16_t back_green + ** @param uint16_t back_blue + ** @param uint16_t x + ** @param uint16_t y + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_cursor (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + xcb_pixmap_t source /**< */, + xcb_pixmap_t mask /**< */, + uint16_t fore_red /**< */, + uint16_t fore_green /**< */, + uint16_t fore_blue /**< */, + uint16_t back_red /**< */, + uint16_t back_green /**< */, + uint16_t back_blue /**< */, + uint16_t x /**< */, + uint16_t y /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_glyph_cursor_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param xcb_font_t source_font + ** @param xcb_font_t mask_font + ** @param uint16_t source_char + ** @param uint16_t mask_char + ** @param uint16_t fore_red + ** @param uint16_t fore_green + ** @param uint16_t fore_blue + ** @param uint16_t back_red + ** @param uint16_t back_green + ** @param uint16_t back_blue + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_glyph_cursor_checked (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + xcb_font_t source_font /**< */, + xcb_font_t mask_font /**< */, + uint16_t source_char /**< */, + uint16_t mask_char /**< */, + uint16_t fore_red /**< */, + uint16_t fore_green /**< */, + uint16_t fore_blue /**< */, + uint16_t back_red /**< */, + uint16_t back_green /**< */, + uint16_t back_blue /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_create_glyph_cursor + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cid + ** @param xcb_font_t source_font + ** @param xcb_font_t mask_font + ** @param uint16_t source_char + ** @param uint16_t mask_char + ** @param uint16_t fore_red + ** @param uint16_t fore_green + ** @param uint16_t fore_blue + ** @param uint16_t back_red + ** @param uint16_t back_green + ** @param uint16_t back_blue + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_create_glyph_cursor (xcb_connection_t *c /**< */, + xcb_cursor_t cid /**< */, + xcb_font_t source_font /**< */, + xcb_font_t mask_font /**< */, + uint16_t source_char /**< */, + uint16_t mask_char /**< */, + uint16_t fore_red /**< */, + uint16_t fore_green /**< */, + uint16_t fore_blue /**< */, + uint16_t back_red /**< */, + uint16_t back_green /**< */, + uint16_t back_blue /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_cursor_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cursor + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_cursor_checked (xcb_connection_t *c /**< */, + xcb_cursor_t cursor /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_free_cursor + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cursor + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_free_cursor (xcb_connection_t *c /**< */, + xcb_cursor_t cursor /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_recolor_cursor_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cursor + ** @param uint16_t fore_red + ** @param uint16_t fore_green + ** @param uint16_t fore_blue + ** @param uint16_t back_red + ** @param uint16_t back_green + ** @param uint16_t back_blue + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_recolor_cursor_checked (xcb_connection_t *c /**< */, + xcb_cursor_t cursor /**< */, + uint16_t fore_red /**< */, + uint16_t fore_green /**< */, + uint16_t fore_blue /**< */, + uint16_t back_red /**< */, + uint16_t back_green /**< */, + uint16_t back_blue /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_recolor_cursor + ** + ** @param xcb_connection_t *c + ** @param xcb_cursor_t cursor + ** @param uint16_t fore_red + ** @param uint16_t fore_green + ** @param uint16_t fore_blue + ** @param uint16_t back_red + ** @param uint16_t back_green + ** @param uint16_t back_blue + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_recolor_cursor (xcb_connection_t *c /**< */, + xcb_cursor_t cursor /**< */, + uint16_t fore_red /**< */, + uint16_t fore_green /**< */, + uint16_t fore_blue /**< */, + uint16_t back_red /**< */, + uint16_t back_green /**< */, + uint16_t back_blue /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_best_size_cookie_t xcb_query_best_size + ** + ** @param xcb_connection_t *c + ** @param uint8_t _class + ** @param xcb_drawable_t drawable + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_query_best_size_cookie_t + ** + *****************************************************************************/ + +xcb_query_best_size_cookie_t +xcb_query_best_size (xcb_connection_t *c /**< */, + uint8_t _class /**< */, + xcb_drawable_t drawable /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_best_size_cookie_t xcb_query_best_size_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t _class + ** @param xcb_drawable_t drawable + ** @param uint16_t width + ** @param uint16_t height + ** @returns xcb_query_best_size_cookie_t + ** + *****************************************************************************/ + +xcb_query_best_size_cookie_t +xcb_query_best_size_unchecked (xcb_connection_t *c /**< */, + uint8_t _class /**< */, + xcb_drawable_t drawable /**< */, + uint16_t width /**< */, + uint16_t height /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_best_size_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_best_size_reply_t * xcb_query_best_size_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_best_size_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_best_size_reply_t * + ** + *****************************************************************************/ + +xcb_query_best_size_reply_t * +xcb_query_best_size_reply (xcb_connection_t *c /**< */, + xcb_query_best_size_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_query_extension_cookie_t xcb_query_extension + ** + ** @param xcb_connection_t *c + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_query_extension_cookie_t + ** + *****************************************************************************/ + +xcb_query_extension_cookie_t +xcb_query_extension (xcb_connection_t *c /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_query_extension_cookie_t xcb_query_extension_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint16_t name_len + ** @param const char *name + ** @returns xcb_query_extension_cookie_t + ** + *****************************************************************************/ + +xcb_query_extension_cookie_t +xcb_query_extension_unchecked (xcb_connection_t *c /**< */, + uint16_t name_len /**< */, + const char *name /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_query_extension_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_query_extension_reply_t * xcb_query_extension_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_query_extension_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_query_extension_reply_t * + ** + *****************************************************************************/ + +xcb_query_extension_reply_t * +xcb_query_extension_reply (xcb_connection_t *c /**< */, + xcb_query_extension_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_list_extensions_cookie_t xcb_list_extensions + ** + ** @param xcb_connection_t *c + ** @returns xcb_list_extensions_cookie_t + ** + *****************************************************************************/ + +xcb_list_extensions_cookie_t +xcb_list_extensions (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_list_extensions_cookie_t xcb_list_extensions_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_list_extensions_cookie_t + ** + *****************************************************************************/ + +xcb_list_extensions_cookie_t +xcb_list_extensions_unchecked (xcb_connection_t *c /**< */); + + +/***************************************************************************** + ** + ** int xcb_list_extensions_names_length + ** + ** @param const xcb_list_extensions_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_str_iterator_t xcb_list_extensions_names_iterator + ** + ** @param const xcb_list_extensions_reply_t *R + ** @returns xcb_str_iterator_t + ** + *****************************************************************************/ + +xcb_str_iterator_t +xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_list_extensions_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_list_extensions_reply_t * xcb_list_extensions_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_list_extensions_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_list_extensions_reply_t * + ** + *****************************************************************************/ + +xcb_list_extensions_reply_t * +xcb_list_extensions_reply (xcb_connection_t *c /**< */, + xcb_list_extensions_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_keyboard_mapping_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t keycode_count + ** @param xcb_keycode_t first_keycode + ** @param uint8_t keysyms_per_keycode + ** @param const xcb_keysym_t *keysyms + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_keyboard_mapping_checked (xcb_connection_t *c /**< */, + uint8_t keycode_count /**< */, + xcb_keycode_t first_keycode /**< */, + uint8_t keysyms_per_keycode /**< */, + const xcb_keysym_t *keysyms /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_keyboard_mapping + ** + ** @param xcb_connection_t *c + ** @param uint8_t keycode_count + ** @param xcb_keycode_t first_keycode + ** @param uint8_t keysyms_per_keycode + ** @param const xcb_keysym_t *keysyms + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_keyboard_mapping (xcb_connection_t *c /**< */, + uint8_t keycode_count /**< */, + xcb_keycode_t first_keycode /**< */, + uint8_t keysyms_per_keycode /**< */, + const xcb_keysym_t *keysyms /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping + ** + ** @param xcb_connection_t *c + ** @param xcb_keycode_t first_keycode + ** @param uint8_t count + ** @returns xcb_get_keyboard_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_get_keyboard_mapping_cookie_t +xcb_get_keyboard_mapping (xcb_connection_t *c /**< */, + xcb_keycode_t first_keycode /**< */, + uint8_t count /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked + ** + ** @param xcb_connection_t *c + ** @param xcb_keycode_t first_keycode + ** @param uint8_t count + ** @returns xcb_get_keyboard_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_get_keyboard_mapping_cookie_t +xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c /**< */, + xcb_keycode_t first_keycode /**< */, + uint8_t count /**< */); + + +/***************************************************************************** + ** + ** xcb_keysym_t * xcb_get_keyboard_mapping_keysyms + ** + ** @param const xcb_get_keyboard_mapping_reply_t *R + ** @returns xcb_keysym_t * + ** + *****************************************************************************/ + +xcb_keysym_t * +xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_keyboard_mapping_keysyms_length + ** + ** @param const xcb_get_keyboard_mapping_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_keysym_iterator_t xcb_get_keyboard_mapping_keysyms_iterator + ** + ** @param const xcb_get_keyboard_mapping_reply_t *R + ** @returns xcb_keysym_iterator_t + ** + *****************************************************************************/ + +xcb_keysym_iterator_t +xcb_get_keyboard_mapping_keysyms_iterator (const xcb_get_keyboard_mapping_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_keyboard_mapping_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_keyboard_mapping_reply_t * xcb_get_keyboard_mapping_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_keyboard_mapping_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_keyboard_mapping_reply_t * + ** + *****************************************************************************/ + +xcb_get_keyboard_mapping_reply_t * +xcb_get_keyboard_mapping_reply (xcb_connection_t *c /**< */, + xcb_get_keyboard_mapping_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_keyboard_control_checked + ** + ** @param xcb_connection_t *c + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_keyboard_control_checked (xcb_connection_t *c /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_keyboard_control + ** + ** @param xcb_connection_t *c + ** @param uint32_t value_mask + ** @param const uint32_t *value_list + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_keyboard_control (xcb_connection_t *c /**< */, + uint32_t value_mask /**< */, + const uint32_t *value_list /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_keyboard_control_cookie_t + ** + *****************************************************************************/ + +xcb_get_keyboard_control_cookie_t +xcb_get_keyboard_control (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_keyboard_control_cookie_t + ** + *****************************************************************************/ + +xcb_get_keyboard_control_cookie_t +xcb_get_keyboard_control_unchecked (xcb_connection_t *c /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_keyboard_control_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_keyboard_control_reply_t * xcb_get_keyboard_control_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_keyboard_control_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_keyboard_control_reply_t * + ** + *****************************************************************************/ + +xcb_get_keyboard_control_reply_t * +xcb_get_keyboard_control_reply (xcb_connection_t *c /**< */, + xcb_get_keyboard_control_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_bell_checked + ** + ** @param xcb_connection_t *c + ** @param int8_t percent + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_bell_checked (xcb_connection_t *c /**< */, + int8_t percent /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_bell + ** + ** @param xcb_connection_t *c + ** @param int8_t percent + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_bell (xcb_connection_t *c /**< */, + int8_t percent /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_pointer_control_checked + ** + ** @param xcb_connection_t *c + ** @param int16_t acceleration_numerator + ** @param int16_t acceleration_denominator + ** @param int16_t threshold + ** @param uint8_t do_acceleration + ** @param uint8_t do_threshold + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_pointer_control_checked (xcb_connection_t *c /**< */, + int16_t acceleration_numerator /**< */, + int16_t acceleration_denominator /**< */, + int16_t threshold /**< */, + uint8_t do_acceleration /**< */, + uint8_t do_threshold /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_pointer_control + ** + ** @param xcb_connection_t *c + ** @param int16_t acceleration_numerator + ** @param int16_t acceleration_denominator + ** @param int16_t threshold + ** @param uint8_t do_acceleration + ** @param uint8_t do_threshold + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_pointer_control (xcb_connection_t *c /**< */, + int16_t acceleration_numerator /**< */, + int16_t acceleration_denominator /**< */, + int16_t threshold /**< */, + uint8_t do_acceleration /**< */, + uint8_t do_threshold /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_pointer_control_cookie_t + ** + *****************************************************************************/ + +xcb_get_pointer_control_cookie_t +xcb_get_pointer_control (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_pointer_control_cookie_t + ** + *****************************************************************************/ + +xcb_get_pointer_control_cookie_t +xcb_get_pointer_control_unchecked (xcb_connection_t *c /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_pointer_control_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_pointer_control_reply_t * xcb_get_pointer_control_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_pointer_control_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_pointer_control_reply_t * + ** + *****************************************************************************/ + +xcb_get_pointer_control_reply_t * +xcb_get_pointer_control_reply (xcb_connection_t *c /**< */, + xcb_get_pointer_control_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_screen_saver_checked + ** + ** @param xcb_connection_t *c + ** @param int16_t timeout + ** @param int16_t interval + ** @param uint8_t prefer_blanking + ** @param uint8_t allow_exposures + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_screen_saver_checked (xcb_connection_t *c /**< */, + int16_t timeout /**< */, + int16_t interval /**< */, + uint8_t prefer_blanking /**< */, + uint8_t allow_exposures /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_screen_saver + ** + ** @param xcb_connection_t *c + ** @param int16_t timeout + ** @param int16_t interval + ** @param uint8_t prefer_blanking + ** @param uint8_t allow_exposures + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_screen_saver (xcb_connection_t *c /**< */, + int16_t timeout /**< */, + int16_t interval /**< */, + uint8_t prefer_blanking /**< */, + uint8_t allow_exposures /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_screen_saver_cookie_t + ** + *****************************************************************************/ + +xcb_get_screen_saver_cookie_t +xcb_get_screen_saver (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_screen_saver_cookie_t + ** + *****************************************************************************/ + +xcb_get_screen_saver_cookie_t +xcb_get_screen_saver_unchecked (xcb_connection_t *c /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_screen_saver_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_screen_saver_reply_t * xcb_get_screen_saver_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_screen_saver_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_screen_saver_reply_t * + ** + *****************************************************************************/ + +xcb_get_screen_saver_reply_t * +xcb_get_screen_saver_reply (xcb_connection_t *c /**< */, + xcb_get_screen_saver_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_hosts_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param uint8_t family + ** @param uint16_t address_len + ** @param const char *address + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_hosts_checked (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + uint8_t family /**< */, + uint16_t address_len /**< */, + const char *address /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_change_hosts + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @param uint8_t family + ** @param uint16_t address_len + ** @param const char *address + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_change_hosts (xcb_connection_t *c /**< */, + uint8_t mode /**< */, + uint8_t family /**< */, + uint16_t address_len /**< */, + const char *address /**< */); + + +/***************************************************************************** + ** + ** uint8_t * xcb_host_address + ** + ** @param const xcb_host_t *R + ** @returns uint8_t * + ** + *****************************************************************************/ + +uint8_t * +xcb_host_address (const xcb_host_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_host_address_length + ** + ** @param const xcb_host_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_host_address_length (const xcb_host_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_host_address_end + ** + ** @param const xcb_host_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_host_address_end (const xcb_host_t *R /**< */); + +/** + * Get the next element of the iterator + * @param i Pointer to a xcb_host_iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(xcb_host_t) + */ + +/***************************************************************************** + ** + ** void xcb_host_next + ** + ** @param xcb_host_iterator_t *i + ** @returns void + ** + *****************************************************************************/ + +void +xcb_host_next (xcb_host_iterator_t *i /**< */); + +/** + * Return the iterator pointing to the last element + * @param i An xcb_host_iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_host_end + ** + ** @param xcb_host_iterator_t i + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_host_end (xcb_host_iterator_t i /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_list_hosts_cookie_t xcb_list_hosts + ** + ** @param xcb_connection_t *c + ** @returns xcb_list_hosts_cookie_t + ** + *****************************************************************************/ + +xcb_list_hosts_cookie_t +xcb_list_hosts (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_list_hosts_cookie_t xcb_list_hosts_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_list_hosts_cookie_t + ** + *****************************************************************************/ + +xcb_list_hosts_cookie_t +xcb_list_hosts_unchecked (xcb_connection_t *c /**< */); + + +/***************************************************************************** + ** + ** int xcb_list_hosts_hosts_length + ** + ** @param const xcb_list_hosts_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_host_iterator_t xcb_list_hosts_hosts_iterator + ** + ** @param const xcb_list_hosts_reply_t *R + ** @returns xcb_host_iterator_t + ** + *****************************************************************************/ + +xcb_host_iterator_t +xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_list_hosts_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_list_hosts_reply_t * xcb_list_hosts_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_list_hosts_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_list_hosts_reply_t * + ** + *****************************************************************************/ + +xcb_list_hosts_reply_t * +xcb_list_hosts_reply (xcb_connection_t *c /**< */, + xcb_list_hosts_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_access_control_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_access_control_checked (xcb_connection_t *c /**< */, + uint8_t mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_access_control + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_access_control (xcb_connection_t *c /**< */, + uint8_t mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_close_down_mode_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_close_down_mode_checked (xcb_connection_t *c /**< */, + uint8_t mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_set_close_down_mode + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_set_close_down_mode (xcb_connection_t *c /**< */, + uint8_t mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_kill_client_checked + ** + ** @param xcb_connection_t *c + ** @param uint32_t resource + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_kill_client_checked (xcb_connection_t *c /**< */, + uint32_t resource /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_kill_client + ** + ** @param xcb_connection_t *c + ** @param uint32_t resource + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_kill_client (xcb_connection_t *c /**< */, + uint32_t resource /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_rotate_properties_checked + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param uint16_t atoms_len + ** @param int16_t delta + ** @param const xcb_atom_t *atoms + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_rotate_properties_checked (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + uint16_t atoms_len /**< */, + int16_t delta /**< */, + const xcb_atom_t *atoms /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_rotate_properties + ** + ** @param xcb_connection_t *c + ** @param xcb_window_t window + ** @param uint16_t atoms_len + ** @param int16_t delta + ** @param const xcb_atom_t *atoms + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_rotate_properties (xcb_connection_t *c /**< */, + xcb_window_t window /**< */, + uint16_t atoms_len /**< */, + int16_t delta /**< */, + const xcb_atom_t *atoms /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_force_screen_saver_checked + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_force_screen_saver_checked (xcb_connection_t *c /**< */, + uint8_t mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_force_screen_saver + ** + ** @param xcb_connection_t *c + ** @param uint8_t mode + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_force_screen_saver (xcb_connection_t *c /**< */, + uint8_t mode /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping + ** + ** @param xcb_connection_t *c + ** @param uint8_t map_len + ** @param const uint8_t *map + ** @returns xcb_set_pointer_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_set_pointer_mapping_cookie_t +xcb_set_pointer_mapping (xcb_connection_t *c /**< */, + uint8_t map_len /**< */, + const uint8_t *map /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t map_len + ** @param const uint8_t *map + ** @returns xcb_set_pointer_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_set_pointer_mapping_cookie_t +xcb_set_pointer_mapping_unchecked (xcb_connection_t *c /**< */, + uint8_t map_len /**< */, + const uint8_t *map /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_set_pointer_mapping_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_set_pointer_mapping_reply_t * xcb_set_pointer_mapping_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_set_pointer_mapping_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_set_pointer_mapping_reply_t * + ** + *****************************************************************************/ + +xcb_set_pointer_mapping_reply_t * +xcb_set_pointer_mapping_reply (xcb_connection_t *c /**< */, + xcb_set_pointer_mapping_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_pointer_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_get_pointer_mapping_cookie_t +xcb_get_pointer_mapping (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_pointer_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_get_pointer_mapping_cookie_t +xcb_get_pointer_mapping_unchecked (xcb_connection_t *c /**< */); + + +/***************************************************************************** + ** + ** uint8_t * xcb_get_pointer_mapping_map + ** + ** @param const xcb_get_pointer_mapping_reply_t *R + ** @returns uint8_t * + ** + *****************************************************************************/ + +uint8_t * +xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_pointer_mapping_map_length + ** + ** @param const xcb_get_pointer_mapping_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_generic_iterator_t xcb_get_pointer_mapping_map_end + ** + ** @param const xcb_get_pointer_mapping_reply_t *R + ** @returns xcb_generic_iterator_t + ** + *****************************************************************************/ + +xcb_generic_iterator_t +xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_pointer_mapping_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_pointer_mapping_reply_t * xcb_get_pointer_mapping_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_pointer_mapping_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_pointer_mapping_reply_t * + ** + *****************************************************************************/ + +xcb_get_pointer_mapping_reply_t * +xcb_get_pointer_mapping_reply (xcb_connection_t *c /**< */, + xcb_get_pointer_mapping_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping + ** + ** @param xcb_connection_t *c + ** @param uint8_t keycodes_per_modifier + ** @param const xcb_keycode_t *keycodes + ** @returns xcb_set_modifier_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_set_modifier_mapping_cookie_t +xcb_set_modifier_mapping (xcb_connection_t *c /**< */, + uint8_t keycodes_per_modifier /**< */, + const xcb_keycode_t *keycodes /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked + ** + ** @param xcb_connection_t *c + ** @param uint8_t keycodes_per_modifier + ** @param const xcb_keycode_t *keycodes + ** @returns xcb_set_modifier_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_set_modifier_mapping_cookie_t +xcb_set_modifier_mapping_unchecked (xcb_connection_t *c /**< */, + uint8_t keycodes_per_modifier /**< */, + const xcb_keycode_t *keycodes /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_set_modifier_mapping_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_set_modifier_mapping_reply_t * xcb_set_modifier_mapping_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_set_modifier_mapping_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_set_modifier_mapping_reply_t * + ** + *****************************************************************************/ + +xcb_set_modifier_mapping_reply_t * +xcb_set_modifier_mapping_reply (xcb_connection_t *c /**< */, + xcb_set_modifier_mapping_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_modifier_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_get_modifier_mapping_cookie_t +xcb_get_modifier_mapping (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will cause + * a reply to be generated. Any returned error will be + * placed in the event queue. + */ + +/***************************************************************************** + ** + ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked + ** + ** @param xcb_connection_t *c + ** @returns xcb_get_modifier_mapping_cookie_t + ** + *****************************************************************************/ + +xcb_get_modifier_mapping_cookie_t +xcb_get_modifier_mapping_unchecked (xcb_connection_t *c /**< */); + + +/***************************************************************************** + ** + ** xcb_keycode_t * xcb_get_modifier_mapping_keycodes + ** + ** @param const xcb_get_modifier_mapping_reply_t *R + ** @returns xcb_keycode_t * + ** + *****************************************************************************/ + +xcb_keycode_t * +xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** int xcb_get_modifier_mapping_keycodes_length + ** + ** @param const xcb_get_modifier_mapping_reply_t *R + ** @returns int + ** + *****************************************************************************/ + +int +xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R /**< */); + + +/***************************************************************************** + ** + ** xcb_keycode_iterator_t xcb_get_modifier_mapping_keycodes_iterator + ** + ** @param const xcb_get_modifier_mapping_reply_t *R + ** @returns xcb_keycode_iterator_t + ** + *****************************************************************************/ + +xcb_keycode_iterator_t +xcb_get_modifier_mapping_keycodes_iterator (const xcb_get_modifier_mapping_reply_t *R /**< */); + +/** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @param e The xcb_generic_error_t supplied + * + * Returns the reply of the request asked by + * + * The parameter @p e supplied to this function must be NULL if + * xcb_get_modifier_mapping_unchecked(). is used. + * Otherwise, it stores the error if any. + */ + +/***************************************************************************** + ** + ** xcb_get_modifier_mapping_reply_t * xcb_get_modifier_mapping_reply + ** + ** @param xcb_connection_t *c + ** @param xcb_get_modifier_mapping_cookie_t cookie + ** @param xcb_generic_error_t **e + ** @returns xcb_get_modifier_mapping_reply_t * + ** + *****************************************************************************/ + +xcb_get_modifier_mapping_reply_t * +xcb_get_modifier_mapping_reply (xcb_connection_t *c /**< */, + xcb_get_modifier_mapping_cookie_t cookie /**< */, + xcb_generic_error_t **e /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + * This form can be used only if the request will not cause + * a reply to be generated. Any returned error will be + * saved for handling by xcb_request_check(). + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_no_operation_checked + ** + ** @param xcb_connection_t *c + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_no_operation_checked (xcb_connection_t *c /**< */); + +/** + * Delivers a request to the X server + * @param c The connection + * @return A cookie + * + * Delivers a request to the X server. + * + */ + +/***************************************************************************** + ** + ** xcb_void_cookie_t xcb_no_operation + ** + ** @param xcb_connection_t *c + ** @returns xcb_void_cookie_t + ** + *****************************************************************************/ + +xcb_void_cookie_t +xcb_no_operation (xcb_connection_t *c /**< */); + + +#endif + +/** + * @} + */ diff --git a/include/xwin-config.h b/include/xwin-config.h new file mode 100644 index 000000000..9646ab8cd --- /dev/null +++ b/include/xwin-config.h @@ -0,0 +1,35 @@ +/* include/xwin-config.h. Generated from xwin-config.h.in by configure. */ +/* + * xwin-config.h.in + * + * This file has all defines used in the xwin ddx + * + */ +#include <dix-config.h> + +/* Winsock networking */ +#define HAS_WINSOCK + +/* Cygwin has /dev/windows for signaling new win32 messages */ +// let's should this for now #define HAS_DEVWINDOWS 1 + +/* Switch on debug messages */ +/* #undef CYGDEBUG */ +/* #undef CYGWINDOWING_DEBUG */ +/* #undef CYGMULTIWINDOW_DEBUG */ + +/* Define to 1 if unsigned long is 64 bits. */ +/* #undef _XSERVER64 */ + +/* Do we require our own snprintf? */ +/* #undef NEED_SNPRINTF */ + +/* Vendor web address for support */ +#define __VENDORDWEBSUPPORT__ "http://x.cygwin.com/" + +/* Default log location */ +#define DEFAULT_LOGDIR "." + +/* Location of system.XWinrc */ +#define SYSCONFDIR "." + |