[][src]Struct x11_dl::xlib::Xlib

pub struct Xlib {
    pub XActivateScreenSaver: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XAddConnectionWatch: unsafe extern "C" fn(_: *mut Display, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: c_int, _: c_int, _: *mut *mut c_char)>, _: *mut c_char) -> c_int,
    pub XAddExtension: unsafe extern "C" fn(_: *mut Display) -> *mut XExtCodes,
    pub XAddHost: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress) -> c_int,
    pub XAddHosts: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress, _: c_int) -> c_int,
    pub XAddPixel: unsafe extern "C" fn(_: *mut XImage, _: c_long) -> c_int,
    pub XAddToExtensionList: unsafe extern "C" fn(_: *mut *mut XExtData, _: *mut XExtData) -> c_int,
    pub XAddToSaveSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XAllocClassHint: unsafe extern "C" fn() -> *mut XClassHint,
    pub XAllocColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor) -> c_int,
    pub XAllocColorCells: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_uint, _: *mut c_ulong, _: c_uint) -> c_int,
    pub XAllocColorPlanes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut c_ulong) -> c_int,
    pub XAllocIconSize: unsafe extern "C" fn() -> *mut XIconSize,
    pub XAllocNamedColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XColor, _: *mut XColor) -> c_int,
    pub XAllocSizeHints: unsafe extern "C" fn() -> *mut XSizeHints,
    pub XAllocStandardColormap: unsafe extern "C" fn() -> *mut XStandardColormap,
    pub XAllocWMHints: unsafe extern "C" fn() -> *mut XWMHints,
    pub XAllowEvents: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_int,
    pub XAllPlanes: unsafe extern "C" fn() -> c_ulong,
    pub XAutoRepeatOff: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XAutoRepeatOn: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XBaseFontNameListOfFontSet: unsafe extern "C" fn(_: XFontSet) -> *mut c_char,
    pub XBell: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XBitmapBitOrder: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XBitmapPad: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XBitmapUnit: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XBlackPixel: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulong,
    pub XBlackPixelOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulong,
    pub XCellsOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XChangeActivePointerGrab: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_ulong, _: c_ulong) -> c_int,
    pub XChangeGC: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: *mut XGCValues) -> c_int,
    pub XChangeKeyboardControl: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XKeyboardControl) -> c_int,
    pub XChangeKeyboardMapping: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ulong, _: c_int) -> c_int,
    pub XChangePointerControl: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XChangeProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *const c_uchar, _: c_int) -> c_int,
    pub XChangeSaveSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_int,
    pub XChangeWindowAttributes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XSetWindowAttributes) -> c_int,
    pub XCheckIfEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_int,
    pub XCheckMaskEvent: unsafe extern "C" fn(_: *mut Display, _: c_long, _: *mut XEvent) -> c_int,
    pub XCheckTypedEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XEvent) -> c_int,
    pub XCheckTypedWindowEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut XEvent) -> c_int,
    pub XCheckWindowEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_long, _: *mut XEvent) -> c_int,
    pub XCirculateSubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_int,
    pub XCirculateSubwindowsDown: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XCirculateSubwindowsUp: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XClearArea: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int) -> c_int,
    pub XClearWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XClipBox: unsafe extern "C" fn(_: Region, _: *mut XRectangle) -> c_int,
    pub XCloseDisplay: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XCloseIM: unsafe extern "C" fn(_: XIM) -> c_int,
    pub XCloseOM: unsafe extern "C" fn(_: XOM) -> c_int,
    pub XcmsAddColorSpace: unsafe extern "C" fn(_: *mut XcmsColorSpace) -> c_int,
    pub XcmsAddFunctionSet: unsafe extern "C" fn(_: *mut XcmsFunctionSet) -> c_int,
    pub XcmsAllocColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_ulong) -> c_int,
    pub XcmsAllocNamedColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong) -> c_int,
    pub XcmsCCCOfColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> XcmsCCC,
    pub XcmsCIELabClipab: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIELabClipL: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIELabClipLab: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIELabQueryMaxC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELabQueryMaxL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELabQueryMaxLC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELabQueryMinL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELabToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIELabWhiteShiftColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIELuvClipL: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIELuvClipLuv: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIELuvClipuv: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIELuvQueryMaxC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELuvQueryMaxL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELuvQueryMaxLC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELuvQueryMinL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsCIELuvToCIEuvY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIELuvWhiteShiftColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsCIEuvYToCIELuv: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIEuvYToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIEuvYToTekHVC: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIExyYToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIEXYZToCIELab: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIEXYZToCIEuvY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIEXYZToCIExyY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsCIEXYZToRGBi: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsClientWhitePointOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut XcmsColor,
    pub XcmsConvertColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_ulong, _: *mut c_int) -> c_int,
    pub XcmsCreateCCC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Visual, _: *mut XcmsColor, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char) -> XcmsCCC,
    pub XcmsDefaultCCC: unsafe extern "C" fn(_: *mut Display, _: c_int) -> XcmsCCC,
    pub XcmsDisplayOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut Display,
    pub XcmsFormatOfPrefix: unsafe extern "C" fn(_: *mut c_char) -> c_ulong,
    pub XcmsFreeCCC: unsafe extern "C" fn(_: XcmsCCC),
    pub XcmsLookupColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong) -> c_int,
    pub XcmsPrefixOfFormat: unsafe extern "C" fn(_: c_ulong) -> *mut c_char,
    pub XcmsQueryBlack: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_int,
    pub XcmsQueryBlue: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_int,
    pub XcmsQueryColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_ulong) -> c_int,
    pub XcmsQueryColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: c_ulong) -> c_int,
    pub XcmsQueryGreen: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_int,
    pub XcmsQueryRed: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_int,
    pub XcmsQueryWhite: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_int,
    pub XcmsRGBiToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsRGBiToRGB: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsRGBToRGBi: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsScreenNumberOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> c_int,
    pub XcmsScreenWhitePointOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut XcmsColor,
    pub XcmsSetCCCOfColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XcmsCCC) -> XcmsCCC,
    pub XcmsSetCompressionProc: unsafe extern "C" fn(_: XcmsCCC, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char) -> Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int>,
    pub XcmsSetWhiteAdjustProc: unsafe extern "C" fn(_: XcmsCCC, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char) -> Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int>,
    pub XcmsSetWhitePoint: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor) -> c_int,
    pub XcmsStoreColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor) -> c_int,
    pub XcmsStoreColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsTekHVCClipC: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsTekHVCClipV: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsTekHVCClipVC: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsTekHVCQueryMaxC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsTekHVCQueryMaxV: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsTekHVCQueryMaxVC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsTekHVCQueryMaxVSamples: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsTekHVCQueryMinV: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_int,
    pub XcmsTekHVCToCIEuvY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_int,
    pub XcmsTekHVCWhiteShiftColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int,
    pub XcmsVisualOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut Visual,
    pub XConfigureWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: *mut XWindowChanges) -> c_int,
    pub XConnectionNumber: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XContextDependentDrawing: unsafe extern "C" fn(_: XFontSet) -> c_int,
    pub XContextualDrawing: unsafe extern "C" fn(_: XFontSet) -> c_int,
    pub XConvertCase: unsafe extern "C" fn(_: c_ulong, _: *mut c_ulong, _: *mut c_ulong),
    pub XConvertSelection: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong, _: c_ulong, _: c_ulong) -> c_int,
    pub XCopyArea: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_int,
    pub XCopyColormapAndFree: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_ulong,
    pub XCopyGC: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: GC) -> c_int,
    pub XCopyPlane: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int, _: c_ulong) -> c_int,
    pub XCreateBitmapFromData: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: c_uint, _: c_uint) -> c_ulong,
    pub XCreateColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut Visual, _: c_int) -> c_ulong,
    pub XCreateFontCursor: unsafe extern "C" fn(_: *mut Display, _: c_uint) -> c_ulong,
    pub XCreateFontSet: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *mut *mut *mut c_char, _: *mut c_int, _: *mut *mut c_char) -> XFontSet,
    pub XCreateGC: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XGCValues) -> GC,
    pub XCreateGlyphCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_uint, _: c_uint, _: *const XColor, _: *const XColor) -> c_ulong,
    pub XCreateImage: unsafe extern "C" fn(_: *mut Display, _: *mut Visual, _: c_uint, _: c_int, _: c_int, _: *mut c_char, _: c_uint, _: c_uint, _: c_int, _: c_int) -> *mut XImage,
    pub XCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: c_uint) -> c_ulong,
    pub XCreatePixmapCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XColor, _: *mut XColor, _: c_uint, _: c_uint) -> c_ulong,
    pub XCreatePixmapFromBitmapData: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_char, _: c_uint, _: c_uint, _: c_ulong, _: c_ulong, _: c_uint) -> c_ulong,
    pub XCreateRegion: unsafe extern "C" fn() -> Region,
    pub XCreateSimpleWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_uint, _: c_ulong, _: c_ulong) -> c_ulong,
    pub XCreateWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_uint, _: c_int, _: c_uint, _: *mut Visual, _: c_ulong, _: *mut XSetWindowAttributes) -> c_ulong,
    pub XDefaultColormap: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulong,
    pub XDefaultColormapOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulong,
    pub XDefaultDepth: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XDefaultDepthOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XDefaultGC: unsafe extern "C" fn(_: *mut Display, _: c_int) -> GC,
    pub XDefaultGCOfScreen: unsafe extern "C" fn(_: *mut Screen) -> GC,
    pub XDefaultRootWindow: unsafe extern "C" fn(_: *mut Display) -> c_ulong,
    pub XDefaultScreen: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XDefaultScreenOfDisplay: unsafe extern "C" fn(_: *mut Display) -> *mut Screen,
    pub XDefaultString: unsafe extern "C" fn() -> *const c_char,
    pub XDefaultVisual: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut Visual,
    pub XDefaultVisualOfScreen: unsafe extern "C" fn(_: *mut Screen) -> *mut Visual,
    pub XDefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XDeleteContext: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_int,
    pub XDeleteModifiermapEntry: unsafe extern "C" fn(_: *mut XModifierKeymap, _: c_uchar, _: c_int) -> *mut XModifierKeymap,
    pub XDeleteProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XDestroyIC: unsafe extern "C" fn(_: XIC),
    pub XDestroyImage: unsafe extern "C" fn(_: *mut XImage) -> c_int,
    pub XDestroyOC: unsafe extern "C" fn(_: XFontSet),
    pub XDestroyRegion: unsafe extern "C" fn(_: Region) -> c_int,
    pub XDestroySubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XDestroyWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XDirectionalDependentDrawing: unsafe extern "C" fn(_: XFontSet) -> c_int,
    pub XDisableAccessControl: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XDisplayCells: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XDisplayHeight: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XDisplayHeightMM: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XDisplayKeycodes: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XDisplayMotionBufferSize: unsafe extern "C" fn(_: *mut Display) -> c_ulong,
    pub XDisplayName: unsafe extern "C" fn(_: *const c_char) -> *mut c_char,
    pub XDisplayOfIM: unsafe extern "C" fn(_: XIM) -> *mut Display,
    pub XDisplayOfOM: unsafe extern "C" fn(_: XOM) -> *mut Display,
    pub XDisplayOfScreen: unsafe extern "C" fn(_: *mut Screen) -> *mut Display,
    pub XDisplayPlanes: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XDisplayString: unsafe extern "C" fn(_: *mut Display) -> *mut c_char,
    pub XDisplayWidth: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XDisplayWidthMM: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XDoesBackingStore: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XDoesSaveUnders: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XDrawArc: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_int,
    pub XDrawArcs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XArc, _: c_int) -> c_int,
    pub XDrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int) -> c_int,
    pub XDrawImageString16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const XChar2b, _: c_int) -> c_int,
    pub XDrawLine: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XDrawLines: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XPoint, _: c_int, _: c_int) -> c_int,
    pub XDrawPoint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int) -> c_int,
    pub XDrawPoints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XPoint, _: c_int, _: c_int) -> c_int,
    pub XDrawRectangle: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_int,
    pub XDrawRectangles: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XRectangle, _: c_int) -> c_int,
    pub XDrawSegments: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XSegment, _: c_int) -> c_int,
    pub XDrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int) -> c_int,
    pub XDrawString16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const XChar2b, _: c_int) -> c_int,
    pub XDrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XTextItem, _: c_int) -> c_int,
    pub XDrawText16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XTextItem16, _: c_int) -> c_int,
    pub XEHeadOfExtensionList: unsafe extern "C" fn(_: XEDataObject) -> *mut *mut XExtData,
    pub XEmptyRegion: unsafe extern "C" fn(_: Region) -> c_int,
    pub XEnableAccessControl: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XEqualRegion: unsafe extern "C" fn(_: Region, _: Region) -> c_int,
    pub XESetBeforeFlush: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes, _: *const c_char, _: c_long)>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes, _: *const c_char, _: c_long)>,
    pub XESetCloseDisplay: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes) -> c_int>,
    pub XESetCopyEventCookie: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut XGenericEventCookie) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut XGenericEventCookie) -> c_int>,
    pub XESetCopyGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>,
    pub XESetCreateFont: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>,
    pub XESetCreateGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>,
    pub XESetError: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut xError, _: *mut XExtCodes, _: *mut c_int) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut xError, _: *mut XExtCodes, _: *mut c_int) -> c_int>,
    pub XESetErrorString: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XExtCodes, _: *mut c_char, _: c_int) -> *mut c_char>) -> Option<unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XExtCodes, _: *mut c_char, _: c_int) -> *mut c_char>,
    pub XESetEventToWire: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>,
    pub XESetFlushGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>,
    pub XESetFreeFont: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>,
    pub XESetFreeGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>,
    pub XESetPrintErrorValues: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut c_void)>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut c_void)>,
    pub XESetWireToError: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut xError) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut xError) -> c_int>,
    pub XESetWireToEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>,
    pub XESetWireToEventCookie: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut xEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut xEvent) -> c_int>,
    pub XEventMaskOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_long,
    pub XEventsQueued: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XExtendedMaxRequestSize: unsafe extern "C" fn(_: *mut Display) -> c_long,
    pub XExtentsOfFontSet: unsafe extern "C" fn(_: XFontSet) -> *mut XFontSetExtents,
    pub XFetchBuffer: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: c_int) -> *mut c_char,
    pub XFetchBytes: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut c_char,
    pub XFetchName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_char) -> c_int,
    pub XFillArc: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_int,
    pub XFillArcs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XArc, _: c_int) -> c_int,
    pub XFillPolygon: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XPoint, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XFillRectangle: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_int,
    pub XFillRectangles: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XRectangle, _: c_int) -> c_int,
    pub XFilterEvent: unsafe extern "C" fn(_: *mut XEvent, _: c_ulong) -> c_int,
    pub XFindContext: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut *mut c_char) -> c_int,
    pub XFindOnExtensionList: unsafe extern "C" fn(_: *mut *mut XExtData, _: c_int) -> *mut XExtData,
    pub XFlush: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XFlushGC: unsafe extern "C" fn(_: *mut Display, _: GC),
    pub XFontsOfFontSet: unsafe extern "C" fn(_: XFontSet, _: *mut *mut *mut XFontStruct, _: *mut *mut *mut c_char) -> c_int,
    pub XForceScreenSaver: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XFree: unsafe extern "C" fn(_: *mut c_void) -> c_int,
    pub XFreeColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XFreeColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int, _: c_ulong) -> c_int,
    pub XFreeCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XFreeEventData: unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie),
    pub XFreeExtensionList: unsafe extern "C" fn(_: *mut *mut c_char) -> c_int,
    pub XFreeFont: unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct) -> c_int,
    pub XFreeFontInfo: unsafe extern "C" fn(_: *mut *mut c_char, _: *mut XFontStruct, _: c_int) -> c_int,
    pub XFreeFontNames: unsafe extern "C" fn(_: *mut *mut c_char) -> c_int,
    pub XFreeFontPath: unsafe extern "C" fn(_: *mut *mut c_char) -> c_int,
    pub XFreeFontSet: unsafe extern "C" fn(_: *mut Display, _: XFontSet),
    pub XFreeGC: unsafe extern "C" fn(_: *mut Display, _: GC) -> c_int,
    pub XFreeModifiermap: unsafe extern "C" fn(_: *mut XModifierKeymap) -> c_int,
    pub XFreePixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XFreeStringList: unsafe extern "C" fn(_: *mut *mut c_char),
    pub XGContextFromGC: unsafe extern "C" fn(_: GC) -> c_ulong,
    pub XGeometry: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *const c_char, _: *const c_char, _: c_uint, _: c_uint, _: c_uint, _: c_int, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XGetAtomName: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut c_char,
    pub XGetAtomNames: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: c_int, _: *mut *mut c_char) -> c_int,
    pub XGetClassHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XClassHint) -> c_int,
    pub XGetCommand: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut *mut c_char, _: *mut c_int) -> c_int,
    pub XGetDefault: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *const c_char) -> *mut c_char,
    pub XGetErrorDatabaseText: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *const c_char, _: *const c_char, _: *mut c_char, _: c_int) -> c_int,
    pub XGetErrorText: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_char, _: c_int) -> c_int,
    pub XGetEventData: unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie) -> c_int,
    pub XGetFontPath: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut *mut c_char,
    pub XGetFontProperty: unsafe extern "C" fn(_: *mut XFontStruct, _: c_ulong, _: *mut c_ulong) -> c_int,
    pub XGetGCValues: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: *mut XGCValues) -> c_int,
    pub XGetGeometry: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_uint, _: *mut c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XGetIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_char) -> c_int,
    pub XGetIconSizes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut XIconSize, _: *mut c_int) -> c_int,
    pub XGetImage: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_ulong, _: c_int) -> *mut XImage,
    pub XGetInputFocus: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: *mut c_int) -> c_int,
    pub XGetKeyboardControl: unsafe extern "C" fn(_: *mut Display, _: *mut XKeyboardState) -> c_int,
    pub XGetKeyboardMapping: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_int, _: *mut c_int) -> *mut c_ulong,
    pub XGetModifierMapping: unsafe extern "C" fn(_: *mut Display) -> *mut XModifierKeymap,
    pub XGetMotionEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong, _: *mut c_int) -> *mut XTimeCoord,
    pub XGetNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_int,
    pub XGetPixel: unsafe extern "C" fn(_: *mut XImage, _: c_int, _: c_int) -> c_ulong,
    pub XGetPointerControl: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XGetPointerMapping: unsafe extern "C" fn(_: *mut Display, _: *mut c_uchar, _: c_int) -> c_int,
    pub XGetRGBColormaps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut XStandardColormap, _: *mut c_int, _: c_ulong) -> c_int,
    pub XGetScreenSaver: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XGetSelectionOwner: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_ulong,
    pub XGetSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: c_ulong) -> c_int,
    pub XGetStandardColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XStandardColormap, _: c_ulong) -> c_int,
    pub XGetSubImage: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_ulong, _: c_int, _: *mut XImage, _: c_int, _: c_int) -> *mut XImage,
    pub XGetTextProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty, _: c_ulong) -> c_int,
    pub XGetTransientForHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong) -> c_int,
    pub XGetVisualInfo: unsafe extern "C" fn(_: *mut Display, _: c_long, _: *mut XVisualInfo, _: *mut c_int) -> *mut XVisualInfo,
    pub XGetWindowAttributes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XWindowAttributes) -> c_int,
    pub XGetWindowProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_long, _: c_long, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int,
    pub XGetWMClientMachine: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty) -> c_int,
    pub XGetWMColormapWindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_ulong, _: *mut c_int) -> c_int,
    pub XGetWMHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XWMHints,
    pub XGetWMIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty) -> c_int,
    pub XGetWMName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty) -> c_int,
    pub XGetWMNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: *mut c_long) -> c_int,
    pub XGetWMProtocols: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_ulong, _: *mut c_int) -> c_int,
    pub XGetWMSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: *mut c_long, _: c_ulong) -> c_int,
    pub XGetZoomHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_int,
    pub XGrabButton: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_ulong, _: c_int, _: c_uint, _: c_int, _: c_int, _: c_ulong, _: c_ulong) -> c_int,
    pub XGrabKey: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_uint, _: c_ulong, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XGrabKeyboard: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_int,
    pub XGrabPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_uint, _: c_int, _: c_int, _: c_ulong, _: c_ulong, _: c_ulong) -> c_int,
    pub XGrabServer: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XHeightMMOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XHeightOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XIconifyWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_int,
    pub XIfEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_int,
    pub XImageByteOrder: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XIMOfIC: unsafe extern "C" fn(_: XIC) -> XIM,
    pub XInitExtension: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XExtCodes,
    pub XInitImage: unsafe extern "C" fn(_: *mut XImage) -> c_int,
    pub XInitThreads: unsafe extern "C" fn() -> c_int,
    pub XInsertModifiermapEntry: unsafe extern "C" fn(_: *mut XModifierKeymap, _: c_uchar, _: c_int) -> *mut XModifierKeymap,
    pub XInstallColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XInternalConnectionNumbers: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_int, _: *mut c_int) -> c_int,
    pub XInternAtom: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int) -> c_ulong,
    pub XInternAtoms: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int, _: c_int, _: *mut c_ulong) -> c_int,
    pub XIntersectRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_int,
    pub XkbAddDeviceLedInfo: unsafe extern "C" fn(_: XkbDeviceInfoPtr, _: c_uint, _: c_uint) -> XkbDeviceLedInfoPtr,
    pub XkbAddGeomColor: unsafe extern "C" fn(_: XkbGeometryPtr, _: *mut c_char, _: c_uint) -> XkbColorPtr,
    pub XkbAddGeomDoodad: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr, _: c_ulong) -> XkbDoodadPtr,
    pub XkbAddGeomKey: unsafe extern "C" fn(_: XkbRowPtr) -> XkbKeyPtr,
    pub XkbAddGeomKeyAlias: unsafe extern "C" fn(_: XkbGeometryPtr, _: *mut c_char, _: *mut c_char) -> XkbKeyAliasPtr,
    pub XkbAddGeomOutline: unsafe extern "C" fn(_: XkbShapePtr, _: c_int) -> XkbOutlinePtr,
    pub XkbAddGeomOverlay: unsafe extern "C" fn(_: XkbSectionPtr, _: c_ulong, _: c_int) -> XkbOverlayPtr,
    pub XkbAddGeomOverlayKey: unsafe extern "C" fn(_: XkbOverlayPtr, _: XkbOverlayRowPtr, _: *mut c_char, _: *mut c_char) -> XkbOverlayKeyPtr,
    pub XkbAddGeomOverlayRow: unsafe extern "C" fn(_: XkbOverlayPtr, _: c_int, _: c_int) -> XkbOverlayRowPtr,
    pub XkbAddGeomProperty: unsafe extern "C" fn(_: XkbGeometryPtr, _: *mut c_char, _: *mut c_char) -> XkbPropertyPtr,
    pub XkbAddGeomRow: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> XkbRowPtr,
    pub XkbAddGeomSection: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_ulong, _: c_int, _: c_int, _: c_int) -> XkbSectionPtr,
    pub XkbAddGeomShape: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_ulong, _: c_int) -> XkbShapePtr,
    pub XkbAddKeyType: unsafe extern "C" fn(_: XkbDescPtr, _: c_ulong, _: c_int, _: c_int, _: c_int) -> XkbKeyTypePtr,
    pub XkbAllocClientMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_uint) -> c_int,
    pub XkbAllocCompatMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_uint) -> c_int,
    pub XkbAllocControls: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint) -> c_int,
    pub XkbAllocDeviceInfo: unsafe extern "C" fn(_: c_uint, _: c_uint, _: c_uint) -> XkbDeviceInfoPtr,
    pub XkbAllocGeomColors: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_int,
    pub XkbAllocGeomDoodads: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_int,
    pub XkbAllocGeometry: unsafe extern "C" fn(_: XkbDescPtr, _: XkbGeometrySizesPtr) -> c_int,
    pub XkbAllocGeomKeyAliases: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_int,
    pub XkbAllocGeomKeys: unsafe extern "C" fn(_: XkbRowPtr, _: c_int) -> c_int,
    pub XkbAllocGeomOutlines: unsafe extern "C" fn(_: XkbShapePtr, _: c_int) -> c_int,
    pub XkbAllocGeomOverlayKeys: unsafe extern "C" fn(_: XkbOverlayRowPtr, _: c_int) -> c_int,
    pub XkbAllocGeomOverlayRows: unsafe extern "C" fn(_: XkbOverlayPtr, _: c_int) -> c_int,
    pub XkbAllocGeomOverlays: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> c_int,
    pub XkbAllocGeomPoints: unsafe extern "C" fn(_: XkbOutlinePtr, _: c_int) -> c_int,
    pub XkbAllocGeomProps: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_int,
    pub XkbAllocGeomRows: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> c_int,
    pub XkbAllocGeomSectionDoodads: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> c_int,
    pub XkbAllocGeomSections: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_int,
    pub XkbAllocGeomShapes: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_int,
    pub XkbAllocIndicatorMaps: unsafe extern "C" fn(_: XkbDescPtr) -> c_int,
    pub XkbAllocKeyboard: unsafe extern "C" fn() -> XkbDescPtr,
    pub XkbAllocNames: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int, _: c_int) -> c_int,
    pub XkbAllocServerMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_uint) -> c_int,
    pub XkbApplyCompatMapToKey: unsafe extern "C" fn(_: XkbDescPtr, _: c_uchar, _: XkbChangesPtr) -> c_int,
    pub XkbApplyVirtualModChanges: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: XkbChangesPtr) -> c_int,
    pub XkbBell: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_ulong) -> c_int,
    pub XkbBellEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_ulong) -> c_int,
    pub XkbChangeDeviceInfo: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: XkbDeviceChangesPtr) -> c_int,
    pub XkbChangeEnabledControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbChangeKeycodeRange: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int, _: XkbChangesPtr) -> c_int,
    pub XkbChangeMap: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: XkbMapChangesPtr) -> c_int,
    pub XkbChangeNames: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: XkbNameChangesPtr) -> c_int,
    pub XkbChangeTypesOfKey: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int, _: c_uint, _: *mut c_int, _: XkbMapChangesPtr) -> c_int,
    pub XkbComputeEffectiveMap: unsafe extern "C" fn(_: XkbDescPtr, _: XkbKeyTypePtr, _: *mut c_uchar) -> c_int,
    pub XkbComputeRowBounds: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr, _: XkbRowPtr) -> c_int,
    pub XkbComputeSectionBounds: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr) -> c_int,
    pub XkbComputeShapeBounds: unsafe extern "C" fn(_: XkbShapePtr) -> c_int,
    pub XkbComputeShapeTop: unsafe extern "C" fn(_: XkbShapePtr, _: XkbBoundsPtr) -> c_int,
    pub XkbCopyKeyType: unsafe extern "C" fn(_: XkbKeyTypePtr, _: XkbKeyTypePtr) -> c_int,
    pub XkbCopyKeyTypes: unsafe extern "C" fn(_: XkbKeyTypePtr, _: XkbKeyTypePtr, _: c_int) -> c_int,
    pub XkbDeviceBell: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_int,
    pub XkbDeviceBellEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_int,
    pub XkbFindOverlayForKey: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr, _: *mut c_char) -> *mut c_char,
    pub XkbForceBell: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XkbForceDeviceBell: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XkbFreeClientMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int),
    pub XkbFreeCompatMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int),
    pub XkbFreeComponentList: unsafe extern "C" fn(_: XkbComponentListPtr),
    pub XkbFreeControls: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int),
    pub XkbFreeDeviceInfo: unsafe extern "C" fn(_: XkbDeviceInfoPtr, _: c_uint, _: c_int),
    pub XkbFreeGeomColors: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomDoodads: unsafe extern "C" fn(_: XkbDoodadPtr, _: c_int, _: c_int),
    pub XkbFreeGeometry: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_uint, _: c_int),
    pub XkbFreeGeomKeyAliases: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomKeys: unsafe extern "C" fn(_: XkbRowPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomOutlines: unsafe extern "C" fn(_: XkbShapePtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomOverlayKeys: unsafe extern "C" fn(_: XkbOverlayRowPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomOverlayRows: unsafe extern "C" fn(_: XkbOverlayPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomOverlays: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomPoints: unsafe extern "C" fn(_: XkbOutlinePtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomProperties: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomRows: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomSections: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeGeomShapes: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int),
    pub XkbFreeIndicatorMaps: unsafe extern "C" fn(_: XkbDescPtr),
    pub XkbFreeKeyboard: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int),
    pub XkbFreeNames: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int),
    pub XkbFreeServerMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int),
    pub XkbGetAutoRepeatRate: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XkbGetAutoResetControls: unsafe extern "C" fn(_: *mut Display, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XkbGetCompatMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetControls: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_int,
    pub XkbGetDetectableAutoRepeat: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> c_int,
    pub XkbGetDeviceButtonActions: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_int, _: c_uint, _: c_uint) -> c_int,
    pub XkbGetDeviceInfo: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_uint) -> XkbDeviceInfoPtr,
    pub XkbGetDeviceInfoChanges: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: XkbDeviceChangesPtr) -> c_int,
    pub XkbGetDeviceLedInfo: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbGetGeometry: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr) -> c_int,
    pub XkbGetIndicatorMap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_int,
    pub XkbGetIndicatorState: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint) -> c_int,
    pub XkbGetKeyActions: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetKeyBehaviors: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetKeyboard: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> XkbDescPtr,
    pub XkbGetKeyboardByName: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbComponentNamesPtr, _: c_uint, _: c_uint, _: c_int) -> XkbDescPtr,
    pub XkbGetKeyExplicitComponents: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetKeyModifierMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetKeySyms: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetKeyTypes: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetKeyVirtualModMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> XkbDescPtr,
    pub XkbGetMapChanges: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: XkbMapChangesPtr) -> c_int,
    pub XkbGetNamedDeviceIndicator: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_ulong, _: *mut c_int, _: *mut c_int, _: XkbIndicatorMapPtr, _: *mut c_int) -> c_int,
    pub XkbGetNamedGeometry: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: c_ulong) -> c_int,
    pub XkbGetNamedIndicator: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int, _: *mut c_int, _: XkbIndicatorMapPtr, _: *mut c_int) -> c_int,
    pub XkbGetNames: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetPerClientControls: unsafe extern "C" fn(_: *mut Display, _: *mut c_uint) -> c_int,
    pub XkbGetState: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbStatePtr) -> c_int,
    pub XkbGetUpdatedMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetVirtualMods: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbGetXlibControls: unsafe extern "C" fn(_: *mut Display) -> c_uint,
    pub XkbIgnoreExtension: unsafe extern "C" fn(_: c_int) -> c_int,
    pub XkbInitCanonicalKeyTypes: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int) -> c_int,
    pub XkbKeycodeToKeysym: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_int, _: c_int) -> c_ulong,
    pub XkbKeysymToModifiers: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_uint,
    pub XkbKeyTypesForCoreSymbols: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: *mut c_ulong, _: c_uint, _: *mut c_int, _: *mut c_ulong) -> c_int,
    pub XkbLatchGroup: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> c_int,
    pub XkbLatchModifiers: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbLibraryVersion: unsafe extern "C" fn(_: *mut c_int, _: *mut c_int) -> c_int,
    pub XkbListComponents: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbComponentNamesPtr, _: *mut c_int) -> XkbComponentListPtr,
    pub XkbLockGroup: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> c_int,
    pub XkbLockModifiers: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbLookupKeyBinding: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: *mut c_char, _: c_int, _: *mut c_int) -> c_int,
    pub XkbLookupKeySym: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_uint, _: *mut c_uint, _: *mut c_ulong) -> c_int,
    pub XkbNoteControlsChanges: unsafe extern "C" fn(_: XkbControlsChangesPtr, _: *mut XkbControlsNotifyEvent, _: c_uint),
    pub XkbNoteDeviceChanges: unsafe extern "C" fn(_: XkbDeviceChangesPtr, _: *mut XkbExtensionDeviceNotifyEvent, _: c_uint),
    pub XkbNoteMapChanges: unsafe extern "C" fn(_: XkbMapChangesPtr, _: *mut XkbMapNotifyEvent, _: c_uint),
    pub XkbNoteNameChanges: unsafe extern "C" fn(_: XkbNameChangesPtr, _: *mut XkbNamesNotifyEvent, _: c_uint),
    pub XkbOpenDisplay: unsafe extern "C" fn(_: *mut c_char, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> *mut Display,
    pub XkbQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XkbRefreshKeyboardMapping: unsafe extern "C" fn(_: *mut XkbMapNotifyEvent) -> c_int,
    pub XkbResizeDeviceButtonActions: unsafe extern "C" fn(_: XkbDeviceInfoPtr, _: c_uint) -> c_int,
    pub XkbResizeKeyActions: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int) -> *mut XkbAction,
    pub XkbResizeKeySyms: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int) -> *mut c_ulong,
    pub XkbResizeKeyType: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XkbSelectEventDetails: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_ulong, _: c_ulong) -> c_int,
    pub XkbSelectEvents: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_ulong, _: c_ulong) -> c_int,
    pub XkbSetAtomFuncs: unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int) -> c_ulong>, _: Option<unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut c_char>),
    pub XkbSetAutoRepeatRate: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbSetAutoResetControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XkbSetCompatMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr, _: c_int) -> c_int,
    pub XkbSetControls: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_int,
    pub XkbSetDebuggingFlags: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: *mut c_char, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XkbSetDetectableAutoRepeat: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_int,
    pub XkbSetDeviceButtonActions: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_uint, _: c_uint) -> c_int,
    pub XkbSetDeviceInfo: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDeviceInfoPtr) -> c_int,
    pub XkbSetDeviceLedInfo: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbSetGeometry: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbGeometryPtr) -> c_int,
    pub XkbSetIgnoreLockMods: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbSetIndicatorMap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_int,
    pub XkbSetMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbSetNamedDeviceIndicator: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_ulong, _: c_int, _: c_int, _: c_int, _: XkbIndicatorMapPtr) -> c_int,
    pub XkbSetNamedIndicator: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: XkbIndicatorMapPtr) -> c_int,
    pub XkbSetNames: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_int,
    pub XkbSetPerClientControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint) -> c_int,
    pub XkbSetServerInternalMods: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_uint, _: c_uint) -> c_int,
    pub XkbSetXlibControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> c_uint,
    pub XkbToControl: unsafe extern "C" fn(_: c_char) -> c_char,
    pub XkbTranslateKeyCode: unsafe extern "C" fn(_: XkbDescPtr, _: c_uchar, _: c_uint, _: *mut c_uint, _: *mut c_ulong) -> c_int,
    pub XkbTranslateKeySym: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: c_uint, _: *mut c_char, _: c_int, _: *mut c_int) -> c_int,
    pub XkbUpdateActionVirtualMods: unsafe extern "C" fn(_: XkbDescPtr, _: *mut XkbAction, _: c_uint) -> c_int,
    pub XkbUpdateKeyTypeVirtualMods: unsafe extern "C" fn(_: XkbDescPtr, _: XkbKeyTypePtr, _: c_uint, _: XkbChangesPtr),
    pub XkbUpdateMapFromCore: unsafe extern "C" fn(_: XkbDescPtr, _: c_uchar, _: c_int, _: c_int, _: *mut c_ulong, _: XkbChangesPtr) -> c_int,
    pub XkbUseExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XkbVirtualModsToReal: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: *mut c_uint) -> c_int,
    pub XkbXlibControlsImplemented: unsafe extern "C" fn() -> c_uint,
    pub XKeycodeToKeysym: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_int) -> c_ulong,
    pub XKeysymToKeycode: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_uchar,
    pub XKeysymToString: unsafe extern "C" fn(_: c_ulong) -> *mut c_char,
    pub XKillClient: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XLastKnownRequestProcessed: unsafe extern "C" fn(_: *mut Display) -> c_ulong,
    pub XListDepths: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut c_int,
    pub XListExtensions: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut *mut c_char,
    pub XListFonts: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int, _: *mut c_int) -> *mut *mut c_char,
    pub XListFontsWithInfo: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int, _: *mut c_int, _: *mut *mut XFontStruct) -> *mut *mut c_char,
    pub XListHosts: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> *mut XHostAddress,
    pub XListInstalledColormaps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulong,
    pub XListPixmapFormats: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XPixmapFormatValues,
    pub XListProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulong,
    pub XLoadFont: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_ulong,
    pub XLoadQueryFont: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XFontStruct,
    pub XLocaleOfFontSet: unsafe extern "C" fn(_: XFontSet) -> *mut c_char,
    pub XLocaleOfIM: unsafe extern "C" fn(_: XIM) -> *mut c_char,
    pub XLocaleOfOM: unsafe extern "C" fn(_: XOM) -> *mut c_char,
    pub XLockDisplay: unsafe extern "C" fn(_: *mut Display),
    pub XLookupColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XColor, _: *mut XColor) -> c_int,
    pub XLookupKeysym: unsafe extern "C" fn(_: *mut XKeyEvent, _: c_int) -> c_ulong,
    pub XLookupString: unsafe extern "C" fn(_: *mut XKeyEvent, _: *mut c_char, _: c_int, _: *mut c_ulong, _: *mut XComposeStatus) -> c_int,
    pub XLowerWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XMapRaised: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XMapSubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XMapWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XMaskEvent: unsafe extern "C" fn(_: *mut Display, _: c_long, _: *mut XEvent) -> c_int,
    pub XMatchVisualInfo: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: *mut XVisualInfo) -> c_int,
    pub XMaxCmapsOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XMaxRequestSize: unsafe extern "C" fn(_: *mut Display) -> c_long,
    pub XmbDrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int),
    pub XmbDrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int),
    pub XmbDrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XmbTextItem, _: c_int),
    pub XmbLookupString: unsafe extern "C" fn(_: XIC, _: *mut XKeyEvent, _: *mut c_char, _: c_int, _: *mut c_ulong, _: *mut c_int) -> c_int,
    pub XmbResetIC: unsafe extern "C" fn(_: XIC) -> *mut c_char,
    pub XmbSetWMProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *const c_char, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints, _: *mut XWMHints, _: *mut XClassHint),
    pub XmbTextEscapement: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int) -> c_int,
    pub XmbTextExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_int,
    pub XmbTextListToTextProperty: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int, _: XICCEncodingStyle, _: *mut XTextProperty) -> c_int,
    pub XmbTextPerCharExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle, _: c_int, _: *mut c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_int,
    pub XmbTextPropertyToTextList: unsafe extern "C" fn(_: *mut Display, _: *const XTextProperty, _: *mut *mut *mut c_char, _: *mut c_int) -> c_int,
    pub XMinCmapsOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XMoveResizeWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_int,
    pub XMoveWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int) -> c_int,
    pub XNewModifiermap: unsafe extern "C" fn(_: c_int) -> *mut XModifierKeymap,
    pub XNextEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent) -> c_int,
    pub XNextRequest: unsafe extern "C" fn(_: *mut Display) -> c_ulong,
    pub XNoOp: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XOffsetRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int) -> c_int,
    pub XOMOfOC: unsafe extern "C" fn(_: XFontSet) -> XOM,
    pub XOpenDisplay: unsafe extern "C" fn(_: *const c_char) -> *mut Display,
    pub XOpenIM: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *mut c_char, _: *mut c_char) -> XIM,
    pub XOpenOM: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *const c_char, _: *const c_char) -> XOM,
    pub XParseColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XColor) -> c_int,
    pub XParseGeometry: unsafe extern "C" fn(_: *const c_char, _: *mut c_int, _: *mut c_int, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XPeekEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent) -> c_int,
    pub XPeekIfEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_int,
    pub XPending: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub Xpermalloc: unsafe extern "C" fn(_: c_uint) -> *mut c_char,
    pub XPlanesOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XPointInRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int) -> c_int,
    pub XPolygonRegion: unsafe extern "C" fn(_: *mut XPoint, _: c_int, _: c_int) -> Region,
    pub XProcessInternalConnection: unsafe extern "C" fn(_: *mut Display, _: c_int),
    pub XProtocolRevision: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XProtocolVersion: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XPutBackEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent) -> c_int,
    pub XPutImage: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XImage, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_int,
    pub XPutPixel: unsafe extern "C" fn(_: *mut XImage, _: c_int, _: c_int, _: c_ulong) -> c_int,
    pub XQLength: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XQueryBestCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XQueryBestSize: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XQueryBestStipple: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XQueryBestTile: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_int,
    pub XQueryColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor) -> c_int,
    pub XQueryColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor, _: c_int) -> c_int,
    pub XQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XQueryFont: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XFontStruct,
    pub XQueryKeymap: unsafe extern "C" fn(_: *mut Display, _: *mut c_char) -> c_int,
    pub XQueryPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_uint) -> c_int,
    pub XQueryTextExtents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_int,
    pub XQueryTextExtents16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const XChar2b, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_int,
    pub XQueryTree: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_ulong, _: *mut c_uint) -> c_int,
    pub XRaiseWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XReadBitmapFile: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut c_uint, _: *mut c_uint, _: *mut c_ulong, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XReadBitmapFileData: unsafe extern "C" fn(_: *const c_char, _: *mut c_uint, _: *mut c_uint, _: *mut *mut c_uchar, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XRebindKeysym: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int, _: *const c_uchar, _: c_int) -> c_int,
    pub XRecolorCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor, _: *mut XColor) -> c_int,
    pub XReconfigureWMWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_uint, _: *mut XWindowChanges) -> c_int,
    pub XRectInRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_int,
    pub XRefreshKeyboardMapping: unsafe extern "C" fn(_: *mut XMappingEvent) -> c_int,
    pub XRegisterIMInstantiateCallback: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *mut c_char, _: *mut c_char, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: *mut c_char)>, _: *mut c_char) -> c_int,
    pub XRemoveConnectionWatch: unsafe extern "C" fn(_: *mut Display, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: c_int, _: c_int, _: *mut *mut c_char)>, _: *mut c_char),
    pub XRemoveFromSaveSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XRemoveHost: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress) -> c_int,
    pub XRemoveHosts: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress, _: c_int) -> c_int,
    pub XReparentWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_int, _: c_int) -> c_int,
    pub XResetScreenSaver: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XResizeWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint) -> c_int,
    pub XResourceManagerString: unsafe extern "C" fn(_: *mut Display) -> *mut c_char,
    pub XRestackWindows: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: c_int) -> c_int,
    pub XrmCombineDatabase: unsafe extern "C" fn(_: XrmDatabase, _: *mut XrmDatabase, _: c_int),
    pub XrmCombineFileDatabase: unsafe extern "C" fn(_: *const c_char, _: *mut XrmDatabase, _: c_int) -> c_int,
    pub XrmDestroyDatabase: unsafe extern "C" fn(_: XrmDatabase),
    pub XrmEnumerateDatabase: unsafe extern "C" fn(_: XrmDatabase, _: *mut c_int, _: *mut c_int, _: c_int, _: Option<unsafe extern "C" fn(_: *mut XrmDatabase, _: *mut XrmBinding, _: *mut c_int, _: *mut c_int, _: *mut XrmValue, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_int,
    pub XrmGetDatabase: unsafe extern "C" fn(_: *mut Display) -> XrmDatabase,
    pub XrmGetFileDatabase: unsafe extern "C" fn(_: *const c_char) -> XrmDatabase,
    pub XrmGetResource: unsafe extern "C" fn(_: XrmDatabase, _: *const c_char, _: *const c_char, _: *mut *mut c_char, _: *mut XrmValue) -> c_int,
    pub XrmGetStringDatabase: unsafe extern "C" fn(_: *const c_char) -> XrmDatabase,
    pub XrmInitialize: unsafe extern "C" fn(),
    pub XrmLocaleOfDatabase: unsafe extern "C" fn(_: XrmDatabase) -> *const c_char,
    pub XrmMergeDatabases: unsafe extern "C" fn(_: XrmDatabase, _: *mut XrmDatabase),
    pub XrmParseCommand: unsafe extern "C" fn(_: *mut XrmDatabase, _: XrmOptionDescList, _: c_int, _: *const c_char, _: *mut c_int, _: *mut *mut c_char),
    pub XrmPermStringToQuark: unsafe extern "C" fn(_: *const c_char) -> c_int,
    pub XrmPutFileDatabase: unsafe extern "C" fn(_: XrmDatabase, _: *const c_char),
    pub XrmPutLineResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *const c_char),
    pub XrmPutResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *const c_char, _: *const c_char, _: *mut XrmValue),
    pub XrmPutStringResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *const c_char, _: *const c_char),
    pub XrmQGetResource: unsafe extern "C" fn(_: XrmDatabase, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XrmValue) -> c_int,
    pub XrmQGetSearchList: unsafe extern "C" fn(_: XrmDatabase, _: *mut c_int, _: *mut c_int, _: *mut *mut XrmDatabase, _: c_int) -> c_int,
    pub XrmQGetSearchResource: unsafe extern "C" fn(_: *mut *mut XrmDatabase, _: c_int, _: c_int, _: *mut c_int, _: *mut XrmValue) -> c_int,
    pub XrmQPutResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *mut XrmBinding, _: *mut c_int, _: c_int, _: *mut XrmValue),
    pub XrmQPutStringResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *mut XrmBinding, _: *mut c_int, _: *const c_char),
    pub XrmQuarkToString: unsafe extern "C" fn(_: c_int) -> *mut c_char,
    pub XrmSetDatabase: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase),
    pub XrmStringToBindingQuarkList: unsafe extern "C" fn(_: *const c_char, _: *mut XrmBinding, _: *mut c_int),
    pub XrmStringToQuark: unsafe extern "C" fn(_: *const c_char) -> c_int,
    pub XrmStringToQuarkList: unsafe extern "C" fn(_: *const c_char, _: *mut c_int),
    pub XrmUniqueQuark: unsafe extern "C" fn() -> c_int,
    pub XRootWindow: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulong,
    pub XRootWindowOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulong,
    pub XRotateBuffers: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XRotateWindowProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int, _: c_int) -> c_int,
    pub XSaveContext: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *const c_char) -> c_int,
    pub XScreenCount: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XScreenNumberOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XScreenOfDisplay: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut Screen,
    pub XScreenResourceString: unsafe extern "C" fn(_: *mut Screen) -> *mut c_char,
    pub XSelectInput: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_long) -> c_int,
    pub XSendEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_long, _: *mut XEvent) -> c_int,
    pub XServerVendor: unsafe extern "C" fn(_: *mut Display) -> *mut c_char,
    pub XSetAccessControl: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XSetAfterFunction: unsafe extern "C" fn(_: *mut Display, _: Option<unsafe extern "C" fn(_: *mut Display) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display) -> c_int>,
    pub XSetArcMode: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_int,
    pub XSetAuthorization: unsafe extern "C" fn(_: *mut c_char, _: c_int, _: *mut c_char, _: c_int),
    pub XSetBackground: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_int,
    pub XSetClassHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XClassHint) -> c_int,
    pub XSetClipMask: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_int,
    pub XSetClipOrigin: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int) -> c_int,
    pub XSetClipRectangles: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int, _: *mut XRectangle, _: c_int, _: c_int) -> c_int,
    pub XSetCloseDownMode: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XSetCommand: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_char, _: c_int) -> c_int,
    pub XSetDashes: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: *const c_char, _: c_int) -> c_int,
    pub XSetErrorHandler: unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent) -> c_int>,
    pub XSetFillRule: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_int,
    pub XSetFillStyle: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_int,
    pub XSetFont: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_int,
    pub XSetFontPath: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int) -> c_int,
    pub XSetForeground: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_int,
    pub XSetFunction: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_int,
    pub XSetGraphicsExposures: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_int,
    pub XSetICFocus: unsafe extern "C" fn(_: XIC),
    pub XSetIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char) -> c_int,
    pub XSetIconSizes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XIconSize, _: c_int) -> c_int,
    pub XSetInputFocus: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_ulong) -> c_int,
    pub XSetIOErrorHandler: unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut Display) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display) -> c_int>,
    pub XSetLineAttributes: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_uint, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XSetLocaleModifiers: unsafe extern "C" fn(_: *const c_char) -> *mut c_char,
    pub XSetModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XModifierKeymap) -> c_int,
    pub XSetNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_int,
    pub XSetPlaneMask: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_int,
    pub XSetPointerMapping: unsafe extern "C" fn(_: *mut Display, _: *const c_uchar, _: c_int) -> c_int,
    pub XSetRegion: unsafe extern "C" fn(_: *mut Display, _: GC, _: Region) -> c_int,
    pub XSetRGBColormaps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XStandardColormap, _: c_int, _: c_ulong),
    pub XSetScreenSaver: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_int) -> c_int,
    pub XSetSelectionOwner: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong) -> c_int,
    pub XSetSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: c_ulong) -> c_int,
    pub XSetStandardColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XStandardColormap, _: c_ulong),
    pub XSetStandardProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *const c_char, _: c_ulong, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints) -> c_int,
    pub XSetState: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: c_ulong, _: c_int, _: c_ulong) -> c_int,
    pub XSetStipple: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_int,
    pub XSetSubwindowMode: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_int,
    pub XSetTextProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty, _: c_ulong),
    pub XSetTile: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_int,
    pub XSetTransientForHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XSetTSOrigin: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int) -> c_int,
    pub XSetWindowBackground: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XSetWindowBackgroundPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XSetWindowBorder: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XSetWindowBorderPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XSetWindowBorderWidth: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint) -> c_int,
    pub XSetWindowColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
    pub XSetWMClientMachine: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty),
    pub XSetWMColormapWindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_int,
    pub XSetWMHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XWMHints) -> c_int,
    pub XSetWMIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty),
    pub XSetWMName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty),
    pub XSetWMNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints),
    pub XSetWMProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty, _: *mut XTextProperty, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints, _: *mut XWMHints, _: *mut XClassHint),
    pub XSetWMProtocols: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_int,
    pub XSetWMSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: c_ulong),
    pub XSetZoomHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_int,
    pub XShrinkRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int) -> c_int,
    pub XStoreBuffer: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int, _: c_int) -> c_int,
    pub XStoreBytes: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int) -> c_int,
    pub XStoreColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor) -> c_int,
    pub XStoreColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor, _: c_int) -> c_int,
    pub XStoreName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char) -> c_int,
    pub XStoreNamedColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: c_ulong, _: c_int) -> c_int,
    pub XStringListToTextProperty: unsafe extern "C" fn(_: *mut *mut c_char, _: c_int, _: *mut XTextProperty) -> c_int,
    pub XStringToKeysym: unsafe extern "C" fn(_: *const c_char) -> c_ulong,
    pub XSubImage: unsafe extern "C" fn(_: *mut XImage, _: c_int, _: c_int, _: c_uint, _: c_uint) -> *mut XImage,
    pub XSubtractRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_int,
    pub XSupportsLocale: unsafe extern "C" fn() -> c_int,
    pub XSync: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
    pub XSynchronize: unsafe extern "C" fn(_: *mut Display, _: c_int) -> Option<unsafe extern "C" fn(_: *mut Display) -> c_int>,
    pub XTextExtents: unsafe extern "C" fn(_: *mut XFontStruct, _: *const c_char, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_int,
    pub XTextExtents16: unsafe extern "C" fn(_: *mut XFontStruct, _: *const XChar2b, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_int,
    pub XTextPropertyToStringList: unsafe extern "C" fn(_: *mut XTextProperty, _: *mut *mut *mut c_char, _: *mut c_int) -> c_int,
    pub XTextWidth: unsafe extern "C" fn(_: *mut XFontStruct, _: *const c_char, _: c_int) -> c_int,
    pub XTextWidth16: unsafe extern "C" fn(_: *mut XFontStruct, _: *const XChar2b, _: c_int) -> c_int,
    pub XTranslateCoordinates: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_ulong) -> c_int,
    pub XUndefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XUngrabButton: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_ulong) -> c_int,
    pub XUngrabKey: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_uint, _: c_ulong) -> c_int,
    pub XUngrabKeyboard: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XUngrabPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XUngrabServer: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XUninstallColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XUnionRectWithRegion: unsafe extern "C" fn(_: *mut XRectangle, _: Region, _: Region) -> c_int,
    pub XUnionRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_int,
    pub XUnloadFont: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XUnlockDisplay: unsafe extern "C" fn(_: *mut Display),
    pub XUnmapSubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XUnmapWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
    pub XUnregisterIMInstantiateCallback: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *mut c_char, _: *mut c_char, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: *mut c_char)>, _: *mut c_char) -> c_int,
    pub XUnsetICFocus: unsafe extern "C" fn(_: XIC),
    pub Xutf8DrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int),
    pub Xutf8DrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int),
    pub Xutf8DrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XmbTextItem, _: c_int),
    pub Xutf8LookupString: unsafe extern "C" fn(_: XIC, _: *mut XKeyEvent, _: *mut c_char, _: c_int, _: *mut c_ulong, _: *mut c_int) -> c_int,
    pub Xutf8ResetIC: unsafe extern "C" fn(_: XIC) -> *mut c_char,
    pub Xutf8SetWMProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *const c_char, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints, _: *mut XWMHints, _: *mut XClassHint),
    pub Xutf8TextEscapement: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int) -> c_int,
    pub Xutf8TextExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_int,
    pub Xutf8TextListToTextProperty: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int, _: XICCEncodingStyle, _: *mut XTextProperty) -> c_int,
    pub Xutf8TextPerCharExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle, _: c_int, _: *mut c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_int,
    pub Xutf8TextPropertyToTextList: unsafe extern "C" fn(_: *mut Display, _: *const XTextProperty, _: *mut *mut *mut c_char, _: *mut c_int) -> c_int,
    pub XVendorRelease: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XVisualIDFromVisual: unsafe extern "C" fn(_: *mut Visual) -> c_ulong,
    pub XWarpPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_int,
    pub XwcDrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const wchar_t, _: c_int),
    pub XwcDrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const wchar_t, _: c_int),
    pub XwcDrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XwcTextItem, _: c_int),
    pub XwcFreeStringList: unsafe extern "C" fn(_: *mut *mut wchar_t),
    pub XwcLookupString: unsafe extern "C" fn(_: XIC, _: *mut XKeyEvent, _: *mut wchar_t, _: c_int, _: *mut c_ulong, _: *mut c_int) -> c_int,
    pub XwcResetIC: unsafe extern "C" fn(_: XIC) -> *mut wchar_t,
    pub XwcTextEscapement: unsafe extern "C" fn(_: XFontSet, _: *const wchar_t, _: c_int) -> c_int,
    pub XwcTextExtents: unsafe extern "C" fn(_: XFontSet, _: *const wchar_t, _: c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_int,
    pub XwcTextListToTextProperty: unsafe extern "C" fn(_: *mut Display, _: *mut *mut wchar_t, _: c_int, _: XICCEncodingStyle, _: *mut XTextProperty) -> c_int,
    pub XwcTextPerCharExtents: unsafe extern "C" fn(_: XFontSet, _: *const wchar_t, _: c_int, _: *mut XRectangle, _: *mut XRectangle, _: c_int, _: *mut c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_int,
    pub XwcTextPropertyToTextList: unsafe extern "C" fn(_: *mut Display, _: *const XTextProperty, _: *mut *mut *mut wchar_t, _: *mut c_int) -> c_int,
    pub XWhitePixel: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulong,
    pub XWhitePixelOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulong,
    pub XWidthMMOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XWidthOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_int,
    pub XWindowEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_long, _: *mut XEvent) -> c_int,
    pub XWithdrawWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_int,
    pub XWMGeometry: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *const c_char, _: *const c_char, _: c_uint, _: *mut XSizeHints, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int,
    pub XWriteBitmapFile: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_ulong, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_int,
    pub XXorRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_int,
    pub XCreateIC: unsafe extern "C" fn(_: XIM, ...) -> XIC,
    pub XCreateOC: unsafe extern "C" fn(_: XOM, ...) -> XFontSet,
    pub XGetICValues: unsafe extern "C" fn(_: XIC, ...) -> *mut c_char,
    pub XGetIMValues: unsafe extern "C" fn(_: XIM, ...) -> *mut c_char,
    pub XGetOCValues: unsafe extern "C" fn(_: XFontSet, ...) -> *mut c_char,
    pub XGetOMValues: unsafe extern "C" fn(_: XOM, ...) -> *mut c_char,
    pub XSetICValues: unsafe extern "C" fn(_: XIC, ...) -> *mut c_char,
    pub XSetIMValues: unsafe extern "C" fn(_: XIM, ...) -> *mut c_char,
    pub XSetOCValues: unsafe extern "C" fn(_: XFontSet, ...) -> *mut c_char,
    pub XSetOMValues: unsafe extern "C" fn(_: XOM, ...) -> *mut c_char,
    pub XVaCreateNestedList: unsafe extern "C" fn(_: c_int, ...) -> *mut c_void,
    // some fields omitted
}

