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

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

Fields

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

Methods

impl Xlib
[src]

fn open() -> Result<XlibOpenError>

Trait Implementations

impl Send for Xlib
[src]

impl Sync for Xlib
[src]