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