Fields

XActivateScreenSaver: unsafe extern "C" fn(_: *mut Display) -> c_intXAddConnectionWatch: unsafe extern "C" fn(_: *mut Display, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: c_int, _: c_int, _: *mut *mut c_char)>, _: *mut c_char) -> c_intXAddExtension: unsafe extern "C" fn(_: *mut Display) -> *mut XExtCodesXAddHost: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress) -> c_intXAddHosts: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress, _: c_int) -> c_intXAddPixel: unsafe extern "C" fn(_: *mut XImage, _: c_long) -> c_intXAddToExtensionList: unsafe extern "C" fn(_: *mut *mut XExtData, _: *mut XExtData) -> c_intXAddToSaveSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXAllocClassHint: unsafe extern "C" fn() -> *mut XClassHintXAllocColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor) -> c_intXAllocColorCells: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_uint, _: *mut c_ulong, _: c_uint) -> c_intXAllocColorPlanes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut c_ulong) -> c_intXAllocIconSize: unsafe extern "C" fn() -> *mut XIconSizeXAllocNamedColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XColor, _: *mut XColor) -> c_intXAllocSizeHints: unsafe extern "C" fn() -> *mut XSizeHintsXAllocStandardColormap: unsafe extern "C" fn() -> *mut XStandardColormapXAllocWMHints: unsafe extern "C" fn() -> *mut XWMHintsXAllowEvents: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_intXAllPlanes: unsafe extern "C" fn() -> c_ulongXAutoRepeatOff: unsafe extern "C" fn(_: *mut Display) -> c_intXAutoRepeatOn: unsafe extern "C" fn(_: *mut Display) -> c_intXBaseFontNameListOfFontSet: unsafe extern "C" fn(_: XFontSet) -> *mut c_charXBell: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXBitmapBitOrder: unsafe extern "C" fn(_: *mut Display) -> c_intXBitmapPad: unsafe extern "C" fn(_: *mut Display) -> c_intXBitmapUnit: unsafe extern "C" fn(_: *mut Display) -> c_intXBlackPixel: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulongXBlackPixelOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulongXCellsOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXChangeActivePointerGrab: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_ulong, _: c_ulong) -> c_intXChangeGC: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: *mut XGCValues) -> c_intXChangeKeyboardControl: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XKeyboardControl) -> c_intXChangeKeyboardMapping: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ulong, _: c_int) -> c_intXChangePointerControl: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int) -> c_intXChangeProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *const c_uchar, _: c_int) -> c_intXChangeSaveSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_intXChangeWindowAttributes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XSetWindowAttributes) -> c_intXCheckIfEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_intXCheckMaskEvent: unsafe extern "C" fn(_: *mut Display, _: c_long, _: *mut XEvent) -> c_intXCheckTypedEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XEvent) -> c_intXCheckTypedWindowEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut XEvent) -> c_intXCheckWindowEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_long, _: *mut XEvent) -> c_intXCirculateSubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_intXCirculateSubwindowsDown: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXCirculateSubwindowsUp: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXClearArea: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int) -> c_intXClearWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXClipBox: unsafe extern "C" fn(_: Region, _: *mut XRectangle) -> c_intXCloseDisplay: unsafe extern "C" fn(_: *mut Display) -> c_intXCloseIM: unsafe extern "C" fn(_: XIM) -> c_intXCloseOM: unsafe extern "C" fn(_: XOM) -> c_intXcmsAddColorSpace: unsafe extern "C" fn(_: *mut XcmsColorSpace) -> c_intXcmsAddFunctionSet: unsafe extern "C" fn(_: *mut XcmsFunctionSet) -> c_intXcmsAllocColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_ulong) -> c_intXcmsAllocNamedColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong) -> c_intXcmsCCCOfColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> XcmsCCCXcmsCIELabClipab: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsCIELabClipL: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsCIELabClipLab: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsCIELabQueryMaxC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELabQueryMaxL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELabQueryMaxLC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELabQueryMinL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELabToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIELabWhiteShiftColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsCIELuvClipL: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsCIELuvClipLuv: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsCIELuvClipuv: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsCIELuvQueryMaxC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELuvQueryMaxL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELuvQueryMaxLC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELuvQueryMinL: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsCIELuvToCIEuvY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIELuvWhiteShiftColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsCIEuvYToCIELuv: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIEuvYToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIEuvYToTekHVC: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIExyYToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIEXYZToCIELab: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIEXYZToCIEuvY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIEXYZToCIExyY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsCIEXYZToRGBi: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsClientWhitePointOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut XcmsColorXcmsConvertColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_ulong, _: *mut c_int) -> c_intXcmsCreateCCC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Visual, _: *mut XcmsColor, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char) -> XcmsCCCXcmsDefaultCCC: unsafe extern "C" fn(_: *mut Display, _: c_int) -> XcmsCCCXcmsDisplayOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut DisplayXcmsFormatOfPrefix: unsafe extern "C" fn(_: *mut c_char) -> c_ulongXcmsFreeCCC: unsafe extern "C" fn(_: XcmsCCC)XcmsLookupColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong) -> c_intXcmsPrefixOfFormat: unsafe extern "C" fn(_: c_ulong) -> *mut c_charXcmsQueryBlack: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_intXcmsQueryBlue: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_intXcmsQueryColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_ulong) -> c_intXcmsQueryColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: c_ulong) -> c_intXcmsQueryGreen: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_intXcmsQueryRed: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_intXcmsQueryWhite: unsafe extern "C" fn(_: XcmsCCC, _: c_ulong, _: *mut XcmsColor) -> c_intXcmsRGBiToCIEXYZ: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsRGBiToRGB: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsRGBToRGBi: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsScreenNumberOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> c_intXcmsScreenWhitePointOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut XcmsColorXcmsSetCCCOfColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XcmsCCC) -> XcmsCCCXcmsSetCompressionProc: unsafe extern "C" fn(_: XcmsCCC, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char) -> Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_int>XcmsSetWhiteAdjustProc: unsafe extern "C" fn(_: XcmsCCC, _: Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int>, _: *mut c_char) -> Option<unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_int>XcmsSetWhitePoint: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor) -> c_intXcmsStoreColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor) -> c_intXcmsStoreColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsTekHVCClipC: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsTekHVCClipV: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsTekHVCClipVC: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: c_uint, _: c_uint, _: *mut c_int) -> c_intXcmsTekHVCQueryMaxC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsTekHVCQueryMaxV: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsTekHVCQueryMaxVC: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor) -> c_intXcmsTekHVCQueryMaxVSamples: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: *mut XcmsColor, _: c_uint) -> c_intXcmsTekHVCQueryMinV: unsafe extern "C" fn(_: XcmsCCC, _: c_double, _: c_double, _: *mut XcmsColor) -> c_intXcmsTekHVCToCIEuvY: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_uint) -> c_intXcmsTekHVCWhiteShiftColors: unsafe extern "C" fn(_: XcmsCCC, _: *mut XcmsColor, _: *mut XcmsColor, _: c_ulong, _: *mut XcmsColor, _: c_uint, _: *mut c_int) -> c_intXcmsVisualOfCCC: unsafe extern "C" fn(_: XcmsCCC) -> *mut VisualXConfigureWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: *mut XWindowChanges) -> c_intXConnectionNumber: unsafe extern "C" fn(_: *mut Display) -> c_intXContextDependentDrawing: unsafe extern "C" fn(_: XFontSet) -> c_intXContextualDrawing: unsafe extern "C" fn(_: XFontSet) -> c_intXConvertCase: unsafe extern "C" fn(_: c_ulong, _: *mut c_ulong, _: *mut c_ulong)XConvertSelection: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong, _: c_ulong, _: c_ulong) -> c_intXCopyArea: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_intXCopyColormapAndFree: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_ulongXCopyGC: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: GC) -> c_intXCopyPlane: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int, _: c_ulong) -> c_intXCreateBitmapFromData: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: c_uint, _: c_uint) -> c_ulongXCreateColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut Visual, _: c_int) -> c_ulongXCreateFontCursor: unsafe extern "C" fn(_: *mut Display, _: c_uint) -> c_ulongXCreateFontSet: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *mut *mut *mut c_char, _: *mut c_int, _: *mut *mut c_char) -> XFontSetXCreateGC: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XGCValues) -> GCXCreateGlyphCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_uint, _: c_uint, _: *const XColor, _: *const XColor) -> c_ulongXCreateImage: unsafe extern "C" fn(_: *mut Display, _: *mut Visual, _: c_uint, _: c_int, _: c_int, _: *mut c_char, _: c_uint, _: c_uint, _: c_int, _: c_int) -> *mut XImageXCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: c_uint) -> c_ulongXCreatePixmapCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XColor, _: *mut XColor, _: c_uint, _: c_uint) -> c_ulongXCreatePixmapFromBitmapData: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_char, _: c_uint, _: c_uint, _: c_ulong, _: c_ulong, _: c_uint) -> c_ulongXCreateRegion: unsafe extern "C" fn() -> RegionXCreateSimpleWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_uint, _: c_ulong, _: c_ulong) -> c_ulongXCreateWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_uint, _: c_int, _: c_uint, _: *mut Visual, _: c_ulong, _: *mut XSetWindowAttributes) -> c_ulongXDefaultColormap: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulongXDefaultColormapOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulongXDefaultDepth: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXDefaultDepthOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXDefaultGC: unsafe extern "C" fn(_: *mut Display, _: c_int) -> GCXDefaultGCOfScreen: unsafe extern "C" fn(_: *mut Screen) -> GCXDefaultRootWindow: unsafe extern "C" fn(_: *mut Display) -> c_ulongXDefaultScreen: unsafe extern "C" fn(_: *mut Display) -> c_intXDefaultScreenOfDisplay: unsafe extern "C" fn(_: *mut Display) -> *mut ScreenXDefaultString: unsafe extern "C" fn() -> *const c_charXDefaultVisual: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut VisualXDefaultVisualOfScreen: unsafe extern "C" fn(_: *mut Screen) -> *mut VisualXDefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXDeleteContext: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_intXDeleteModifiermapEntry: unsafe extern "C" fn(_: *mut XModifierKeymap, _: c_uchar, _: c_int) -> *mut XModifierKeymapXDeleteProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXDestroyIC: unsafe extern "C" fn(_: XIC)XDestroyImage: unsafe extern "C" fn(_: *mut XImage) -> c_intXDestroyOC: unsafe extern "C" fn(_: XFontSet)XDestroyRegion: unsafe extern "C" fn(_: Region) -> c_intXDestroySubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXDestroyWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXDirectionalDependentDrawing: unsafe extern "C" fn(_: XFontSet) -> c_intXDisableAccessControl: unsafe extern "C" fn(_: *mut Display) -> c_intXDisplayCells: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXDisplayHeight: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXDisplayHeightMM: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXDisplayKeycodes: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_intXDisplayMotionBufferSize: unsafe extern "C" fn(_: *mut Display) -> c_ulongXDisplayName: unsafe extern "C" fn(_: *const c_char) -> *mut c_charXDisplayOfIM: unsafe extern "C" fn(_: XIM) -> *mut DisplayXDisplayOfOM: unsafe extern "C" fn(_: XOM) -> *mut DisplayXDisplayOfScreen: unsafe extern "C" fn(_: *mut Screen) -> *mut DisplayXDisplayPlanes: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXDisplayString: unsafe extern "C" fn(_: *mut Display) -> *mut c_charXDisplayWidth: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXDisplayWidthMM: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXDoesBackingStore: unsafe extern "C" fn(_: *mut Screen) -> c_intXDoesSaveUnders: unsafe extern "C" fn(_: *mut Screen) -> c_intXDrawArc: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_intXDrawArcs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XArc, _: c_int) -> c_intXDrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int) -> c_intXDrawImageString16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const XChar2b, _: c_int) -> c_intXDrawLine: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_int, _: c_int) -> c_intXDrawLines: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XPoint, _: c_int, _: c_int) -> c_intXDrawPoint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int) -> c_intXDrawPoints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XPoint, _: c_int, _: c_int) -> c_intXDrawRectangle: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_intXDrawRectangles: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XRectangle, _: c_int) -> c_intXDrawSegments: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XSegment, _: c_int) -> c_intXDrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int) -> c_intXDrawString16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *const XChar2b, _: c_int) -> c_intXDrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XTextItem, _: c_int) -> c_intXDrawText16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XTextItem16, _: c_int) -> c_intXEHeadOfExtensionList: unsafe extern "C" fn(_: XEDataObject) -> *mut *mut XExtDataXEmptyRegion: unsafe extern "C" fn(_: Region) -> c_intXEnableAccessControl: unsafe extern "C" fn(_: *mut Display) -> c_intXEqualRegion: unsafe extern "C" fn(_: Region, _: Region) -> c_intXESetBeforeFlush: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes, _: *const c_char, _: c_long)>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes, _: *const c_char, _: c_long)>XESetCloseDisplay: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XExtCodes) -> c_int>XESetCopyEventCookie: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut XGenericEventCookie) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut XGenericEventCookie) -> c_int>XESetCopyGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>XESetCreateFont: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>XESetCreateGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>XESetError: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut xError, _: *mut XExtCodes, _: *mut c_int) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut xError, _: *mut XExtCodes, _: *mut c_int) -> c_int>XESetErrorString: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XExtCodes, _: *mut c_char, _: c_int) -> *mut c_char>) -> Option<unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XExtCodes, _: *mut c_char, _: c_int) -> *mut c_char>XESetEventToWire: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>XESetFlushGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>XESetFreeFont: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct, _: *mut XExtCodes) -> c_int>XESetFreeGC: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: GC, _: *mut XExtCodes) -> c_int>XESetPrintErrorValues: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut c_void)>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut c_void)>XESetWireToError: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut xError) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent, _: *mut xError) -> c_int>XESetWireToEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut xEvent) -> c_int>XESetWireToEventCookie: unsafe extern "C" fn(_: *mut Display, _: c_int, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut xEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie, _: *mut xEvent) -> c_int>XEventMaskOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_longXEventsQueued: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXExtendedMaxRequestSize: unsafe extern "C" fn(_: *mut Display) -> c_longXExtentsOfFontSet: unsafe extern "C" fn(_: XFontSet) -> *mut XFontSetExtentsXFetchBuffer: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: c_int) -> *mut c_charXFetchBytes: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut c_charXFetchName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_char) -> c_intXFillArc: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_intXFillArcs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XArc, _: c_int) -> c_intXFillPolygon: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XPoint, _: c_int, _: c_int, _: c_int) -> c_intXFillRectangle: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_intXFillRectangles: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XRectangle, _: c_int) -> c_intXFilterEvent: unsafe extern "C" fn(_: *mut XEvent, _: c_ulong) -> c_intXFindContext: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut *mut c_char) -> c_intXFindOnExtensionList: unsafe extern "C" fn(_: *mut *mut XExtData, _: c_int) -> *mut XExtDataXFlush: unsafe extern "C" fn(_: *mut Display) -> c_intXFlushGC: unsafe extern "C" fn(_: *mut Display, _: GC)XFontsOfFontSet: unsafe extern "C" fn(_: XFontSet, _: *mut *mut *mut XFontStruct, _: *mut *mut *mut c_char) -> c_intXForceScreenSaver: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXFree: unsafe extern "C" fn(_: *mut c_void) -> c_intXFreeColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXFreeColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int, _: c_ulong) -> c_intXFreeCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXFreeEventData: unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie)XFreeExtensionList: unsafe extern "C" fn(_: *mut *mut c_char) -> c_intXFreeFont: unsafe extern "C" fn(_: *mut Display, _: *mut XFontStruct) -> c_intXFreeFontInfo: unsafe extern "C" fn(_: *mut *mut c_char, _: *mut XFontStruct, _: c_int) -> c_intXFreeFontNames: unsafe extern "C" fn(_: *mut *mut c_char) -> c_intXFreeFontPath: unsafe extern "C" fn(_: *mut *mut c_char) -> c_intXFreeFontSet: unsafe extern "C" fn(_: *mut Display, _: XFontSet)XFreeGC: unsafe extern "C" fn(_: *mut Display, _: GC) -> c_intXFreeModifiermap: unsafe extern "C" fn(_: *mut XModifierKeymap) -> c_intXFreePixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXFreeStringList: unsafe extern "C" fn(_: *mut *mut c_char)XGContextFromGC: unsafe extern "C" fn(_: GC) -> c_ulongXGeometry: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *const c_char, _: *const c_char, _: c_uint, _: c_uint, _: c_uint, _: c_int, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_intXGetAtomName: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut c_charXGetAtomNames: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: c_int, _: *mut *mut c_char) -> c_intXGetClassHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XClassHint) -> c_intXGetCommand: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut *mut c_char, _: *mut c_int) -> c_intXGetDefault: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *const c_char) -> *mut c_charXGetErrorDatabaseText: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *const c_char, _: *const c_char, _: *mut c_char, _: c_int) -> c_intXGetErrorText: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_char, _: c_int) -> c_intXGetEventData: unsafe extern "C" fn(_: *mut Display, _: *mut XGenericEventCookie) -> c_intXGetFontPath: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut *mut c_charXGetFontProperty: unsafe extern "C" fn(_: *mut XFontStruct, _: c_ulong, _: *mut c_ulong) -> c_intXGetGCValues: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: *mut XGCValues) -> c_intXGetGeometry: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_uint, _: *mut c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXGetIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_char) -> c_intXGetIconSizes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut XIconSize, _: *mut c_int) -> c_intXGetImage: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_ulong, _: c_int) -> *mut XImageXGetInputFocus: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: *mut c_int) -> c_intXGetKeyboardControl: unsafe extern "C" fn(_: *mut Display, _: *mut XKeyboardState) -> c_intXGetKeyboardMapping: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_int, _: *mut c_int) -> *mut c_ulongXGetModifierMapping: unsafe extern "C" fn(_: *mut Display) -> *mut XModifierKeymapXGetMotionEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong, _: *mut c_int) -> *mut XTimeCoordXGetNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_intXGetPixel: unsafe extern "C" fn(_: *mut XImage, _: c_int, _: c_int) -> c_ulongXGetPointerControl: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_intXGetPointerMapping: unsafe extern "C" fn(_: *mut Display, _: *mut c_uchar, _: c_int) -> c_intXGetRGBColormaps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut XStandardColormap, _: *mut c_int, _: c_ulong) -> c_intXGetScreenSaver: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_intXGetSelectionOwner: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_ulongXGetSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: c_ulong) -> c_intXGetStandardColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XStandardColormap, _: c_ulong) -> c_intXGetSubImage: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_ulong, _: c_int, _: *mut XImage, _: c_int, _: c_int) -> *mut XImageXGetTextProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty, _: c_ulong) -> c_intXGetTransientForHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong) -> c_intXGetVisualInfo: unsafe extern "C" fn(_: *mut Display, _: c_long, _: *mut XVisualInfo, _: *mut c_int) -> *mut XVisualInfoXGetWindowAttributes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XWindowAttributes) -> c_intXGetWindowProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_long, _: c_long, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_intXGetWMClientMachine: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty) -> c_intXGetWMColormapWindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_ulong, _: *mut c_int) -> c_intXGetWMHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XWMHintsXGetWMIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty) -> c_intXGetWMName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty) -> c_intXGetWMNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: *mut c_long) -> c_intXGetWMProtocols: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_ulong, _: *mut c_int) -> c_intXGetWMSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: *mut c_long, _: c_ulong) -> c_intXGetZoomHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_intXGrabButton: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_ulong, _: c_int, _: c_uint, _: c_int, _: c_int, _: c_ulong, _: c_ulong) -> c_intXGrabKey: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_uint, _: c_ulong, _: c_int, _: c_int, _: c_int) -> c_intXGrabKeyboard: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_intXGrabPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_uint, _: c_int, _: c_int, _: c_ulong, _: c_ulong, _: c_ulong) -> c_intXGrabServer: unsafe extern "C" fn(_: *mut Display) -> c_intXHeightMMOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXHeightOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXIconifyWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_intXIfEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_intXImageByteOrder: unsafe extern "C" fn(_: *mut Display) -> c_intXIMOfIC: unsafe extern "C" fn(_: XIC) -> XIMXInitExtension: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XExtCodesXInitImage: unsafe extern "C" fn(_: *mut XImage) -> c_intXInitThreads: unsafe extern "C" fn() -> c_intXInsertModifiermapEntry: unsafe extern "C" fn(_: *mut XModifierKeymap, _: c_uchar, _: c_int) -> *mut XModifierKeymapXInstallColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXInternalConnectionNumbers: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_int, _: *mut c_int) -> c_intXInternAtom: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int) -> c_ulongXInternAtoms: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int, _: c_int, _: *mut c_ulong) -> c_intXIntersectRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_intXkbAddDeviceLedInfo: unsafe extern "C" fn(_: XkbDeviceInfoPtr, _: c_uint, _: c_uint) -> XkbDeviceLedInfoPtrXkbAddGeomColor: unsafe extern "C" fn(_: XkbGeometryPtr, _: *mut c_char, _: c_uint) -> XkbColorPtrXkbAddGeomDoodad: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr, _: c_ulong) -> XkbDoodadPtrXkbAddGeomKey: unsafe extern "C" fn(_: XkbRowPtr) -> XkbKeyPtrXkbAddGeomKeyAlias: unsafe extern "C" fn(_: XkbGeometryPtr, _: *mut c_char, _: *mut c_char) -> XkbKeyAliasPtrXkbAddGeomOutline: unsafe extern "C" fn(_: XkbShapePtr, _: c_int) -> XkbOutlinePtrXkbAddGeomOverlay: unsafe extern "C" fn(_: XkbSectionPtr, _: c_ulong, _: c_int) -> XkbOverlayPtrXkbAddGeomOverlayKey: unsafe extern "C" fn(_: XkbOverlayPtr, _: XkbOverlayRowPtr, _: *mut c_char, _: *mut c_char) -> XkbOverlayKeyPtrXkbAddGeomOverlayRow: unsafe extern "C" fn(_: XkbOverlayPtr, _: c_int, _: c_int) -> XkbOverlayRowPtrXkbAddGeomProperty: unsafe extern "C" fn(_: XkbGeometryPtr, _: *mut c_char, _: *mut c_char) -> XkbPropertyPtrXkbAddGeomRow: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> XkbRowPtrXkbAddGeomSection: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_ulong, _: c_int, _: c_int, _: c_int) -> XkbSectionPtrXkbAddGeomShape: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_ulong, _: c_int) -> XkbShapePtrXkbAddKeyType: unsafe extern "C" fn(_: XkbDescPtr, _: c_ulong, _: c_int, _: c_int, _: c_int) -> XkbKeyTypePtrXkbAllocClientMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_uint) -> c_intXkbAllocCompatMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_uint) -> c_intXkbAllocControls: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint) -> c_intXkbAllocDeviceInfo: unsafe extern "C" fn(_: c_uint, _: c_uint, _: c_uint) -> XkbDeviceInfoPtrXkbAllocGeomColors: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_intXkbAllocGeomDoodads: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_intXkbAllocGeometry: unsafe extern "C" fn(_: XkbDescPtr, _: XkbGeometrySizesPtr) -> c_intXkbAllocGeomKeyAliases: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_intXkbAllocGeomKeys: unsafe extern "C" fn(_: XkbRowPtr, _: c_int) -> c_intXkbAllocGeomOutlines: unsafe extern "C" fn(_: XkbShapePtr, _: c_int) -> c_intXkbAllocGeomOverlayKeys: unsafe extern "C" fn(_: XkbOverlayRowPtr, _: c_int) -> c_intXkbAllocGeomOverlayRows: unsafe extern "C" fn(_: XkbOverlayPtr, _: c_int) -> c_intXkbAllocGeomOverlays: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> c_intXkbAllocGeomPoints: unsafe extern "C" fn(_: XkbOutlinePtr, _: c_int) -> c_intXkbAllocGeomProps: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_intXkbAllocGeomRows: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> c_intXkbAllocGeomSectionDoodads: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int) -> c_intXkbAllocGeomSections: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_intXkbAllocGeomShapes: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int) -> c_intXkbAllocIndicatorMaps: unsafe extern "C" fn(_: XkbDescPtr) -> c_intXkbAllocKeyboard: unsafe extern "C" fn() -> XkbDescPtrXkbAllocNames: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int, _: c_int) -> c_intXkbAllocServerMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_uint) -> c_intXkbApplyCompatMapToKey: unsafe extern "C" fn(_: XkbDescPtr, _: c_uchar, _: XkbChangesPtr) -> c_intXkbApplyVirtualModChanges: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: XkbChangesPtr) -> c_intXkbBell: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_ulong) -> c_intXkbBellEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_ulong) -> c_intXkbChangeDeviceInfo: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: XkbDeviceChangesPtr) -> c_intXkbChangeEnabledControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbChangeKeycodeRange: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int, _: XkbChangesPtr) -> c_intXkbChangeMap: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: XkbMapChangesPtr) -> c_intXkbChangeNames: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: XkbNameChangesPtr) -> c_intXkbChangeTypesOfKey: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int, _: c_uint, _: *mut c_int, _: XkbMapChangesPtr) -> c_intXkbComputeEffectiveMap: unsafe extern "C" fn(_: XkbDescPtr, _: XkbKeyTypePtr, _: *mut c_uchar) -> c_intXkbComputeRowBounds: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr, _: XkbRowPtr) -> c_intXkbComputeSectionBounds: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr) -> c_intXkbComputeShapeBounds: unsafe extern "C" fn(_: XkbShapePtr) -> c_intXkbComputeShapeTop: unsafe extern "C" fn(_: XkbShapePtr, _: XkbBoundsPtr) -> c_intXkbCopyKeyType: unsafe extern "C" fn(_: XkbKeyTypePtr, _: XkbKeyTypePtr) -> c_intXkbCopyKeyTypes: unsafe extern "C" fn(_: XkbKeyTypePtr, _: XkbKeyTypePtr, _: c_int) -> c_intXkbDeviceBell: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_intXkbDeviceBellEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_intXkbFindOverlayForKey: unsafe extern "C" fn(_: XkbGeometryPtr, _: XkbSectionPtr, _: *mut c_char) -> *mut c_charXkbForceBell: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXkbForceDeviceBell: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_int) -> c_intXkbFreeClientMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int)XkbFreeCompatMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int)XkbFreeComponentList: unsafe extern "C" fn(_: XkbComponentListPtr)XkbFreeControls: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int)XkbFreeDeviceInfo: unsafe extern "C" fn(_: XkbDeviceInfoPtr, _: c_uint, _: c_int)XkbFreeGeomColors: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomDoodads: unsafe extern "C" fn(_: XkbDoodadPtr, _: c_int, _: c_int)XkbFreeGeometry: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_uint, _: c_int)XkbFreeGeomKeyAliases: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomKeys: unsafe extern "C" fn(_: XkbRowPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomOutlines: unsafe extern "C" fn(_: XkbShapePtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomOverlayKeys: unsafe extern "C" fn(_: XkbOverlayRowPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomOverlayRows: unsafe extern "C" fn(_: XkbOverlayPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomOverlays: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomPoints: unsafe extern "C" fn(_: XkbOutlinePtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomProperties: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomRows: unsafe extern "C" fn(_: XkbSectionPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomSections: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int)XkbFreeGeomShapes: unsafe extern "C" fn(_: XkbGeometryPtr, _: c_int, _: c_int, _: c_int)XkbFreeIndicatorMaps: unsafe extern "C" fn(_: XkbDescPtr)XkbFreeKeyboard: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int)XkbFreeNames: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int)XkbFreeServerMap: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int)XkbGetAutoRepeatRate: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXkbGetAutoResetControls: unsafe extern "C" fn(_: *mut Display, _: *mut c_uint, _: *mut c_uint) -> c_intXkbGetCompatMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_intXkbGetControls: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_intXkbGetDetectableAutoRepeat: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> c_intXkbGetDeviceButtonActions: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_int, _: c_uint, _: c_uint) -> c_intXkbGetDeviceInfo: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_uint) -> XkbDeviceInfoPtrXkbGetDeviceInfoChanges: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: XkbDeviceChangesPtr) -> c_intXkbGetDeviceLedInfo: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbGetGeometry: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr) -> c_intXkbGetIndicatorMap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_intXkbGetIndicatorState: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint) -> c_intXkbGetKeyActions: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbGetKeyBehaviors: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbGetKeyboard: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> XkbDescPtrXkbGetKeyboardByName: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbComponentNamesPtr, _: c_uint, _: c_uint, _: c_int) -> XkbDescPtrXkbGetKeyExplicitComponents: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbGetKeyModifierMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbGetKeySyms: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbGetKeyTypes: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbGetKeyVirtualModMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbGetMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> XkbDescPtrXkbGetMapChanges: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: XkbMapChangesPtr) -> c_intXkbGetNamedDeviceIndicator: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_ulong, _: *mut c_int, _: *mut c_int, _: XkbIndicatorMapPtr, _: *mut c_int) -> c_intXkbGetNamedGeometry: unsafe extern "C" fn(_: *mut Display, _: XkbDescPtr, _: c_ulong) -> c_intXkbGetNamedIndicator: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int, _: *mut c_int, _: XkbIndicatorMapPtr, _: *mut c_int) -> c_intXkbGetNames: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_intXkbGetPerClientControls: unsafe extern "C" fn(_: *mut Display, _: *mut c_uint) -> c_intXkbGetState: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbStatePtr) -> c_intXkbGetUpdatedMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_intXkbGetVirtualMods: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_intXkbGetXlibControls: unsafe extern "C" fn(_: *mut Display) -> c_uintXkbIgnoreExtension: unsafe extern "C" fn(_: c_int) -> c_intXkbInitCanonicalKeyTypes: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: c_int) -> c_intXkbKeycodeToKeysym: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_int, _: c_int) -> c_ulongXkbKeysymToModifiers: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_uintXkbKeyTypesForCoreSymbols: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: *mut c_ulong, _: c_uint, _: *mut c_int, _: *mut c_ulong) -> c_intXkbLatchGroup: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> c_intXkbLatchModifiers: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbLibraryVersion: unsafe extern "C" fn(_: *mut c_int, _: *mut c_int) -> c_intXkbListComponents: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbComponentNamesPtr, _: *mut c_int) -> XkbComponentListPtrXkbLockGroup: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> c_intXkbLockModifiers: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbLookupKeyBinding: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: *mut c_char, _: c_int, _: *mut c_int) -> c_intXkbLookupKeySym: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_uint, _: *mut c_uint, _: *mut c_ulong) -> c_intXkbNoteControlsChanges: unsafe extern "C" fn(_: XkbControlsChangesPtr, _: *mut XkbControlsNotifyEvent, _: c_uint)XkbNoteDeviceChanges: unsafe extern "C" fn(_: XkbDeviceChangesPtr, _: *mut XkbExtensionDeviceNotifyEvent, _: c_uint)XkbNoteMapChanges: unsafe extern "C" fn(_: XkbMapChangesPtr, _: *mut XkbMapNotifyEvent, _: c_uint)XkbNoteNameChanges: unsafe extern "C" fn(_: XkbNameChangesPtr, _: *mut XkbNamesNotifyEvent, _: c_uint)XkbOpenDisplay: unsafe extern "C" fn(_: *mut c_char, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> *mut DisplayXkbQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_intXkbRefreshKeyboardMapping: unsafe extern "C" fn(_: *mut XkbMapNotifyEvent) -> c_intXkbResizeDeviceButtonActions: unsafe extern "C" fn(_: XkbDeviceInfoPtr, _: c_uint) -> c_intXkbResizeKeyActions: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int) -> *mut XkbActionXkbResizeKeySyms: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int) -> *mut c_ulongXkbResizeKeyType: unsafe extern "C" fn(_: XkbDescPtr, _: c_int, _: c_int, _: c_int, _: c_int) -> c_intXkbSelectEventDetails: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_ulong, _: c_ulong) -> c_intXkbSelectEvents: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_ulong, _: c_ulong) -> c_intXkbSetAtomFuncs: unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int) -> c_ulong>, _: Option<unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut c_char>)XkbSetAutoRepeatRate: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbSetAutoResetControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXkbSetCompatMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr, _: c_int) -> c_intXkbSetControls: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_intXkbSetDebuggingFlags: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: *mut c_char, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXkbSetDetectableAutoRepeat: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_intXkbSetDeviceButtonActions: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_uint, _: c_uint) -> c_intXkbSetDeviceInfo: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDeviceInfoPtr) -> c_intXkbSetDeviceLedInfo: unsafe extern "C" fn(_: *mut Display, _: XkbDeviceInfoPtr, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbSetGeometry: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbGeometryPtr) -> c_intXkbSetIgnoreLockMods: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbSetIndicatorMap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XkbDescPtr) -> c_intXkbSetMap: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: XkbDescPtr) -> c_intXkbSetNamedDeviceIndicator: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_ulong, _: c_int, _: c_int, _: c_int, _: XkbIndicatorMapPtr) -> c_intXkbSetNamedIndicator: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_int, _: XkbIndicatorMapPtr) -> c_intXkbSetNames: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: XkbDescPtr) -> c_intXkbSetPerClientControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: *mut c_uint) -> c_intXkbSetServerInternalMods: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_uint, _: c_uint, _: c_uint) -> c_intXkbSetXlibControls: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint) -> c_uintXkbToControl: unsafe extern "C" fn(_: c_char) -> c_charXkbTranslateKeyCode: unsafe extern "C" fn(_: XkbDescPtr, _: c_uchar, _: c_uint, _: *mut c_uint, _: *mut c_ulong) -> c_intXkbTranslateKeySym: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: c_uint, _: *mut c_char, _: c_int, _: *mut c_int) -> c_intXkbUpdateActionVirtualMods: unsafe extern "C" fn(_: XkbDescPtr, _: *mut XkbAction, _: c_uint) -> c_intXkbUpdateKeyTypeVirtualMods: unsafe extern "C" fn(_: XkbDescPtr, _: XkbKeyTypePtr, _: c_uint, _: XkbChangesPtr)XkbUpdateMapFromCore: unsafe extern "C" fn(_: XkbDescPtr, _: c_uchar, _: c_int, _: c_int, _: *mut c_ulong, _: XkbChangesPtr) -> c_intXkbUseExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_intXkbVirtualModsToReal: unsafe extern "C" fn(_: XkbDescPtr, _: c_uint, _: *mut c_uint) -> c_intXkbXlibControlsImplemented: unsafe extern "C" fn() -> c_uintXKeycodeToKeysym: unsafe extern "C" fn(_: *mut Display, _: c_uchar, _: c_int) -> c_ulongXKeysymToKeycode: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_ucharXKeysymToString: unsafe extern "C" fn(_: c_ulong) -> *mut c_charXKillClient: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXLastKnownRequestProcessed: unsafe extern "C" fn(_: *mut Display) -> c_ulongXListDepths: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut c_intXListExtensions: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut *mut c_charXListFonts: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int, _: *mut c_int) -> *mut *mut c_charXListFontsWithInfo: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int, _: *mut c_int, _: *mut *mut XFontStruct) -> *mut *mut c_charXListHosts: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> *mut XHostAddressXListInstalledColormaps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulongXListPixmapFormats: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XPixmapFormatValuesXListProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulongXLoadFont: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_ulongXLoadQueryFont: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XFontStructXLocaleOfFontSet: unsafe extern "C" fn(_: XFontSet) -> *mut c_charXLocaleOfIM: unsafe extern "C" fn(_: XIM) -> *mut c_charXLocaleOfOM: unsafe extern "C" fn(_: XOM) -> *mut c_charXLockDisplay: unsafe extern "C" fn(_: *mut Display)XLookupColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XColor, _: *mut XColor) -> c_intXLookupKeysym: unsafe extern "C" fn(_: *mut XKeyEvent, _: c_int) -> c_ulongXLookupString: unsafe extern "C" fn(_: *mut XKeyEvent, _: *mut c_char, _: c_int, _: *mut c_ulong, _: *mut XComposeStatus) -> c_intXLowerWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXMapRaised: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXMapSubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXMapWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXMaskEvent: unsafe extern "C" fn(_: *mut Display, _: c_long, _: *mut XEvent) -> c_intXMatchVisualInfo: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: *mut XVisualInfo) -> c_intXMaxCmapsOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXMaxRequestSize: unsafe extern "C" fn(_: *mut Display) -> c_longXmbDrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int)XmbDrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int)XmbDrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XmbTextItem, _: c_int)XmbLookupString: unsafe extern "C" fn(_: XIC, _: *mut XKeyEvent, _: *mut c_char, _: c_int, _: *mut c_ulong, _: *mut c_int) -> c_intXmbResetIC: unsafe extern "C" fn(_: XIC) -> *mut c_charXmbSetWMProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *const c_char, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints, _: *mut XWMHints, _: *mut XClassHint)XmbTextEscapement: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int) -> c_intXmbTextExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_intXmbTextListToTextProperty: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int, _: XICCEncodingStyle, _: *mut XTextProperty) -> c_intXmbTextPerCharExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle, _: c_int, _: *mut c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_intXmbTextPropertyToTextList: unsafe extern "C" fn(_: *mut Display, _: *const XTextProperty, _: *mut *mut *mut c_char, _: *mut c_int) -> c_intXMinCmapsOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXMoveResizeWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_intXMoveWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int) -> c_intXNewModifiermap: unsafe extern "C" fn(_: c_int) -> *mut XModifierKeymapXNextEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent) -> c_intXNextRequest: unsafe extern "C" fn(_: *mut Display) -> c_ulongXNoOp: unsafe extern "C" fn(_: *mut Display) -> c_intXOffsetRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int) -> c_intXOMOfOC: unsafe extern "C" fn(_: XFontSet) -> XOMXOpenDisplay: unsafe extern "C" fn(_: *const c_char) -> *mut DisplayXOpenIM: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *mut c_char, _: *mut c_char) -> XIMXOpenOM: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *const c_char, _: *const c_char) -> XOMXParseColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut XColor) -> c_intXParseGeometry: unsafe extern "C" fn(_: *const c_char, _: *mut c_int, _: *mut c_int, _: *mut c_uint, _: *mut c_uint) -> c_intXPeekEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent) -> c_intXPeekIfEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XEvent, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_intXPending: unsafe extern "C" fn(_: *mut Display) -> c_intXpermalloc: unsafe extern "C" fn(_: c_uint) -> *mut c_charXPlanesOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXPointInRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int) -> c_intXPolygonRegion: unsafe extern "C" fn(_: *mut XPoint, _: c_int, _: c_int) -> RegionXProcessInternalConnection: unsafe extern "C" fn(_: *mut Display, _: c_int)XProtocolRevision: unsafe extern "C" fn(_: *mut Display) -> c_intXProtocolVersion: unsafe extern "C" fn(_: *mut Display) -> c_intXPutBackEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XEvent) -> c_intXPutImage: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: *mut XImage, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_intXPutPixel: unsafe extern "C" fn(_: *mut XImage, _: c_int, _: c_int, _: c_ulong) -> c_intXQLength: unsafe extern "C" fn(_: *mut Display) -> c_intXQueryBestCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXQueryBestSize: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXQueryBestStipple: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXQueryBestTile: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint, _: *mut c_uint, _: *mut c_uint) -> c_intXQueryColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor) -> c_intXQueryColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor, _: c_int) -> c_intXQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_intXQueryFont: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XFontStructXQueryKeymap: unsafe extern "C" fn(_: *mut Display, _: *mut c_char) -> c_intXQueryPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_uint) -> c_intXQueryTextExtents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_intXQueryTextExtents16: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const XChar2b, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_intXQueryTree: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_ulong, _: *mut c_uint) -> c_intXRaiseWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXReadBitmapFile: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut c_uint, _: *mut c_uint, _: *mut c_ulong, _: *mut c_int, _: *mut c_int) -> c_intXReadBitmapFileData: unsafe extern "C" fn(_: *const c_char, _: *mut c_uint, _: *mut c_uint, _: *mut *mut c_uchar, _: *mut c_int, _: *mut c_int) -> c_intXRebindKeysym: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int, _: *const c_uchar, _: c_int) -> c_intXRecolorCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor, _: *mut XColor) -> c_intXReconfigureWMWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_uint, _: *mut XWindowChanges) -> c_intXRectInRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int, _: c_uint, _: c_uint) -> c_intXRefreshKeyboardMapping: unsafe extern "C" fn(_: *mut XMappingEvent) -> c_intXRegisterIMInstantiateCallback: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *mut c_char, _: *mut c_char, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: *mut c_char)>, _: *mut c_char) -> c_intXRemoveConnectionWatch: unsafe extern "C" fn(_: *mut Display, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: c_int, _: c_int, _: *mut *mut c_char)>, _: *mut c_char)XRemoveFromSaveSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXRemoveHost: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress) -> c_intXRemoveHosts: unsafe extern "C" fn(_: *mut Display, _: *mut XHostAddress, _: c_int) -> c_intXReparentWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_int, _: c_int) -> c_intXResetScreenSaver: unsafe extern "C" fn(_: *mut Display) -> c_intXResizeWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint) -> c_intXResourceManagerString: unsafe extern "C" fn(_: *mut Display) -> *mut c_charXRestackWindows: unsafe extern "C" fn(_: *mut Display, _: *mut c_ulong, _: c_int) -> c_intXrmCombineDatabase: unsafe extern "C" fn(_: XrmDatabase, _: *mut XrmDatabase, _: c_int)XrmCombineFileDatabase: unsafe extern "C" fn(_: *const c_char, _: *mut XrmDatabase, _: c_int) -> c_intXrmDestroyDatabase: unsafe extern "C" fn(_: XrmDatabase)XrmEnumerateDatabase: unsafe extern "C" fn(_: XrmDatabase, _: *mut c_int, _: *mut c_int, _: c_int, _: Option<unsafe extern "C" fn(_: *mut XrmDatabase, _: *mut XrmBinding, _: *mut c_int, _: *mut c_int, _: *mut XrmValue, _: *mut c_char) -> c_int>, _: *mut c_char) -> c_intXrmGetDatabase: unsafe extern "C" fn(_: *mut Display) -> XrmDatabaseXrmGetFileDatabase: unsafe extern "C" fn(_: *const c_char) -> XrmDatabaseXrmGetResource: unsafe extern "C" fn(_: XrmDatabase, _: *const c_char, _: *const c_char, _: *mut *mut c_char, _: *mut XrmValue) -> c_intXrmGetStringDatabase: unsafe extern "C" fn(_: *const c_char) -> XrmDatabaseXrmInitialize: unsafe extern "C" fn()XrmLocaleOfDatabase: unsafe extern "C" fn(_: XrmDatabase) -> *const c_charXrmMergeDatabases: unsafe extern "C" fn(_: XrmDatabase, _: *mut XrmDatabase)XrmParseCommand: unsafe extern "C" fn(_: *mut XrmDatabase, _: XrmOptionDescList, _: c_int, _: *const c_char, _: *mut c_int, _: *mut *mut c_char)XrmPermStringToQuark: unsafe extern "C" fn(_: *const c_char) -> c_intXrmPutFileDatabase: unsafe extern "C" fn(_: XrmDatabase, _: *const c_char)XrmPutLineResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *const c_char)XrmPutResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *const c_char, _: *const c_char, _: *mut XrmValue)XrmPutStringResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *const c_char, _: *const c_char)XrmQGetResource: unsafe extern "C" fn(_: XrmDatabase, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XrmValue) -> c_intXrmQGetSearchList: unsafe extern "C" fn(_: XrmDatabase, _: *mut c_int, _: *mut c_int, _: *mut *mut XrmDatabase, _: c_int) -> c_intXrmQGetSearchResource: unsafe extern "C" fn(_: *mut *mut XrmDatabase, _: c_int, _: c_int, _: *mut c_int, _: *mut XrmValue) -> c_intXrmQPutResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *mut XrmBinding, _: *mut c_int, _: c_int, _: *mut XrmValue)XrmQPutStringResource: unsafe extern "C" fn(_: *mut XrmDatabase, _: *mut XrmBinding, _: *mut c_int, _: *const c_char)XrmQuarkToString: unsafe extern "C" fn(_: c_int) -> *mut c_charXrmSetDatabase: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase)XrmStringToBindingQuarkList: unsafe extern "C" fn(_: *const c_char, _: *mut XrmBinding, _: *mut c_int)XrmStringToQuark: unsafe extern "C" fn(_: *const c_char) -> c_intXrmStringToQuarkList: unsafe extern "C" fn(_: *const c_char, _: *mut c_int)XrmUniqueQuark: unsafe extern "C" fn() -> c_intXRootWindow: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulongXRootWindowOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulongXRotateBuffers: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXRotateWindowProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int, _: c_int) -> c_intXSaveContext: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *const c_char) -> c_intXScreenCount: unsafe extern "C" fn(_: *mut Display) -> c_intXScreenNumberOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXScreenOfDisplay: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut ScreenXScreenResourceString: unsafe extern "C" fn(_: *mut Screen) -> *mut c_charXSelectInput: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_long) -> c_intXSendEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_long, _: *mut XEvent) -> c_intXServerVendor: unsafe extern "C" fn(_: *mut Display) -> *mut c_charXSetAccessControl: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXSetAfterFunction: unsafe extern "C" fn(_: *mut Display, _: Option<unsafe extern "C" fn(_: *mut Display) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display) -> c_int>XSetArcMode: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_intXSetAuthorization: unsafe extern "C" fn(_: *mut c_char, _: c_int, _: *mut c_char, _: c_int)XSetBackground: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_intXSetClassHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XClassHint) -> c_intXSetClipMask: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_intXSetClipOrigin: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int) -> c_intXSetClipRectangles: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int, _: *mut XRectangle, _: c_int, _: c_int) -> c_intXSetCloseDownMode: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXSetCommand: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut *mut c_char, _: c_int) -> c_intXSetDashes: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: *const c_char, _: c_int) -> c_intXSetErrorHandler: unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display, _: *mut XErrorEvent) -> c_int>XSetFillRule: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_intXSetFillStyle: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_intXSetFont: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_intXSetFontPath: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int) -> c_intXSetForeground: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_intXSetFunction: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_intXSetGraphicsExposures: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_intXSetICFocus: unsafe extern "C" fn(_: XIC)XSetIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char) -> c_intXSetIconSizes: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XIconSize, _: c_int) -> c_intXSetInputFocus: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_ulong) -> c_intXSetIOErrorHandler: unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut Display) -> c_int>) -> Option<unsafe extern "C" fn(_: *mut Display) -> c_int>XSetLineAttributes: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_uint, _: c_int, _: c_int, _: c_int) -> c_intXSetLocaleModifiers: unsafe extern "C" fn(_: *const c_char) -> *mut c_charXSetModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XModifierKeymap) -> c_intXSetNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_intXSetPlaneMask: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_intXSetPointerMapping: unsafe extern "C" fn(_: *mut Display, _: *const c_uchar, _: c_int) -> c_intXSetRegion: unsafe extern "C" fn(_: *mut Display, _: GC, _: Region) -> c_intXSetRGBColormaps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XStandardColormap, _: c_int, _: c_ulong)XSetScreenSaver: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_int) -> c_intXSetSelectionOwner: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_ulong) -> c_intXSetSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: c_ulong) -> c_intXSetStandardColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XStandardColormap, _: c_ulong)XSetStandardProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *const c_char, _: c_ulong, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints) -> c_intXSetState: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong, _: c_ulong, _: c_int, _: c_ulong) -> c_intXSetStipple: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_intXSetSubwindowMode: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int) -> c_intXSetTextProperty: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty, _: c_ulong)XSetTile: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_ulong) -> c_intXSetTransientForHint: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXSetTSOrigin: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int) -> c_intXSetWindowBackground: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXSetWindowBackgroundPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXSetWindowBorder: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXSetWindowBorderPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXSetWindowBorderWidth: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint) -> c_intXSetWindowColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_intXSetWMClientMachine: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty)XSetWMColormapWindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_intXSetWMHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XWMHints) -> c_intXSetWMIconName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty)XSetWMName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty)XSetWMNormalHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints)XSetWMProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTextProperty, _: *mut XTextProperty, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints, _: *mut XWMHints, _: *mut XClassHint)XSetWMProtocols: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_intXSetWMSizeHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints, _: c_ulong)XSetZoomHints: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSizeHints) -> c_intXShrinkRegion: unsafe extern "C" fn(_: Region, _: c_int, _: c_int) -> c_intXStoreBuffer: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int, _: c_int) -> c_intXStoreBytes: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_int) -> c_intXStoreColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor) -> c_intXStoreColors: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XColor, _: c_int) -> c_intXStoreName: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char) -> c_intXStoreNamedColor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: c_ulong, _: c_int) -> c_intXStringListToTextProperty: unsafe extern "C" fn(_: *mut *mut c_char, _: c_int, _: *mut XTextProperty) -> c_intXStringToKeysym: unsafe extern "C" fn(_: *const c_char) -> c_ulongXSubImage: unsafe extern "C" fn(_: *mut XImage, _: c_int, _: c_int, _: c_uint, _: c_uint) -> *mut XImageXSubtractRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_intXSupportsLocale: unsafe extern "C" fn() -> c_intXSync: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXSynchronize: unsafe extern "C" fn(_: *mut Display, _: c_int) -> Option<unsafe extern "C" fn(_: *mut Display) -> c_int>XTextExtents: unsafe extern "C" fn(_: *mut XFontStruct, _: *const c_char, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_intXTextExtents16: unsafe extern "C" fn(_: *mut XFontStruct, _: *const XChar2b, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut XCharStruct) -> c_intXTextPropertyToStringList: unsafe extern "C" fn(_: *mut XTextProperty, _: *mut *mut *mut c_char, _: *mut c_int) -> c_intXTextWidth: unsafe extern "C" fn(_: *mut XFontStruct, _: *const c_char, _: c_int) -> c_intXTextWidth16: unsafe extern "C" fn(_: *mut XFontStruct, _: *const XChar2b, _: c_int) -> c_intXTranslateCoordinates: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_ulong) -> c_intXUndefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXUngrabButton: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_uint, _: c_ulong) -> c_intXUngrabKey: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_uint, _: c_ulong) -> c_intXUngrabKeyboard: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXUngrabPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXUngrabServer: unsafe extern "C" fn(_: *mut Display) -> c_intXUninstallColormap: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXUnionRectWithRegion: unsafe extern "C" fn(_: *mut XRectangle, _: Region, _: Region) -> c_intXUnionRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_intXUnloadFont: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXUnlockDisplay: unsafe extern "C" fn(_: *mut Display)XUnmapSubwindows: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXUnmapWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_intXUnregisterIMInstantiateCallback: unsafe extern "C" fn(_: *mut Display, _: XrmDatabase, _: *mut c_char, _: *mut c_char, _: Option<unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: *mut c_char)>, _: *mut c_char) -> c_intXUnsetICFocus: unsafe extern "C" fn(_: XIC)Xutf8DrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int)Xutf8DrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const c_char, _: c_int)Xutf8DrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XmbTextItem, _: c_int)Xutf8LookupString: unsafe extern "C" fn(_: XIC, _: *mut XKeyEvent, _: *mut c_char, _: c_int, _: *mut c_ulong, _: *mut c_int) -> c_intXutf8ResetIC: unsafe extern "C" fn(_: XIC) -> *mut c_charXutf8SetWMProperties: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *const c_char, _: *mut *mut c_char, _: c_int, _: *mut XSizeHints, _: *mut XWMHints, _: *mut XClassHint)Xutf8TextEscapement: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int) -> c_intXutf8TextExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_intXutf8TextListToTextProperty: unsafe extern "C" fn(_: *mut Display, _: *mut *mut c_char, _: c_int, _: XICCEncodingStyle, _: *mut XTextProperty) -> c_intXutf8TextPerCharExtents: unsafe extern "C" fn(_: XFontSet, _: *const c_char, _: c_int, _: *mut XRectangle, _: *mut XRectangle, _: c_int, _: *mut c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_intXutf8TextPropertyToTextList: unsafe extern "C" fn(_: *mut Display, _: *const XTextProperty, _: *mut *mut *mut c_char, _: *mut c_int) -> c_intXVendorRelease: unsafe extern "C" fn(_: *mut Display) -> c_intXVisualIDFromVisual: unsafe extern "C" fn(_: *mut Visual) -> c_ulongXWarpPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_intXwcDrawImageString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const wchar_t, _: c_int)XwcDrawString: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: XFontSet, _: GC, _: c_int, _: c_int, _: *const wchar_t, _: c_int)XwcDrawText: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GC, _: c_int, _: c_int, _: *mut XwcTextItem, _: c_int)XwcFreeStringList: unsafe extern "C" fn(_: *mut *mut wchar_t)XwcLookupString: unsafe extern "C" fn(_: XIC, _: *mut XKeyEvent, _: *mut wchar_t, _: c_int, _: *mut c_ulong, _: *mut c_int) -> c_intXwcResetIC: unsafe extern "C" fn(_: XIC) -> *mut wchar_tXwcTextEscapement: unsafe extern "C" fn(_: XFontSet, _: *const wchar_t, _: c_int) -> c_intXwcTextExtents: unsafe extern "C" fn(_: XFontSet, _: *const wchar_t, _: c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_intXwcTextListToTextProperty: unsafe extern "C" fn(_: *mut Display, _: *mut *mut wchar_t, _: c_int, _: XICCEncodingStyle, _: *mut XTextProperty) -> c_intXwcTextPerCharExtents: unsafe extern "C" fn(_: XFontSet, _: *const wchar_t, _: c_int, _: *mut XRectangle, _: *mut XRectangle, _: c_int, _: *mut c_int, _: *mut XRectangle, _: *mut XRectangle) -> c_intXwcTextPropertyToTextList: unsafe extern "C" fn(_: *mut Display, _: *const XTextProperty, _: *mut *mut *mut wchar_t, _: *mut c_int) -> c_intXWhitePixel: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_ulongXWhitePixelOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_ulongXWidthMMOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXWidthOfScreen: unsafe extern "C" fn(_: *mut Screen) -> c_intXWindowEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_long, _: *mut XEvent) -> c_intXWithdrawWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_intXWMGeometry: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *const c_char, _: *const c_char, _: c_uint, _: *mut XSizeHints, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_intXWriteBitmapFile: unsafe extern "C" fn(_: *mut Display, _: *const c_char, _: c_ulong, _: c_uint, _: c_uint, _: c_int, _: c_int) -> c_intXXorRegion: unsafe extern "C" fn(_: Region, _: Region, _: Region) -> c_intXCreateIC: unsafe extern "C" fn(_: XIM, ...) -> XICXCreateOC: unsafe extern "C" fn(_: XOM, ...) -> XFontSetXGetICValues: unsafe extern "C" fn(_: XIC, ...) -> *mut c_charXGetIMValues: unsafe extern "C" fn(_: XIM, ...) -> *mut c_charXGetOCValues: unsafe extern "C" fn(_: XFontSet, ...) -> *mut c_charXGetOMValues: unsafe extern "C" fn(_: XOM, ...) -> *mut c_charXSetICValues: unsafe extern "C" fn(_: XIC, ...) -> *mut c_charXSetIMValues: unsafe extern "C" fn(_: XIM, ...) -> *mut c_charXSetOCValues: unsafe extern "C" fn(_: XFontSet, ...) -> *mut c_charXSetOMValues: unsafe extern "C" fn(_: XOM, ...) -> *mut c_charXVaCreateNestedList: unsafe extern "C" fn(_: c_int, ...) -> *mut c_void

Implementations

impl Xlib[src]

pub fn open() -> Result<Xlib, OpenError>[src]

Trait Implementations

impl Send for Xlib[src]

impl Sync for Xlib[src]

Auto Trait Implementations

impl RefUnwindSafe for Xlib

impl Unpin for Xlib

impl UnwindSafe for Xlib

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.