xserver-multidpi/include/xorg-server.h.in
Alan Coopersmith 0887c9463f Import reallocarray() from OpenBSD
Wrapper for realloc() that checks for overflow when multiplying
arguments together, so we don't have to add overflow checks to
every single call.  For documentation on usage, see:
http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: Matt Turner <mattst88@gmail.com>
2015-04-21 16:57:08 -07:00

241 lines
4.6 KiB
C

/* xorg-server.h.in -*- c -*-
*
* This file is the template file for the xorg-server.h file which gets
* installed as part of the SDK. The #defines in this file overlap
* with those from config.h, but only for those options that we want
* to export to external modules. Boilerplate autotool #defines such
* as HAVE_STUFF and PACKAGE_NAME is kept in config.h
*
* It is still possible to update config.h.in using autoheader, since
* autoheader only creates a .h.in file for the first
* AM_CONFIG_HEADER() line, and thus does not overwrite this file.
*
* However, it should be kept in sync with this file.
*/
#ifndef _XORG_SERVER_H_
#define _XORG_SERVER_H_
#ifdef HAVE_XORG_CONFIG_H
#error Include xorg-config.h when building the X server
#endif
/* Support BigRequests extension */
#undef BIGREQS
/* Default font path */
#undef COMPILEDDEFAULTFONTPATH
/* Support Composite Extension */
#undef COMPOSITE
/* Build DPMS extension */
#undef DPMSExtension
/* Build DRI3 extension */
#undef DRI3
/* Build GLX extension */
#undef GLXEXT
/* Support XDM-AUTH*-1 */
#undef HASXDMAUTH
/* Support SHM */
#undef HAS_SHM
/* Define to 1 if you have the `ffs' function. */
#undef HAVE_FFS
/* Define to 1 if you have the `reallocarray' function. */
#undef HAVE_REALLOCARRAY
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strcasestr' function. */
#undef HAVE_STRCASESTR
/* Define to 1 if you have the `strlcat' function. */
#undef HAVE_STRLCAT
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
/* Define to 1 if you have the `strncasecmp' function. */
#undef HAVE_STRNCASECMP
/* Define to 1 if you have the `strndup' function. */
#undef HAVE_STRNDUP
/* Support IPv6 for TCP connections */
#undef IPv6
/* Support MIT-SHM Extension */
#undef MITSHM
/* Internal define for Xinerama */
#undef PANORAMIX
/* Support Present extension */
#undef PRESENT
/* Support RANDR extension */
#undef RANDR
/* Support RENDER extension */
#undef RENDER
/* Support X resource extension */
#undef RES
/* Support MIT-SCREEN-SAVER extension */
#undef SCREENSAVER
/* Support SHAPE extension */
#undef SHAPE
/* Define to 1 on systems derived from System V Release 4 */
#undef SVR4
/* Support TCP socket connections */
#undef TCPCONN
/* Enable touchscreen support */
#undef TOUCHSCREEN
/* Support tslib touchscreen abstraction library */
#undef TSLIB
/* Support UNIX socket connections */
#undef UNIXCONN
/* unaligned word accesses behave as expected */
#undef WORKING_UNALIGNED_INT
/* Support XCMisc extension */
#undef XCMISC
/* Support Xdmcp */
#undef XDMCP
/* Build XFree86 BigFont extension */
#undef XF86BIGFONT
/* Support XFree86 Video Mode extension */
#undef XF86VIDMODE
/* Build XDGA support */
#undef XFreeXDGA
/* Support Xinerama extension */
#undef XINERAMA
/* Support X Input extension */
#undef XINPUT
/* XKB default rules */
#undef XKB_DFLT_RULES
/* Support loadable input and output drivers */
#undef XLOADABLE
/* Build DRI extension */
#undef XF86DRI
/* Build DRI2 extension */
#undef DRI2
/* Build Xorg server */
#undef XORGSERVER
/* Vendor release */
#undef XORG_RELEASE
/* Current Xorg version */
#undef XORG_VERSION_CURRENT
/* Build Xv Extension */
#undef XvExtension
/* Build XvMC Extension */
#undef XvMCExtension
/* Support XSync extension */
#undef XSYNC
/* Support XTest extension */
#undef XTEST
/* Support Xv Extension */
#undef XV
/* Vendor name */
#undef XVENDORNAME
/* BSD-compliant source */
#undef _BSD_SOURCE
/* POSIX-compliant source */
#undef _POSIX_SOURCE
/* X/Open-compliant source */
#undef _XOPEN_SOURCE
/* Vendor web address for support */
#undef __VENDORDWEBSUPPORT__
/* Location of configuration file */
#undef __XCONFIGFILE__
/* Name of X server */
#undef __XSERVERNAME__
/* Building vgahw module */
#undef WITH_VGAHW
/* System is BSD-like */
#undef CSRG_BASED
/* System has PC console */
#undef PCCONS_SUPPORT
/* System has PCVT console */
#undef PCVT_SUPPORT
/* System has syscons console */
#undef SYSCONS_SUPPORT
/* System has wscons console */
#undef WSCONS_SUPPORT
/* Loadable XFree86 server awesomeness */
#define XFree86LOADER
/* Use libpciaccess */
#undef XSERVER_LIBPCIACCESS
/* X Access Control Extension */
#undef XACE
/* Have X server platform bus support */
#undef XSERVER_PLATFORM_BUS
#ifdef _LP64
#define _XSERVER64 1
#endif
/* Have support for X shared memory fence library (xshmfence) */
#undef HAVE_XSHMFENCE
/* Use XTrans FD passing support */
#undef XTRANS_SEND_FDS
/* Ask fontsproto to make font path element names const */
#define FONT_PATH_ELEMENT_NAME_CONST 1
/* byte order */
#undef X_BYTE_ORDER
#endif /* _XORG_SERVER_H_ */