Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 85329 Details for
Bug 128970
gcc-3.4.5 isn't parsing includes correctly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Xcomposite.E
Xcomposite.E (text/plain), 236.31 KB, created by
twey
on 2006-04-23 23:34:50 UTC
(
hide
)
Description:
Xcomposite.E
Filename:
MIME Type:
Creator:
twey
Created:
2006-04-23 23:34:50 UTC
Size:
236.31 KB
patch
obsolete
># 1 "Xcomposite.c" ># 1 "<built-in>" >#define __STDC_HOSTED__ 1 >#define __GNUC__ 3 >#define __GNUC_MINOR__ 4 >#define __GNUC_PATCHLEVEL__ 5 >#define __SIZE_TYPE__ long unsigned int >#define __PTRDIFF_TYPE__ long int >#define __WCHAR_TYPE__ int >#define __WINT_TYPE__ unsigned int >#define __GXX_ABI_VERSION 1002 >#define __SCHAR_MAX__ 127 >#define __SHRT_MAX__ 32767 >#define __INT_MAX__ 2147483647 >#define __LONG_MAX__ 9223372036854775807L >#define __LONG_LONG_MAX__ 9223372036854775807LL >#define __WCHAR_MAX__ 2147483647 >#define __CHAR_BIT__ 8 >#define __FLT_EVAL_METHOD__ 0 >#define __FLT_RADIX__ 2 >#define __FLT_MANT_DIG__ 24 >#define __FLT_DIG__ 6 >#define __FLT_MIN_EXP__ (-125) >#define __FLT_MIN_10_EXP__ (-37) >#define __FLT_MAX_EXP__ 128 >#define __FLT_MAX_10_EXP__ 38 >#define __FLT_MAX__ 3.40282347e+38F >#define __FLT_MIN__ 1.17549435e-38F >#define __FLT_EPSILON__ 1.19209290e-7F >#define __FLT_DENORM_MIN__ 1.40129846e-45F >#define __FLT_HAS_INFINITY__ 1 >#define __FLT_HAS_QUIET_NAN__ 1 >#define __DBL_MANT_DIG__ 53 >#define __DBL_DIG__ 15 >#define __DBL_MIN_EXP__ (-1021) >#define __DBL_MIN_10_EXP__ (-307) >#define __DBL_MAX_EXP__ 1024 >#define __DBL_MAX_10_EXP__ 308 >#define __DBL_MAX__ 1.7976931348623157e+308 >#define __DBL_MIN__ 2.2250738585072014e-308 >#define __DBL_EPSILON__ 2.2204460492503131e-16 >#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 >#define __DBL_HAS_INFINITY__ 1 >#define __DBL_HAS_QUIET_NAN__ 1 >#define __LDBL_MANT_DIG__ 64 >#define __LDBL_DIG__ 18 >#define __LDBL_MIN_EXP__ (-16381) >#define __LDBL_MIN_10_EXP__ (-4931) >#define __LDBL_MAX_EXP__ 16384 >#define __LDBL_MAX_10_EXP__ 4932 >#define __DECIMAL_DIG__ 21 >#define __LDBL_MAX__ 1.18973149535723176502e+4932L >#define __LDBL_MIN__ 3.36210314311209350626e-4932L >#define __LDBL_EPSILON__ 1.08420217248550443401e-19L >#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L >#define __LDBL_HAS_INFINITY__ 1 >#define __LDBL_HAS_QUIET_NAN__ 1 >#define __REGISTER_PREFIX__ >#define __USER_LABEL_PREFIX__ >#define __VERSION__ "3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)" >#define _LP64 1 >#define __LP64__ 1 >#define __NO_INLINE__ 1 >#define __FINITE_MATH_ONLY__ 0 > > >#define __amd64 1 >#define __amd64__ 1 >#define __x86_64 1 >#define __x86_64__ 1 >#define __tune_k8__ 1 >#define __MMX__ 1 >#define __SSE__ 1 >#define __SSE2__ 1 >#define __SSE_MATH__ 1 >#define __SSE2_MATH__ 1 >#define __k8 1 >#define __k8__ 1 >#define __gnu_linux__ 1 >#define __linux 1 >#define __linux__ 1 >#define linux 1 >#define __unix 1 >#define __unix__ 1 >#define unix 1 > > > >#define __ELF__ 1 ># 1 "<command line>" ># 1 "Xcomposite.c" ># 45 "Xcomposite.c" ># 1 "xcompositeint.h" 1 ># 46 "xcompositeint.h" >#define _XCOMPOSITEINT_H_ > >#define NEED_EVENTS >#define NEED_REPLIES ># 1 "/usr/include/stdio.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/stdio.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >#define _STDIO_H 1 ># 1 "/usr/include/features.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/features.h" 1 3 4 ># 20 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#define _FEATURES_H 1 ># 90 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#undef __USE_ISOC99 >#undef __USE_POSIX >#undef __USE_POSIX2 >#undef __USE_POSIX199309 >#undef __USE_POSIX199506 >#undef __USE_XOPEN >#undef __USE_XOPEN_EXTENDED >#undef __USE_UNIX98 >#undef __USE_XOPEN2K >#undef __USE_LARGEFILE >#undef __USE_LARGEFILE64 >#undef __USE_FILE_OFFSET64 >#undef __USE_BSD >#undef __USE_SVID >#undef __USE_MISC >#undef __USE_GNU >#undef __USE_REENTRANT >#undef __USE_FORTIFY_LEVEL >#undef __FAVOR_BSD >#undef __KERNEL_STRICT_NAMES > > > > >#define __KERNEL_STRICT_NAMES > > > >#define __USE_ANSI 1 ># 128 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#define __GNUC_PREREQ(maj,min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) ># 169 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#define _BSD_SOURCE 1 >#define _SVID_SOURCE 1 ># 186 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#define _POSIX_SOURCE 1 > > > >#define _POSIX_C_SOURCE 199506L > > > > >#define __USE_POSIX 1 > > > >#define __USE_POSIX2 1 > > > >#define __USE_POSIX199309 1 > > > >#define __USE_POSIX199506 1 ># 246 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#define __USE_MISC 1 > > > >#define __USE_BSD 1 > > > >#define __USE_SVID 1 ># 274 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#define __STDC_IEC_559__ 1 >#define __STDC_IEC_559_COMPLEX__ 1 > > >#define __STDC_ISO_10646__ 200009L > > > > > > > >#undef __GNU_LIBRARY__ >#define __GNU_LIBRARY__ 6 > > > >#define __GLIBC__ 2 >#define __GLIBC_MINOR__ 3 > >#define __GLIBC_PREREQ(maj,min) ((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) ># 303 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 >#define __GLIBC_HAVE_LONG_LONG 1 > > > > > ># 1 "/usr/include/sys/cdefs.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 1 3 4 ># 20 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define _SYS_CDEFS_H 1 ># 35 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#undef __P >#undef __PMT ># 46 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __THROW __attribute__ ((__nothrow__)) >#define __NTH(fct) __attribute__ ((__nothrow__)) fct ># 73 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __P(args) args >#define __PMT(args) args > > > > >#define __CONCAT(x,y) x ## y >#define __STRING(x) #x > > >#define __ptr_t void * >#define __long_double_t long double > > > > > > > >#define __BEGIN_DECLS >#define __END_DECLS ># 113 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __BEGIN_NAMESPACE_STD >#define __END_NAMESPACE_STD >#define __USING_NAMESPACE_STD(name) >#define __BEGIN_NAMESPACE_C99 >#define __END_NAMESPACE_C99 >#define __USING_NAMESPACE_C99(name) > > > > > >#define __bounded >#define __unbounded >#define __ptrvalue > > > > >#define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) >#define __bos0(ptr) __builtin_object_size (ptr, 0) > > > > > >#define __flexarr [] ># 165 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __REDIRECT(name,proto,alias) name proto __asm__ (__ASMNAME (#alias)) > > > > >#define __REDIRECT_NTH(name,proto,alias) name proto __asm__ (__ASMNAME (#alias)) __THROW > > >#define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname) >#define __ASMNAME2(prefix,cname) __STRING (prefix) cname ># 195 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __attribute_malloc__ __attribute__ ((__malloc__)) ># 204 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __attribute_pure__ __attribute__ ((__pure__)) ># 213 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __attribute_used__ __attribute__ ((__used__)) >#define __attribute_noinline__ __attribute__ ((__noinline__)) > > > > > > > >#define __attribute_deprecated__ __attribute__ ((__deprecated__)) ># 234 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x))) ># 244 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __attribute_format_strfmon__(a,b) __attribute__ ((__format__ (__strfmon__, a, b))) ># 253 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __nonnull(params) __attribute__ ((__nonnull__ params)) ># 275 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 >#define __restrict_arr __restrict ># 9 "/usr/include/sys/cdefs.h" 2 3 4 ># 310 "/usr/include/gentoo-multilib/amd64/features.h" 2 3 4 ># 332 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 1 3 4 ># 10 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 3 4 >#define __stub___kernel_cosl >#define __stub___kernel_rem_pio2l >#define __stub___kernel_sinl >#define __stub___kernel_tanl >#define __stub_bdflush >#define __stub_chflags >#define __stub_fattach >#define __stub_fchflags >#define __stub_fdetach >#define __stub_feupdateenv >#define __stub_getmsg >#define __stub_gtty >#define __stub_lchmod >#define __stub_lutimes >#define __stub_putmsg >#define __stub_revoke >#define __stub_setlogin >#define __stub_sstk >#define __stub_stty ># 9 "/usr/include/gnu/stubs.h" 2 3 4 ># 333 "/usr/include/gentoo-multilib/amd64/features.h" 2 3 4 ># 9 "/usr/include/features.h" 2 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > > > >#define __need_size_t >#define __need_NULL ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 188 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#define __size_t__ >#define __SIZE_T__ >#define _SIZE_T >#define _SYS_SIZE_T_H >#define _T_SIZE_ >#define _T_SIZE >#define __SIZE_T >#define _SIZE_T_ >#define _BSD_SIZE_T_ >#define _SIZE_T_DEFINED_ >#define _SIZE_T_DEFINED >#define _BSD_SIZE_T_DEFINED_ >#define _SIZE_T_DECLARED >#define ___int_size_t_h >#define _GCC_SIZE_T >#define _SIZET_ > > > >#define __size_t > > > > > >typedef long unsigned int size_t; ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 397 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef NULL > > > > >#define NULL ((void *)0) > > > > > >#undef __need_NULL ># 35 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/types.h" 1 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/bits/types.h" 3 4 >#define _BITS_TYPES_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 > > > >#define __WORDSIZE 64 >#define __WORDSIZE_COMPAT32 1 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > >#define __need_size_t ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 408 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_NULL ># 32 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 102 "/usr/include/gentoo-multilib/amd64/bits/types.h" 3 4 >#define __S16_TYPE short int >#define __U16_TYPE unsigned short int >#define __S32_TYPE int >#define __U32_TYPE unsigned int >#define __SLONGWORD_TYPE long int >#define __ULONGWORD_TYPE unsigned long int ># 118 "/usr/include/gentoo-multilib/amd64/bits/types.h" 3 4 >#define __SQUAD_TYPE long int >#define __UQUAD_TYPE unsigned long int >#define __SWORD_TYPE long int >#define __UWORD_TYPE unsigned long int >#define __SLONG32_TYPE int >#define __ULONG32_TYPE unsigned int >#define __S64_TYPE long int >#define __U64_TYPE unsigned long int > > > ># 1 "/usr/include/bits/typesizes.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/typesizes.h" 1 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/bits/typesizes.h" 3 4 >#define _BITS_TYPESIZES_H 1 > > > > >#define __DEV_T_TYPE __UQUAD_TYPE >#define __UID_T_TYPE __U32_TYPE >#define __GID_T_TYPE __U32_TYPE >#define __INO_T_TYPE __ULONGWORD_TYPE >#define __INO64_T_TYPE __UQUAD_TYPE >#define __MODE_T_TYPE __U32_TYPE >#define __NLINK_T_TYPE __UWORD_TYPE >#define __OFF_T_TYPE __SLONGWORD_TYPE >#define __OFF64_T_TYPE __SQUAD_TYPE >#define __PID_T_TYPE __S32_TYPE >#define __RLIM_T_TYPE __ULONGWORD_TYPE >#define __RLIM64_T_TYPE __UQUAD_TYPE >#define __BLKCNT_T_TYPE __SLONGWORD_TYPE >#define __BLKCNT64_T_TYPE __SQUAD_TYPE >#define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE >#define __FSBLKCNT64_T_TYPE __UQUAD_TYPE >#define __FSFILCNT_T_TYPE __ULONGWORD_TYPE >#define __FSFILCNT64_T_TYPE __UQUAD_TYPE >#define __ID_T_TYPE __U32_TYPE >#define __CLOCK_T_TYPE __SLONGWORD_TYPE >#define __TIME_T_TYPE __SLONGWORD_TYPE >#define __USECONDS_T_TYPE __U32_TYPE >#define __SUSECONDS_T_TYPE __SLONGWORD_TYPE >#define __DADDR_T_TYPE __S32_TYPE >#define __SWBLK_T_TYPE __SLONGWORD_TYPE >#define __KEY_T_TYPE __S32_TYPE >#define __CLOCKID_T_TYPE __S32_TYPE >#define __TIMER_T_TYPE __S32_TYPE >#define __BLKSIZE_T_TYPE __SLONGWORD_TYPE >#define __FSID_T_TYPE struct { int __val[2]; } >#define __SSIZE_T_TYPE __SWORD_TYPE > > >#define __FD_SETSIZE 1024 ># 9 "/usr/include/bits/typesizes.h" 2 3 4 ># 130 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > > > >#define __STD_TYPE __extension__ typedef > > >__extension__ typedef unsigned long int __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef unsigned long int __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned long int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef long int __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef unsigned long int __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef int __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef long int __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef unsigned long int __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef unsigned long int __fsfilcnt64_t; > >__extension__ typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef long int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; > > >#undef __STD_TYPE ># 9 "/usr/include/bits/types.h" 2 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 >#define __need_FILE >#define __need___FILE > > > > > > > >typedef struct _IO_FILE FILE; > > > > > > > >#define __FILE_defined 1 > >#undef __need_FILE > > > > > >typedef struct _IO_FILE __FILE; > >#define ____FILE_defined 1 > >#undef __need___FILE > > > >#define _STDIO_USES_IOSTREAM > ># 1 "/usr/include/libio.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/libio.h" 1 3 4 ># 30 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >#define _IO_STDIO_H > ># 1 "/usr/include/_G_config.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/_G_config.h" 1 3 4 > > > > >#define _G_config_h 1 > > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 10 "/usr/include/gentoo-multilib/amd64/_G_config.h" 2 3 4 >#define __need_size_t >#define __need_wchar_t >#define __need_wint_t >#define __need_NULL ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 264 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#define __wchar_t__ >#define __WCHAR_T__ >#define _WCHAR_T >#define _T_WCHAR_ >#define _T_WCHAR >#define __WCHAR_T >#define _WCHAR_T_ >#define _BSD_WCHAR_T_ >#define _WCHAR_T_DEFINED_ >#define _WCHAR_T_DEFINED >#define _WCHAR_T_H >#define ___int_wchar_t_h >#define __INT_WCHAR_T_H >#define _GCC_WCHAR_T >#define _WCHAR_T_DECLARED ># 291 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef _BSD_WCHAR_T_ ># 325 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >typedef int wchar_t; ># 344 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wchar_t > > > > >#define _WINT_T > > > > >typedef unsigned int wint_t; > >#undef __need_wint_t ># 397 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef NULL > > > > >#define NULL ((void *)0) > > > > > >#undef __need_NULL ># 15 "/usr/include/gentoo-multilib/amd64/_G_config.h" 2 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/_G_config.h" 3 4 >#define __need_mbstate_t ># 1 "/usr/include/wchar.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/wchar.h" 1 3 4 ># 47 "/usr/include/gentoo-multilib/amd64/wchar.h" 3 4 >#define __need_wint_t ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 356 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wint_t ># 408 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_NULL ># 49 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/wchar.h" 1 3 4 ># 21 "/usr/include/gentoo-multilib/amd64/bits/wchar.h" 3 4 >#define _BITS_WCHAR_H 1 > >#define __WCHAR_MIN (-2147483647 - 1) >#define __WCHAR_MAX (2147483647) ># 9 "/usr/include/bits/wchar.h" 2 3 4 ># 51 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 ># 74 "/usr/include/gentoo-multilib/amd64/wchar.h" 3 4 >#define __mbstate_t_defined 1 > >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; > >#undef __need_mbstate_t ># 9 "/usr/include/wchar.h" 2 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/_G_config.h" 2 3 4 >#define _G_size_t size_t >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; >#define _G_ssize_t __ssize_t >#define _G_off_t __off_t >#define _G_off64_t __off64_t >#define _G_pid_t __pid_t >#define _G_uid_t __uid_t >#define _G_wchar_t wchar_t >#define _G_wint_t wint_t >#define _G_stat64 stat64 ># 1 "/usr/include/gconv.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/gconv.h" 1 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/gconv.h" 3 4 >#define _GCONV_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/gconv.h" 2 3 4 >#define __need_mbstate_t ># 1 "/usr/include/wchar.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/wchar.h" 1 3 4 ># 47 "/usr/include/gentoo-multilib/amd64/wchar.h" 3 4 >#define __need_wint_t ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 356 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wint_t ># 408 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_NULL ># 49 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 ># 86 "/usr/include/gentoo-multilib/amd64/wchar.h" 3 4 >#undef __need_mbstate_t ># 9 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/gconv.h" 2 3 4 >#define __need_size_t >#define __need_wchar_t ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 344 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wchar_t ># 408 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_NULL ># 32 "/usr/include/gentoo-multilib/amd64/gconv.h" 2 3 4 > > >#define __UNKNOWN_10646_CHAR ((wchar_t) 0xfffd) > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 9 "/usr/include/gconv.h" 2 3 4 ># 45 "/usr/include/gentoo-multilib/amd64/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); > >#define _G_HAVE_BOOL 1 > > > >#define _G_HAVE_ATEXIT 1 >#define _G_HAVE_SYS_CDEFS 1 >#define _G_HAVE_SYS_WAIT 1 >#define _G_NEED_STDARG_H 1 >#define _G_va_list __gnuc_va_list > >#define _G_HAVE_PRINTF_FP 1 >#define _G_HAVE_MMAP 1 >#define _G_HAVE_MREMAP 1 >#define _G_HAVE_LONG_DOUBLE_IO 1 >#define _G_HAVE_IO_FILE_OPEN 1 >#define _G_HAVE_IO_GETLINE_INFO 1 > >#define _G_IO_IO_FILE_VERSION 0x20001 > >#define _G_OPEN64 __open64 >#define _G_LSEEK64 __lseek64 >#define _G_MMAP64 __mmap64 >#define _G_FSTAT64(fd,buf) __fxstat64 (_STAT_VER, fd, buf) > > >#define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE) > >#define _G_BUFSIZ 8192 > > >#define _G_NAMES_HAVE_UNDERSCORE 0 >#define _G_VTABLE_LABEL_HAS_LENGTH 1 >#define _G_USING_THUNKS 1 >#define _G_VTABLE_LABEL_PREFIX "__vt_" >#define _G_VTABLE_LABEL_PREFIX_ID __vt_ > > > >#define _G_ARGS(ARGLIST) ARGLIST ># 9 "/usr/include/_G_config.h" 2 3 4 ># 33 "/usr/include/gentoo-multilib/amd64/libio.h" 2 3 4 > >#define _IO_pos_t _G_fpos_t >#define _IO_fpos_t _G_fpos_t >#define _IO_fpos64_t _G_fpos64_t >#define _IO_size_t _G_size_t >#define _IO_ssize_t _G_ssize_t >#define _IO_off_t _G_off_t >#define _IO_off64_t _G_off64_t >#define _IO_pid_t _G_pid_t >#define _IO_uid_t _G_uid_t >#define _IO_iconv_t _G_iconv_t >#define _IO_HAVE_SYS_WAIT _G_HAVE_SYS_WAIT >#define _IO_HAVE_ST_BLKSIZE _G_HAVE_ST_BLKSIZE >#define _IO_BUFSIZ _G_BUFSIZ >#define _IO_va_list _G_va_list >#define _IO_wint_t _G_wint_t > > > >#define __need___va_list ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stdarg.h" 1 3 4 ># 37 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stdarg.h" 3 4 >#undef __need___va_list > > > > >#define __GNUC_VA_LIST >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/gentoo-multilib/amd64/libio.h" 2 3 4 > >#undef _IO_va_list >#define _IO_va_list __gnuc_va_list ># 76 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >#define _PARAMS(protos) __P(protos) > > > > > > > >#define _IO_UNIFIED_JUMPTABLES 1 > > > > > >#define EOF (-1) ># 105 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >#define _IOS_INPUT 1 >#define _IOS_OUTPUT 2 >#define _IOS_ATEND 4 >#define _IOS_APPEND 8 >#define _IOS_TRUNC 16 >#define _IOS_NOCREATE 32 >#define _IOS_NOREPLACE 64 >#define _IOS_BIN 128 > > > > > > > >#define _IO_MAGIC 0xFBAD0000 >#define _OLD_STDIO_MAGIC 0xFABC0000 >#define _IO_MAGIC_MASK 0xFFFF0000 >#define _IO_USER_BUF 1 >#define _IO_UNBUFFERED 2 >#define _IO_NO_READS 4 >#define _IO_NO_WRITES 8 >#define _IO_EOF_SEEN 0x10 >#define _IO_ERR_SEEN 0x20 >#define _IO_DELETE_DONT_CLOSE 0x40 >#define _IO_LINKED 0x80 >#define _IO_IN_BACKUP 0x100 >#define _IO_LINE_BUF 0x200 >#define _IO_TIED_PUT_GET 0x400 >#define _IO_CURRENTLY_PUTTING 0x800 >#define _IO_IS_APPENDING 0x1000 >#define _IO_IS_FILEBUF 0x2000 >#define _IO_BAD_SEEN 0x4000 >#define _IO_USER_LOCK 0x8000 > >#define _IO_FLAGS2_MMAP 1 >#define _IO_FLAGS2_NOTCANCEL 2 > > > > > >#define _IO_SKIPWS 01 >#define _IO_LEFT 02 >#define _IO_RIGHT 04 >#define _IO_INTERNAL 010 >#define _IO_DEC 020 >#define _IO_OCT 040 >#define _IO_HEX 0100 >#define _IO_SHOWBASE 0200 >#define _IO_SHOWPOINT 0400 >#define _IO_UPPERCASE 01000 >#define _IO_SHOWPOS 02000 >#define _IO_SCIENTIFIC 04000 >#define _IO_FIXED 010000 >#define _IO_UNITBUF 020000 >#define _IO_STDIO 040000 >#define _IO_DONT_CLOSE 0100000 >#define _IO_BOOLALPHA 0200000 > > >struct _IO_jump_t; struct _IO_FILE; ># 176 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 199 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 267 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >struct _IO_FILE { > int _flags; >#define _IO_file_flags _flags > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > >#define __HAVE_COLUMN > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 315 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; > >#define _IO_stdin ((_IO_FILE*)(&_IO_2_1_stdin_)) >#define _IO_stdout ((_IO_FILE*)(&_IO_2_1_stdout_)) >#define _IO_stderr ((_IO_FILE*)(&_IO_2_1_stderr_)) ># 354 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 406 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__)); >extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__)); > > >#define _IO_BE(expr,res) __builtin_expect (expr, res) > > > > >#define _IO_getc_unlocked(_fp) (_IO_BE ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end, 0) ? __uflow (_fp) : *(unsigned char *) (_fp)->_IO_read_ptr++) > > >#define _IO_peekc_unlocked(_fp) (_IO_BE ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end, 0) && __underflow (_fp) == EOF ? EOF : *(unsigned char *) (_fp)->_IO_read_ptr) > > > >#define _IO_putc_unlocked(_ch,_fp) (_IO_BE ((_fp)->_IO_write_ptr >= (_fp)->_IO_write_end, 0) ? __overflow (_fp, (unsigned char) (_ch)) : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch))) > > > > >#define _IO_getwc_unlocked(_fp) (_IO_BE ((_fp)->_wide_data->_IO_read_ptr >= (_fp)->_wide_data->_IO_read_end, 0) ? __wuflow (_fp) : (_IO_wint_t) *(_fp)->_wide_data->_IO_read_ptr++) > > > >#define _IO_putwc_unlocked(_wch,_fp) (_IO_BE ((_fp)->_wide_data->_IO_write_ptr >= (_fp)->_wide_data->_IO_write_end, 0) ? __woverflow (_fp, _wch) : (_IO_wint_t) (*(_fp)->_wide_data->_IO_write_ptr++ = (_wch))) > > > > > >#define _IO_feof_unlocked(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0) >#define _IO_ferror_unlocked(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0) > >extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > > >#define _IO_PENDING_OUTPUT_COUNT(_fp) ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base) > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 466 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >#define _IO_peekc(_fp) _IO_peekc_unlocked (_fp) >#define _IO_flockfile(_fp) >#define _IO_funlockfile(_fp) >#define _IO_ftrylockfile(_fp) >#define _IO_cleanup_region_start(_fct,_fp) >#define _IO_cleanup_region_end(_Doit) > > >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__)); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) __attribute__ ((__nothrow__)); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__)); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__)); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__)); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__)); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 9 "/usr/include/libio.h" 2 3 4 ># 73 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 ># 86 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > > > > > >#define _IOFBF 0 >#define _IOLBF 1 >#define _IONBF 2 > > > > >#define BUFSIZ _IO_BUFSIZ ># 118 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >#define SEEK_SET 0 >#define SEEK_CUR 1 >#define SEEK_END 2 > > > > >#define P_tmpdir "/tmp" ># 138 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/stdio_lim.h" 1 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/bits/stdio_lim.h" 3 4 >#define L_tmpnam 20 >#define TMP_MAX 238328 >#define FILENAME_MAX 4096 > > >#define L_ctermid 9 >#define L_cuserid 9 > > > > >#undef FOPEN_MAX >#define FOPEN_MAX 16 ># 9 "/usr/include/bits/stdio_lim.h" 2 3 4 ># 139 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > >#define stdin stdin >#define stdout stdout >#define stderr stderr > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > > >extern FILE *tmpfile (void); ># 178 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); ># 196 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 221 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 235 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 262 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > ># 273 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); ># 294 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > ># 388 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int scanf (__const char *__restrict __format, ...); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > ># 430 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > > > > >#define getc(_fp) _IO_getc (_fp) > > > > > > >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 465 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > > > > >#define putc(_ch,_fp) _IO_putc (_ch, _fp) ># 498 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); > > > > > > >extern char *gets (char *__s); > ># 578 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 631 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream); > > > > >extern void rewind (FILE *__stream); > ># 686 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 709 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > ># 718 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 9 "/usr/include/bits/sys_errlist.h" 2 3 4 ># 748 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); ># 767 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); ># 807 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); ># 834 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > ># 9 "/usr/include/stdio.h" 2 3 4 ># 51 "xcompositeint.h" 2 ># 1 "/usr/include/X11/Xlib.h" 1 3 4 ># 37 "/usr/include/X11/Xlib.h" 3 4 >#define _XLIB_H_ > >#define XlibSpecificationRelease 6 ># 52 "/usr/include/X11/Xlib.h" 3 4 ># 1 "/usr/include/sys/types.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/sys/types.h" 1 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/sys/types.h" 3 4 >#define _SYS_TYPES_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; >#define __u_char_defined > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; > > > >#define __ino_t_defined > > > > > > > >typedef __dev_t dev_t; >#define __dev_t_defined > > > >typedef __gid_t gid_t; >#define __gid_t_defined > > > >typedef __mode_t mode_t; >#define __mode_t_defined > > > >typedef __nlink_t nlink_t; >#define __nlink_t_defined > > > >typedef __uid_t uid_t; >#define __uid_t_defined > > > > >typedef __off_t off_t; > > > >#define __off_t_defined > > > > > > > >typedef __pid_t pid_t; >#define __pid_t_defined > > > >typedef __id_t id_t; >#define __id_t_defined > > > >typedef __ssize_t ssize_t; >#define __ssize_t_defined > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; >#define __daddr_t_defined > > > > >typedef __key_t key_t; >#define __key_t_defined > > > > > >#define __need_time_t >#define __need_timer_t >#define __need_clockid_t ># 1 "/usr/include/time.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/time.h" 1 3 4 ># 67 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 >#undef __need_clock_t > > >#define __time_t_defined 1 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 73 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > > >typedef __time_t time_t; > > > > > > >#undef __need_time_t > > > >#define __clockid_t_defined 1 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 90 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > >typedef __clockid_t clockid_t; > > >#undef __clockid_time_t > > > >#define __timer_t_defined 1 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 102 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > >typedef __timer_t timer_t; > > >#undef __need_timer_t ># 125 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 >#undef __need_timespec ># 9 "/usr/include/time.h" 2 3 4 ># 134 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 ># 146 "/usr/include/gentoo-multilib/amd64/sys/types.h" 3 4 >#define __need_size_t ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 408 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_NULL ># 148 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 184 "/usr/include/gentoo-multilib/amd64/sys/types.h" 3 4 >#define __intN_t(N,MODE) typedef int int ##N ##_t __attribute__ ((__mode__ (MODE))) > >#define __u_intN_t(N,MODE) typedef unsigned int u_int ##N ##_t __attribute__ ((__mode__ (MODE))) > > > >#define __int8_t_defined >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); > > > > > >#define __BIT_TYPES_DEFINED__ 1 > > > > ># 1 "/usr/include/endian.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/endian.h" 1 3 4 ># 20 "/usr/include/gentoo-multilib/amd64/endian.h" 3 4 >#define _ENDIAN_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/endian.h" 2 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/endian.h" 3 4 >#define __LITTLE_ENDIAN 1234 >#define __BIG_ENDIAN 4321 >#define __PDP_ENDIAN 3412 > > ># 1 "/usr/include/bits/endian.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/endian.h" 1 3 4 > > > > > > >#define __BYTE_ORDER __LITTLE_ENDIAN ># 9 "/usr/include/bits/endian.h" 2 3 4 ># 38 "/usr/include/gentoo-multilib/amd64/endian.h" 2 3 4 > > > > >#define __FLOAT_WORD_ORDER __BYTE_ORDER > > > >#define LITTLE_ENDIAN __LITTLE_ENDIAN >#define BIG_ENDIAN __BIG_ENDIAN >#define PDP_ENDIAN __PDP_ENDIAN >#define BYTE_ORDER __BYTE_ORDER > > > >#define __LONG_LONG_PAIR(HI,LO) LO, HI ># 9 "/usr/include/endian.h" 2 3 4 ># 214 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/sys/select.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/sys/select.h" 3 4 >#define _SYS_SELECT_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/select.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/select.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/bits/select.h" 3 4 >#define __FD_ZERO(s) do { unsigned int __i; fd_set *__arr = (s); for (__i = 0; __i < sizeof (fd_set) / sizeof (__fd_mask); ++__i) __FDS_BITS (__arr)[__i] = 0; } while (0) > > > > > > >#define __FD_SET(d,s) (__FDS_BITS (s)[__FDELT(d)] |= __FDMASK(d)) >#define __FD_CLR(d,s) (__FDS_BITS (s)[__FDELT(d)] &= ~__FDMASK(d)) >#define __FD_ISSET(d,s) ((__FDS_BITS (s)[__FDELT(d)] & __FDMASK(d)) != 0) ># 9 "/usr/include/bits/select.h" 2 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/sigset.h" 1 3 4 ># 21 "/usr/include/gentoo-multilib/amd64/bits/sigset.h" 3 4 >#define _SIGSET_H_types 1 > >typedef int __sig_atomic_t; > > > >#define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 9 "/usr/include/bits/sigset.h" 2 3 4 ># 35 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > >#define __sigset_t_defined >typedef __sigset_t sigset_t; > > > >#define __need_time_t >#define __need_timespec ># 1 "/usr/include/time.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/time.h" 1 3 4 ># 67 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 >#undef __need_clock_t ># 83 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 >#undef __need_time_t ># 95 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 >#undef __clockid_time_t ># 107 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 >#undef __need_timer_t > > > > > > >#define __timespec_defined 1 > > > >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; > > >#undef __need_timespec ># 9 "/usr/include/time.h" 2 3 4 ># 45 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 >#define __need_timeval ># 1 "/usr/include/bits/time.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/time.h" 1 3 4 ># 62 "/usr/include/gentoo-multilib/amd64/bits/time.h" 3 4 >#undef __need_timeval > >#define _STRUCT_TIMEVAL 1 ># 1 "/usr/include/bits/types.h" 1 3 4 ># 66 "/usr/include/gentoo-multilib/amd64/bits/time.h" 2 3 4 > > > >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 9 "/usr/include/bits/time.h" 2 3 4 ># 47 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > >typedef __suseconds_t suseconds_t; >#define __suseconds_t_defined > > > > >typedef long int __fd_mask; > > >#undef __NFDBITS >#undef __FDELT >#undef __FDMASK > >#define __NFDBITS (8 * sizeof (__fd_mask)) >#define __FDELT(d) ((d) / __NFDBITS) >#define __FDMASK(d) ((__fd_mask) 1 << ((d) % __NFDBITS)) > > >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; >#define __FDS_BITS(set) ((set)->__fds_bits) > > } fd_set; > > >#define FD_SETSIZE __FD_SETSIZE > > > >typedef __fd_mask fd_mask; > > >#define NFDBITS __NFDBITS > > > > >#define FD_SET(fd,fdsetp) __FD_SET (fd, fdsetp) >#define FD_CLR(fd,fdsetp) __FD_CLR (fd, fdsetp) >#define FD_ISSET(fd,fdsetp) __FD_ISSET (fd, fdsetp) >#define FD_ZERO(fdsetp) __FD_ZERO (fdsetp) > > > ># 109 "/usr/include/gentoo-multilib/amd64/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 128 "/usr/include/gentoo-multilib/amd64/sys/select.h" 3 4 > ># 9 "/usr/include/sys/select.h" 2 3 4 ># 217 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/sys/sysmacros.h" 1 3 4 ># 21 "/usr/include/gentoo-multilib/amd64/sys/sysmacros.h" 3 4 >#define _SYS_SYSMACROS_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/sys/sysmacros.h" 2 3 4 > > > > > >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} > > > > >#define major(dev) gnu_dev_major (dev) >#define minor(dev) gnu_dev_minor (dev) >#define makedev(maj,min) gnu_dev_makedev (maj, min) ># 9 "/usr/include/sys/sysmacros.h" 2 3 4 ># 220 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 ># 231 "/usr/include/gentoo-multilib/amd64/sys/types.h" 3 4 >typedef __blkcnt_t blkcnt_t; >#define __blkcnt_t_defined > > >typedef __fsblkcnt_t fsblkcnt_t; >#define __fsblkcnt_t_defined > > >typedef __fsfilcnt_t fsfilcnt_t; >#define __fsfilcnt_t_defined ># 266 "/usr/include/gentoo-multilib/amd64/sys/types.h" 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 1 3 4 ># 20 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 3 4 >#define _BITS_PTHREADTYPES_H 1 > >#define __need_schedparam ># 1 "/usr/include/bits/sched.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/sched.h" 1 3 4 ># 81 "/usr/include/gentoo-multilib/amd64/bits/sched.h" 3 4 >#define __defined_schedparam 1 > >struct __sched_param > { > int __sched_priority; > }; >#undef __need_schedparam ># 9 "/usr/include/bits/sched.h" 2 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 2 3 4 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; >#define _PTHREAD_DESCR_DEFINED > > > > >typedef struct __pthread_attr_s >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > > > >__extension__ typedef long long __pthread_cond_align_t; > > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; > > char __padding[48 - sizeof (struct _pthread_fastlock) > - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; > __pthread_cond_align_t __align; > >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; ># 152 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; ># 9 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 267 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > ># 9 "/usr/include/sys/types.h" 2 3 4 ># 53 "/usr/include/X11/Xlib.h" 2 3 4 > > > > > > > ># 1 "/usr/include/X11/X.h" 1 3 4 > > > > > > > >#define X_H ># 58 "/usr/include/X11/X.h" 3 4 >#define X_PROTOCOL 11 >#define X_PROTOCOL_REVISION 0 ># 70 "/usr/include/X11/X.h" 3 4 >#define _XTYPEDEF_XID >typedef unsigned long XID; > > >#define _XTYPEDEF_MASK >typedef unsigned long Mask; > > >#define _XTYPEDEF_ATOM >typedef unsigned long Atom; > >typedef unsigned long VisualID; >typedef unsigned long Time; ># 101 "/usr/include/X11/X.h" 3 4 >typedef XID Window; >typedef XID Drawable; > >#define _XTYPEDEF_FONT >typedef XID Font; > >typedef XID Pixmap; >typedef XID Cursor; >typedef XID Colormap; >typedef XID GContext; >typedef XID KeySym; > >typedef unsigned char KeyCode; > > > > > > >#define None 0L > > >#define ParentRelative 1L > > >#define CopyFromParent 0L > > > > >#define PointerWindow 0L >#define InputFocus 1L > >#define PointerRoot 1L > >#define AnyPropertyType 0L > >#define AnyKey 0L > >#define AnyButton 0L > >#define AllTemporary 0L > >#define CurrentTime 0L > >#define NoSymbol 0L ># 155 "/usr/include/X11/X.h" 3 4 >#define NoEventMask 0L >#define KeyPressMask (1L<<0) >#define KeyReleaseMask (1L<<1) >#define ButtonPressMask (1L<<2) >#define ButtonReleaseMask (1L<<3) >#define EnterWindowMask (1L<<4) >#define LeaveWindowMask (1L<<5) >#define PointerMotionMask (1L<<6) >#define PointerMotionHintMask (1L<<7) >#define Button1MotionMask (1L<<8) >#define Button2MotionMask (1L<<9) >#define Button3MotionMask (1L<<10) >#define Button4MotionMask (1L<<11) >#define Button5MotionMask (1L<<12) >#define ButtonMotionMask (1L<<13) >#define KeymapStateMask (1L<<14) >#define ExposureMask (1L<<15) >#define VisibilityChangeMask (1L<<16) >#define StructureNotifyMask (1L<<17) >#define ResizeRedirectMask (1L<<18) >#define SubstructureNotifyMask (1L<<19) >#define SubstructureRedirectMask (1L<<20) >#define FocusChangeMask (1L<<21) >#define PropertyChangeMask (1L<<22) >#define ColormapChangeMask (1L<<23) >#define OwnerGrabButtonMask (1L<<24) > > > > > >#define KeyPress 2 >#define KeyRelease 3 >#define ButtonPress 4 >#define ButtonRelease 5 >#define MotionNotify 6 >#define EnterNotify 7 >#define LeaveNotify 8 >#define FocusIn 9 >#define FocusOut 10 >#define KeymapNotify 11 >#define Expose 12 >#define GraphicsExpose 13 >#define NoExpose 14 >#define VisibilityNotify 15 >#define CreateNotify 16 >#define DestroyNotify 17 >#define UnmapNotify 18 >#define MapNotify 19 >#define MapRequest 20 >#define ReparentNotify 21 >#define ConfigureNotify 22 >#define ConfigureRequest 23 >#define GravityNotify 24 >#define ResizeRequest 25 >#define CirculateNotify 26 >#define CirculateRequest 27 >#define PropertyNotify 28 >#define SelectionClear 29 >#define SelectionRequest 30 >#define SelectionNotify 31 >#define ColormapNotify 32 >#define ClientMessage 33 >#define MappingNotify 34 >#define LASTEvent 35 > > > > > >#define ShiftMask (1<<0) >#define LockMask (1<<1) >#define ControlMask (1<<2) >#define Mod1Mask (1<<3) >#define Mod2Mask (1<<4) >#define Mod3Mask (1<<5) >#define Mod4Mask (1<<6) >#define Mod5Mask (1<<7) > > > > >#define ShiftMapIndex 0 >#define LockMapIndex 1 >#define ControlMapIndex 2 >#define Mod1MapIndex 3 >#define Mod2MapIndex 4 >#define Mod3MapIndex 5 >#define Mod4MapIndex 6 >#define Mod5MapIndex 7 > > > > > >#define Button1Mask (1<<8) >#define Button2Mask (1<<9) >#define Button3Mask (1<<10) >#define Button4Mask (1<<11) >#define Button5Mask (1<<12) > >#define AnyModifier (1<<15) > > > > > > >#define Button1 1 >#define Button2 2 >#define Button3 3 >#define Button4 4 >#define Button5 5 > > > >#define NotifyNormal 0 >#define NotifyGrab 1 >#define NotifyUngrab 2 >#define NotifyWhileGrabbed 3 > >#define NotifyHint 1 > > > >#define NotifyAncestor 0 >#define NotifyVirtual 1 >#define NotifyInferior 2 >#define NotifyNonlinear 3 >#define NotifyNonlinearVirtual 4 >#define NotifyPointer 5 >#define NotifyPointerRoot 6 >#define NotifyDetailNone 7 > > > >#define VisibilityUnobscured 0 >#define VisibilityPartiallyObscured 1 >#define VisibilityFullyObscured 2 > > > >#define PlaceOnTop 0 >#define PlaceOnBottom 1 > > > >#define FamilyInternet 0 >#define FamilyDECnet 1 >#define FamilyChaos 2 >#define FamilyInternet6 6 > > >#define FamilyServerInterpreted 5 > > > >#define PropertyNewValue 0 >#define PropertyDelete 1 > > > >#define ColormapUninstalled 0 >#define ColormapInstalled 1 > > > >#define GrabModeSync 0 >#define GrabModeAsync 1 > > > >#define GrabSuccess 0 >#define AlreadyGrabbed 1 >#define GrabInvalidTime 2 >#define GrabNotViewable 3 >#define GrabFrozen 4 > > > >#define AsyncPointer 0 >#define SyncPointer 1 >#define ReplayPointer 2 >#define AsyncKeyboard 3 >#define SyncKeyboard 4 >#define ReplayKeyboard 5 >#define AsyncBoth 6 >#define SyncBoth 7 > > > >#define RevertToNone (int)None >#define RevertToPointerRoot (int)PointerRoot >#define RevertToParent 2 > > > > > >#define Success 0 >#define BadRequest 1 >#define BadValue 2 >#define BadWindow 3 >#define BadPixmap 4 >#define BadAtom 5 >#define BadCursor 6 >#define BadFont 7 >#define BadMatch 8 >#define BadDrawable 9 >#define BadAccess 10 ># 373 "/usr/include/X11/X.h" 3 4 >#define BadAlloc 11 >#define BadColor 12 >#define BadGC 13 >#define BadIDChoice 14 >#define BadName 15 >#define BadLength 16 >#define BadImplementation 17 > >#define FirstExtensionError 128 >#define LastExtensionError 255 ># 391 "/usr/include/X11/X.h" 3 4 >#define InputOutput 1 >#define InputOnly 2 > > > >#define CWBackPixmap (1L<<0) >#define CWBackPixel (1L<<1) >#define CWBorderPixmap (1L<<2) >#define CWBorderPixel (1L<<3) >#define CWBitGravity (1L<<4) >#define CWWinGravity (1L<<5) >#define CWBackingStore (1L<<6) >#define CWBackingPlanes (1L<<7) >#define CWBackingPixel (1L<<8) >#define CWOverrideRedirect (1L<<9) >#define CWSaveUnder (1L<<10) >#define CWEventMask (1L<<11) >#define CWDontPropagate (1L<<12) >#define CWColormap (1L<<13) >#define CWCursor (1L<<14) > > > >#define CWX (1<<0) >#define CWY (1<<1) >#define CWWidth (1<<2) >#define CWHeight (1<<3) >#define CWBorderWidth (1<<4) >#define CWSibling (1<<5) >#define CWStackMode (1<<6) > > > > >#define ForgetGravity 0 >#define NorthWestGravity 1 >#define NorthGravity 2 >#define NorthEastGravity 3 >#define WestGravity 4 >#define CenterGravity 5 >#define EastGravity 6 >#define SouthWestGravity 7 >#define SouthGravity 8 >#define SouthEastGravity 9 >#define StaticGravity 10 > > > >#define UnmapGravity 0 > > > >#define NotUseful 0 >#define WhenMapped 1 >#define Always 2 > > > >#define IsUnmapped 0 >#define IsUnviewable 1 >#define IsViewable 2 > > > >#define SetModeInsert 0 >#define SetModeDelete 1 > > > >#define DestroyAll 0 >#define RetainPermanent 1 >#define RetainTemporary 2 > > > >#define Above 0 >#define Below 1 >#define TopIf 2 >#define BottomIf 3 >#define Opposite 4 > > > >#define RaiseLowest 0 >#define LowerHighest 1 > > > >#define PropModeReplace 0 >#define PropModePrepend 1 >#define PropModeAppend 2 > > > > > > > >#define GXclear 0x0 >#define GXand 0x1 >#define GXandReverse 0x2 >#define GXcopy 0x3 >#define GXandInverted 0x4 >#define GXnoop 0x5 >#define GXxor 0x6 >#define GXor 0x7 >#define GXnor 0x8 >#define GXequiv 0x9 >#define GXinvert 0xa >#define GXorReverse 0xb >#define GXcopyInverted 0xc >#define GXorInverted 0xd >#define GXnand 0xe >#define GXset 0xf > > > >#define LineSolid 0 >#define LineOnOffDash 1 >#define LineDoubleDash 2 > > > >#define CapNotLast 0 >#define CapButt 1 >#define CapRound 2 >#define CapProjecting 3 > > > >#define JoinMiter 0 >#define JoinRound 1 >#define JoinBevel 2 > > > >#define FillSolid 0 >#define FillTiled 1 >#define FillStippled 2 >#define FillOpaqueStippled 3 > > > >#define EvenOddRule 0 >#define WindingRule 1 > > > >#define ClipByChildren 0 >#define IncludeInferiors 1 > > > >#define Unsorted 0 >#define YSorted 1 >#define YXSorted 2 >#define YXBanded 3 > > > >#define CoordModeOrigin 0 >#define CoordModePrevious 1 > > > >#define Complex 0 >#define Nonconvex 1 >#define Convex 2 > > > >#define ArcChord 0 >#define ArcPieSlice 1 > > > > >#define GCFunction (1L<<0) >#define GCPlaneMask (1L<<1) >#define GCForeground (1L<<2) >#define GCBackground (1L<<3) >#define GCLineWidth (1L<<4) >#define GCLineStyle (1L<<5) >#define GCCapStyle (1L<<6) >#define GCJoinStyle (1L<<7) >#define GCFillStyle (1L<<8) >#define GCFillRule (1L<<9) >#define GCTile (1L<<10) >#define GCStipple (1L<<11) >#define GCTileStipXOrigin (1L<<12) >#define GCTileStipYOrigin (1L<<13) >#define GCFont (1L<<14) >#define GCSubwindowMode (1L<<15) >#define GCGraphicsExposures (1L<<16) >#define GCClipXOrigin (1L<<17) >#define GCClipYOrigin (1L<<18) >#define GCClipMask (1L<<19) >#define GCDashOffset (1L<<20) >#define GCDashList (1L<<21) >#define GCArcMode (1L<<22) > >#define GCLastBit 22 > > > > > > >#define FontLeftToRight 0 >#define FontRightToLeft 1 > >#define FontChange 255 > > > > > > > >#define XYBitmap 0 >#define XYPixmap 1 >#define ZPixmap 2 > > > > > > > >#define AllocNone 0 >#define AllocAll 1 > > > > >#define DoRed (1<<0) >#define DoGreen (1<<1) >#define DoBlue (1<<2) > > > > > > > >#define CursorShape 0 >#define TileShape 1 >#define StippleShape 2 > > > > > >#define AutoRepeatModeOff 0 >#define AutoRepeatModeOn 1 >#define AutoRepeatModeDefault 2 > >#define LedModeOff 0 >#define LedModeOn 1 > > > >#define KBKeyClickPercent (1L<<0) >#define KBBellPercent (1L<<1) >#define KBBellPitch (1L<<2) >#define KBBellDuration (1L<<3) >#define KBLed (1L<<4) >#define KBLedMode (1L<<5) >#define KBKey (1L<<6) >#define KBAutoRepeatMode (1L<<7) > >#define MappingSuccess 0 >#define MappingBusy 1 >#define MappingFailed 2 > >#define MappingModifier 0 >#define MappingKeyboard 1 >#define MappingPointer 2 > > > > > >#define DontPreferBlanking 0 >#define PreferBlanking 1 >#define DefaultBlanking 2 > >#define DisableScreenSaver 0 >#define DisableScreenInterval 0 > >#define DontAllowExposures 0 >#define AllowExposures 1 >#define DefaultExposures 2 > > > >#define ScreenSaverReset 0 >#define ScreenSaverActive 1 > > > > > > > >#define HostInsert 0 >#define HostDelete 1 > > > >#define EnableAccess 1 >#define DisableAccess 0 > > > > > >#define StaticGray 0 >#define GrayScale 1 >#define StaticColor 2 >#define PseudoColor 3 >#define TrueColor 4 >#define DirectColor 5 > > > > >#define LSBFirst 0 >#define MSBFirst 1 ># 61 "/usr/include/X11/Xlib.h" 2 3 4 > > ># 1 "/usr/include/X11/Xfuncproto.h" 1 3 4 ># 33 "/usr/include/X11/Xfuncproto.h" 3 4 >#define _XFUNCPROTO_H_ > > >#define NeedFunctionPrototypes 1 > > > >#define NeedVarargsPrototypes 1 > > > > > >#define NeedNestedPrototypes 1 > > > >#define _Xconst const > > > > >#define NARROWPROTO > > >#define FUNCPROTO 15 > > > > >#define NeedWidePrototypes 0 ># 76 "/usr/include/X11/Xfuncproto.h" 3 4 >#define _XFUNCPROTOBEGIN >#define _XFUNCPROTOEND > > > > > > > >#define _X_SENTINEL(x) >#define _X_ATTRIBUTE_PRINTF(x,y) > > > >#define _X_EXPORT __attribute__((visibility("default"))) >#define _X_HIDDEN __attribute__((visibility("hidden"))) >#define _X_INTERNAL __attribute__((visibility("internal"))) ># 104 "/usr/include/X11/Xfuncproto.h" 3 4 >#define _X_DEPRECATED __attribute__((deprecated)) ># 64 "/usr/include/X11/Xlib.h" 2 3 4 ># 1 "/usr/include/X11/Xosdefs.h" 1 3 4 ># 32 "/usr/include/X11/Xosdefs.h" 3 4 >#define _XOSDEFS_H_ ># 65 "/usr/include/X11/Xlib.h" 2 3 4 ># 75 "/usr/include/X11/Xlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 42 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#define _STDDEF_H >#define _STDDEF_H_ > >#define _ANSI_STDDEF_H > >#define __STDDEF_H__ ># 140 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#define _PTRDIFF_T >#define _T_PTRDIFF_ >#define _T_PTRDIFF >#define __PTRDIFF_T >#define _PTRDIFF_T_ >#define _BSD_PTRDIFF_T_ >#define ___int_ptrdiff_t_h >#define _GCC_PTRDIFF_T > > > >typedef long int ptrdiff_t; ># 162 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_ptrdiff_t ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 344 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wchar_t ># 397 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef NULL > > > > >#define NULL ((void *)0) > > > > > >#undef __need_NULL > > > > > >#define offsetof(TYPE,MEMBER) ((size_t) &((TYPE *)0)->MEMBER) ># 76 "/usr/include/X11/Xlib.h" 2 3 4 ># 93 "/usr/include/X11/Xlib.h" 3 4 >extern int >_Xmblen( > > > > > char *str, > int len > > ); > > > >#define X_HAVE_UTF8_STRING 1 > >typedef char *XPointer; > >#define Bool int >#define Status int >#define True 1 >#define False 0 > >#define QueuedAlready 0 >#define QueuedAfterReading 1 >#define QueuedAfterFlush 2 > >#define ConnectionNumber(dpy) (((_XPrivDisplay)dpy)->fd) >#define RootWindow(dpy,scr) (ScreenOfDisplay(dpy,scr)->root) >#define DefaultScreen(dpy) (((_XPrivDisplay)dpy)->default_screen) >#define DefaultRootWindow(dpy) (ScreenOfDisplay(dpy,DefaultScreen(dpy))->root) >#define DefaultVisual(dpy,scr) (ScreenOfDisplay(dpy,scr)->root_visual) >#define DefaultGC(dpy,scr) (ScreenOfDisplay(dpy,scr)->default_gc) >#define BlackPixel(dpy,scr) (ScreenOfDisplay(dpy,scr)->black_pixel) >#define WhitePixel(dpy,scr) (ScreenOfDisplay(dpy,scr)->white_pixel) >#define AllPlanes ((unsigned long)~0L) >#define QLength(dpy) (((_XPrivDisplay)dpy)->qlen) >#define DisplayWidth(dpy,scr) (ScreenOfDisplay(dpy,scr)->width) >#define DisplayHeight(dpy,scr) (ScreenOfDisplay(dpy,scr)->height) >#define DisplayWidthMM(dpy,scr) (ScreenOfDisplay(dpy,scr)->mwidth) >#define DisplayHeightMM(dpy,scr) (ScreenOfDisplay(dpy,scr)->mheight) >#define DisplayPlanes(dpy,scr) (ScreenOfDisplay(dpy,scr)->root_depth) >#define DisplayCells(dpy,scr) (DefaultVisual(dpy,scr)->map_entries) >#define ScreenCount(dpy) (((_XPrivDisplay)dpy)->nscreens) >#define ServerVendor(dpy) (((_XPrivDisplay)dpy)->vendor) >#define ProtocolVersion(dpy) (((_XPrivDisplay)dpy)->proto_major_version) >#define ProtocolRevision(dpy) (((_XPrivDisplay)dpy)->proto_minor_version) >#define VendorRelease(dpy) (((_XPrivDisplay)dpy)->release) >#define DisplayString(dpy) (((_XPrivDisplay)dpy)->display_name) >#define DefaultDepth(dpy,scr) (ScreenOfDisplay(dpy,scr)->root_depth) >#define DefaultColormap(dpy,scr) (ScreenOfDisplay(dpy,scr)->cmap) >#define BitmapUnit(dpy) (((_XPrivDisplay)dpy)->bitmap_unit) >#define BitmapBitOrder(dpy) (((_XPrivDisplay)dpy)->bitmap_bit_order) >#define BitmapPad(dpy) (((_XPrivDisplay)dpy)->bitmap_pad) >#define ImageByteOrder(dpy) (((_XPrivDisplay)dpy)->byte_order) > > > >#define NextRequest(dpy) (((_XPrivDisplay)dpy)->request + 1) > >#define LastKnownRequestProcessed(dpy) (((_XPrivDisplay)dpy)->last_request_read) > > >#define ScreenOfDisplay(dpy,scr) (&((_XPrivDisplay)dpy)->screens[scr]) >#define DefaultScreenOfDisplay(dpy) ScreenOfDisplay(dpy,DefaultScreen(dpy)) >#define DisplayOfScreen(s) ((s)->display) >#define RootWindowOfScreen(s) ((s)->root) >#define BlackPixelOfScreen(s) ((s)->black_pixel) >#define WhitePixelOfScreen(s) ((s)->white_pixel) >#define DefaultColormapOfScreen(s) ((s)->cmap) >#define DefaultDepthOfScreen(s) ((s)->root_depth) >#define DefaultGCOfScreen(s) ((s)->default_gc) >#define DefaultVisualOfScreen(s) ((s)->root_visual) >#define WidthOfScreen(s) ((s)->width) >#define HeightOfScreen(s) ((s)->height) >#define WidthMMOfScreen(s) ((s)->mwidth) >#define HeightMMOfScreen(s) ((s)->mheight) >#define PlanesOfScreen(s) ((s)->root_depth) >#define CellsOfScreen(s) (DefaultVisualOfScreen((s))->map_entries) >#define MinCmapsOfScreen(s) ((s)->min_maps) >#define MaxCmapsOfScreen(s) ((s)->max_maps) >#define DoesSaveUnders(s) ((s)->save_unders) >#define DoesBackingStore(s) ((s)->backing_store) >#define EventMaskOfScreen(s) ((s)->root_input_mask) > > > > >typedef struct _XExtData { > int number; > struct _XExtData *next; > int (*free_private)( > struct _XExtData *extension > ); > XPointer private_data; >} XExtData; > > > > >typedef struct { > int extension; > int major_opcode; > int first_event; > int first_error; >} XExtCodes; > > > > > >typedef struct { > int depth; > int bits_per_pixel; > int scanline_pad; >} XPixmapFormatValues; > > > > > >typedef struct { > int function; > unsigned long plane_mask; > unsigned long foreground; > unsigned long background; > int line_width; > int line_style; > int cap_style; > > int join_style; > int fill_style; > > int fill_rule; > int arc_mode; > Pixmap tile; > Pixmap stipple; > int ts_x_origin; > int ts_y_origin; > Font font; > int subwindow_mode; > int graphics_exposures; > int clip_x_origin; > int clip_y_origin; > Pixmap clip_mask; > int dash_offset; > char dashes; >} XGCValues; > > > > > > >typedef struct _XGC > > > > > > > >*GC; > > > > >typedef struct { > XExtData *ext_data; > VisualID visualid; > > > > int class; > > unsigned long red_mask, green_mask, blue_mask; > int bits_per_rgb; > int map_entries; >} Visual; > > > > >typedef struct { > int depth; > int nvisuals; > Visual *visuals; >} Depth; > > > > > > > >struct _XDisplay; > >typedef struct { > XExtData *ext_data; > struct _XDisplay *display; > Window root; > int width, height; > int mwidth, mheight; > int ndepths; > Depth *depths; > int root_depth; > Visual *root_visual; > GC default_gc; > Colormap cmap; > unsigned long white_pixel; > unsigned long black_pixel; > int max_maps, min_maps; > int backing_store; > int save_unders; > long root_input_mask; >} Screen; > > > > >typedef struct { > XExtData *ext_data; > int depth; > int bits_per_pixel; > int scanline_pad; >} ScreenFormat; > > > > >typedef struct { > Pixmap background_pixmap; > unsigned long background_pixel; > Pixmap border_pixmap; > unsigned long border_pixel; > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > long event_mask; > long do_not_propagate_mask; > int override_redirect; > Colormap colormap; > Cursor cursor; >} XSetWindowAttributes; > >typedef struct { > int x, y; > int width, height; > int border_width; > int depth; > Visual *visual; > Window root; > > > > int class; > > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > Colormap colormap; > int map_installed; > int map_state; > long all_event_masks; > long your_event_mask; > long do_not_propagate_mask; > int override_redirect; > Screen *screen; >} XWindowAttributes; > > > > > > >typedef struct { > int family; > int length; > char *address; >} XHostAddress; > > > > >typedef struct { > int typelength; > int valuelength; > char *type; > char *value; >} XServerInterpretedAddress; > > > > >typedef struct _XImage { > int width, height; > int xoffset; > int format; > char *data; > int byte_order; > int bitmap_unit; > int bitmap_bit_order; > int bitmap_pad; > int depth; > int bytes_per_line; > int bits_per_pixel; > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > XPointer obdata; > struct funcs { > struct _XImage *(*create_image)( > struct _XDisplay* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int ); > int (*destroy_image) (struct _XImage *); > unsigned long (*get_pixel) (struct _XImage *, int, int); > int (*put_pixel) (struct _XImage *, int, int, unsigned long); > struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int); > int (*add_pixel) (struct _XImage *, long); > } f; >} XImage; > > > > >typedef struct { > int x, y; > int width, height; > int border_width; > Window sibling; > int stack_mode; >} XWindowChanges; > > > > >typedef struct { > unsigned long pixel; > unsigned short red, green, blue; > char flags; > char pad; >} XColor; > > > > > > >typedef struct { > short x1, y1, x2, y2; >} XSegment; > >typedef struct { > short x, y; >} XPoint; > >typedef struct { > short x, y; > unsigned short width, height; >} XRectangle; > >typedef struct { > short x, y; > unsigned short width, height; > short angle1, angle2; >} XArc; > > > > >typedef struct { > int key_click_percent; > int bell_percent; > int bell_pitch; > int bell_duration; > int led; > int led_mode; > int key; > int auto_repeat_mode; >} XKeyboardControl; > > > >typedef struct { > int key_click_percent; > int bell_percent; > unsigned int bell_pitch, bell_duration; > unsigned long led_mask; > int global_auto_repeat; > char auto_repeats[32]; >} XKeyboardState; > > > >typedef struct { > Time time; > short x, y; >} XTimeCoord; > > > >typedef struct { > int max_keypermod; > KeyCode *modifiermap; >} XModifierKeymap; ># 519 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XDisplay Display; > > >struct _XPrivate; >struct _XrmHashBucketRec; > >typedef struct > > > >{ > XExtData *ext_data; > struct _XPrivate *private1; > int fd; > int private2; > int proto_major_version; > int proto_minor_version; > char *vendor; > XID private3; > XID private4; > XID private5; > int private6; > XID (*resource_alloc)( > struct _XDisplay* > ); > int byte_order; > int bitmap_unit; > int bitmap_pad; > int bitmap_bit_order; > int nformats; > ScreenFormat *pixmap_format; > int private8; > int release; > struct _XPrivate *private9, *private10; > int qlen; > unsigned long last_request_read; > unsigned long request; > XPointer private11; > XPointer private12; > XPointer private13; > XPointer private14; > unsigned max_request_size; > struct _XrmHashBucketRec *db; > int (*private15)( > struct _XDisplay* > ); > char *display_name; > int default_screen; > int nscreens; > Screen *screens; > unsigned long motion_buffer; > unsigned long private16; > int min_keycode; > int max_keycode; > XPointer private17; > XPointer private18; > int private19; > char *xdefaults; > >} > > > >*_XPrivDisplay; > >#undef _XEVENT_ > > > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int keycode; > int same_screen; >} XKeyEvent; >typedef XKeyEvent XKeyPressedEvent; >typedef XKeyEvent XKeyReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int button; > int same_screen; >} XButtonEvent; >typedef XButtonEvent XButtonPressedEvent; >typedef XButtonEvent XButtonReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > char is_hint; > int same_screen; >} XMotionEvent; >typedef XMotionEvent XPointerMovedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > int mode; > int detail; > > > > > int same_screen; > int focus; > unsigned int state; >} XCrossingEvent; >typedef XCrossingEvent XEnterWindowEvent; >typedef XCrossingEvent XLeaveWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int mode; > > int detail; > > > > > >} XFocusChangeEvent; >typedef XFocusChangeEvent XFocusInEvent; >typedef XFocusChangeEvent XFocusOutEvent; > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > char key_vector[32]; >} XKeymapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int x, y; > int width, height; > int count; >} XExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int x, y; > int width, height; > int count; > int major_code; > int minor_code; >} XGraphicsExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int major_code; > int minor_code; >} XNoExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int state; >} XVisibilityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > int override_redirect; >} XCreateWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; >} XDestroyWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int from_configure; >} XUnmapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int override_redirect; >} XMapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; >} XMapRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > Window parent; > int x, y; > int override_redirect; >} XReparentEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int override_redirect; >} XConfigureEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; >} XGravityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int width, height; >} XResizeRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int detail; > unsigned long value_mask; >} XConfigureRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int place; >} XCirculateEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int place; >} XCirculateRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom atom; > Time time; > int state; >} XPropertyEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom selection; > Time time; >} XSelectionClearEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window owner; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Colormap colormap; > > > > int new; > > int state; >} XColormapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom message_type; > int format; > union { > char b[20]; > short s[10]; > long l[5]; > } data; >} XClientMessageEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int request; > > int first_keycode; > int count; >} XMappingEvent; > >typedef struct { > int type; > Display *display; > XID resourceid; > unsigned long serial; > unsigned char error_code; > unsigned char request_code; > unsigned char minor_code; >} XErrorEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; >} XAnyEvent; > > > > > >typedef union _XEvent { > int type; > XAnyEvent xany; > XKeyEvent xkey; > XButtonEvent xbutton; > XMotionEvent xmotion; > XCrossingEvent xcrossing; > XFocusChangeEvent xfocus; > XExposeEvent xexpose; > XGraphicsExposeEvent xgraphicsexpose; > XNoExposeEvent xnoexpose; > XVisibilityEvent xvisibility; > XCreateWindowEvent xcreatewindow; > XDestroyWindowEvent xdestroywindow; > XUnmapEvent xunmap; > XMapEvent xmap; > XMapRequestEvent xmaprequest; > XReparentEvent xreparent; > XConfigureEvent xconfigure; > XGravityEvent xgravity; > XResizeRequestEvent xresizerequest; > XConfigureRequestEvent xconfigurerequest; > XCirculateEvent xcirculate; > XCirculateRequestEvent xcirculaterequest; > XPropertyEvent xproperty; > XSelectionClearEvent xselectionclear; > XSelectionRequestEvent xselectionrequest; > XSelectionEvent xselection; > XColormapEvent xcolormap; > XClientMessageEvent xclient; > XMappingEvent xmapping; > XErrorEvent xerror; > XKeymapEvent xkeymap; > long pad[24]; >} XEvent; > > >#define XAllocID(dpy) ((*((_XPrivDisplay)dpy)->resource_alloc)((dpy))) > > > > >typedef struct { > short lbearing; > short rbearing; > short width; > short ascent; > short descent; > unsigned short attributes; >} XCharStruct; > > > > > >typedef struct { > Atom name; > unsigned long card32; >} XFontProp; > >typedef struct { > XExtData *ext_data; > Font fid; > unsigned direction; > unsigned min_char_or_byte2; > unsigned max_char_or_byte2; > unsigned min_byte1; > unsigned max_byte1; > int all_chars_exist; > unsigned default_char; > int n_properties; > XFontProp *properties; > XCharStruct min_bounds; > XCharStruct max_bounds; > XCharStruct *per_char; > int ascent; > int descent; >} XFontStruct; > > > > >typedef struct { > char *chars; > int nchars; > int delta; > Font font; >} XTextItem; > >typedef struct { > unsigned char byte1; > unsigned char byte2; >} XChar2b; > >typedef struct { > XChar2b *chars; > int nchars; > int delta; > Font font; >} XTextItem16; > > >typedef union { Display *display; > GC gc; > Visual *visual; > Screen *screen; > ScreenFormat *pixmap_format; > XFontStruct *font; } XEDataObject; > >typedef struct { > XRectangle max_ink_extent; > XRectangle max_logical_extent; >} XFontSetExtents; > > > > > >typedef struct _XOM *XOM; >typedef struct _XOC *XOC, *XFontSet; > >typedef struct { > char *chars; > int nchars; > int delta; > XFontSet font_set; >} XmbTextItem; > >typedef struct { > wchar_t *chars; > int nchars; > int delta; > XFontSet font_set; >} XwcTextItem; > >#define XNRequiredCharSet "requiredCharSet" >#define XNQueryOrientation "queryOrientation" >#define XNBaseFontName "baseFontName" >#define XNOMAutomatic "omAutomatic" >#define XNMissingCharSet "missingCharSet" >#define XNDefaultString "defaultString" >#define XNOrientation "orientation" >#define XNDirectionalDependentDrawing "directionalDependentDrawing" >#define XNContextualDrawing "contextualDrawing" >#define XNFontInfo "fontInfo" > >typedef struct { > int charset_count; > char **charset_list; >} XOMCharSetList; > >typedef enum { > XOMOrientation_LTR_TTB, > XOMOrientation_RTL_TTB, > XOMOrientation_TTB_LTR, > XOMOrientation_TTB_RTL, > XOMOrientation_Context >} XOrientation; > >typedef struct { > int num_orientation; > XOrientation *orientation; >} XOMOrientation; > >typedef struct { > int num_font; > XFontStruct **font_struct_list; > char **font_name_list; >} XOMFontInfo; > >typedef struct _XIM *XIM; >typedef struct _XIC *XIC; > >typedef void (*XIMProc)( > XIM, > XPointer, > XPointer >); > >typedef int (*XICProc)( > XIC, > XPointer, > XPointer >); > >typedef void (*XIDProc)( > Display*, > XPointer, > XPointer >); > >typedef unsigned long XIMStyle; > >typedef struct { > unsigned short count_styles; > XIMStyle *supported_styles; >} XIMStyles; > >#define XIMPreeditArea 0x0001L >#define XIMPreeditCallbacks 0x0002L >#define XIMPreeditPosition 0x0004L >#define XIMPreeditNothing 0x0008L >#define XIMPreeditNone 0x0010L >#define XIMStatusArea 0x0100L >#define XIMStatusCallbacks 0x0200L >#define XIMStatusNothing 0x0400L >#define XIMStatusNone 0x0800L > >#define XNVaNestedList "XNVaNestedList" >#define XNQueryInputStyle "queryInputStyle" >#define XNClientWindow "clientWindow" >#define XNInputStyle "inputStyle" >#define XNFocusWindow "focusWindow" >#define XNResourceName "resourceName" >#define XNResourceClass "resourceClass" >#define XNGeometryCallback "geometryCallback" >#define XNDestroyCallback "destroyCallback" >#define XNFilterEvents "filterEvents" >#define XNPreeditStartCallback "preeditStartCallback" >#define XNPreeditDoneCallback "preeditDoneCallback" >#define XNPreeditDrawCallback "preeditDrawCallback" >#define XNPreeditCaretCallback "preeditCaretCallback" >#define XNPreeditStateNotifyCallback "preeditStateNotifyCallback" >#define XNPreeditAttributes "preeditAttributes" >#define XNStatusStartCallback "statusStartCallback" >#define XNStatusDoneCallback "statusDoneCallback" >#define XNStatusDrawCallback "statusDrawCallback" >#define XNStatusAttributes "statusAttributes" >#define XNArea "area" >#define XNAreaNeeded "areaNeeded" >#define XNSpotLocation "spotLocation" >#define XNColormap "colorMap" >#define XNStdColormap "stdColorMap" >#define XNForeground "foreground" >#define XNBackground "background" >#define XNBackgroundPixmap "backgroundPixmap" >#define XNFontSet "fontSet" >#define XNLineSpace "lineSpace" >#define XNCursor "cursor" > >#define XNQueryIMValuesList "queryIMValuesList" >#define XNQueryICValuesList "queryICValuesList" >#define XNVisiblePosition "visiblePosition" >#define XNR6PreeditCallback "r6PreeditCallback" >#define XNStringConversionCallback "stringConversionCallback" >#define XNStringConversion "stringConversion" >#define XNResetState "resetState" >#define XNHotKey "hotKey" >#define XNHotKeyState "hotKeyState" >#define XNPreeditState "preeditState" >#define XNSeparatorofNestedList "separatorofNestedList" > >#define XBufferOverflow -1 >#define XLookupNone 1 >#define XLookupChars 2 >#define XLookupKeySym 3 >#define XLookupBoth 4 > >typedef void *XVaNestedList; > >typedef struct { > XPointer client_data; > XIMProc callback; >} XIMCallback; > >typedef struct { > XPointer client_data; > XICProc callback; >} XICCallback; > >typedef unsigned long XIMFeedback; > >#define XIMReverse 1L >#define XIMUnderline (1L<<1) >#define XIMHighlight (1L<<2) >#define XIMPrimary (1L<<5) >#define XIMSecondary (1L<<6) >#define XIMTertiary (1L<<7) >#define XIMVisibleToForward (1L<<8) >#define XIMVisibleToBackword (1L<<9) >#define XIMVisibleToCenter (1L<<10) > >typedef struct _XIMText { > unsigned short length; > XIMFeedback *feedback; > int encoding_is_wchar; > union { > char *multi_byte; > wchar_t *wide_char; > } string; >} XIMText; > >typedef unsigned long XIMPreeditState; > >#define XIMPreeditUnKnown 0L >#define XIMPreeditEnable 1L >#define XIMPreeditDisable (1L<<1) > >typedef struct _XIMPreeditStateNotifyCallbackStruct { > XIMPreeditState state; >} XIMPreeditStateNotifyCallbackStruct; > >typedef unsigned long XIMResetState; > >#define XIMInitialState 1L >#define XIMPreserveState (1L<<1) > >typedef unsigned long XIMStringConversionFeedback; > >#define XIMStringConversionLeftEdge (0x00000001) >#define XIMStringConversionRightEdge (0x00000002) >#define XIMStringConversionTopEdge (0x00000004) >#define XIMStringConversionBottomEdge (0x00000008) >#define XIMStringConversionConcealed (0x00000010) >#define XIMStringConversionWrapped (0x00000020) > >typedef struct _XIMStringConversionText { > unsigned short length; > XIMStringConversionFeedback *feedback; > int encoding_is_wchar; > union { > char *mbs; > wchar_t *wcs; > } string; >} XIMStringConversionText; > >typedef unsigned short XIMStringConversionPosition; > >typedef unsigned short XIMStringConversionType; > >#define XIMStringConversionBuffer (0x0001) >#define XIMStringConversionLine (0x0002) >#define XIMStringConversionWord (0x0003) >#define XIMStringConversionChar (0x0004) > >typedef unsigned short XIMStringConversionOperation; > >#define XIMStringConversionSubstitution (0x0001) >#define XIMStringConversionRetrieval (0x0002) > >typedef enum { > XIMForwardChar, XIMBackwardChar, > XIMForwardWord, XIMBackwardWord, > XIMCaretUp, XIMCaretDown, > XIMNextLine, XIMPreviousLine, > XIMLineStart, XIMLineEnd, > XIMAbsolutePosition, > XIMDontChange >} XIMCaretDirection; > >typedef struct _XIMStringConversionCallbackStruct { > XIMStringConversionPosition position; > XIMCaretDirection direction; > XIMStringConversionOperation operation; > unsigned short factor; > XIMStringConversionText *text; >} XIMStringConversionCallbackStruct; > >typedef struct _XIMPreeditDrawCallbackStruct { > int caret; > int chg_first; > int chg_length; > XIMText *text; >} XIMPreeditDrawCallbackStruct; > >typedef enum { > XIMIsInvisible, > XIMIsPrimary, > XIMIsSecondary >} XIMCaretStyle; > >typedef struct _XIMPreeditCaretCallbackStruct { > int position; > XIMCaretDirection direction; > XIMCaretStyle style; >} XIMPreeditCaretCallbackStruct; > >typedef enum { > XIMTextType, > XIMBitmapType >} XIMStatusDataType; > >typedef struct _XIMStatusDrawCallbackStruct { > XIMStatusDataType type; > union { > XIMText *text; > Pixmap bitmap; > } data; >} XIMStatusDrawCallbackStruct; > >typedef struct _XIMHotKeyTrigger { > KeySym keysym; > int modifier; > int modifier_mask; >} XIMHotKeyTrigger; > >typedef struct _XIMHotKeyTriggers { > int num_hot_key; > XIMHotKeyTrigger *key; >} XIMHotKeyTriggers; > >typedef unsigned long XIMHotKeyState; > >#define XIMHotKeyStateON (0x0001L) >#define XIMHotKeyStateOFF (0x0002L) > >typedef struct { > unsigned short count_values; > char **supported_values; >} XIMValuesList; > > > > > > > >extern int _Xdebug; > >extern XFontStruct *XLoadQueryFont( > Display* , > const char* >); > >extern XFontStruct *XQueryFont( > Display* , > XID >); > > >extern XTimeCoord *XGetMotionEvents( > Display* , > Window , > Time , > Time , > int* >); > >extern XModifierKeymap *XDeleteModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XGetModifierMapping( > Display* >); > >extern XModifierKeymap *XInsertModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XNewModifiermap( > int >); > >extern XImage *XCreateImage( > Display* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int >); >extern int XInitImage( > XImage* >); >extern XImage *XGetImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int >); >extern XImage *XGetSubImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int , > XImage* , > int , > int >); > > > > >extern Display *XOpenDisplay( > const char* >); > >extern void XrmInitialize( > void >); > >extern char *XFetchBytes( > Display* , > int* >); >extern char *XFetchBuffer( > Display* , > int* , > int >); >extern char *XGetAtomName( > Display* , > Atom >); >extern int XGetAtomNames( > Display* , > Atom* , > int , > char** >); >extern char *XGetDefault( > Display* , > const char* , > const char* >); >extern char *XDisplayName( > const char* >); >extern char *XKeysymToString( > KeySym >); > >extern int (*XSynchronize( > Display* , > int >))( > Display* >); >extern int (*XSetAfterFunction( > Display* , > int (*) ( > Display* > ) >))( > Display* >); >extern Atom XInternAtom( > Display* , > const char* , > int >); >extern int XInternAtoms( > Display* , > char** , > int , > int , > Atom* >); >extern Colormap XCopyColormapAndFree( > Display* , > Colormap >); >extern Colormap XCreateColormap( > Display* , > Window , > Visual* , > int >); >extern Cursor XCreatePixmapCursor( > Display* , > Pixmap , > Pixmap , > XColor* , > XColor* , > unsigned int , > unsigned int >); >extern Cursor XCreateGlyphCursor( > Display* , > Font , > Font , > unsigned int , > unsigned int , > XColor const * , > XColor const * >); >extern Cursor XCreateFontCursor( > Display* , > unsigned int >); >extern Font XLoadFont( > Display* , > const char* >); >extern GC XCreateGC( > Display* , > Drawable , > unsigned long , > XGCValues* >); >extern GContext XGContextFromGC( > GC >); >extern void XFlushGC( > Display* , > GC >); >extern Pixmap XCreatePixmap( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int >); >extern Pixmap XCreateBitmapFromData( > Display* , > Drawable , > const char* , > unsigned int , > unsigned int >); >extern Pixmap XCreatePixmapFromBitmapData( > Display* , > Drawable , > char* , > unsigned int , > unsigned int , > unsigned long , > unsigned long , > unsigned int >); >extern Window XCreateSimpleWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > unsigned long , > unsigned long >); >extern Window XGetSelectionOwner( > Display* , > Atom >); >extern Window XCreateWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > int , > unsigned int , > Visual* , > unsigned long , > XSetWindowAttributes* >); >extern Colormap *XListInstalledColormaps( > Display* , > Window , > int* >); >extern char **XListFonts( > Display* , > const char* , > int , > int* >); >extern char **XListFontsWithInfo( > Display* , > const char* , > int , > int* , > XFontStruct** >); >extern char **XGetFontPath( > Display* , > int* >); >extern char **XListExtensions( > Display* , > int* >); >extern Atom *XListProperties( > Display* , > Window , > int* >); >extern XHostAddress *XListHosts( > Display* , > int* , > int* >); >extern KeySym XKeycodeToKeysym( > Display* , > > > > KeyCode , > > int >); >extern KeySym XLookupKeysym( > XKeyEvent* , > int >); >extern KeySym *XGetKeyboardMapping( > Display* , > > > > KeyCode , > > int , > int* >); >extern KeySym XStringToKeysym( > const char* >); >extern long XMaxRequestSize( > Display* >); >extern long XExtendedMaxRequestSize( > Display* >); >extern char *XResourceManagerString( > Display* >); >extern char *XScreenResourceString( > Screen* >); >extern unsigned long XDisplayMotionBufferSize( > Display* >); >extern VisualID XVisualIDFromVisual( > Visual* >); > > > >extern int XInitThreads( > void >); > >extern void XLockDisplay( > Display* >); > >extern void XUnlockDisplay( > Display* >); > > > >extern XExtCodes *XInitExtension( > Display* , > const char* >); > >extern XExtCodes *XAddExtension( > Display* >); >extern XExtData *XFindOnExtensionList( > XExtData** , > int >); >extern XExtData **XEHeadOfExtensionList( > XEDataObject >); > > >extern Window XRootWindow( > Display* , > int >); >extern Window XDefaultRootWindow( > Display* >); >extern Window XRootWindowOfScreen( > Screen* >); >extern Visual *XDefaultVisual( > Display* , > int >); >extern Visual *XDefaultVisualOfScreen( > Screen* >); >extern GC XDefaultGC( > Display* , > int >); >extern GC XDefaultGCOfScreen( > Screen* >); >extern unsigned long XBlackPixel( > Display* , > int >); >extern unsigned long XWhitePixel( > Display* , > int >); >extern unsigned long XAllPlanes( > void >); >extern unsigned long XBlackPixelOfScreen( > Screen* >); >extern unsigned long XWhitePixelOfScreen( > Screen* >); >extern unsigned long XNextRequest( > Display* >); >extern unsigned long XLastKnownRequestProcessed( > Display* >); >extern char *XServerVendor( > Display* >); >extern char *XDisplayString( > Display* >); >extern Colormap XDefaultColormap( > Display* , > int >); >extern Colormap XDefaultColormapOfScreen( > Screen* >); >extern Display *XDisplayOfScreen( > Screen* >); >extern Screen *XScreenOfDisplay( > Display* , > int >); >extern Screen *XDefaultScreenOfDisplay( > Display* >); >extern long XEventMaskOfScreen( > Screen* >); > >extern int XScreenNumberOfScreen( > Screen* >); > >typedef int (*XErrorHandler) ( > Display* , > XErrorEvent* >); > >extern XErrorHandler XSetErrorHandler ( > XErrorHandler >); > > >typedef int (*XIOErrorHandler) ( > Display* >); > >extern XIOErrorHandler XSetIOErrorHandler ( > XIOErrorHandler >); > > >extern XPixmapFormatValues *XListPixmapFormats( > Display* , > int* >); >extern int *XListDepths( > Display* , > int , > int* >); > > > >extern int XReconfigureWMWindow( > Display* , > Window , > int , > unsigned int , > XWindowChanges* >); > >extern int XGetWMProtocols( > Display* , > Window , > Atom** , > int* >); >extern int XSetWMProtocols( > Display* , > Window , > Atom* , > int >); >extern int XIconifyWindow( > Display* , > Window , > int >); >extern int XWithdrawWindow( > Display* , > Window , > int >); >extern int XGetCommand( > Display* , > Window , > char*** , > int* >); >extern int XGetWMColormapWindows( > Display* , > Window , > Window** , > int* >); >extern int XSetWMColormapWindows( > Display* , > Window , > Window* , > int >); >extern void XFreeStringList( > char** >); >extern int XSetTransientForHint( > Display* , > Window , > Window >); > > > >extern int XActivateScreenSaver( > Display* >); > >extern int XAddHost( > Display* , > XHostAddress* >); > >extern int XAddHosts( > Display* , > XHostAddress* , > int >); > >extern int XAddToExtensionList( > struct _XExtData** , > XExtData* >); > >extern int XAddToSaveSet( > Display* , > Window >); > >extern int XAllocColor( > Display* , > Colormap , > XColor* >); > >extern int XAllocColorCells( > Display* , > Colormap , > int , > unsigned long* , > unsigned int , > unsigned long* , > unsigned int >); > >extern int XAllocColorPlanes( > Display* , > Colormap , > int , > unsigned long* , > int , > int , > int , > int , > unsigned long* , > unsigned long* , > unsigned long* >); > >extern int XAllocNamedColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XAllowEvents( > Display* , > int , > Time >); > >extern int XAutoRepeatOff( > Display* >); > >extern int XAutoRepeatOn( > Display* >); > >extern int XBell( > Display* , > int >); > >extern int XBitmapBitOrder( > Display* >); > >extern int XBitmapPad( > Display* >); > >extern int XBitmapUnit( > Display* >); > >extern int XCellsOfScreen( > Screen* >); > >extern int XChangeActivePointerGrab( > Display* , > unsigned int , > Cursor , > Time >); > >extern int XChangeGC( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XChangeKeyboardControl( > Display* , > unsigned long , > XKeyboardControl* >); > >extern int XChangeKeyboardMapping( > Display* , > int , > int , > KeySym* , > int >); > >extern int XChangePointerControl( > Display* , > int , > int , > int , > int , > int >); > >extern int XChangeProperty( > Display* , > Window , > Atom , > Atom , > int , > int , > const unsigned char* , > int >); > >extern int XChangeSaveSet( > Display* , > Window , > int >); > >extern int XChangeWindowAttributes( > Display* , > Window , > unsigned long , > XSetWindowAttributes* >); > >extern int XCheckIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XCheckMaskEvent( > Display* , > long , > XEvent* >); > >extern int XCheckTypedEvent( > Display* , > int , > XEvent* >); > >extern int XCheckTypedWindowEvent( > Display* , > Window , > int , > XEvent* >); > >extern int XCheckWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XCirculateSubwindows( > Display* , > Window , > int >); > >extern int XCirculateSubwindowsDown( > Display* , > Window >); > >extern int XCirculateSubwindowsUp( > Display* , > Window >); > >extern int XClearArea( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > int >); > >extern int XClearWindow( > Display* , > Window >); > >extern int XCloseDisplay( > Display* >); > >extern int XConfigureWindow( > Display* , > Window , > unsigned int , > XWindowChanges* >); > >extern int XConnectionNumber( > Display* >); > >extern int XConvertSelection( > Display* , > Atom , > Atom , > Atom , > Window , > Time >); > >extern int XCopyArea( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XCopyGC( > Display* , > GC , > unsigned long , > GC >); > >extern int XCopyPlane( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int , > unsigned long >); > >extern int XDefaultDepth( > Display* , > int >); > >extern int XDefaultDepthOfScreen( > Screen* >); > >extern int XDefaultScreen( > Display* >); > >extern int XDefineCursor( > Display* , > Window , > Cursor >); > >extern int XDeleteProperty( > Display* , > Window , > Atom >); > >extern int XDestroyWindow( > Display* , > Window >); > >extern int XDestroySubwindows( > Display* , > Window >); > >extern int XDoesBackingStore( > Screen* >); > >extern int XDoesSaveUnders( > Screen* >); > >extern int XDisableAccessControl( > Display* >); > > >extern int XDisplayCells( > Display* , > int >); > >extern int XDisplayHeight( > Display* , > int >); > >extern int XDisplayHeightMM( > Display* , > int >); > >extern int XDisplayKeycodes( > Display* , > int* , > int* >); > >extern int XDisplayPlanes( > Display* , > int >); > >extern int XDisplayWidth( > Display* , > int >); > >extern int XDisplayWidthMM( > Display* , > int >); > >extern int XDrawArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XDrawArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XDrawImageString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawImageString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawLine( > Display* , > Drawable , > GC , > int , > int , > int , > int >); > >extern int XDrawLines( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawPoint( > Display* , > Drawable , > GC , > int , > int >); > >extern int XDrawPoints( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XDrawRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XDrawSegments( > Display* , > Drawable , > GC , > XSegment* , > int >); > >extern int XDrawString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawText( > Display* , > Drawable , > GC , > int , > int , > XTextItem* , > int >); > >extern int XDrawText16( > Display* , > Drawable , > GC , > int , > int , > XTextItem16* , > int >); > >extern int XEnableAccessControl( > Display* >); > >extern int XEventsQueued( > Display* , > int >); > >extern int XFetchName( > Display* , > Window , > char** >); > >extern int XFillArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XFillArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XFillPolygon( > Display* , > Drawable , > GC , > XPoint* , > int , > int , > int >); > >extern int XFillRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XFillRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XFlush( > Display* >); > >extern int XForceScreenSaver( > Display* , > int >); > >extern int XFree( > void* >); > >extern int XFreeColormap( > Display* , > Colormap >); > >extern int XFreeColors( > Display* , > Colormap , > unsigned long* , > int , > unsigned long >); > >extern int XFreeCursor( > Display* , > Cursor >); > >extern int XFreeExtensionList( > char** >); > >extern int XFreeFont( > Display* , > XFontStruct* >); > >extern int XFreeFontInfo( > char** , > XFontStruct* , > int >); > >extern int XFreeFontNames( > char** >); > >extern int XFreeFontPath( > char** >); > >extern int XFreeGC( > Display* , > GC >); > >extern int XFreeModifiermap( > XModifierKeymap* >); > >extern int XFreePixmap( > Display* , > Pixmap >); > >extern int XGeometry( > Display* , > int , > const char* , > const char* , > unsigned int , > unsigned int , > unsigned int , > int , > int , > int* , > int* , > int* , > int* >); > >extern int XGetErrorDatabaseText( > Display* , > const char* , > const char* , > const char* , > char* , > int >); > >extern int XGetErrorText( > Display* , > int , > char* , > int >); > >extern int XGetFontProperty( > XFontStruct* , > Atom , > unsigned long* >); > >extern int XGetGCValues( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XGetGeometry( > Display* , > Drawable , > Window* , > int* , > int* , > unsigned int* , > unsigned int* , > unsigned int* , > unsigned int* >); > >extern int XGetIconName( > Display* , > Window , > char** >); > >extern int XGetInputFocus( > Display* , > Window* , > int* >); > >extern int XGetKeyboardControl( > Display* , > XKeyboardState* >); > >extern int XGetPointerControl( > Display* , > int* , > int* , > int* >); > >extern int XGetPointerMapping( > Display* , > unsigned char* , > int >); > >extern int XGetScreenSaver( > Display* , > int* , > int* , > int* , > int* >); > >extern int XGetTransientForHint( > Display* , > Window , > Window* >); > >extern int XGetWindowProperty( > Display* , > Window , > Atom , > long , > long , > int , > Atom , > Atom* , > int* , > unsigned long* , > unsigned long* , > unsigned char** >); > >extern int XGetWindowAttributes( > Display* , > Window , > XWindowAttributes* >); > >extern int XGrabButton( > Display* , > unsigned int , > unsigned int , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor >); > >extern int XGrabKey( > Display* , > int , > unsigned int , > Window , > int , > int , > int >); > >extern int XGrabKeyboard( > Display* , > Window , > int , > int , > int , > Time >); > >extern int XGrabPointer( > Display* , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor , > Time >); > >extern int XGrabServer( > Display* >); > >extern int XHeightMMOfScreen( > Screen* >); > >extern int XHeightOfScreen( > Screen* >); > >extern int XIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XImageByteOrder( > Display* >); > >extern int XInstallColormap( > Display* , > Colormap >); > >extern KeyCode XKeysymToKeycode( > Display* , > KeySym >); > >extern int XKillClient( > Display* , > XID >); > >extern int XLookupColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XLowerWindow( > Display* , > Window >); > >extern int XMapRaised( > Display* , > Window >); > >extern int XMapSubwindows( > Display* , > Window >); > >extern int XMapWindow( > Display* , > Window >); > >extern int XMaskEvent( > Display* , > long , > XEvent* >); > >extern int XMaxCmapsOfScreen( > Screen* >); > >extern int XMinCmapsOfScreen( > Screen* >); > >extern int XMoveResizeWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int >); > >extern int XMoveWindow( > Display* , > Window , > int , > int >); > >extern int XNextEvent( > Display* , > XEvent* >); > >extern int XNoOp( > Display* >); > >extern int XParseColor( > Display* , > Colormap , > const char* , > XColor* >); > >extern int XParseGeometry( > const char* , > int* , > int* , > unsigned int* , > unsigned int* >); > >extern int XPeekEvent( > Display* , > XEvent* >); > >extern int XPeekIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XPending( > Display* >); > >extern int XPlanesOfScreen( > Screen* >); > >extern int XProtocolRevision( > Display* >); > >extern int XProtocolVersion( > Display* >); > > >extern int XPutBackEvent( > Display* , > XEvent* >); > >extern int XPutImage( > Display* , > Drawable , > GC , > XImage* , > int , > int , > int , > int , > unsigned int , > unsigned int >); > >extern int XQLength( > Display* >); > >extern int XQueryBestCursor( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestSize( > Display* , > int , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestStipple( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestTile( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryColor( > Display* , > Colormap , > XColor* >); > >extern int XQueryColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XQueryExtension( > Display* , > const char* , > int* , > int* , > int* >); > >extern int XQueryKeymap( > Display* , > char [32] >); > >extern int XQueryPointer( > Display* , > Window , > Window* , > Window* , > int* , > int* , > int* , > int* , > unsigned int* >); > >extern int XQueryTextExtents( > Display* , > XID , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTextExtents16( > Display* , > XID , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTree( > Display* , > Window , > Window* , > Window* , > Window** , > unsigned int* >); > >extern int XRaiseWindow( > Display* , > Window >); > >extern int XReadBitmapFile( > Display* , > Drawable , > const char* , > unsigned int* , > unsigned int* , > Pixmap* , > int* , > int* >); > >extern int XReadBitmapFileData( > const char* , > unsigned int* , > unsigned int* , > unsigned char** , > int* , > int* >); > >extern int XRebindKeysym( > Display* , > KeySym , > KeySym* , > int , > const unsigned char* , > int >); > >extern int XRecolorCursor( > Display* , > Cursor , > XColor* , > XColor* >); > >extern int XRefreshKeyboardMapping( > XMappingEvent* >); > >extern int XRemoveFromSaveSet( > Display* , > Window >); > >extern int XRemoveHost( > Display* , > XHostAddress* >); > >extern int XRemoveHosts( > Display* , > XHostAddress* , > int >); > >extern int XReparentWindow( > Display* , > Window , > Window , > int , > int >); > >extern int XResetScreenSaver( > Display* >); > >extern int XResizeWindow( > Display* , > Window , > unsigned int , > unsigned int >); > >extern int XRestackWindows( > Display* , > Window* , > int >); > >extern int XRotateBuffers( > Display* , > int >); > >extern int XRotateWindowProperties( > Display* , > Window , > Atom* , > int , > int >); > >extern int XScreenCount( > Display* >); > >extern int XSelectInput( > Display* , > Window , > long >); > >extern int XSendEvent( > Display* , > Window , > int , > long , > XEvent* >); > >extern int XSetAccessControl( > Display* , > int >); > >extern int XSetArcMode( > Display* , > GC , > int >); > >extern int XSetBackground( > Display* , > GC , > unsigned long >); > >extern int XSetClipMask( > Display* , > GC , > Pixmap >); > >extern int XSetClipOrigin( > Display* , > GC , > int , > int >); > >extern int XSetClipRectangles( > Display* , > GC , > int , > int , > XRectangle* , > int , > int >); > >extern int XSetCloseDownMode( > Display* , > int >); > >extern int XSetCommand( > Display* , > Window , > char** , > int >); > >extern int XSetDashes( > Display* , > GC , > int , > const char* , > int >); > >extern int XSetFillRule( > Display* , > GC , > int >); > >extern int XSetFillStyle( > Display* , > GC , > int >); > >extern int XSetFont( > Display* , > GC , > Font >); > >extern int XSetFontPath( > Display* , > char** , > int >); > >extern int XSetForeground( > Display* , > GC , > unsigned long >); > >extern int XSetFunction( > Display* , > GC , > int >); > >extern int XSetGraphicsExposures( > Display* , > GC , > int >); > >extern int XSetIconName( > Display* , > Window , > const char* >); > >extern int XSetInputFocus( > Display* , > Window , > int , > Time >); > >extern int XSetLineAttributes( > Display* , > GC , > unsigned int , > int , > int , > int >); > >extern int XSetModifierMapping( > Display* , > XModifierKeymap* >); > >extern int XSetPlaneMask( > Display* , > GC , > unsigned long >); > >extern int XSetPointerMapping( > Display* , > const unsigned char* , > int >); > >extern int XSetScreenSaver( > Display* , > int , > int , > int , > int >); > >extern int XSetSelectionOwner( > Display* , > Atom , > Window , > Time >); > >extern int XSetState( > Display* , > GC , > unsigned long , > unsigned long , > int , > unsigned long >); > >extern int XSetStipple( > Display* , > GC , > Pixmap >); > >extern int XSetSubwindowMode( > Display* , > GC , > int >); > >extern int XSetTSOrigin( > Display* , > GC , > int , > int >); > >extern int XSetTile( > Display* , > GC , > Pixmap >); > >extern int XSetWindowBackground( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBackgroundPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorder( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBorderPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorderWidth( > Display* , > Window , > unsigned int >); > >extern int XSetWindowColormap( > Display* , > Window , > Colormap >); > >extern int XStoreBuffer( > Display* , > const char* , > int , > int >); > >extern int XStoreBytes( > Display* , > const char* , > int >); > >extern int XStoreColor( > Display* , > Colormap , > XColor* >); > >extern int XStoreColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XStoreName( > Display* , > Window , > const char* >); > >extern int XStoreNamedColor( > Display* , > Colormap , > const char* , > unsigned long , > int >); > >extern int XSync( > Display* , > int >); > >extern int XTextExtents( > XFontStruct* , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextExtents16( > XFontStruct* , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextWidth( > XFontStruct* , > const char* , > int >); > >extern int XTextWidth16( > XFontStruct* , > const XChar2b* , > int >); > >extern int XTranslateCoordinates( > Display* , > Window , > Window , > int , > int , > int* , > int* , > Window* >); > >extern int XUndefineCursor( > Display* , > Window >); > >extern int XUngrabButton( > Display* , > unsigned int , > unsigned int , > Window >); > >extern int XUngrabKey( > Display* , > int , > unsigned int , > Window >); > >extern int XUngrabKeyboard( > Display* , > Time >); > >extern int XUngrabPointer( > Display* , > Time >); > >extern int XUngrabServer( > Display* >); > >extern int XUninstallColormap( > Display* , > Colormap >); > >extern int XUnloadFont( > Display* , > Font >); > >extern int XUnmapSubwindows( > Display* , > Window >); > >extern int XUnmapWindow( > Display* , > Window >); > >extern int XVendorRelease( > Display* >); > >extern int XWarpPointer( > Display* , > Window , > Window , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XWidthMMOfScreen( > Screen* >); > >extern int XWidthOfScreen( > Screen* >); > >extern int XWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XWriteBitmapFile( > Display* , > const char* , > Pixmap , > unsigned int , > unsigned int , > int , > int >); > >extern int XSupportsLocale (void); > >extern char *XSetLocaleModifiers( > const char* >); > >extern XOM XOpenOM( > Display* , > struct _XrmHashBucketRec* , > const char* , > const char* >); > >extern int XCloseOM( > XOM >); > >extern char *XSetOMValues( > XOM , > ... >) ; > >extern char *XGetOMValues( > XOM , > ... >) ; > >extern Display *XDisplayOfOM( > XOM >); > >extern char *XLocaleOfOM( > XOM >); > >extern XOC XCreateOC( > XOM , > ... >) ; > >extern void XDestroyOC( > XOC >); > >extern XOM XOMOfOC( > XOC >); > >extern char *XSetOCValues( > XOC , > ... >) ; > >extern char *XGetOCValues( > XOC , > ... >) ; > >extern XFontSet XCreateFontSet( > Display* , > const char* , > char*** , > int* , > char** >); > >extern void XFreeFontSet( > Display* , > XFontSet >); > >extern int XFontsOfFontSet( > XFontSet , > XFontStruct*** , > char*** >); > >extern char *XBaseFontNameListOfFontSet( > XFontSet >); > >extern char *XLocaleOfFontSet( > XFontSet >); > >extern int XContextDependentDrawing( > XFontSet >); > >extern int XDirectionalDependentDrawing( > XFontSet >); > >extern int XContextualDrawing( > XFontSet >); > >extern XFontSetExtents *XExtentsOfFontSet( > XFontSet >); > >extern int XmbTextEscapement( > XFontSet , > const char* , > int >); > >extern int XwcTextEscapement( > XFontSet , > const wchar_t* , > int >); > >extern int Xutf8TextEscapement( > XFontSet , > const char* , > int >); > >extern int XmbTextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XwcTextExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XmbTextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int XwcTextPerCharExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern void XmbDrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XwcDrawText( > Display* , > Drawable , > GC , > int , > int , > XwcTextItem* , > int >); > >extern void Xutf8DrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XmbDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XmbDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern XIM XOpenIM( > Display* , > struct _XrmHashBucketRec* , > char* , > char* >); > >extern int XCloseIM( > XIM >); > >extern char *XGetIMValues( > XIM , ... >) ; > >extern char *XSetIMValues( > XIM , ... >) ; > >extern Display *XDisplayOfIM( > XIM >); > >extern char *XLocaleOfIM( > XIM >); > >extern XIC XCreateIC( > XIM , ... >) ; > >extern void XDestroyIC( > XIC >); > >extern void XSetICFocus( > XIC >); > >extern void XUnsetICFocus( > XIC >); > >extern wchar_t *XwcResetIC( > XIC >); > >extern char *XmbResetIC( > XIC >); > >extern char *Xutf8ResetIC( > XIC >); > >extern char *XSetICValues( > XIC , ... >) ; > >extern char *XGetICValues( > XIC , ... >) ; > >extern XIM XIMOfIC( > XIC >); > >extern int XFilterEvent( > XEvent* , > Window >); > >extern int XmbLookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern int XwcLookupString( > XIC , > XKeyPressedEvent* , > wchar_t* , > int , > KeySym* , > int* >); > >extern int Xutf8LookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern XVaNestedList XVaCreateNestedList( > int , ... >) ; > > > >extern int XRegisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >extern int XUnregisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >typedef void (*XConnectionWatchProc)( > Display* , > XPointer , > int , > int , > XPointer* >); > > >extern int XInternalConnectionNumbers( > Display* , > int** , > int* >); > >extern void XProcessInternalConnection( > Display* , > int >); > >extern int XAddConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XRemoveConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XSetAuthorization( > char * , > int , > char * , > int >); > >extern int _Xmbtowc( > wchar_t * , > > > > > char * , > int > >); > >extern int _Xwctomb( > char * , > wchar_t >); > > ># 52 "xcompositeint.h" 2 ># 1 "/usr/include/X11/Xlibint.h" 1 3 4 ># 33 "/usr/include/X11/Xlibint.h" 3 4 >#define _XLIBINT_H_ 1 ># 44 "/usr/include/X11/Xlibint.h" 3 4 ># 1 "/usr/include/X11/Xproto.h" 1 3 4 ># 27 "/usr/include/X11/Xproto.h" 3 4 >#define XPROTO_H ># 76 "/usr/include/X11/Xproto.h" 3 4 ># 1 "/usr/include/X11/Xmd.h" 1 3 4 ># 49 "/usr/include/X11/Xmd.h" 3 4 >#define XMD_H 1 ># 70 "/usr/include/X11/Xmd.h" 3 4 >#define LONG64 ># 97 "/usr/include/X11/Xmd.h" 3 4 >#define _SIZEOF(x) sz_ ##x >#define SIZEOF(x) _SIZEOF(x) ># 126 "/usr/include/X11/Xmd.h" 3 4 >#define B32 >#define B16 > >typedef long INT64; >typedef int INT32; > > > >typedef short INT16; > > > >typedef signed char INT8; > > > > > >typedef unsigned long CARD64; >typedef unsigned int CARD32; > > > >typedef unsigned short CARD16; >typedef unsigned char CARD8; > >typedef CARD32 BITS32; >typedef CARD16 BITS16; > > >typedef CARD8 BYTE; >typedef CARD8 BOOL; ># 177 "/usr/include/X11/Xmd.h" 3 4 >#define cvtINT8toInt(val) (val) >#define cvtINT16toInt(val) (val) >#define cvtINT32toInt(val) (val) >#define cvtINT8toShort(val) (val) >#define cvtINT16toShort(val) (val) >#define cvtINT32toShort(val) (val) >#define cvtINT8toLong(val) (val) >#define cvtINT16toLong(val) (val) >#define cvtINT32toLong(val) (val) ># 200 "/usr/include/X11/Xmd.h" 3 4 >#define NEXTPTR(p,t) (((t *)(p)) + 1) ># 77 "/usr/include/X11/Xproto.h" 2 3 4 ># 1 "/usr/include/X11/Xprotostr.h" 1 3 4 > > >#define XPROTOSTRUCTS_H ># 55 "/usr/include/X11/Xprotostr.h" 3 4 >typedef struct _xSegment { > INT16 x1 , y1 , x2 , y2 ; >} xSegment; > > > >typedef struct _xPoint { > INT16 x , y ; >} xPoint; > >typedef struct _xRectangle { > INT16 x , y ; > CARD16 width , height ; >} xRectangle; > > > >typedef struct _xArc { > INT16 x , y ; > CARD16 width , height ; > INT16 angle1 , angle2 ; >} xArc; ># 78 "/usr/include/X11/Xproto.h" 2 3 4 > > > > > > >#define sz_xSegment 8 >#define sz_xPoint 4 >#define sz_xRectangle 8 >#define sz_xArc 12 >#define sz_xConnClientPrefix 12 >#define sz_xConnSetupPrefix 8 >#define sz_xConnSetup 32 >#define sz_xPixmapFormat 8 >#define sz_xDepth 8 >#define sz_xVisualType 24 >#define sz_xWindowRoot 40 >#define sz_xTimecoord 8 >#define sz_xHostEntry 4 >#define sz_xCharInfo 12 >#define sz_xFontProp 8 >#define sz_xTextElt 2 >#define sz_xColorItem 12 >#define sz_xrgb 8 >#define sz_xGenericReply 32 >#define sz_xGetWindowAttributesReply 44 >#define sz_xGetGeometryReply 32 >#define sz_xQueryTreeReply 32 >#define sz_xInternAtomReply 32 >#define sz_xGetAtomNameReply 32 >#define sz_xGetPropertyReply 32 >#define sz_xListPropertiesReply 32 >#define sz_xGetSelectionOwnerReply 32 >#define sz_xGrabPointerReply 32 >#define sz_xQueryPointerReply 32 >#define sz_xGetMotionEventsReply 32 >#define sz_xTranslateCoordsReply 32 >#define sz_xGetInputFocusReply 32 >#define sz_xQueryKeymapReply 40 >#define sz_xQueryFontReply 60 >#define sz_xQueryTextExtentsReply 32 >#define sz_xListFontsReply 32 >#define sz_xGetFontPathReply 32 >#define sz_xGetImageReply 32 >#define sz_xListInstalledColormapsReply 32 >#define sz_xAllocColorReply 32 >#define sz_xAllocNamedColorReply 32 >#define sz_xAllocColorCellsReply 32 >#define sz_xAllocColorPlanesReply 32 >#define sz_xQueryColorsReply 32 >#define sz_xLookupColorReply 32 >#define sz_xQueryBestSizeReply 32 >#define sz_xQueryExtensionReply 32 >#define sz_xListExtensionsReply 32 >#define sz_xSetMappingReply 32 >#define sz_xGetKeyboardControlReply 52 >#define sz_xGetPointerControlReply 32 >#define sz_xGetScreenSaverReply 32 >#define sz_xListHostsReply 32 >#define sz_xSetModifierMappingReply 32 >#define sz_xError 32 >#define sz_xEvent 32 >#define sz_xKeymapEvent 32 >#define sz_xReq 4 >#define sz_xResourceReq 8 >#define sz_xCreateWindowReq 32 >#define sz_xChangeWindowAttributesReq 12 >#define sz_xChangeSaveSetReq 8 >#define sz_xReparentWindowReq 16 >#define sz_xConfigureWindowReq 12 >#define sz_xCirculateWindowReq 8 >#define sz_xInternAtomReq 8 >#define sz_xChangePropertyReq 24 >#define sz_xDeletePropertyReq 12 >#define sz_xGetPropertyReq 24 >#define sz_xSetSelectionOwnerReq 16 >#define sz_xConvertSelectionReq 24 >#define sz_xSendEventReq 44 >#define sz_xGrabPointerReq 24 >#define sz_xGrabButtonReq 24 >#define sz_xUngrabButtonReq 12 >#define sz_xChangeActivePointerGrabReq 16 >#define sz_xGrabKeyboardReq 16 >#define sz_xGrabKeyReq 16 >#define sz_xUngrabKeyReq 12 >#define sz_xAllowEventsReq 8 >#define sz_xGetMotionEventsReq 16 >#define sz_xTranslateCoordsReq 16 >#define sz_xWarpPointerReq 24 >#define sz_xSetInputFocusReq 12 >#define sz_xOpenFontReq 12 >#define sz_xQueryTextExtentsReq 8 >#define sz_xListFontsReq 8 >#define sz_xSetFontPathReq 8 >#define sz_xCreatePixmapReq 16 >#define sz_xCreateGCReq 16 >#define sz_xChangeGCReq 12 >#define sz_xCopyGCReq 16 >#define sz_xSetDashesReq 12 >#define sz_xSetClipRectanglesReq 12 >#define sz_xCopyAreaReq 28 >#define sz_xCopyPlaneReq 32 >#define sz_xPolyPointReq 12 >#define sz_xPolySegmentReq 12 >#define sz_xFillPolyReq 16 >#define sz_xPutImageReq 24 >#define sz_xGetImageReq 20 >#define sz_xPolyTextReq 16 >#define sz_xImageTextReq 16 >#define sz_xCreateColormapReq 16 >#define sz_xCopyColormapAndFreeReq 12 >#define sz_xAllocColorReq 16 >#define sz_xAllocNamedColorReq 12 >#define sz_xAllocColorCellsReq 12 >#define sz_xAllocColorPlanesReq 16 >#define sz_xFreeColorsReq 12 >#define sz_xStoreColorsReq 8 >#define sz_xStoreNamedColorReq 16 >#define sz_xQueryColorsReq 8 >#define sz_xLookupColorReq 12 >#define sz_xCreateCursorReq 32 >#define sz_xCreateGlyphCursorReq 32 >#define sz_xRecolorCursorReq 20 >#define sz_xQueryBestSizeReq 12 >#define sz_xQueryExtensionReq 8 >#define sz_xChangeKeyboardControlReq 8 >#define sz_xBellReq 4 >#define sz_xChangePointerControlReq 12 >#define sz_xSetScreenSaverReq 12 >#define sz_xChangeHostsReq 8 >#define sz_xListHostsReq 4 >#define sz_xChangeModeReq 4 >#define sz_xRotatePropertiesReq 12 >#define sz_xReply 32 >#define sz_xGrabKeyboardReply 32 >#define sz_xListFontsWithInfoReply 60 >#define sz_xSetPointerMappingReply 32 >#define sz_xGetKeyboardMappingReply 32 >#define sz_xGetPointerMappingReply 32 >#define sz_xGetModifierMappingReply 32 >#define sz_xListFontsWithInfoReq 8 >#define sz_xPolyLineReq 12 >#define sz_xPolyArcReq 12 >#define sz_xPolyRectangleReq 12 >#define sz_xPolyFillRectangleReq 12 >#define sz_xPolyFillArcReq 12 >#define sz_xPolyText8Req 16 >#define sz_xPolyText16Req 16 >#define sz_xImageText8Req 16 >#define sz_xImageText16Req 16 >#define sz_xSetPointerMappingReq 4 >#define sz_xForceScreenSaverReq 4 >#define sz_xSetCloseDownModeReq 4 >#define sz_xClearAreaReq 16 >#define sz_xSetAccessControlReq 4 >#define sz_xGetKeyboardMappingReq 8 >#define sz_xSetModifierMappingReq 4 >#define sz_xPropIconSize 24 >#define sz_xChangeKeyboardMappingReq 8 > > > > > > > >#define Window CARD32 >#define Drawable CARD32 >#define Font CARD32 >#define Pixmap CARD32 >#define Cursor CARD32 >#define Colormap CARD32 >#define GContext CARD32 >#define Atom CARD32 >#define VisualID CARD32 >#define Time CARD32 >#define KeyCode CARD8 >#define KeySym CARD32 > >#define X_TCP_PORT 6000 > >#define xTrue 1 >#define xFalse 0 > > >typedef CARD16 KeyButMask; > > > > > > >typedef struct { > CARD8 byteOrder; > BYTE pad; > CARD16 majorVersion , minorVersion ; > CARD16 nbytesAuthProto ; > CARD16 nbytesAuthString ; > CARD16 pad2 ; >} xConnClientPrefix; > >typedef struct { > CARD8 success; > BYTE lengthReason; > CARD16 majorVersion , > minorVersion ; > CARD16 length ; >} xConnSetupPrefix; > > >typedef struct { > CARD32 release ; > CARD32 ridBase , > ridMask ; > CARD32 motionBufferSize ; > CARD16 nbytesVendor ; > CARD16 maxRequestSize ; > CARD8 numRoots; > CARD8 numFormats; > CARD8 imageByteOrder; > CARD8 bitmapBitOrder; > CARD8 bitmapScanlineUnit, > bitmapScanlinePad; > CARD8 minKeyCode, maxKeyCode; > CARD32 pad2 ; >} xConnSetup; > >typedef struct { > CARD8 depth; > CARD8 bitsPerPixel; > CARD8 scanLinePad; > CARD8 pad1; > CARD32 pad2 ; >} xPixmapFormat; > > > >typedef struct { > CARD8 depth; > CARD8 pad1; > CARD16 nVisuals ; > CARD32 pad2 ; > } xDepth; > >typedef struct { > CARD32 visualID ; > > > > CARD8 class; > > CARD8 bitsPerRGB; > CARD16 colormapEntries ; > CARD32 redMask , greenMask , blueMask ; > CARD32 pad ; > } xVisualType; > >typedef struct { > CARD32 windowId ; > CARD32 defaultColormap ; > CARD32 whitePixel , blackPixel ; > CARD32 currentInputMask ; > CARD16 pixWidth , pixHeight ; > CARD16 mmWidth , mmHeight ; > CARD16 minInstalledMaps , maxInstalledMaps ; > CARD32 rootVisualID ; > CARD8 backingStore; > BOOL saveUnders; > CARD8 rootDepth; > CARD8 nDepths; >} xWindowRoot; ># 358 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > CARD32 time ; > INT16 x , y ; >} xTimecoord; > >typedef struct { > CARD8 family; > BYTE pad; > CARD16 length ; >} xHostEntry; > >typedef struct { > INT16 leftSideBearing , > rightSideBearing , > characterWidth , > ascent , > descent ; > CARD16 attributes ; >} xCharInfo; > >typedef struct { > CARD32 name ; > CARD32 value ; >} xFontProp; > > > > >typedef struct { > CARD8 len; > > INT8 delta; >} xTextElt; > > >typedef struct { > CARD32 pixel ; > CARD16 red , green , blue ; > CARD8 flags; > CARD8 pad; >} xColorItem; > > >typedef struct { > CARD16 red , green , blue , pad ; >} xrgb; > >typedef CARD8 KEYCODE; ># 416 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > BYTE type; > BYTE data1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 data00 ; > CARD32 data01 ; > CARD32 data02 ; > CARD32 data03 ; > CARD32 data04 ; > CARD32 data05 ; > } xGenericReply; > > > >typedef struct { > BYTE type; > CARD8 backingStore; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 visualID ; > > > > CARD16 class ; > > CARD8 bitGravity; > CARD8 winGravity; > CARD32 backingBitPlanes ; > CARD32 backingPixel ; > BOOL saveUnder; > BOOL mapInstalled; > CARD8 mapState; > BOOL override; > CARD32 colormap ; > CARD32 allEventMasks ; > CARD32 yourEventMask ; > CARD16 doNotPropagateMask ; > CARD16 pad ; > } xGetWindowAttributesReply; > >typedef struct { > BYTE type; > CARD8 depth; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 root ; > INT16 x , y ; > CARD16 width , height ; > CARD16 borderWidth ; > CARD16 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > } xGetGeometryReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 root , parent ; > CARD16 nChildren ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xQueryTreeReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 atom ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xInternAtomReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nameLength ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetAtomNameReply; > >typedef struct { > BYTE type; > CARD8 format; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 propertyType ; > CARD32 bytesAfter ; > CARD32 nItems ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > } xGetPropertyReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nProperties ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListPropertiesReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 owner ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetSelectionOwnerReply; > >typedef struct { > BYTE type; > BYTE status; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGrabPointerReply; > >typedef xGrabPointerReply xGrabKeyboardReply; > >typedef struct { > BYTE type; > BOOL sameScreen; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 root , child ; > INT16 rootX , rootY , winX , winY ; > CARD16 mask ; > CARD16 pad1 ; > CARD32 pad ; > } xQueryPointerReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 nEvents ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetMotionEventsReply; > >typedef struct { > BYTE type; > BOOL sameScreen; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 child ; > INT16 dstX , dstY ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xTranslateCoordsReply; > >typedef struct { > BYTE type; > CARD8 revertTo; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 focus ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xGetInputFocusReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > BYTE map[32]; > } xQueryKeymapReply; > > >typedef struct _xQueryFontReply { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > xCharInfo minBounds; > > CARD32 walign1 ; > > xCharInfo maxBounds; > > CARD32 walign2 ; > > CARD16 minCharOrByte2 , maxCharOrByte2 ; > CARD16 defaultChar ; > CARD16 nFontProps ; > CARD8 drawDirection; > CARD8 minByte1, maxByte1; > BOOL allCharsExist; > INT16 fontAscent , fontDescent ; > CARD32 nCharInfos ; >} xQueryFontReply; > >typedef struct { > BYTE type; > CARD8 drawDirection; > CARD16 sequenceNumber ; > CARD32 length ; > INT16 fontAscent , fontDescent ; > INT16 overallAscent , overallDescent ; > INT32 overallWidth , overallLeft , overallRight ; > CARD32 pad ; > } xQueryTextExtentsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nFonts ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListFontsReply; > > >typedef struct { > BYTE type; > CARD8 nameLength; > CARD16 sequenceNumber ; > CARD32 length ; > xCharInfo minBounds; > > CARD32 walign1 ; > > xCharInfo maxBounds; > > CARD32 walign2 ; > > CARD16 minCharOrByte2 , maxCharOrByte2 ; > CARD16 defaultChar ; > CARD16 nFontProps ; > CARD8 drawDirection; > CARD8 minByte1, maxByte1; > BOOL allCharsExist; > INT16 fontAscent , fontDescent ; > CARD32 nReplies ; >} xListFontsWithInfoReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nPaths ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetFontPathReply; > >typedef struct { > BYTE type; > CARD8 depth; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 visual ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetImageReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nColormaps ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListInstalledColormapsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 red , green , blue ; > CARD16 pad2 ; > CARD32 pixel ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xAllocColorReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pixel ; > CARD16 exactRed , exactGreen , exactBlue ; > CARD16 screenRed , screenGreen , screenBlue ; > CARD32 pad2 ; > CARD32 pad3 ; > } xAllocNamedColorReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nPixels , nMasks ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xAllocColorCellsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nPixels ; > CARD16 pad2 ; > CARD32 redMask , greenMask , blueMask ; > CARD32 pad3 ; > CARD32 pad4 ; > } xAllocColorPlanesReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nColors ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xQueryColorsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 exactRed , exactGreen , exactBlue ; > CARD16 screenRed , screenGreen , screenBlue ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xLookupColorReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 width , height ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xQueryBestSizeReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > BOOL present; > CARD8 major_opcode; > CARD8 first_event; > CARD8 first_error; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xQueryExtensionReply; > >typedef struct { > BYTE type; > CARD8 nExtensions; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListExtensionsReply; > > >typedef struct { > BYTE type; > CARD8 success; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xSetMappingReply; >typedef xSetMappingReply xSetPointerMappingReply; >typedef xSetMappingReply xSetModifierMappingReply; > >typedef struct { > BYTE type; > CARD8 nElts; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetPointerMappingReply; > >typedef struct { > BYTE type; > CARD8 keySymsPerKeyCode; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; >} xGetKeyboardMappingReply; > >typedef struct { > BYTE type; > CARD8 numKeyPerModifier; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; >} xGetModifierMappingReply; > >typedef struct { > BYTE type; > BOOL globalAutoRepeat; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 ledMask ; > CARD8 keyClickPercent, bellPercent; > CARD16 bellPitch , bellDuration ; > CARD16 pad ; > BYTE map[32]; > } xGetKeyboardControlReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 accelNumerator , accelDenominator ; > CARD16 threshold ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetPointerControlReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 timeout , interval ; > BOOL preferBlanking; > BOOL allowExposures; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetScreenSaverReply; > >typedef struct { > BYTE type; > BOOL enabled; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nHosts ; > CARD16 pad1 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListHostsReply; ># 975 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > BYTE type; > BYTE errorCode; > CARD16 sequenceNumber ; > CARD32 resourceID ; > CARD16 minorCode ; > CARD8 majorCode; > BYTE pad1; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; >} xError; > > > > > > >typedef struct _xEvent { > union { > struct { > BYTE type; > BYTE detail; > CARD16 sequenceNumber ; > } u; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 root , event , child ; > INT16 rootX , rootY , eventX , eventY ; > KeyButMask state ; > BOOL sameScreen; > BYTE pad1; > } keyButtonPointer; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 root , event , child ; > INT16 rootX , rootY , eventX , eventY ; > KeyButMask state ; > BYTE mode; > BYTE flags; >#define ELFlagFocus (1<<0) >#define ELFlagSameScreen (1<<1) > } enterLeave; > struct { > CARD32 pad00 ; > CARD32 window ; > BYTE mode; > BYTE pad1, pad2, pad3; > } focus; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD16 x , y , width , height ; > CARD16 count ; > CARD16 pad2 ; > } expose; > struct { > CARD32 pad00 ; > CARD32 drawable ; > CARD16 x , y , width , height ; > CARD16 minorEvent ; > CARD16 count ; > BYTE majorEvent; > BYTE pad1, pad2, pad3; > } graphicsExposure; > struct { > CARD32 pad00 ; > CARD32 drawable ; > CARD16 minorEvent ; > BYTE majorEvent; > BYTE bpad; > } noExposure; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD8 state; > BYTE pad1, pad2, pad3; > } visibility; > struct { > CARD32 pad00 ; > CARD32 parent , window ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > BOOL override; > BYTE bpad; > } createNotify; ># 1073 "/usr/include/X11/Xproto.h" 3 4 > struct { > CARD32 pad00 ; > CARD32 event , window ; > } destroyNotify; > struct { > CARD32 pad00 ; > CARD32 event , window ; > BOOL fromConfigure; > BYTE pad1, pad2, pad3; > } unmapNotify; > struct { > CARD32 pad00 ; > CARD32 event , window ; > BOOL override; > BYTE pad1, pad2, pad3; > } mapNotify; > struct { > CARD32 pad00 ; > CARD32 parent , window ; > } mapRequest; > struct { > CARD32 pad00 ; > CARD32 event , window , parent ; > INT16 x , y ; > BOOL override; > BYTE pad1, pad2, pad3; > } reparent; > struct { > CARD32 pad00 ; > CARD32 event , window , aboveSibling ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > BOOL override; > BYTE bpad; > } configureNotify; > struct { > CARD32 pad00 ; > CARD32 parent , window , sibling ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > CARD16 valueMask ; > CARD32 pad1 ; > } configureRequest; > struct { > CARD32 pad00 ; > CARD32 event , window ; > INT16 x , y ; > CARD32 pad1 , pad2 , pad3 , pad4 ; > } gravity; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD16 width , height ; > } resizeRequest; > struct { > > > CARD32 pad00 ; > CARD32 event , window , parent ; > BYTE place; > BYTE pad1, pad2, pad3; > } circulate; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD32 atom ; > CARD32 time ; > BYTE state; > BYTE pad1; > CARD16 pad2 ; > } property; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 window ; > CARD32 atom ; > } selectionClear; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 owner , requestor ; > CARD32 selection , target , property ; > } selectionRequest; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 requestor ; > CARD32 selection , target , property ; > } selectionNotify; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD32 colormap ; > > > > BOOL new; > > BYTE state; > BYTE pad1, pad2; > } colormap; > struct { > CARD32 pad00 ; > CARD8 request; > CARD8 firstKeyCode; > CARD8 count; > BYTE pad1; > } mappingNotify; > struct { > CARD32 pad00 ; > CARD32 window ; > union { > struct { > CARD32 type ; > INT32 longs0 ; > INT32 longs1 ; > INT32 longs2 ; > INT32 longs3 ; > INT32 longs4 ; > } l; > struct { > CARD32 type ; > INT16 shorts0 ; > INT16 shorts1 ; > INT16 shorts2 ; > INT16 shorts3 ; > INT16 shorts4 ; > INT16 shorts5 ; > INT16 shorts6 ; > INT16 shorts7 ; > INT16 shorts8 ; > INT16 shorts9 ; > } s; > struct { > CARD32 type ; > INT8 bytes[20]; > } b; > } u; > } clientMessage; > } u; >} xEvent; > > > > > >typedef struct { > BYTE type; > BYTE map[31]; > } xKeymapEvent; > >#define XEventSize (sizeof(xEvent)) > > > > > > >typedef union { > xGenericReply generic; > xGetGeometryReply geom; > xQueryTreeReply tree; > xInternAtomReply atom; > xGetAtomNameReply atomName; > xGetPropertyReply property; > xListPropertiesReply listProperties; > xGetSelectionOwnerReply selection; > xGrabPointerReply grabPointer; > xGrabKeyboardReply grabKeyboard; > xQueryPointerReply pointer; > xGetMotionEventsReply motionEvents; > xTranslateCoordsReply coords; > xGetInputFocusReply inputFocus; > xQueryTextExtentsReply textExtents; > xListFontsReply fonts; > xGetFontPathReply fontPath; > xGetImageReply image; > xListInstalledColormapsReply colormaps; > xAllocColorReply allocColor; > xAllocNamedColorReply allocNamedColor; > xAllocColorCellsReply colorCells; > xAllocColorPlanesReply colorPlanes; > xQueryColorsReply colors; > xLookupColorReply lookupColor; > xQueryBestSizeReply bestSize; > xQueryExtensionReply extension; > xListExtensionsReply extensions; > xSetModifierMappingReply setModifierMapping; > xGetModifierMappingReply getModifierMapping; > xSetPointerMappingReply setPointerMapping; > xGetKeyboardMappingReply getKeyboardMapping; > xGetPointerMappingReply getPointerMapping; > xGetPointerControlReply pointerControl; > xGetScreenSaverReply screenSaver; > xListHostsReply hosts; > xError error; > xEvent event; >} xReply; ># 1281 "/usr/include/X11/Xproto.h" 3 4 >typedef struct _xReq { > CARD8 reqType; > CARD8 data; > CARD16 length ; > >} xReq; ># 1295 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 id ; > } xResourceReq; > >typedef struct { > CARD8 reqType; > CARD8 depth; > CARD16 length ; > CARD32 wid , parent ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > > > > CARD16 class ; > > CARD32 visual ; > CARD32 mask ; >} xCreateWindowReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 valueMask ; >} xChangeWindowAttributesReq; > >typedef struct { > CARD8 reqType; > BYTE mode; > CARD16 length ; > CARD32 window ; >} xChangeSaveSetReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window , parent ; > INT16 x , y ; >} xReparentWindowReq; > >typedef struct { > CARD8 reqType; > CARD8 pad; > CARD16 length ; > CARD32 window ; > CARD16 mask ; > CARD16 pad2 ; >} xConfigureWindowReq; > >typedef struct { > CARD8 reqType; > CARD8 direction; > CARD16 length ; > CARD32 window ; >} xCirculateWindowReq; > >typedef struct { > CARD8 reqType; > BOOL onlyIfExists; > CARD16 length ; > CARD16 nbytes ; > CARD16 pad ; >} xInternAtomReq; > >typedef struct { > CARD8 reqType; > CARD8 mode; > CARD16 length ; > CARD32 window ; > CARD32 property , type ; > CARD8 format; > BYTE pad[3]; > CARD32 nUnits ; >} xChangePropertyReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 property ; >} xDeletePropertyReq; > >typedef struct { > CARD8 reqType; > > > > BOOL delete; > > CARD16 length ; > CARD32 window ; > CARD32 property , type ; > CARD32 longOffset ; > CARD32 longLength ; >} xGetPropertyReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 selection ; > CARD32 time ; >} xSetSelectionOwnerReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 requestor ; > CARD32 selection , target , property ; > CARD32 time ; > } xConvertSelectionReq; > >typedef struct { > CARD8 reqType; > BOOL propagate; > CARD16 length ; > CARD32 destination ; > CARD32 eventMask ; > > > > > xEvent event; > >} xSendEventReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD16 eventMask ; > BYTE pointerMode, keyboardMode; > CARD32 confineTo ; > CARD32 cursor ; > CARD32 time ; >} xGrabPointerReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD16 eventMask ; > BYTE pointerMode, keyboardMode; > CARD32 confineTo ; > CARD32 cursor ; > CARD8 button; > BYTE pad; > CARD16 modifiers ; >} xGrabButtonReq; > >typedef struct { > CARD8 reqType; > CARD8 button; > CARD16 length ; > CARD32 grabWindow ; > CARD16 modifiers ; > CARD16 pad ; >} xUngrabButtonReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cursor ; > CARD32 time ; > CARD16 eventMask ; > CARD16 pad2 ; >} xChangeActivePointerGrabReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD32 time ; > BYTE pointerMode, keyboardMode; > CARD16 pad ; >} xGrabKeyboardReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD16 modifiers ; > CARD8 key; > BYTE pointerMode, keyboardMode; > BYTE pad1, pad2, pad3; >} xGrabKeyReq; > >typedef struct { > CARD8 reqType; > CARD8 key; > CARD16 length ; > CARD32 grabWindow ; > CARD16 modifiers ; > CARD16 pad ; >} xUngrabKeyReq; > >typedef struct { > CARD8 reqType; > CARD8 mode; > CARD16 length ; > CARD32 time ; >} xAllowEventsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 start , stop ; >} xGetMotionEventsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcWid , dstWid ; > INT16 srcX , srcY ; >} xTranslateCoordsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcWid , dstWid ; > INT16 srcX , srcY ; > CARD16 srcWidth , srcHeight ; > INT16 dstX , dstY ; >} xWarpPointerReq; > >typedef struct { > CARD8 reqType; > CARD8 revertTo; > CARD16 length ; > CARD32 focus ; > CARD32 time ; >} xSetInputFocusReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 fid ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xOpenFontReq; > >typedef struct { > CARD8 reqType; > BOOL oddLength; > CARD16 length ; > CARD32 fid ; > } xQueryTextExtentsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD16 maxNames ; > CARD16 nbytes ; >} xListFontsReq; > >typedef xListFontsReq xListFontsWithInfoReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD16 nFonts ; > BYTE pad1, pad2; >} xSetFontPathReq; > >typedef struct { > CARD8 reqType; > CARD8 depth; > CARD16 length ; > CARD32 pid ; > CARD32 drawable ; > CARD16 width , height ; >} xCreatePixmapReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 gc ; > CARD32 drawable ; > CARD32 mask ; >} xCreateGCReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 gc ; > CARD32 mask ; >} xChangeGCReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcGC , dstGC ; > CARD32 mask ; >} xCopyGCReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 gc ; > CARD16 dashOffset ; > CARD16 nDashes ; >} xSetDashesReq; > >typedef struct { > CARD8 reqType; > BYTE ordering; > CARD16 length ; > CARD32 gc ; > INT16 xOrigin , yOrigin ; >} xSetClipRectanglesReq; > >typedef struct { > CARD8 reqType; > BOOL exposures; > CARD16 length ; > CARD32 window ; > INT16 x , y ; > CARD16 width , height ; >} xClearAreaReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcDrawable , dstDrawable ; > CARD32 gc ; > INT16 srcX , srcY , dstX , dstY ; > CARD16 width , height ; >} xCopyAreaReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcDrawable , dstDrawable ; > CARD32 gc ; > INT16 srcX , srcY , dstX , dstY ; > CARD16 width , height ; > CARD32 bitPlane ; >} xCopyPlaneReq; > >typedef struct { > CARD8 reqType; > BYTE coordMode; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; >} xPolyPointReq; > >typedef xPolyPointReq xPolyLineReq; > > > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; >} xPolySegmentReq; > >typedef xPolySegmentReq xPolyArcReq; >typedef xPolySegmentReq xPolyRectangleReq; >typedef xPolySegmentReq xPolyFillRectangleReq; >typedef xPolySegmentReq xPolyFillArcReq; > >typedef struct _FillPolyReq { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > BYTE shape; > BYTE coordMode; > CARD16 pad1 ; >} xFillPolyReq; > > >typedef struct _PutImageReq { > CARD8 reqType; > CARD8 format; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > CARD16 width , height ; > INT16 dstX , dstY ; > CARD8 leftPad; > CARD8 depth; > CARD16 pad ; >} xPutImageReq; > >typedef struct { > CARD8 reqType; > CARD8 format; > CARD16 length ; > CARD32 drawable ; > INT16 x , y ; > CARD16 width , height ; > CARD32 planeMask ; >} xGetImageReq; > > > >typedef struct { > CARD8 reqType; > CARD8 pad; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > INT16 x , y ; >} xPolyTextReq; > >typedef xPolyTextReq xPolyText8Req; >typedef xPolyTextReq xPolyText16Req; > >typedef struct { > CARD8 reqType; > BYTE nChars; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > INT16 x , y ; >} xImageTextReq; > >typedef xImageTextReq xImageText8Req; >typedef xImageTextReq xImageText16Req; > >typedef struct { > CARD8 reqType; > BYTE alloc; > CARD16 length ; > CARD32 mid ; > CARD32 window ; > CARD32 visual ; >} xCreateColormapReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 mid ; > CARD32 srcCmap ; >} xCopyColormapAndFreeReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD16 red , green , blue ; > CARD16 pad2 ; >} xAllocColorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xAllocNamedColorReq; > >typedef struct { > CARD8 reqType; > BOOL contiguous; > CARD16 length ; > CARD32 cmap ; > CARD16 colors , planes ; >} xAllocColorCellsReq; > >typedef struct { > CARD8 reqType; > BOOL contiguous; > CARD16 length ; > CARD32 cmap ; > CARD16 colors , red , green , blue ; >} xAllocColorPlanesReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD32 planeMask ; >} xFreeColorsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; >} xStoreColorsReq; > >typedef struct { > CARD8 reqType; > CARD8 flags; > CARD16 length ; > CARD32 cmap ; > CARD32 pixel ; > CARD16 nbytes ; > BYTE pad1, pad2; > } xStoreNamedColorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; >} xQueryColorsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xLookupColorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cid ; > CARD32 source , mask ; > CARD16 foreRed , foreGreen , foreBlue ; > CARD16 backRed , backGreen , backBlue ; > CARD16 x , y ; >} xCreateCursorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cid ; > CARD32 source , mask ; > CARD16 sourceChar , maskChar ; > CARD16 foreRed , foreGreen , foreBlue ; > CARD16 backRed , backGreen , backBlue ; >} xCreateGlyphCursorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cursor ; > CARD16 foreRed , foreGreen , foreBlue ; > CARD16 backRed , backGreen , backBlue ; >} xRecolorCursorReq; > >typedef struct { > CARD8 reqType; > > > > CARD8 class; > > CARD16 length ; > CARD32 drawable ; > CARD16 width , height ; >} xQueryBestSizeReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xQueryExtensionReq; > >typedef struct { > CARD8 reqType; > CARD8 numKeyPerModifier; > CARD16 length ; >} xSetModifierMappingReq; > >typedef struct { > CARD8 reqType; > CARD8 nElts; > CARD16 length ; >} xSetPointerMappingReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD8 firstKeyCode; > CARD8 count; > CARD16 pad1 ; >} xGetKeyboardMappingReq; > >typedef struct { > CARD8 reqType; > CARD8 keyCodes; > CARD16 length ; > CARD8 firstKeyCode; > CARD8 keySymsPerKeyCode; > CARD16 pad1 ; >} xChangeKeyboardMappingReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 mask ; >} xChangeKeyboardControlReq; > >typedef struct { > CARD8 reqType; > INT8 percent; > CARD16 length ; >} xBellReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > INT16 accelNum , accelDenum ; > INT16 threshold ; > BOOL doAccel, doThresh; >} xChangePointerControlReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > INT16 timeout , interval ; > BYTE preferBlank, allowExpose; > CARD16 pad2 ; >} xSetScreenSaverReq; > >typedef struct { > CARD8 reqType; > BYTE mode; > CARD16 length ; > CARD8 hostFamily; > BYTE pad; > CARD16 hostLength ; >} xChangeHostsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > } xListHostsReq; > >typedef struct { > CARD8 reqType; > BYTE mode; > CARD16 length ; > } xChangeModeReq; > >typedef xChangeModeReq xSetAccessControlReq; >typedef xChangeModeReq xSetCloseDownModeReq; >typedef xChangeModeReq xForceScreenSaverReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD16 nAtoms ; > INT16 nPositions ; > } xRotatePropertiesReq; > > > > > >#define X_Reply 1 >#define X_Error 0 > > > >#define X_CreateWindow 1 >#define X_ChangeWindowAttributes 2 >#define X_GetWindowAttributes 3 >#define X_DestroyWindow 4 >#define X_DestroySubwindows 5 >#define X_ChangeSaveSet 6 >#define X_ReparentWindow 7 >#define X_MapWindow 8 >#define X_MapSubwindows 9 >#define X_UnmapWindow 10 >#define X_UnmapSubwindows 11 >#define X_ConfigureWindow 12 >#define X_CirculateWindow 13 >#define X_GetGeometry 14 >#define X_QueryTree 15 >#define X_InternAtom 16 >#define X_GetAtomName 17 >#define X_ChangeProperty 18 >#define X_DeleteProperty 19 >#define X_GetProperty 20 >#define X_ListProperties 21 >#define X_SetSelectionOwner 22 >#define X_GetSelectionOwner 23 >#define X_ConvertSelection 24 >#define X_SendEvent 25 >#define X_GrabPointer 26 >#define X_UngrabPointer 27 >#define X_GrabButton 28 >#define X_UngrabButton 29 >#define X_ChangeActivePointerGrab 30 >#define X_GrabKeyboard 31 >#define X_UngrabKeyboard 32 >#define X_GrabKey 33 >#define X_UngrabKey 34 >#define X_AllowEvents 35 >#define X_GrabServer 36 >#define X_UngrabServer 37 >#define X_QueryPointer 38 >#define X_GetMotionEvents 39 >#define X_TranslateCoords 40 >#define X_WarpPointer 41 >#define X_SetInputFocus 42 >#define X_GetInputFocus 43 >#define X_QueryKeymap 44 >#define X_OpenFont 45 >#define X_CloseFont 46 >#define X_QueryFont 47 >#define X_QueryTextExtents 48 >#define X_ListFonts 49 >#define X_ListFontsWithInfo 50 >#define X_SetFontPath 51 >#define X_GetFontPath 52 >#define X_CreatePixmap 53 >#define X_FreePixmap 54 >#define X_CreateGC 55 >#define X_ChangeGC 56 >#define X_CopyGC 57 >#define X_SetDashes 58 >#define X_SetClipRectangles 59 >#define X_FreeGC 60 >#define X_ClearArea 61 >#define X_CopyArea 62 >#define X_CopyPlane 63 >#define X_PolyPoint 64 >#define X_PolyLine 65 >#define X_PolySegment 66 >#define X_PolyRectangle 67 >#define X_PolyArc 68 >#define X_FillPoly 69 >#define X_PolyFillRectangle 70 >#define X_PolyFillArc 71 >#define X_PutImage 72 >#define X_GetImage 73 >#define X_PolyText8 74 >#define X_PolyText16 75 >#define X_ImageText8 76 >#define X_ImageText16 77 >#define X_CreateColormap 78 >#define X_FreeColormap 79 >#define X_CopyColormapAndFree 80 >#define X_InstallColormap 81 >#define X_UninstallColormap 82 >#define X_ListInstalledColormaps 83 >#define X_AllocColor 84 >#define X_AllocNamedColor 85 >#define X_AllocColorCells 86 >#define X_AllocColorPlanes 87 >#define X_FreeColors 88 >#define X_StoreColors 89 >#define X_StoreNamedColor 90 >#define X_QueryColors 91 >#define X_LookupColor 92 >#define X_CreateCursor 93 >#define X_CreateGlyphCursor 94 >#define X_FreeCursor 95 >#define X_RecolorCursor 96 >#define X_QueryBestSize 97 >#define X_QueryExtension 98 >#define X_ListExtensions 99 >#define X_ChangeKeyboardMapping 100 >#define X_GetKeyboardMapping 101 >#define X_ChangeKeyboardControl 102 >#define X_GetKeyboardControl 103 >#define X_Bell 104 >#define X_ChangePointerControl 105 >#define X_GetPointerControl 106 >#define X_SetScreenSaver 107 >#define X_GetScreenSaver 108 >#define X_ChangeHosts 109 >#define X_ListHosts 110 >#define X_SetAccessControl 111 >#define X_SetCloseDownMode 112 >#define X_KillClient 113 >#define X_RotateProperties 114 >#define X_ForceScreenSaver 115 >#define X_SetPointerMapping 116 >#define X_GetPointerMapping 117 >#define X_SetModifierMapping 118 >#define X_GetModifierMapping 119 >#define X_NoOperation 127 > > >#undef Window >#undef Drawable >#undef Font >#undef Pixmap >#undef Cursor >#undef Colormap >#undef GContext >#undef Atom >#undef VisualID >#undef Time >#undef KeyCode >#undef KeySym ># 45 "/usr/include/X11/Xlibint.h" 2 3 4 ># 1 "/usr/include/X11/XlibConf.h" 1 3 4 ># 27 "/usr/include/X11/XlibConf.h" 3 4 >#define _XLIBCONF_H_ > > > > > > > >#define XTHREADS > > >#define XUSE_MTSAFE_API ># 46 "/usr/include/X11/Xlibint.h" 2 3 4 ># 56 "/usr/include/X11/Xlibint.h" 3 4 >#define XCONN_CHECK_FREQ 256 > > >struct _XGC >{ > XExtData *ext_data; > GContext gid; > int rects; > int dashes; > unsigned long dirty; > XGCValues values; >}; > >struct _XDisplay >{ > XExtData *ext_data; > struct _XFreeFuncs *free_funcs; > int fd; > int conn_checker; > int proto_major_version; > int proto_minor_version; > char *vendor; > XID resource_base; > XID resource_mask; > XID resource_id; > int resource_shift; > XID (*resource_alloc)( > struct _XDisplay* > ); > int byte_order; > int bitmap_unit; > int bitmap_pad; > int bitmap_bit_order; > int nformats; > ScreenFormat *pixmap_format; > int vnumber; > int release; > struct _XSQEvent *head, *tail; > int qlen; > unsigned long last_request_read; > unsigned long request; > char *last_req; > char *buffer; > char *bufptr; > char *bufmax; > unsigned max_request_size; > struct _XrmHashBucketRec *db; > int (*synchandler)( > struct _XDisplay* > ); > char *display_name; > int default_screen; > int nscreens; > Screen *screens; > unsigned long motion_buffer; > unsigned long flags; > int min_keycode; > int max_keycode; > KeySym *keysyms; > XModifierKeymap *modifiermap; > int keysyms_per_keycode; > char *xdefaults; > char *scratch_buffer; > unsigned long scratch_length; > int ext_number; > struct _XExten *ext_procs; ># 130 "/usr/include/X11/Xlibint.h" 3 4 > int (*event_vec[128])( > Display * , > XEvent * , > xEvent * > ); > int (*wire_vec[128])( > Display * , > XEvent * , > xEvent * > ); > KeySym lock_meaning; > struct _XLockInfo *lock; > struct _XInternalAsync *async_handlers; > unsigned long bigreq_size; > struct _XLockPtrs *lock_fns; > void (*idlist_alloc)( > Display * , > XID * , > int > ); > > struct _XKeytrans *key_bindings; > Font cursor_font; > struct _XDisplayAtoms *atoms; > unsigned int mode_switch; > unsigned int num_lock; > struct _XContextDB *context_db; > int (**error_vec)( > Display * , > XErrorEvent * , > xError * > ); > > > > struct { > XPointer defaultCCCs; > XPointer clientCmaps; > XPointer perVisualIntensityMaps; > > } cms; > struct _XIMFilter *im_filters; > struct _XSQEvent *qfree; > unsigned long next_event_serial_num; > struct _XExten *flushes; > struct _XConnectionInfo *im_fd_info; > int im_fd_length; > struct _XConnWatchInfo *conn_watchers; > int watcher_count; > XPointer filedes; > int (*savedsynchandler)( > Display * > ); > XID resource_max; > int xcmisc_opcode; > struct _XkbInfoRec *xkb_info; > struct _XtransConnInfo *trans_conn; >}; > >#define XAllocIDs(dpy,ids,n) (*(dpy)->idlist_alloc)(dpy,ids,n) ># 202 "/usr/include/X11/Xlibint.h" 3 4 >typedef struct _XSQEvent >{ > struct _XSQEvent *next; > XEvent event; > unsigned long qserial_num; >} _XQEvent; > > > >#define NEED_REPLIES > > >#define NEED_EVENTS >#define NEED_REPLIES > > > > ># 1 "/usr/include/errno.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/errno.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/errno.h" 3 4 >#define _ERRNO_H 1 ># 1 "/usr/include/features.h" 1 3 4 ># 30 "/usr/include/gentoo-multilib/amd64/errno.h" 2 3 4 > > > > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/bits/errno.h" 1 3 4 ># 22 "/usr/include/gentoo-multilib/amd64/bits/errno.h" 3 4 >#undef EDOM >#undef EILSEQ >#undef ERANGE ># 1 "/usr/include/linux/errno.h" 1 3 4 > >#define _LINUX_ERRNO_H > ># 1 "/usr/include/asm/errno.h" 1 3 4 > > > > > > > ># 1 "/usr/include/asm-x86_64/errno.h" 1 3 4 > >#define _X8664_ERRNO_H > ># 1 "/usr/include/asm-generic/errno.h" 1 3 4 > >#define _ASM_GENERIC_ERRNO_H > ># 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 > >#define _ASM_GENERIC_ERRNO_BASE_H > >#define EPERM 1 >#define ENOENT 2 >#define ESRCH 3 >#define EINTR 4 >#define EIO 5 >#define ENXIO 6 >#define E2BIG 7 >#define ENOEXEC 8 >#define EBADF 9 >#define ECHILD 10 >#define EAGAIN 11 >#define ENOMEM 12 >#define EACCES 13 >#define EFAULT 14 >#define ENOTBLK 15 >#define EBUSY 16 >#define EEXIST 17 >#define EXDEV 18 >#define ENODEV 19 >#define ENOTDIR 20 >#define EISDIR 21 >#define EINVAL 22 >#define ENFILE 23 >#define EMFILE 24 >#define ENOTTY 25 >#define ETXTBSY 26 >#define EFBIG 27 >#define ENOSPC 28 >#define ESPIPE 29 >#define EROFS 30 >#define EMLINK 31 >#define EPIPE 32 >#define EDOM 33 >#define ERANGE 34 ># 5 "/usr/include/asm-generic/errno.h" 2 3 4 > >#define EDEADLK 35 >#define ENAMETOOLONG 36 >#define ENOLCK 37 >#define ENOSYS 38 >#define ENOTEMPTY 39 >#define ELOOP 40 >#define EWOULDBLOCK EAGAIN >#define ENOMSG 42 >#define EIDRM 43 >#define ECHRNG 44 >#define EL2NSYNC 45 >#define EL3HLT 46 >#define EL3RST 47 >#define ELNRNG 48 >#define EUNATCH 49 >#define ENOCSI 50 >#define EL2HLT 51 >#define EBADE 52 >#define EBADR 53 >#define EXFULL 54 >#define ENOANO 55 >#define EBADRQC 56 >#define EBADSLT 57 > >#define EDEADLOCK EDEADLK > >#define EBFONT 59 >#define ENOSTR 60 >#define ENODATA 61 >#define ETIME 62 >#define ENOSR 63 >#define ENONET 64 >#define ENOPKG 65 >#define EREMOTE 66 >#define ENOLINK 67 >#define EADV 68 >#define ESRMNT 69 >#define ECOMM 70 >#define EPROTO 71 >#define EMULTIHOP 72 >#define EDOTDOT 73 >#define EBADMSG 74 >#define EOVERFLOW 75 >#define ENOTUNIQ 76 >#define EBADFD 77 >#define EREMCHG 78 >#define ELIBACC 79 >#define ELIBBAD 80 >#define ELIBSCN 81 >#define ELIBMAX 82 >#define ELIBEXEC 83 >#define EILSEQ 84 >#define ERESTART 85 >#define ESTRPIPE 86 >#define EUSERS 87 >#define ENOTSOCK 88 >#define EDESTADDRREQ 89 >#define EMSGSIZE 90 >#define EPROTOTYPE 91 >#define ENOPROTOOPT 92 >#define EPROTONOSUPPORT 93 >#define ESOCKTNOSUPPORT 94 >#define EOPNOTSUPP 95 >#define EPFNOSUPPORT 96 >#define EAFNOSUPPORT 97 >#define EADDRINUSE 98 >#define EADDRNOTAVAIL 99 >#define ENETDOWN 100 >#define ENETUNREACH 101 >#define ENETRESET 102 >#define ECONNABORTED 103 >#define ECONNRESET 104 >#define ENOBUFS 105 >#define EISCONN 106 >#define ENOTCONN 107 >#define ESHUTDOWN 108 >#define ETOOMANYREFS 109 >#define ETIMEDOUT 110 >#define ECONNREFUSED 111 >#define EHOSTDOWN 112 >#define EHOSTUNREACH 113 >#define EALREADY 114 >#define EINPROGRESS 115 >#define ESTALE 116 >#define EUCLEAN 117 >#define ENOTNAM 118 >#define ENAVAIL 119 >#define EISNAM 120 >#define EREMOTEIO 121 >#define EDQUOT 122 > >#define ENOMEDIUM 123 >#define EMEDIUMTYPE 124 >#define ECANCELED 125 >#define ENOKEY 126 >#define EKEYEXPIRED 127 >#define EKEYREVOKED 128 >#define EKEYREJECTED 129 ># 5 "/usr/include/asm-x86_64/errno.h" 2 3 4 ># 9 "/usr/include/asm/errno.h" 2 3 4 ># 5 "/usr/include/linux/errno.h" 2 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/bits/errno.h" 2 3 4 > > >#define ENOTSUP EOPNOTSUPP ># 38 "/usr/include/gentoo-multilib/amd64/bits/errno.h" 3 4 >extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >#define errno (*__errno_location ()) ># 9 "/usr/include/bits/errno.h" 2 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/errno.h" 2 3 4 >#undef __need_Emath ># 59 "/usr/include/gentoo-multilib/amd64/errno.h" 3 4 > ># 9 "/usr/include/errno.h" 2 3 4 ># 221 "/usr/include/X11/Xlibint.h" 2 3 4 >#define _XBCOPYFUNC _Xbcopy ># 1 "/usr/include/X11/Xfuncs.h" 1 3 4 ># 32 "/usr/include/X11/Xfuncs.h" 3 4 >#define _XFUNCS_H_ ># 50 "/usr/include/X11/Xfuncs.h" 3 4 ># 1 "/usr/include/string.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/string.h" 1 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >#define _STRING_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/string.h" 2 3 4 > > > > >#define __need_size_t >#define __need_NULL ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 162 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_ptrdiff_t ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 344 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wchar_t ># 397 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef NULL > > > > >#define NULL ((void *)0) > > > > > >#undef __need_NULL > > > > > >#define offsetof(TYPE,MEMBER) ((size_t) &((TYPE *)0)->MEMBER) ># 34 "/usr/include/gentoo-multilib/amd64/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 82 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > ># 130 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 181 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); ># 240 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 254 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); > ># 281 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 325 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 348 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 426 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > ># 9 "/usr/include/string.h" 2 3 4 ># 51 "/usr/include/X11/Xfuncs.h" 2 3 4 > > > >#define _XFUNCS_H_INCLUDED_STRING_H ># 70 "/usr/include/X11/Xfuncs.h" 3 4 >#undef bzero >#define bzero(b,len) memset(b,0,len) ># 223 "/usr/include/X11/Xlibint.h" 2 3 4 > > > > > > > ># 1 "/usr/include/stdlib.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/stdlib.h" 1 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/stdlib.h" 2 3 4 > > >#define __need_size_t > >#define __need_wchar_t >#define __need_NULL > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 162 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_ptrdiff_t ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 344 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wchar_t ># 397 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef NULL > > > > >#define NULL ((void *)0) > > > > > >#undef __need_NULL > > > > > >#define offsetof(TYPE,MEMBER) ((size_t) &((TYPE *)0)->MEMBER) ># 34 "/usr/include/gentoo-multilib/amd64/stdlib.h" 2 3 4 > > > > >#define _STDLIB_H 1 ># 96 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; >#define __ldiv_t_defined 1 > > ># 129 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >#define RAND_MAX 2147483647 > > > > >#define EXIT_FAILURE 1 >#define EXIT_SUCCESS 0 > > > >#define MB_CUR_MAX (__ctype_get_mb_cur_max ()) >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)); > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > ># 181 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > ># 277 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >#define __strtol_internal_defined 1 > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >#define __strtoul_internal_defined 1 > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >#define __strtoll_internal_defined 1 > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >#define __strtoull_internal_defined 1 ># 424 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)); > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 434 "/usr/include/gentoo-multilib/amd64/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >#define __malloc_and_calloc_defined > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 > > > > > > > ># 1 "/usr/include/gentoo-multilib/amd64/alloca.h" 1 3 4 ># 20 "/usr/include/gentoo-multilib/amd64/alloca.h" 3 4 >#define _ALLOCA_H 1 > ># 1 "/usr/include/features.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/alloca.h" 2 3 4 > >#define __need_size_t ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 162 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_ptrdiff_t ># 235 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_size_t ># 344 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef __need_wchar_t ># 397 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 >#undef NULL > > > > >#define NULL ((void *)0) > > > > > >#undef __need_NULL > > > > > >#define offsetof(TYPE,MEMBER) ((size_t) &((TYPE *)0)->MEMBER) ># 26 "/usr/include/gentoo-multilib/amd64/alloca.h" 2 3 4 > > > > >#undef alloca > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > >#define alloca(size) __builtin_alloca (size) > > > ># 9 "/usr/include/alloca.h" 2 3 4 ># 607 "/usr/include/gentoo-multilib/amd64/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 620 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > ># 652 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 691 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 702 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); ># 721 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > > >extern int system (__const char *__command); > ># 749 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)); > > > > > >#define __COMPAR_FN_T >typedef int (*__compar_fn_t) (__const void *, __const void *); > > > > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > ># 814 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 954 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >#undef __need_malloc_and_calloc > > ># 9 "/usr/include/stdlib.h" 2 3 4 ># 231 "/usr/include/X11/Xlibint.h" 2 3 4 ># 1 "/usr/include/string.h" 1 3 4 ># 232 "/usr/include/X11/Xlibint.h" 2 3 4 > > > > ># 247 "/usr/include/X11/Xlibint.h" 3 4 >typedef struct _LockInfoRec *LockInfoPtr; > > >struct _XLockPtrs { > > void (*lock_display)( > Display *dpy > > > > > ); > void (*unlock_display)( > Display *dpy > > > > > ); >}; ># 277 "/usr/include/X11/Xlibint.h" 3 4 >extern void (*_XCreateMutex_fn)( > LockInfoPtr >); >extern void (*_XFreeMutex_fn)( > LockInfoPtr >); >extern void (*_XLockMutex_fn)( > LockInfoPtr > > > > >); >extern void (*_XUnlockMutex_fn)( > LockInfoPtr > > > > >); > >extern LockInfoPtr _Xglobal_lock; ># 307 "/usr/include/X11/Xlibint.h" 3 4 >#define LockDisplay(d) if ((d)->lock_fns) (*(d)->lock_fns->lock_display)(d) >#define UnlockDisplay(d) if ((d)->lock_fns) (*(d)->lock_fns->unlock_display)(d) >#define _XLockMutex(lock) if (_XLockMutex_fn) (*_XLockMutex_fn)(lock) >#define _XUnlockMutex(lock) if (_XUnlockMutex_fn) (*_XUnlockMutex_fn)(lock) > >#define _XCreateMutex(lock) if (_XCreateMutex_fn) (*_XCreateMutex_fn)(lock); >#define _XFreeMutex(lock) if (_XFreeMutex_fn) (*_XFreeMutex_fn)(lock); ># 324 "/usr/include/X11/Xlibint.h" 3 4 >#define Xfree(ptr) free((ptr)) ># 340 "/usr/include/X11/Xlibint.h" 3 4 >#define Xmalloc(size) malloc((size)) >#define Xrealloc(ptr,size) realloc((ptr), (size)) >#define Xcalloc(nelem,elsize) calloc((nelem), (elsize)) > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 ># 347 "/usr/include/X11/Xlibint.h" 2 3 4 > >#define LOCKED 1 >#define UNLOCKED 0 > > >#define BUFSIZE 2048 > > >#define PTSPERBATCH 1024 > > >#define WLNSPERBATCH 50 > > >#define ZLNSPERBATCH 1024 > > >#define WRCTSPERBATCH 10 > > >#define ZRCTSPERBATCH 256 > > >#define FRCTSPERBATCH 256 > > >#define FARCSPERBATCH 256 > > >#define CURSORFONT "cursor" > > > > > >#define XlibDisplayIOError (1L << 0) >#define XlibDisplayClosing (1L << 1) >#define XlibDisplayNoXkb (1L << 2) >#define XlibDisplayPrivSync (1L << 3) >#define XlibDisplayProcConni (1L << 4) >#define XlibDisplayReadEvents (1L << 5) >#define XlibDisplayReply (1L << 5) >#define XlibDisplayWriting (1L << 6) >#define XlibDisplayDfltRMDB (1L << 7) ># 413 "/usr/include/X11/Xlibint.h" 3 4 >#define WORD64ALIGN ># 427 "/usr/include/X11/Xlibint.h" 3 4 >#define GetReq(name,req) WORD64ALIGN if ((dpy->bufptr + SIZEOF(x ##name ##Req)) > dpy->bufmax) _XFlush(dpy); req = (x ##name ##Req *)(dpy->last_req = dpy->bufptr); req->reqType = X_ ##name; req->length = (SIZEOF(x ##name ##Req))>>2; dpy->bufptr += SIZEOF(x ##name ##Req); dpy->request++ ># 453 "/usr/include/X11/Xlibint.h" 3 4 >#define GetReqExtra(name,n,req) WORD64ALIGN if ((dpy->bufptr + SIZEOF(x ##name ##Req) + n) > dpy->bufmax) _XFlush(dpy); req = (x ##name ##Req *)(dpy->last_req = dpy->bufptr); req->reqType = X_ ##name; req->length = (SIZEOF(x ##name ##Req) + n)>>2; dpy->bufptr += SIZEOF(x ##name ##Req) + n; dpy->request++ ># 482 "/usr/include/X11/Xlibint.h" 3 4 >#define GetResReq(name,rid,req) WORD64ALIGN if ((dpy->bufptr + SIZEOF(xResourceReq)) > dpy->bufmax) _XFlush(dpy); req = (xResourceReq *) (dpy->last_req = dpy->bufptr); req->reqType = X_ ##name; req->length = 2; req->id = (rid); dpy->bufptr += SIZEOF(xResourceReq); dpy->request++ ># 510 "/usr/include/X11/Xlibint.h" 3 4 >#define GetEmptyReq(name,req) WORD64ALIGN if ((dpy->bufptr + SIZEOF(xReq)) > dpy->bufmax) _XFlush(dpy); req = (xReq *) (dpy->last_req = dpy->bufptr); req->reqType = X_ ##name; req->length = 1; dpy->bufptr += SIZEOF(xReq); dpy->request++ ># 544 "/usr/include/X11/Xlibint.h" 3 4 >#define MakeBigReq(req,n) { CARD64 _BRdat; CARD32 _BRlen = req->length - 1; req->length = 0; _BRdat = ((CARD32 *)req)[_BRlen]; memmove(((char *)req) + 8, ((char *)req) + 4, _BRlen << 2); ((CARD32 *)req)[1] = _BRlen + n + 2; Data32(dpy, &_BRdat, 4); } ># 568 "/usr/include/X11/Xlibint.h" 3 4 >#define SetReqLen(req,n,badlen) if ((req->length + n) > (unsigned)65535) { if (dpy->bigreq_size) { MakeBigReq(req,n) } else { n = badlen; req->length += n; } } else req->length += n ># 579 "/usr/include/X11/Xlibint.h" 3 4 >#define SyncHandle() if (dpy->synchandler) (*dpy->synchandler)(dpy) > > >extern void _XFlushGCCache(Display *dpy, GC gc); >#define FlushGC(dpy,gc) if ((gc)->dirty) _XFlushGCCache((dpy), (gc)) ># 594 "/usr/include/X11/Xlibint.h" 3 4 >#define Data(dpy,data,len) { if (dpy->bufptr + (len) <= dpy->bufmax) { memcpy(dpy->bufptr, data, (int)len); dpy->bufptr += ((len) + 3) & ~3; } else _XSend(dpy, data, len); } ># 618 "/usr/include/X11/Xlibint.h" 3 4 >#define BufAlloc(type,ptr,n) if (dpy->bufptr + (n) > dpy->bufmax) _XFlush (dpy); ptr = (type) dpy->bufptr; (void)ptr; dpy->bufptr += (n); ># 629 "/usr/include/X11/Xlibint.h" 3 4 >#define Data16(dpy,data,len) Data((dpy), (char *)(data), (len)) >#define _XRead16Pad(dpy,data,len) _XReadPad((dpy), (char *)(data), (len)) >#define _XRead16(dpy,data,len) _XRead((dpy), (char *)(data), (len)) > >#define Data32(dpy,data,len) _XData32(dpy, (long *)data, len) >extern int _XData32( > Display *dpy, > register long *data, > unsigned len >); >extern void _XRead32( > Display *dpy, > register long *data, > long len >); > > > > > > >#define PackData16(dpy,data,len) Data16 (dpy, data, len) >#define PackData32(dpy,data,len) Data32 (dpy, data, len) > > >#define PackData(dpy,data,len) PackData16 (dpy, data, len) > >#define min(a,b) (((a) < (b)) ? (a) : (b)) >#define max(a,b) (((a) > (b)) ? (a) : (b)) > >#define CI_NONEXISTCHAR(cs) (((cs)->width == 0) && (((cs)->rbearing|(cs)->lbearing| (cs)->ascent|(cs)->descent) == 0)) ># 670 "/usr/include/X11/Xlibint.h" 3 4 >#define CI_GET_CHAR_INFO_1D(fs,col,def,cs) { cs = def; if (col >= fs->min_char_or_byte2 && col <= fs->max_char_or_byte2) { if (fs->per_char == NULL) { cs = &fs->min_bounds; } else { cs = &fs->per_char[(col - fs->min_char_or_byte2)]; if (CI_NONEXISTCHAR(cs)) cs = def; } } } ># 683 "/usr/include/X11/Xlibint.h" 3 4 >#define CI_GET_DEFAULT_INFO_1D(fs,cs) CI_GET_CHAR_INFO_1D (fs, fs->default_char, NULL, cs) ># 692 "/usr/include/X11/Xlibint.h" 3 4 >#define CI_GET_CHAR_INFO_2D(fs,row,col,def,cs) { cs = def; if (row >= fs->min_byte1 && row <= fs->max_byte1 && col >= fs->min_char_or_byte2 && col <= fs->max_char_or_byte2) { if (fs->per_char == NULL) { cs = &fs->min_bounds; } else { cs = &fs->per_char[((row - fs->min_byte1) * (fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1)) + (col - fs->min_char_or_byte2)]; if (CI_NONEXISTCHAR(cs)) cs = def; } } } ># 709 "/usr/include/X11/Xlibint.h" 3 4 >#define CI_GET_DEFAULT_INFO_2D(fs,cs) { unsigned int r = (fs->default_char >> 8); unsigned int c = (fs->default_char & 0xff); CI_GET_CHAR_INFO_2D (fs, r, c, NULL, cs); } ># 726 "/usr/include/X11/Xlibint.h" 3 4 >#define OneDataCard32(dpy,dstaddr,srcvar) { *(CARD32 *)(dstaddr) = (srcvar); } > > > > >typedef struct _XInternalAsync { > struct _XInternalAsync *next; ># 742 "/usr/include/X11/Xlibint.h" 3 4 > int (*handler)( > Display* , > xReply* , > char* , > int , > XPointer > ); > XPointer data; >} _XAsyncHandler; > >typedef struct _XAsyncEState { > unsigned long min_sequence_number; > unsigned long max_sequence_number; > unsigned char error_code; > unsigned char major_opcode; > unsigned short minor_opcode; > unsigned char last_error_received; > int error_count; >} _XAsyncErrorState; > >extern void _XDeqAsyncHandler(Display *dpy, _XAsyncHandler *handler); >#define DeqAsyncHandler(dpy,handler) { if (dpy->async_handlers == (handler)) dpy->async_handlers = (handler)->next; else _XDeqAsyncHandler(dpy, handler); } > > > > > > >typedef void (*FreeFuncType) ( > Display* >); > >typedef int (*FreeModmapType) ( > XModifierKeymap* >); > > > > >typedef struct _XFreeFuncs { > FreeFuncType atoms; > FreeModmapType modifiermap; > FreeFuncType key_bindings; > FreeFuncType context_db; > FreeFuncType defaultCCCs; > FreeFuncType clientCmaps; > FreeFuncType intensityMaps; > FreeFuncType im_filters; > FreeFuncType xkb; >} _XFreeFuncRec; > > >typedef int (*CreateGCType) ( > Display* , > GC , > XExtCodes* >); > >typedef int (*CopyGCType)( > Display* , > GC , > XExtCodes* >); > >typedef int (*FlushGCType) ( > Display* , > GC , > XExtCodes* >); > >typedef int (*FreeGCType) ( > Display* , > GC , > XExtCodes* >); > >typedef int (*CreateFontType) ( > Display* , > XFontStruct* , > XExtCodes* >); > >typedef int (*FreeFontType) ( > Display* , > XFontStruct* , > XExtCodes* >); > >typedef int (*CloseDisplayType) ( > Display* , > XExtCodes* >); > >typedef int (*ErrorType) ( > Display* , > xError* , > XExtCodes* , > int* >); > >typedef char* (*ErrorStringType) ( > Display* , > int , > XExtCodes* , > char* , > int >); > >typedef void (*PrintErrorType)( > Display* , > XErrorEvent* , > void* >); > >typedef void (*BeforeFlushType)( > Display* , > XExtCodes* , > const char* , > long >); > > > > >typedef struct _XExten { > struct _XExten *next; > XExtCodes codes; > CreateGCType create_GC; > CopyGCType copy_GC; > FlushGCType flush_GC; > FreeGCType free_GC; > CreateFontType create_Font; > FreeFontType free_Font; > CloseDisplayType close_display; > ErrorType error; > ErrorStringType error_string; > char *name; > PrintErrorType error_values; > BeforeFlushType before_flush; > struct _XExten *next_flush; >} _XExtension; > > > > > > >extern int _XError( > Display* , > xError* >); >extern int _XIOError( > Display* >); >extern int (*_XIOErrorFunction)( > Display* >); >extern int (*_XErrorFunction)( > Display* , > XErrorEvent* >); >extern void _XEatData( > Display* , > unsigned long >); >extern char *_XAllocScratch( > Display* , > unsigned long >); >extern char *_XAllocTemp( > Display* , > unsigned long >); >extern void _XFreeTemp( > Display* , > char* , > unsigned long >); >extern Visual *_XVIDtoVisual( > Display* , > VisualID >); >extern unsigned long _XSetLastRequestRead( > Display* , > xGenericReply* >); >extern int _XGetHostname( > char* , > int >); >extern Screen *_XScreenOfWindow( > Display* , > Window >); >extern int _XAsyncErrorHandler( > Display* , > xReply* , > char* , > int , > XPointer >); >extern char *_XGetAsyncReply( > Display* , > char* , > xReply* , > char* , > int , > int , > int >); >extern void _XGetAsyncData( > Display* , > char * , > char * , > int , > int , > int , > int >); >extern void _XFlush( > Display* >); >extern int _XEventsQueued( > Display* , > int >); >extern void _XReadEvents( > Display* >); >extern int _XRead( > Display* , > char* , > long >); >extern void _XReadPad( > Display* , > char* , > long >); >extern void _XSend( > Display* , > const char* , > long >); >extern int _XReply( > Display* , > xReply* , > int , > int >); >extern void _XEnq( > Display* , > xEvent* >); >extern void _XDeq( > Display* , > _XQEvent* , > _XQEvent* >); > >extern int _XUnknownWireEvent( > Display* , > XEvent* , > xEvent* >); >extern int _XUnknownNativeEvent( > Display* , > XEvent* , > xEvent* >); > >extern int _XWireToEvent(Display *dpy, XEvent *re, xEvent *event); >extern int _XDefaultWireError(Display *display, XErrorEvent *he, xError *we); >extern int _XPollfdCacheInit(Display *dpy); >extern void _XPollfdCacheAdd(Display *dpy, int fd); >extern void _XPollfdCacheDel(Display *dpy, int fd); >extern XID _XAllocID(Display *dpy); >extern void _XAllocIDs(Display *dpy, XID *ids, int count); > >extern int _XFreeExtData( > XExtData* >); > >extern int (*XESetCreateGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetCopyGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetFlushGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetFreeGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetCreateFont( > Display* , > int , > int (*) ( > Display* , > XFontStruct* , > XExtCodes* > ) >))( > Display*, XFontStruct*, XExtCodes* >); > >extern int (*XESetFreeFont( > Display* , > int , > int (*) ( > Display* , > XFontStruct* , > XExtCodes* > ) >))( > Display*, XFontStruct*, XExtCodes* >); > >extern int (*XESetCloseDisplay( > Display* , > int , > int (*) ( > Display* , > XExtCodes* > ) >))( > Display*, XExtCodes* >); > >extern int (*XESetError( > Display* , > int , > int (*) ( > Display* , > xError* , > XExtCodes* , > int* > ) >))( > Display*, xError*, XExtCodes*, int* >); > >extern char* (*XESetErrorString( > Display* , > int , > char* (*) ( > Display* , > int , > XExtCodes* , > char* , > int > ) >))( > Display*, int, XExtCodes*, char*, int >); > >extern void (*XESetPrintErrorValues ( > Display* , > int , > void (*)( > Display* , > XErrorEvent* , > void* > ) >))( > Display*, XErrorEvent*, void* >); > >extern int (*XESetWireToEvent( > Display* , > int , > int (*) ( > Display* , > XEvent* , > xEvent* > ) >))( > Display*, XEvent*, xEvent* >); > >extern int (*XESetEventToWire( > Display* , > int , > int (*) ( > Display* , > XEvent* , > xEvent* > ) >))( > Display*, XEvent*, xEvent* >); > >extern int (*XESetWireToError( > Display* , > int , > int (*) ( > Display* , > XErrorEvent* , > xError* > ) >))( > Display*, XErrorEvent*, xError* >); > >extern void (*XESetBeforeFlush( > Display* , > int , > void (*) ( > Display* , > XExtCodes* , > const char* , > long > ) >))( > Display*, XExtCodes*, const char*, long >); > > > >typedef void (*_XInternalConnectionProc)( > Display* , > int , > XPointer >); > > >extern int _XRegisterInternalConnection( > Display* , > int , > _XInternalConnectionProc , > XPointer >); > >extern void _XUnregisterInternalConnection( > Display* , > int >); > > > >struct _XConnectionInfo { > int fd; > _XInternalConnectionProc read_callback; > XPointer call_data; > XPointer *watch_data; > struct _XConnectionInfo *next; >}; > >struct _XConnWatchInfo { > XConnectionWatchProc fn; > XPointer client_data; > struct _XConnWatchInfo *next; >}; > > > > > > > >extern int _XTextHeight( > XFontStruct* , > const char* , > int >); > >extern int _XTextHeight16( > XFontStruct* , > const XChar2b* , > int >); ># 1267 "/usr/include/X11/Xlibint.h" 3 4 >#define _XOpenFile(path,flags) open(path,flags) >#define _XFopenFile(path,mode) fopen(path,mode) > > > >extern int _XEventToWire(Display *dpy, XEvent *re, xEvent *event); > >extern int _XF86LoadQueryLocaleFont( > Display* , > const char* , > XFontStruct** , > Font* >); > >extern void _XProcessWindowAttributes ( > register Display *dpy, > xChangeWindowAttributesReq *req, > register unsigned long valuemask, > register XSetWindowAttributes *attributes); > >extern int _XDefaultError( > Display *dpy, > XErrorEvent *event); > >extern int _XDefaultIOError( > Display *dpy); > >extern void _XSetClipRectangles ( > register Display *dpy, > GC gc, > int clip_x_origin, int clip_y_origin, > XRectangle *rectangles, > int n, > int ordering); > >int _XGetWindowAttributes( > register Display *dpy, > Window w, > XWindowAttributes *attr); > >int _XPutBackEvent ( > register Display *dpy, > register XEvent *event); > > ># 53 "xcompositeint.h" 2 ># 1 "/usr/include/X11/Xutil.h" 1 3 4 ># 52 "/usr/include/X11/Xutil.h" 3 4 >#define _XUTIL_H_ ># 61 "/usr/include/X11/Xutil.h" 3 4 >#define NoValue 0x0000 >#define XValue 0x0001 >#define YValue 0x0002 >#define WidthValue 0x0004 >#define HeightValue 0x0008 >#define AllValues 0x000F >#define XNegative 0x0010 >#define YNegative 0x0020 > > > > > >typedef struct { > long flags; > int x, y; > int width, height; > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; > struct { > int x; > int y; > } min_aspect, max_aspect; > int base_width, base_height; > int win_gravity; >} XSizeHints; > > > > > > > >#define USPosition (1L << 0) >#define USSize (1L << 1) > >#define PPosition (1L << 2) >#define PSize (1L << 3) >#define PMinSize (1L << 4) >#define PMaxSize (1L << 5) >#define PResizeInc (1L << 6) >#define PAspect (1L << 7) >#define PBaseSize (1L << 8) >#define PWinGravity (1L << 9) > > >#define PAllHints (PPosition|PSize|PMinSize|PMaxSize|PResizeInc|PAspect) > > > >typedef struct { > long flags; > int input; > > int initial_state; > Pixmap icon_pixmap; > Window icon_window; > int icon_x, icon_y; > Pixmap icon_mask; > XID window_group; > >} XWMHints; > > > >#define InputHint (1L << 0) >#define StateHint (1L << 1) >#define IconPixmapHint (1L << 2) >#define IconWindowHint (1L << 3) >#define IconPositionHint (1L << 4) >#define IconMaskHint (1L << 5) >#define WindowGroupHint (1L << 6) >#define AllHints (InputHint|StateHint|IconPixmapHint|IconWindowHint| IconPositionHint|IconMaskHint|WindowGroupHint) > >#define XUrgencyHint (1L << 8) > > >#define WithdrawnState 0 >#define NormalState 1 >#define IconicState 3 > > > > >#define DontCareState 0 >#define ZoomState 2 >#define InactiveState 4 > > > > > > > >typedef struct { > unsigned char *value; > Atom encoding; > int format; > unsigned long nitems; >} XTextProperty; > >#define XNoMemory -1 >#define XLocaleNotSupported -2 >#define XConverterNotFound -3 > >typedef enum { > XStringStyle, > XCompoundTextStyle, > XTextStyle, > XStdICCTextStyle, > > XUTF8StringStyle >} XICCEncodingStyle; > >typedef struct { > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; >} XIconSize; > >typedef struct { > char *res_name; > char *res_class; >} XClassHint; ># 209 "/usr/include/X11/Xutil.h" 3 4 >#define XDestroyImage(ximage) ((*((ximage)->f.destroy_image))((ximage))) > >#define XGetPixel(ximage,x,y) ((*((ximage)->f.get_pixel))((ximage), (x), (y))) > >#define XPutPixel(ximage,x,y,pixel) ((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel))) > >#define XSubImage(ximage,x,y,width,height) ((*((ximage)->f.sub_image))((ximage), (x), (y), (width), (height))) > >#define XAddPixel(ximage,value) ((*((ximage)->f.add_pixel))((ximage), (value))) > > > > > > >typedef struct _XComposeStatus { > XPointer compose_ptr; > int chars_matched; >} XComposeStatus; > > > > >#define IsKeypadKey(keysym) (((KeySym)(keysym) >= XK_KP_Space) && ((KeySym)(keysym) <= XK_KP_Equal)) > > >#define IsPrivateKeypadKey(keysym) (((KeySym)(keysym) >= 0x11000000) && ((KeySym)(keysym) <= 0x1100FFFF)) > > >#define IsCursorKey(keysym) (((KeySym)(keysym) >= XK_Home) && ((KeySym)(keysym) < XK_Select)) > > >#define IsPFKey(keysym) (((KeySym)(keysym) >= XK_KP_F1) && ((KeySym)(keysym) <= XK_KP_F4)) > > >#define IsFunctionKey(keysym) (((KeySym)(keysym) >= XK_F1) && ((KeySym)(keysym) <= XK_F35)) > > >#define IsMiscFunctionKey(keysym) (((KeySym)(keysym) >= XK_Select) && ((KeySym)(keysym) <= XK_Break)) ># 258 "/usr/include/X11/Xutil.h" 3 4 >#define IsModifierKey(keysym) ((((KeySym)(keysym) >= XK_Shift_L) && ((KeySym)(keysym) <= XK_Hyper_R)) || ((KeySym)(keysym) == XK_Mode_switch) || ((KeySym)(keysym) == XK_Num_Lock)) > > > > > > > >typedef struct _XRegion *Region; > > > >#define RectangleOut 0 >#define RectangleIn 1 >#define RectanglePart 2 > > > > > > > >typedef struct { > Visual *visual; > VisualID visualid; > int screen; > int depth; > > > > int class; > > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > int colormap_size; > int bits_per_rgb; >} XVisualInfo; > >#define VisualNoMask 0x0 >#define VisualIDMask 0x1 >#define VisualScreenMask 0x2 >#define VisualDepthMask 0x4 >#define VisualClassMask 0x8 >#define VisualRedMaskMask 0x10 >#define VisualGreenMaskMask 0x20 >#define VisualBlueMaskMask 0x40 >#define VisualColormapSizeMask 0x80 >#define VisualBitsPerRGBMask 0x100 >#define VisualAllMask 0x1FF > > > > > >typedef struct { > Colormap colormap; > unsigned long red_max; > unsigned long red_mult; > unsigned long green_max; > unsigned long green_mult; > unsigned long blue_max; > unsigned long blue_mult; > unsigned long base_pixel; > VisualID visualid; > XID killid; >} XStandardColormap; > >#define ReleaseByFreeingColormap ((XID) 1L) > > > > > >#define BitmapSuccess 0 >#define BitmapOpenFailed 1 >#define BitmapFileInvalid 2 >#define BitmapNoMemory 3 ># 346 "/usr/include/X11/Xutil.h" 3 4 >#define XCSUCCESS 0 >#define XCNOMEM 1 >#define XCNOENT 2 > >typedef int XContext; > >#define XUniqueContext() ((XContext) XrmUniqueQuark()) >#define XStringToContext(string) ((XContext) XrmStringToQuark(string)) > > > > > >extern XClassHint *XAllocClassHint ( > void >); > >extern XIconSize *XAllocIconSize ( > void >); > >extern XSizeHints *XAllocSizeHints ( > void >); > >extern XStandardColormap *XAllocStandardColormap ( > void >); > >extern XWMHints *XAllocWMHints ( > void >); > >extern int XClipBox( > Region , > XRectangle* >); > >extern Region XCreateRegion( > void >); > >extern const char *XDefaultString (void); > >extern int XDeleteContext( > Display* , > XID , > XContext >); > >extern int XDestroyRegion( > Region >); > >extern int XEmptyRegion( > Region >); > >extern int XEqualRegion( > Region , > Region >); > >extern int XFindContext( > Display* , > XID , > XContext , > XPointer* >); > >extern int XGetClassHint( > Display* , > Window , > XClassHint* >); > >extern int XGetIconSizes( > Display* , > Window , > XIconSize** , > int* >); > >extern int XGetNormalHints( > Display* , > Window , > XSizeHints* >); > >extern int XGetRGBColormaps( > Display* , > Window , > XStandardColormap** , > int* , > Atom >); > >extern int XGetSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XGetStandardColormap( > Display* , > Window , > XStandardColormap* , > Atom >); > >extern int XGetTextProperty( > Display* , > Window , > XTextProperty* , > Atom >); > >extern XVisualInfo *XGetVisualInfo( > Display* , > long , > XVisualInfo* , > int* >); > >extern int XGetWMClientMachine( > Display* , > Window , > XTextProperty* >); > >extern XWMHints *XGetWMHints( > Display* , > Window >); > >extern int XGetWMIconName( > Display* , > Window , > XTextProperty* >); > >extern int XGetWMName( > Display* , > Window , > XTextProperty* >); > >extern int XGetWMNormalHints( > Display* , > Window , > XSizeHints* , > long* >); > >extern int XGetWMSizeHints( > Display* , > Window , > XSizeHints* , > long* , > Atom >); > >extern int XGetZoomHints( > Display* , > Window , > XSizeHints* >); > >extern int XIntersectRegion( > Region , > Region , > Region >); > >extern void XConvertCase( > KeySym , > KeySym* , > KeySym* >); > >extern int XLookupString( > XKeyEvent* , > char* , > int , > KeySym* , > XComposeStatus* >); > >extern int XMatchVisualInfo( > Display* , > int , > int , > int , > XVisualInfo* >); > >extern int XOffsetRegion( > Region , > int , > int >); > >extern int XPointInRegion( > Region , > int , > int >); > >extern Region XPolygonRegion( > XPoint* , > int , > int >); > >extern int XRectInRegion( > Region , > int , > int , > unsigned int , > unsigned int >); > >extern int XSaveContext( > Display* , > XID , > XContext , > const char* >); > >extern int XSetClassHint( > Display* , > Window , > XClassHint* >); > >extern int XSetIconSizes( > Display* , > Window , > XIconSize* , > int >); > >extern int XSetNormalHints( > Display* , > Window , > XSizeHints* >); > >extern void XSetRGBColormaps( > Display* , > Window , > XStandardColormap* , > int , > Atom >); > >extern int XSetSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XSetStandardProperties( > Display* , > Window , > const char* , > const char* , > Pixmap , > char** , > int , > XSizeHints* >); > >extern void XSetTextProperty( > Display* , > Window , > XTextProperty* , > Atom >); > >extern void XSetWMClientMachine( > Display* , > Window , > XTextProperty* >); > >extern int XSetWMHints( > Display* , > Window , > XWMHints* >); > >extern void XSetWMIconName( > Display* , > Window , > XTextProperty* >); > >extern void XSetWMName( > Display* , > Window , > XTextProperty* >); > >extern void XSetWMNormalHints( > Display* , > Window , > XSizeHints* >); > >extern void XSetWMProperties( > Display* , > Window , > XTextProperty* , > XTextProperty* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void XmbSetWMProperties( > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void Xutf8SetWMProperties( > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void XSetWMSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XSetRegion( > Display* , > GC , > Region >); > >extern void XSetStandardColormap( > Display* , > Window , > XStandardColormap* , > Atom >); > >extern int XSetZoomHints( > Display* , > Window , > XSizeHints* >); > >extern int XShrinkRegion( > Region , > int , > int >); > >extern int XStringListToTextProperty( > char** , > int , > XTextProperty* >); > >extern int XSubtractRegion( > Region , > Region , > Region >); > >extern int XmbTextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int XwcTextListToTextProperty( > Display* display, > wchar_t** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int Xutf8TextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern void XwcFreeStringList( > wchar_t** list >); > >extern int XTextPropertyToStringList( > XTextProperty* , > char*** , > int* >); > >extern int XmbTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XwcTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > wchar_t*** list_return, > int* count_return >); > >extern int Xutf8TextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XUnionRectWithRegion( > XRectangle* , > Region , > Region >); > >extern int XUnionRegion( > Region , > Region , > Region >); > >extern int XWMGeometry( > Display* , > int , > const char* , > const char* , > unsigned int , > XSizeHints* , > int* , > int* , > int* , > int* , > int* >); > >extern int XXorRegion( > Region , > Region , > Region >); > > ># 54 "xcompositeint.h" 2 ># 1 "/usr/local/include/X11/extensions/compositeproto.h" 1 3 ># 26 "/usr/local/include/X11/extensions/compositeproto.h" 3 >#define _COMPOSITEPROTO_H_ > > ># 1 "/usr/local/include/X11/extensions/composite.h" 1 3 ># 26 "/usr/local/include/X11/extensions/composite.h" 3 >#define _COMPOSITE_H_ > ># 1 "/usr/local/include/X11/extensions/xfixeswire.h" 1 3 ># 27 "/usr/local/include/X11/extensions/xfixeswire.h" 3 >#define _XFIXESWIRE_H_ > >#define XFIXES_NAME "XFIXES" >#define XFIXES_MAJOR 3 >#define XFIXES_MINOR 0 > > >#define X_XFixesQueryVersion 0 >#define X_XFixesChangeSaveSet 1 >#define X_XFixesSelectSelectionInput 2 >#define X_XFixesSelectCursorInput 3 >#define X_XFixesGetCursorImage 4 > >#define X_XFixesCreateRegion 5 >#define X_XFixesCreateRegionFromBitmap 6 >#define X_XFixesCreateRegionFromWindow 7 >#define X_XFixesCreateRegionFromGC 8 >#define X_XFixesCreateRegionFromPicture 9 >#define X_XFixesDestroyRegion 10 >#define X_XFixesSetRegion 11 >#define X_XFixesCopyRegion 12 >#define X_XFixesUnionRegion 13 >#define X_XFixesIntersectRegion 14 >#define X_XFixesSubtractRegion 15 >#define X_XFixesInvertRegion 16 >#define X_XFixesTranslateRegion 17 >#define X_XFixesRegionExtents 18 >#define X_XFixesFetchRegion 19 >#define X_XFixesSetGCClipRegion 20 >#define X_XFixesSetWindowShapeRegion 21 >#define X_XFixesSetPictureClipRegion 22 >#define X_XFixesSetCursorName 23 >#define X_XFixesGetCursorName 24 >#define X_XFixesGetCursorImageAndName 25 >#define X_XFixesChangeCursor 26 >#define X_XFixesChangeCursorByName 27 > >#define X_XFixesExpandRegion 28 > >#define XFixesNumberRequests 29 > > >#define XFixesSelectionNotify 0 > > >#define XFixesSetSelectionOwnerNotify 0 >#define XFixesSelectionWindowDestroyNotify 1 >#define XFixesSelectionClientCloseNotify 2 > >#define XFixesSetSelectionOwnerNotifyMask (1L << 0) >#define XFixesSelectionWindowDestroyNotifyMask (1L << 1) >#define XFixesSelectionClientCloseNotifyMask (1L << 2) > > >#define XFixesCursorNotify 1 > >#define XFixesDisplayCursorNotify 0 > >#define XFixesDisplayCursorNotifyMask (1L << 0) > >#define XFixesNumberEvents (2) > > >#define BadRegion 0 >#define XFixesNumberErrors (BadRegion+1) > >#define SaveSetNearest 0 >#define SaveSetRoot 1 > >#define SaveSetMap 0 >#define SaveSetUnmap 1 > > > >#define WindowRegionBounding 0 >#define WindowRegionClip 1 ># 29 "/usr/local/include/X11/extensions/composite.h" 2 3 > >#define COMPOSITE_NAME "Composite" >#define COMPOSITE_MAJOR 0 >#define COMPOSITE_MINOR 2 > >#define CompositeRedirectAutomatic 0 >#define CompositeRedirectManual 1 > >#define X_CompositeQueryVersion 0 >#define X_CompositeRedirectWindow 1 >#define X_CompositeRedirectSubwindows 2 >#define X_CompositeUnredirectWindow 3 >#define X_CompositeUnredirectSubwindows 4 >#define X_CompositeCreateRegionFromBorderClip 5 >#define X_CompositeNameWindowPixmap 6 > >#define CompositeNumberRequests (X_CompositeNameWindowPixmap + 1) ># 30 "/usr/local/include/X11/extensions/compositeproto.h" 2 3 > >#define Window CARD32 >#define Region CARD32 > > > > >typedef struct { > CARD8 reqType; > CARD8 compositeReqType; > CARD16 length ; > CARD32 majorVersion ; > CARD32 minorVersion ; >} xCompositeQueryVersionReq; > >#define sz_xCompositeQueryVersionReq 12 > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 majorVersion ; > CARD32 minorVersion ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; >} xCompositeQueryVersionReply; > >#define sz_xCompositeQueryVersionReply 32 > >typedef struct { > CARD8 reqType; > CARD8 compositeReqType; > CARD16 length ; > CARD32 window ; > CARD8 update; > CARD8 pad1; > CARD16 pad2 ; >} xCompositeRedirectWindowReq; > >#define sz_xCompositeRedirectWindowReq 12 > >typedef struct { > CARD8 reqType; > CARD8 compositeReqType; > CARD16 length ; > CARD32 window ; > CARD8 update; > CARD8 pad1; > CARD16 pad2 ; >} xCompositeRedirectSubwindowsReq; > >#define sz_xCompositeRedirectSubwindowsReq 12 > >typedef struct { > CARD8 reqType; > CARD8 compositeReqType; > CARD16 length ; > CARD32 window ; > CARD8 update; > CARD8 pad1; > CARD16 pad2 ; >} xCompositeUnredirectWindowReq; > >#define sz_xCompositeUnredirectWindowReq 12 > >typedef struct { > CARD8 reqType; > CARD8 compositeReqType; > CARD16 length ; > CARD32 window ; > CARD8 update; > CARD8 pad1; > CARD16 pad2 ; >} xCompositeUnredirectSubwindowsReq; > >#define sz_xCompositeUnredirectSubwindowsReq 12 > >typedef struct { > CARD8 reqType; > CARD8 compositeReqType; > CARD16 length ; > CARD32 region ; > CARD32 window ; >} xCompositeCreateRegionFromBorderClipReq; > >#define sz_xCompositeCreateRegionFromBorderClipReq 12 > > > >typedef struct { > CARD8 reqType; > CARD8 compositeReqType; > CARD16 length; > CARD32 window ; > Pixmap pixmap ; >} xCompositeNameWindowPixmapReq; > >#define sz_xCompositeNameWindowPixmapReq 12 > >#undef Window >#undef Region ># 55 "xcompositeint.h" 2 ># 1 "../include/X11/extensions/Xcomposite.h" 1 ># 46 "../include/X11/extensions/Xcomposite.h" >#define _XCOMPOSITE_H_ > > ># 1 "/usr/include/X11/extensions/Xfixes.h" 1 3 4 ># 26 "/usr/include/X11/extensions/Xfixes.h" 3 4 >#define _XFIXES_H_ ># 36 "/usr/include/X11/extensions/Xfixes.h" 3 4 >#define XFIXES_REVISION 1 >#define XFIXES_VERSION ((XFIXES_MAJOR * 10000) + (XFIXES_MINOR * 100) + (XFIXES_REVISION)) > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int subtype; > Window owner; > Atom selection; > Time timestamp; > Time selection_timestamp; >} XFixesSelectionNotifyEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int subtype; > unsigned long cursor_serial; > Time timestamp; > Atom cursor_name; >} XFixesCursorNotifyEvent; > >typedef struct { > short x, y; > unsigned short width, height; > unsigned short xhot, yhot; > unsigned long cursor_serial; > unsigned long *pixels; > > Atom atom; > const char *name; > >} XFixesCursorImage; > > > > >typedef XID XserverRegion; > >typedef struct { > short x, y; > unsigned short width, height; > unsigned short xhot, yhot; > unsigned long cursor_serial; > unsigned long *pixels; > Atom atom; > const char *name; >} XFixesCursorImageAndName; > > > > > >int XFixesQueryExtension (Display *dpy, int *event_basep, int *error_basep); >int XFixesQueryVersion (Display *dpy, > int *major_versionp, > int *minor_versionp); > >int XFixesVersion (void); > >void >XFixesChangeSaveSet (Display *dpy, > Window win, > int mode, > int target, > int map); > >void >XFixesSelectSelectionInput (Display *dpy, > Window win, > Atom selection, > unsigned long eventMask); > >void >XFixesSelectCursorInput (Display *dpy, > Window win, > unsigned long eventMask); > >XFixesCursorImage * >XFixesGetCursorImage (Display *dpy); > > > > >XserverRegion >XFixesCreateRegion (Display *dpy, XRectangle *rectangles, int nrectangles); > >XserverRegion >XFixesCreateRegionFromBitmap (Display *dpy, Pixmap bitmap); > >XserverRegion >XFixesCreateRegionFromWindow (Display *dpy, Window window, int kind); > >XserverRegion >XFixesCreateRegionFromGC (Display *dpy, GC gc); > >XserverRegion >XFixesCreateRegionFromPicture (Display *dpy, XID picture); > >void >XFixesDestroyRegion (Display *dpy, XserverRegion region); > >void >XFixesSetRegion (Display *dpy, XserverRegion region, > XRectangle *rectangles, int nrectangles); > >void >XFixesCopyRegion (Display *dpy, XserverRegion dst, XserverRegion src); > >void >XFixesUnionRegion (Display *dpy, XserverRegion dst, > XserverRegion src1, XserverRegion src2); > >void >XFixesIntersectRegion (Display *dpy, XserverRegion dst, > XserverRegion src1, XserverRegion src2); > >void >XFixesSubtractRegion (Display *dpy, XserverRegion dst, > XserverRegion src1, XserverRegion src2); > >void >XFixesInvertRegion (Display *dpy, XserverRegion dst, > XRectangle *rect, XserverRegion src); > >void >XFixesTranslateRegion (Display *dpy, XserverRegion region, int dx, int dy); > >void >XFixesRegionExtents (Display *dpy, XserverRegion dst, XserverRegion src); > >XRectangle * >XFixesFetchRegion (Display *dpy, XserverRegion region, int *nrectanglesRet); > >XRectangle * >XFixesFetchRegionAndBounds (Display *dpy, XserverRegion region, > int *nrectanglesRet, > XRectangle *bounds); > >void >XFixesSetGCClipRegion (Display *dpy, GC gc, > int clip_x_origin, int clip_y_origin, > XserverRegion region); > >void >XFixesSetWindowShapeRegion (Display *dpy, Window win, int shape_kind, > int x_off, int y_off, XserverRegion region); > >void >XFixesSetPictureClipRegion (Display *dpy, XID picture, > int clip_x_origin, int clip_y_origin, > XserverRegion region); > >void >XFixesSetCursorName (Display *dpy, Cursor cursor, const char *name); > >const char * >XFixesGetCursorName (Display *dpy, Cursor cursor, Atom *atom); > >void >XFixesChangeCursor (Display *dpy, Cursor source, Cursor destination); > >void >XFixesChangeCursorByName (Display *dpy, Cursor source, const char *name); > > > > > >void >XFixesExpandRegion (Display *dpy, XserverRegion dst, XserverRegion src, > unsigned left, unsigned right, > unsigned top, unsigned bottom); > > > > ># 50 "../include/X11/extensions/Xcomposite.h" 2 > > > > > > >#define XCOMPOSITE_MAJOR COMPOSITE_MAJOR >#define XCOMPOSITE_MINOR COMPOSITE_MINOR >#define XCOMPOSITE_REVISION 2 >#define XCOMPOSITE_VERSION ((XCOMPOSITE_MAJOR * 10000) + (XCOMPOSITE_MINOR * 100) + (XCOMPOSITE_REVISION)) > > > >int XCompositeQueryExtension (Display *dpy, int *event_basep, int *error_basep); > >int XCompositeQueryVersion (Display *dpy, > int *major_versionp, > int *minor_versionp); > >int XCompositeVersion (void); > >void >XCompositeRedirectWindow (Display *dpy, Window window, int update); > >void >XCompositeRedirectSubwindows (Display *dpy, Window window, int update); > >void >XCompositeUnredirectWindow (Display *dpy, Window window, int update); > >void >XCompositeUnredirectSubwindows (Display *dpy, Window window, int update); > >XserverRegion >XCompositeCreateRegionFromBorderClip (Display *dpy, Window window); > >Pixmap >XCompositeNameWindowPixmap (Display *dpy, Window window); > >Window >XCompositeGetOverlayWindow (Display *dpy, Window window); > >void >XCompositeReleaseOverlayWindow (Display *dpy, Window window); > > ># 56 "xcompositeint.h" 2 > >typedef struct _XCompositeExtDisplayInfo { > struct _XCompositeExtDisplayInfo *next; > Display *display; > XExtCodes *codes; > int major_version; > int minor_version; >} XCompositeExtDisplayInfo; > > >typedef struct _XCompositeExtInfo { > XCompositeExtDisplayInfo *head; > XCompositeExtDisplayInfo *cur; > int ndisplays; >} XCompositeExtInfo; > >extern XCompositeExtInfo XCompositeExtensionInfo; >extern const char XCompositeExtensionName[]; > >XCompositeExtDisplayInfo * >XCompositeFindDisplay (Display *dpy); > >#define XCompositeHasExtension(i) ((i) && ((i)->codes)) > >#define XCompositeCheckExtension(dpy,i,val) if (!XCompositeHasExtension(i)) { return val; } > > >#define XCompositeSimpleCheckExtension(dpy,i) if (!XCompositeHasExtension(i)) { return; } ># 46 "Xcomposite.c" 2 > >XCompositeExtInfo XCompositeExtensionInfo; > >const char XCompositeExtensionName[] = "Composite"; > > > > > >static int >XCompositeExtRemoveDisplay (XCompositeExtInfo *extinfo, Display *dpy) >{ > XCompositeExtDisplayInfo *info, *prev; > > > > > if (_XLockMutex_fn) (*_XLockMutex_fn)(_Xglobal_lock); > prev = ((void *)0); > for (info = extinfo->head; info; info = info->next) { > if (info->display == dpy) break; > prev = info; > } > if (!info) { > if (_XUnlockMutex_fn) (*_XUnlockMutex_fn)(_Xglobal_lock); > return 0; > } > > > > > if (prev) > prev->next = info->next; > else > extinfo->head = info->next; > > extinfo->ndisplays--; > if (info == extinfo->cur) extinfo->cur = ((void *)0); > if (_XUnlockMutex_fn) (*_XUnlockMutex_fn)(_Xglobal_lock); > > free(((char *) info)); > return 1; >} > >static int >XCompositeCloseDisplay (Display *dpy, XExtCodes *codes) >{ > return XCompositeExtRemoveDisplay (&XCompositeExtensionInfo, dpy); >} > > > > > >static XCompositeExtDisplayInfo * >XCompositeExtAddDisplay (XCompositeExtInfo *extinfo, > Display *dpy, > const char *ext_name) >{ > XCompositeExtDisplayInfo *info; > > info = (XCompositeExtDisplayInfo *) malloc((sizeof (XCompositeExtDisplayInfo))); > if (!info) return ((void *)0); > info->display = dpy; > > info->codes = XInitExtension (dpy, ext_name); > > > > > > if (info->codes) { > xCompositeQueryVersionReply rep; > xCompositeQueryVersionReq *req; > XESetCloseDisplay (dpy, info->codes->extension, > XCompositeCloseDisplay); > > > > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + 12) > dpy->bufmax) _XFlush(dpy); req = (xCompositeQueryVersionReq *)(dpy->last_req = dpy->bufptr); req->reqType = 0; req->length = (12)>>2; dpy->bufptr += 12; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = 0; > req->majorVersion = 0; > req->minorVersion = 2; > if (!_XReply (dpy, (xReply *) &rep, 0, 1)) > { > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); > free((info)); > return 0; > } > info->major_version = rep.majorVersion; > info->minor_version = rep.minorVersion; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > } else { > > > > > > XExtCodes *codes = XAddExtension(dpy); > if (!codes) { > XFree(info); > return ((void *)0); > } > XESetCloseDisplay (dpy, codes->extension, XCompositeCloseDisplay); > } > > > > > if (_XLockMutex_fn) (*_XLockMutex_fn)(_Xglobal_lock); > info->next = extinfo->head; > extinfo->head = info; > extinfo->cur = info; > extinfo->ndisplays++; > if (_XUnlockMutex_fn) (*_XUnlockMutex_fn)(_Xglobal_lock); > return info; >} > > > > > > >static XCompositeExtDisplayInfo * >XCompositeExtFindDisplay (XCompositeExtInfo *extinfo, > Display *dpy) >{ > XCompositeExtDisplayInfo *info; > > > > > if ((info = extinfo->cur) && info->display == dpy) > return info; > > > > > if (_XLockMutex_fn) (*_XLockMutex_fn)(_Xglobal_lock); > for (info = extinfo->head; info; info = info->next) { > if (info->display == dpy) { > extinfo->cur = info; > if (_XUnlockMutex_fn) (*_XUnlockMutex_fn)(_Xglobal_lock); > return info; > } > } > if (_XUnlockMutex_fn) (*_XUnlockMutex_fn)(_Xglobal_lock); > > return ((void *)0); >} > >XCompositeExtDisplayInfo * >XCompositeFindDisplay (Display *dpy) >{ > XCompositeExtDisplayInfo *info; > > info = XCompositeExtFindDisplay (&XCompositeExtensionInfo, dpy); > if (!info) > info = XCompositeExtAddDisplay (&XCompositeExtensionInfo, dpy, > XCompositeExtensionName); > return info; >} > > >int >XCompositeQueryExtension (Display *dpy, int *event_basep, int *error_basep) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > > if (((info) && ((info)->codes))) > { > *event_basep = info->codes->first_event; > *error_basep = info->codes->first_error; > return 1; > } > else > return 0; >} > >int >XCompositeQueryVersion (Display *dpy, > int *major_versionp, > int *minor_versionp) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > > if (!((info) && ((info)->codes))) { return 0; }; > *major_versionp = info->major_version; > *minor_versionp = info->minor_version; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); > return 1; >} > >int >XCompositeVersion (void) >{ > return ((0 * 10000) + (2 * 100) + (2)); >} > >void >XCompositeRedirectWindow (Display *dpy, Window window, int update) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeRedirectWindowReq *req; > > if (!((info) && ((info)->codes))) { return; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + 12) > dpy->bufmax) _XFlush(dpy); req = (xCompositeRedirectWindowReq *)(dpy->last_req = dpy->bufptr); req->reqType = 1; req->length = (12)>>2; dpy->bufptr += 12; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = 1; > req->window = window; > req->update = update; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); >} > >void >XCompositeRedirectSubwindows (Display *dpy, Window window, int update) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeRedirectSubwindowsReq *req; > > if (!((info) && ((info)->codes))) { return; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + 12) > dpy->bufmax) _XFlush(dpy); req = (xCompositeRedirectSubwindowsReq *)(dpy->last_req = dpy->bufptr); req->reqType = 2; req->length = (12)>>2; dpy->bufptr += 12; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = 2; > req->window = window; > req->update = update; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); >} > >void >XCompositeUnredirectWindow (Display *dpy, Window window, int update) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeUnredirectWindowReq *req; > > if (!((info) && ((info)->codes))) { return; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + 12) > dpy->bufmax) _XFlush(dpy); req = (xCompositeUnredirectWindowReq *)(dpy->last_req = dpy->bufptr); req->reqType = 3; req->length = (12)>>2; dpy->bufptr += 12; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = 3; > req->window = window; > req->update = update; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); >} > >void >XCompositeUnredirectSubwindows (Display *dpy, Window window, int update) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeUnredirectSubwindowsReq *req; > > if (!((info) && ((info)->codes))) { return; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + 12) > dpy->bufmax) _XFlush(dpy); req = (xCompositeUnredirectSubwindowsReq *)(dpy->last_req = dpy->bufptr); req->reqType = 4; req->length = (12)>>2; dpy->bufptr += 12; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = 4; > req->window = window; > req->update = update; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); >} > >XserverRegion >XCompositeCreateRegionFromBorderClip (Display *dpy, Window window) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeCreateRegionFromBorderClipReq *req; > XserverRegion region; > > if (!((info) && ((info)->codes))) { return 0; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + 12) > dpy->bufmax) _XFlush(dpy); req = (xCompositeCreateRegionFromBorderClipReq *)(dpy->last_req = dpy->bufptr); req->reqType = 5; req->length = (12)>>2; dpy->bufptr += 12; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = 5; > req->window = window; > region = req->region = ((*((_XPrivDisplay)dpy)->resource_alloc)((dpy))); > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); > return region; >} > >Pixmap >XCompositeNameWindowPixmap (Display *dpy, Window window) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeNameWindowPixmapReq *req; > Pixmap pixmap; > > if (!((info) && ((info)->codes))) { return 0; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + 12) > dpy->bufmax) _XFlush(dpy); req = (xCompositeNameWindowPixmapReq *)(dpy->last_req = dpy->bufptr); req->reqType = 6; req->length = (12)>>2; dpy->bufptr += 12; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = 6; > req->window = window; > pixmap = req->pixmap = ((*((_XPrivDisplay)dpy)->resource_alloc)((dpy))); > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); > return pixmap; >} > >Window >XCompositeGetOverlayWindow (Display *dpy, Window window) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeGetOverlayWindowReq *req; > xCompositeGetOverlayWindowReply rep; > > if (!((info) && ((info)->codes))) { return 0; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + sz_xCompositeGetOverlayWindowReq) > dpy->bufmax) _XFlush(dpy); req = (xCompositeGetOverlayWindowReq *)(dpy->last_req = dpy->bufptr); req->reqType = X_CompositeGetOverlayWindow; req->length = (sz_xCompositeGetOverlayWindowReq)>>2; dpy->bufptr += sz_xCompositeGetOverlayWindowReq; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = X_CompositeGetOverlayWindow; > req->window = window; > if (!_XReply (dpy, (xReply *) &rep, 0, 0)) > { > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); > return 0; > } > > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); > > return rep.overlayWin; >} > >void >XCompositeReleaseOverlayWindow (Display *dpy, Window window) >{ > XCompositeExtDisplayInfo *info = XCompositeFindDisplay (dpy); > xCompositeReleaseOverlayWindowReq *req; > > if (!((info) && ((info)->codes))) { return; }; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->lock_display)(dpy); > if ((dpy->bufptr + sz_xCompositeReleaseOverlayWindowReq) > dpy->bufmax) _XFlush(dpy); req = (xCompositeReleaseOverlayWindowReq *)(dpy->last_req = dpy->bufptr); req->reqType = X_CompositeReleaseOverlayWindow; req->length = (sz_xCompositeReleaseOverlayWindowReq)>>2; dpy->bufptr += sz_xCompositeReleaseOverlayWindowReq; dpy->request++; > req->reqType = info->codes->major_opcode; > req->compositeReqType = X_CompositeReleaseOverlayWindow; > req->window = window; > if ((dpy)->lock_fns) (*(dpy)->lock_fns->unlock_display)(dpy); > if (dpy->synchandler) (*dpy->synchandler)(dpy); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 128970
:
84034
|
84035
|
84058
|
84059
|
85320
| 85329