diff --git a/xlib.rs b/xlib.rs index c79c6aa..5781ec3 100644 --- a/xlib.rs +++ b/xlib.rs @@ -1062,828 +1062,828 @@ pub struct struct_unnamed1 { #[link_name="X11"] pub extern mod bindgen { -pub fn _Xmblen(++arg0: *c_char, ++arg1: c_int) -> c_int; +pub fn _Xmblen(arg0: *c_char, arg1: c_int) -> c_int; -pub fn XLoadQueryFont(++arg0: *Display, ++arg1: *c_char) -> *XFontStruct; +pub fn XLoadQueryFont(arg0: *Display, arg1: *c_char) -> *XFontStruct; -pub fn XQueryFont(++arg0: *Display, ++arg1: XID) -> *XFontStruct; +pub fn XQueryFont(arg0: *Display, arg1: XID) -> *XFontStruct; -pub fn XGetMotionEvents(++arg0: *Display, ++arg1: Window, ++arg2: Time, ++arg3: Time, ++arg4: *c_int) -> *XTimeCoord; +pub fn XGetMotionEvents(arg0: *Display, arg1: Window, arg2: Time, arg3: Time, arg4: *c_int) -> *XTimeCoord; -pub fn XDeleteModifiermapEntry(++arg0: *XModifierKeymap, ++arg1: KeyCode, ++arg2: c_int) -> *XModifierKeymap; +pub fn XDeleteModifiermapEntry(arg0: *XModifierKeymap, arg1: KeyCode, arg2: c_int) -> *XModifierKeymap; -pub fn XGetModifierMapping(++arg0: *Display) -> *XModifierKeymap; +pub fn XGetModifierMapping(arg0: *Display) -> *XModifierKeymap; -pub fn XInsertModifiermapEntry(++arg0: *XModifierKeymap, ++arg1: KeyCode, ++arg2: c_int) -> *XModifierKeymap; +pub fn XInsertModifiermapEntry(arg0: *XModifierKeymap, arg1: KeyCode, arg2: c_int) -> *XModifierKeymap; -pub fn XNewModifiermap(++arg0: c_int) -> *XModifierKeymap; +pub fn XNewModifiermap(arg0: c_int) -> *XModifierKeymap; -pub fn XCreateImage(++arg0: *Display, ++arg1: *Visual, ++arg2: c_uint, ++arg3: c_int, ++arg4: c_int, ++arg5: *c_char, ++arg6: c_uint, ++arg7: c_uint, ++arg8: c_int, ++arg9: c_int) -> *XImage; +pub fn XCreateImage(arg0: *Display, arg1: *Visual, arg2: c_uint, arg3: c_int, arg4: c_int, arg5: *c_char, arg6: c_uint, arg7: c_uint, arg8: c_int, arg9: c_int) -> *XImage; -pub fn XInitImage(++arg0: *XImage) -> c_int; +pub fn XInitImage(arg0: *XImage) -> c_int; -pub fn XGetImage(++arg0: *Display, ++arg1: Drawable, ++arg2: c_int, ++arg3: c_int, ++arg4: c_uint, ++arg5: c_uint, ++arg6: c_ulong, ++arg7: c_int) -> *XImage; +pub fn XGetImage(arg0: *Display, arg1: Drawable, arg2: c_int, arg3: c_int, arg4: c_uint, arg5: c_uint, arg6: c_ulong, arg7: c_int) -> *XImage; -pub fn XGetSubImage(++arg0: *Display, ++arg1: Drawable, ++arg2: c_int, ++arg3: c_int, ++arg4: c_uint, ++arg5: c_uint, ++arg6: c_ulong, ++arg7: c_int, ++arg8: *XImage, ++arg9: c_int, ++arg10: c_int) -> *XImage; +pub fn XGetSubImage(arg0: *Display, arg1: Drawable, arg2: c_int, arg3: c_int, arg4: c_uint, arg5: c_uint, arg6: c_ulong, arg7: c_int, arg8: *XImage, arg9: c_int, arg10: c_int) -> *XImage; -pub fn XOpenDisplay(++arg0: *c_char) -> *Display; +pub fn XOpenDisplay(arg0: *c_char) -> *Display; pub fn XrmInitialize(); -pub fn XFetchBytes(++arg0: *Display, ++arg1: *c_int) -> *c_char; +pub fn XFetchBytes(arg0: *Display, arg1: *c_int) -> *c_char; -pub fn XFetchBuffer(++arg0: *Display, ++arg1: *c_int, ++arg2: c_int) -> *c_char; +pub fn XFetchBuffer(arg0: *Display, arg1: *c_int, arg2: c_int) -> *c_char; -pub fn XGetAtomName(++arg0: *Display, ++arg1: Atom) -> *c_char; +pub fn XGetAtomName(arg0: *Display, arg1: Atom) -> *c_char; -pub fn XGetAtomNames(++arg0: *Display, ++arg1: *Atom, ++arg2: c_int, ++arg3: **c_char) -> c_int; +pub fn XGetAtomNames(arg0: *Display, arg1: *Atom, arg2: c_int, arg3: **c_char) -> c_int; -pub fn XGetDefault(++arg0: *Display, ++arg1: *c_char, ++arg2: *c_char) -> *c_char; +pub fn XGetDefault(arg0: *Display, arg1: *c_char, arg2: *c_char) -> *c_char; -pub fn XDisplayName(++arg0: *c_char) -> *c_char; +pub fn XDisplayName(arg0: *c_char) -> *c_char; -pub fn XKeysymToString(++arg0: KeySym) -> *c_char; +pub fn XKeysymToString(arg0: KeySym) -> *c_char; -pub fn XSynchronize(++arg0: *Display, ++arg1: c_int) -> *u8; +pub fn XSynchronize(arg0: *Display, arg1: c_int) -> *u8; -pub fn XSetAfterFunction(++arg0: *Display, ++arg1: *u8) -> *u8; +pub fn XSetAfterFunction(arg0: *Display, arg1: *u8) -> *u8; -pub fn XInternAtom(++arg0: *Display, ++arg1: *c_char, ++arg2: c_int) -> Atom; +pub fn XInternAtom(arg0: *Display, arg1: *c_char, arg2: c_int) -> Atom; -pub fn XInternAtoms(++arg0: *Display, ++arg1: **c_char, ++arg2: c_int, ++arg3: c_int, ++arg4: *Atom) -> c_int; +pub fn XInternAtoms(arg0: *Display, arg1: **c_char, arg2: c_int, arg3: c_int, arg4: *Atom) -> c_int; -pub fn XCopyColormapAndFree(++arg0: *Display, ++arg1: Colormap) -> Colormap; +pub fn XCopyColormapAndFree(arg0: *Display, arg1: Colormap) -> Colormap; -pub fn XCreateColormap(++arg0: *Display, ++arg1: Window, ++arg2: *Visual, ++arg3: c_int) -> Colormap; +pub fn XCreateColormap(arg0: *Display, arg1: Window, arg2: *Visual, arg3: c_int) -> Colormap; -pub fn XCreatePixmapCursor(++arg0: *Display, ++arg1: Pixmap, ++arg2: Pixmap, ++arg3: *XColor, ++arg4: *XColor, ++arg5: c_uint, ++arg6: c_uint) -> Cursor; +pub fn XCreatePixmapCursor(arg0: *Display, arg1: Pixmap, arg2: Pixmap, arg3: *XColor, arg4: *XColor, arg5: c_uint, arg6: c_uint) -> Cursor; -pub fn XCreateGlyphCursor(++arg0: *Display, ++arg1: Font, ++arg2: Font, ++arg3: c_uint, ++arg4: c_uint, ++arg5: *XColor, ++arg6: *XColor) -> Cursor; +pub fn XCreateGlyphCursor(arg0: *Display, arg1: Font, arg2: Font, arg3: c_uint, arg4: c_uint, arg5: *XColor, arg6: *XColor) -> Cursor; -pub fn XCreateFontCursor(++arg0: *Display, ++arg1: c_uint) -> Cursor; +pub fn XCreateFontCursor(arg0: *Display, arg1: c_uint) -> Cursor; -pub fn XLoadFont(++arg0: *Display, ++arg1: *c_char) -> Font; +pub fn XLoadFont(arg0: *Display, arg1: *c_char) -> Font; -pub fn XCreateGC(++arg0: *Display, ++arg1: Drawable, ++arg2: c_ulong, ++arg3: *XGCValues) -> GC; +pub fn XCreateGC(arg0: *Display, arg1: Drawable, arg2: c_ulong, arg3: *XGCValues) -> GC; -pub fn XGContextFromGC(++arg0: GC) -> GContext; +pub fn XGContextFromGC(arg0: GC) -> GContext; -pub fn XFlushGC(++arg0: *Display, ++arg1: GC); +pub fn XFlushGC(arg0: *Display, arg1: GC); -pub fn XCreatePixmap(++arg0: *Display, ++arg1: Drawable, ++arg2: c_uint, ++arg3: c_uint, ++arg4: c_uint) -> Pixmap; +pub fn XCreatePixmap(arg0: *Display, arg1: Drawable, arg2: c_uint, arg3: c_uint, arg4: c_uint) -> Pixmap; -pub fn XCreateBitmapFromData(++arg0: *Display, ++arg1: Drawable, ++arg2: *c_char, ++arg3: c_uint, ++arg4: c_uint) -> Pixmap; +pub fn XCreateBitmapFromData(arg0: *Display, arg1: Drawable, arg2: *c_char, arg3: c_uint, arg4: c_uint) -> Pixmap; -pub fn XCreatePixmapFromBitmapData(++arg0: *Display, ++arg1: Drawable, ++arg2: *c_char, ++arg3: c_uint, ++arg4: c_uint, ++arg5: c_ulong, ++arg6: c_ulong, ++arg7: c_uint) -> Pixmap; +pub fn XCreatePixmapFromBitmapData(arg0: *Display, arg1: Drawable, arg2: *c_char, arg3: c_uint, arg4: c_uint, arg5: c_ulong, arg6: c_ulong, arg7: c_uint) -> Pixmap; -pub fn XCreateSimpleWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_int, ++arg4: c_uint, ++arg5: c_uint, ++arg6: c_uint, ++arg7: c_ulong, ++arg8: c_ulong) -> Window; +pub fn XCreateSimpleWindow(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_int, arg4: c_uint, arg5: c_uint, arg6: c_uint, arg7: c_ulong, arg8: c_ulong) -> Window; -pub fn XGetSelectionOwner(++arg0: *Display, ++arg1: Atom) -> Window; +pub fn XGetSelectionOwner(arg0: *Display, arg1: Atom) -> Window; -pub fn XCreateWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_int, ++arg4: c_uint, ++arg5: c_uint, ++arg6: c_uint, ++arg7: c_int, ++arg8: c_uint, ++arg9: *Visual, ++arg10: c_ulong, ++arg11: *XSetWindowAttributes) -> Window; +pub fn XCreateWindow(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_int, arg4: c_uint, arg5: c_uint, arg6: c_uint, arg7: c_int, arg8: c_uint, arg9: *Visual, arg10: c_ulong, arg11: *XSetWindowAttributes) -> Window; -pub fn XListInstalledColormaps(++arg0: *Display, ++arg1: Window, ++arg2: *c_int) -> *Colormap; +pub fn XListInstalledColormaps(arg0: *Display, arg1: Window, arg2: *c_int) -> *Colormap; -pub fn XListFonts(++arg0: *Display, ++arg1: *c_char, ++arg2: c_int, ++arg3: *c_int) -> **c_char; +pub fn XListFonts(arg0: *Display, arg1: *c_char, arg2: c_int, arg3: *c_int) -> **c_char; -pub fn XListFontsWithInfo(++arg0: *Display, ++arg1: *c_char, ++arg2: c_int, ++arg3: *c_int, ++arg4: **XFontStruct) -> **c_char; +pub fn XListFontsWithInfo(arg0: *Display, arg1: *c_char, arg2: c_int, arg3: *c_int, arg4: **XFontStruct) -> **c_char; -pub fn XGetFontPath(++arg0: *Display, ++arg1: *c_int) -> **c_char; +pub fn XGetFontPath(arg0: *Display, arg1: *c_int) -> **c_char; -pub fn XListExtensions(++arg0: *Display, ++arg1: *c_int) -> **c_char; +pub fn XListExtensions(arg0: *Display, arg1: *c_int) -> **c_char; -pub fn XListProperties(++arg0: *Display, ++arg1: Window, ++arg2: *c_int) -> *Atom; +pub fn XListProperties(arg0: *Display, arg1: Window, arg2: *c_int) -> *Atom; -pub fn XListHosts(++arg0: *Display, ++arg1: *c_int, ++arg2: *c_int) -> *XHostAddress; +pub fn XListHosts(arg0: *Display, arg1: *c_int, arg2: *c_int) -> *XHostAddress; -pub fn XKeycodeToKeysym(++arg0: *Display, ++arg1: KeyCode, ++arg2: c_int) -> KeySym; +pub fn XKeycodeToKeysym(arg0: *Display, arg1: KeyCode, arg2: c_int) -> KeySym; -pub fn XLookupKeysym(++arg0: *XKeyEvent, ++arg1: c_int) -> KeySym; +pub fn XLookupKeysym(arg0: *XKeyEvent, arg1: c_int) -> KeySym; -pub fn XGetKeyboardMapping(++arg0: *Display, ++arg1: KeyCode, ++arg2: c_int, ++arg3: *c_int) -> *KeySym; +pub fn XGetKeyboardMapping(arg0: *Display, arg1: KeyCode, arg2: c_int, arg3: *c_int) -> *KeySym; -pub fn XStringToKeysym(++arg0: *c_char) -> KeySym; +pub fn XStringToKeysym(arg0: *c_char) -> KeySym; -pub fn XMaxRequestSize(++arg0: *Display) -> c_long; +pub fn XMaxRequestSize(arg0: *Display) -> c_long; -pub fn XExtendedMaxRequestSize(++arg0: *Display) -> c_long; +pub fn XExtendedMaxRequestSize(arg0: *Display) -> c_long; -pub fn XResourceManagerString(++arg0: *Display) -> *c_char; +pub fn XResourceManagerString(arg0: *Display) -> *c_char; -pub fn XScreenResourceString(++arg0: *Screen) -> *c_char; +pub fn XScreenResourceString(arg0: *Screen) -> *c_char; -pub fn XDisplayMotionBufferSize(++arg0: *Display) -> c_ulong; +pub fn XDisplayMotionBufferSize(arg0: *Display) -> c_ulong; -pub fn XVisualIDFromVisual(++arg0: *Visual) -> VisualID; +pub fn XVisualIDFromVisual(arg0: *Visual) -> VisualID; pub fn XInitThreads() -> c_int; -pub fn XLockDisplay(++arg0: *Display); +pub fn XLockDisplay(arg0: *Display); -pub fn XUnlockDisplay(++arg0: *Display); +pub fn XUnlockDisplay(arg0: *Display); -pub fn XInitExtension(++arg0: *Display, ++arg1: *c_char) -> *XExtCodes; +pub fn XInitExtension(arg0: *Display, arg1: *c_char) -> *XExtCodes; -pub fn XAddExtension(++arg0: *Display) -> *XExtCodes; +pub fn XAddExtension(arg0: *Display) -> *XExtCodes; -pub fn XFindOnExtensionList(++arg0: **XExtData, ++arg1: c_int) -> *XExtData; +pub fn XFindOnExtensionList(arg0: **XExtData, arg1: c_int) -> *XExtData; -pub fn XEHeadOfExtensionList(++arg0: XEDataObject) -> **XExtData; +pub fn XEHeadOfExtensionList(arg0: XEDataObject) -> **XExtData; -pub fn XRootWindow(++arg0: *Display, ++arg1: c_int) -> Window; +pub fn XRootWindow(arg0: *Display, arg1: c_int) -> Window; -pub fn XDefaultRootWindow(++arg0: *Display) -> Window; +pub fn XDefaultRootWindow(arg0: *Display) -> Window; -pub fn XRootWindowOfScreen(++arg0: *Screen) -> Window; +pub fn XRootWindowOfScreen(arg0: *Screen) -> Window; -pub fn XDefaultVisual(++arg0: *Display, ++arg1: c_int) -> *Visual; +pub fn XDefaultVisual(arg0: *Display, arg1: c_int) -> *Visual; -pub fn XDefaultVisualOfScreen(++arg0: *Screen) -> *Visual; +pub fn XDefaultVisualOfScreen(arg0: *Screen) -> *Visual; -pub fn XDefaultGC(++arg0: *Display, ++arg1: c_int) -> GC; +pub fn XDefaultGC(arg0: *Display, arg1: c_int) -> GC; -pub fn XDefaultGCOfScreen(++arg0: *Screen) -> GC; +pub fn XDefaultGCOfScreen(arg0: *Screen) -> GC; -pub fn XBlackPixel(++arg0: *Display, ++arg1: c_int) -> c_ulong; +pub fn XBlackPixel(arg0: *Display, arg1: c_int) -> c_ulong; -pub fn XWhitePixel(++arg0: *Display, ++arg1: c_int) -> c_ulong; +pub fn XWhitePixel(arg0: *Display, arg1: c_int) -> c_ulong; pub fn XAllPlanes() -> c_ulong; -pub fn XBlackPixelOfScreen(++arg0: *Screen) -> c_ulong; +pub fn XBlackPixelOfScreen(arg0: *Screen) -> c_ulong; -pub fn XWhitePixelOfScreen(++arg0: *Screen) -> c_ulong; +pub fn XWhitePixelOfScreen(arg0: *Screen) -> c_ulong; -pub fn XNextRequest(++arg0: *Display) -> c_ulong; +pub fn XNextRequest(arg0: *Display) -> c_ulong; -pub fn XLastKnownRequestProcessed(++arg0: *Display) -> c_ulong; +pub fn XLastKnownRequestProcessed(arg0: *Display) -> c_ulong; -pub fn XServerVendor(++arg0: *Display) -> *c_char; +pub fn XServerVendor(arg0: *Display) -> *c_char; -pub fn XDisplayString(++arg0: *Display) -> *c_char; +pub fn XDisplayString(arg0: *Display) -> *c_char; -pub fn XDefaultColormap(++arg0: *Display, ++arg1: c_int) -> Colormap; +pub fn XDefaultColormap(arg0: *Display, arg1: c_int) -> Colormap; -pub fn XDefaultColormapOfScreen(++arg0: *Screen) -> Colormap; +pub fn XDefaultColormapOfScreen(arg0: *Screen) -> Colormap; -pub fn XDisplayOfScreen(++arg0: *Screen) -> *Display; +pub fn XDisplayOfScreen(arg0: *Screen) -> *Display; -pub fn XScreenOfDisplay(++arg0: *Display, ++arg1: c_int) -> *Screen; +pub fn XScreenOfDisplay(arg0: *Display, arg1: c_int) -> *Screen; -pub fn XDefaultScreenOfDisplay(++arg0: *Display) -> *Screen; +pub fn XDefaultScreenOfDisplay(arg0: *Display) -> *Screen; -pub fn XEventMaskOfScreen(++arg0: *Screen) -> c_long; +pub fn XEventMaskOfScreen(arg0: *Screen) -> c_long; -pub fn XScreenNumberOfScreen(++arg0: *Screen) -> c_int; +pub fn XScreenNumberOfScreen(arg0: *Screen) -> c_int; -pub fn XSetErrorHandler(++arg0: XErrorHandler) -> XErrorHandler; +pub fn XSetErrorHandler(arg0: XErrorHandler) -> XErrorHandler; -pub fn XSetIOErrorHandler(++arg0: XIOErrorHandler) -> XIOErrorHandler; +pub fn XSetIOErrorHandler(arg0: XIOErrorHandler) -> XIOErrorHandler; -pub fn XListPixmapFormats(++arg0: *Display, ++arg1: *c_int) -> *XPixmapFormatValues; +pub fn XListPixmapFormats(arg0: *Display, arg1: *c_int) -> *XPixmapFormatValues; -pub fn XListDepths(++arg0: *Display, ++arg1: c_int, ++arg2: *c_int) -> *c_int; +pub fn XListDepths(arg0: *Display, arg1: c_int, arg2: *c_int) -> *c_int; -pub fn XReconfigureWMWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_uint, ++arg4: *XWindowChanges) -> c_int; +pub fn XReconfigureWMWindow(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_uint, arg4: *XWindowChanges) -> c_int; -pub fn XGetWMProtocols(++arg0: *Display, ++arg1: Window, ++arg2: **Atom, ++arg3: *c_int) -> c_int; +pub fn XGetWMProtocols(arg0: *Display, arg1: Window, arg2: **Atom, arg3: *c_int) -> c_int; -pub fn XSetWMProtocols(++arg0: *Display, ++arg1: Window, ++arg2: *Atom, ++arg3: c_int) -> c_int; +pub fn XSetWMProtocols(arg0: *Display, arg1: Window, arg2: *Atom, arg3: c_int) -> c_int; -pub fn XIconifyWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_int) -> c_int; +pub fn XIconifyWindow(arg0: *Display, arg1: Window, arg2: c_int) -> c_int; -pub fn XWithdrawWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_int) -> c_int; +pub fn XWithdrawWindow(arg0: *Display, arg1: Window, arg2: c_int) -> c_int; -pub fn XGetCommand(++arg0: *Display, ++arg1: Window, ++arg2: ***c_char, ++arg3: *c_int) -> c_int; +pub fn XGetCommand(arg0: *Display, arg1: Window, arg2: ***c_char, arg3: *c_int) -> c_int; -pub fn XGetWMColormapWindows(++arg0: *Display, ++arg1: Window, ++arg2: **Window, ++arg3: *c_int) -> c_int; +pub fn XGetWMColormapWindows(arg0: *Display, arg1: Window, arg2: **Window, arg3: *c_int) -> c_int; -pub fn XSetWMColormapWindows(++arg0: *Display, ++arg1: Window, ++arg2: *Window, ++arg3: c_int) -> c_int; +pub fn XSetWMColormapWindows(arg0: *Display, arg1: Window, arg2: *Window, arg3: c_int) -> c_int; -pub fn XFreeStringList(++arg0: **c_char); +pub fn XFreeStringList(arg0: **c_char); -pub fn XSetTransientForHint(++arg0: *Display, ++arg1: Window, ++arg2: Window) -> c_int; +pub fn XSetTransientForHint(arg0: *Display, arg1: Window, arg2: Window) -> c_int; -pub fn XActivateScreenSaver(++arg0: *Display) -> c_int; +pub fn XActivateScreenSaver(arg0: *Display) -> c_int; -pub fn XAddHost(++arg0: *Display, ++arg1: *XHostAddress) -> c_int; +pub fn XAddHost(arg0: *Display, arg1: *XHostAddress) -> c_int; -pub fn XAddHosts(++arg0: *Display, ++arg1: *XHostAddress, ++arg2: c_int) -> c_int; +pub fn XAddHosts(arg0: *Display, arg1: *XHostAddress, arg2: c_int) -> c_int; -pub fn XAddToExtensionList(++arg0: **struct__XExtData, ++arg1: *XExtData) -> c_int; +pub fn XAddToExtensionList(arg0: **struct__XExtData, arg1: *XExtData) -> c_int; -pub fn XAddToSaveSet(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XAddToSaveSet(arg0: *Display, arg1: Window) -> c_int; -pub fn XAllocColor(++arg0: *Display, ++arg1: Colormap, ++arg2: *XColor) -> c_int; +pub fn XAllocColor(arg0: *Display, arg1: Colormap, arg2: *XColor) -> c_int; -pub fn XAllocColorCells(++arg0: *Display, ++arg1: Colormap, ++arg2: c_int, ++arg3: *c_ulong, ++arg4: c_uint, ++arg5: *c_ulong, ++arg6: c_uint) -> c_int; +pub fn XAllocColorCells(arg0: *Display, arg1: Colormap, arg2: c_int, arg3: *c_ulong, arg4: c_uint, arg5: *c_ulong, arg6: c_uint) -> c_int; -pub fn XAllocColorPlanes(++arg0: *Display, ++arg1: Colormap, ++arg2: c_int, ++arg3: *c_ulong, ++arg4: c_int, ++arg5: c_int, ++arg6: c_int, ++arg7: c_int, ++arg8: *c_ulong, ++arg9: *c_ulong, ++arg10: *c_ulong) -> c_int; +pub fn XAllocColorPlanes(arg0: *Display, arg1: Colormap, arg2: c_int, arg3: *c_ulong, arg4: c_int, arg5: c_int, arg6: c_int, arg7: c_int, arg8: *c_ulong, arg9: *c_ulong, arg10: *c_ulong) -> c_int; -pub fn XAllocNamedColor(++arg0: *Display, ++arg1: Colormap, ++arg2: *c_char, ++arg3: *XColor, ++arg4: *XColor) -> c_int; +pub fn XAllocNamedColor(arg0: *Display, arg1: Colormap, arg2: *c_char, arg3: *XColor, arg4: *XColor) -> c_int; -pub fn XAllowEvents(++arg0: *Display, ++arg1: c_int, ++arg2: Time) -> c_int; +pub fn XAllowEvents(arg0: *Display, arg1: c_int, arg2: Time) -> c_int; -pub fn XAutoRepeatOff(++arg0: *Display) -> c_int; +pub fn XAutoRepeatOff(arg0: *Display) -> c_int; -pub fn XAutoRepeatOn(++arg0: *Display) -> c_int; +pub fn XAutoRepeatOn(arg0: *Display) -> c_int; -pub fn XBell(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XBell(arg0: *Display, arg1: c_int) -> c_int; -pub fn XBitmapBitOrder(++arg0: *Display) -> c_int; +pub fn XBitmapBitOrder(arg0: *Display) -> c_int; -pub fn XBitmapPad(++arg0: *Display) -> c_int; +pub fn XBitmapPad(arg0: *Display) -> c_int; -pub fn XBitmapUnit(++arg0: *Display) -> c_int; +pub fn XBitmapUnit(arg0: *Display) -> c_int; -pub fn XCellsOfScreen(++arg0: *Screen) -> c_int; +pub fn XCellsOfScreen(arg0: *Screen) -> c_int; -pub fn XChangeActivePointerGrab(++arg0: *Display, ++arg1: c_uint, ++arg2: Cursor, ++arg3: Time) -> c_int; +pub fn XChangeActivePointerGrab(arg0: *Display, arg1: c_uint, arg2: Cursor, arg3: Time) -> c_int; -pub fn XChangeGC(++arg0: *Display, ++arg1: GC, ++arg2: c_ulong, ++arg3: *XGCValues) -> c_int; +pub fn XChangeGC(arg0: *Display, arg1: GC, arg2: c_ulong, arg3: *XGCValues) -> c_int; -pub fn XChangeKeyboardControl(++arg0: *Display, ++arg1: c_ulong, ++arg2: *XKeyboardControl) -> c_int; +pub fn XChangeKeyboardControl(arg0: *Display, arg1: c_ulong, arg2: *XKeyboardControl) -> c_int; -pub fn XChangeKeyboardMapping(++arg0: *Display, ++arg1: c_int, ++arg2: c_int, ++arg3: *KeySym, ++arg4: c_int) -> c_int; +pub fn XChangeKeyboardMapping(arg0: *Display, arg1: c_int, arg2: c_int, arg3: *KeySym, arg4: c_int) -> c_int; -pub fn XChangePointerControl(++arg0: *Display, ++arg1: c_int, ++arg2: c_int, ++arg3: c_int, ++arg4: c_int, ++arg5: c_int) -> c_int; +pub fn XChangePointerControl(arg0: *Display, arg1: c_int, arg2: c_int, arg3: c_int, arg4: c_int, arg5: c_int) -> c_int; -pub fn XChangeProperty(++arg0: *Display, ++arg1: Window, ++arg2: Atom, ++arg3: Atom, ++arg4: c_int, ++arg5: c_int, ++arg6: *c_uchar, ++arg7: c_int) -> c_int; +pub fn XChangeProperty(arg0: *Display, arg1: Window, arg2: Atom, arg3: Atom, arg4: c_int, arg5: c_int, arg6: *c_uchar, arg7: c_int) -> c_int; -pub fn XChangeSaveSet(++arg0: *Display, ++arg1: Window, ++arg2: c_int) -> c_int; +pub fn XChangeSaveSet(arg0: *Display, arg1: Window, arg2: c_int) -> c_int; -pub fn XChangeWindowAttributes(++arg0: *Display, ++arg1: Window, ++arg2: c_ulong, ++arg3: *XSetWindowAttributes) -> c_int; +pub fn XChangeWindowAttributes(arg0: *Display, arg1: Window, arg2: c_ulong, arg3: *XSetWindowAttributes) -> c_int; -pub fn XCheckIfEvent(++arg0: *Display, ++arg1: *XEvent, ++arg2: *u8, ++arg3: XPointer) -> c_int; +pub fn XCheckIfEvent(arg0: *Display, arg1: *XEvent, arg2: *u8, arg3: XPointer) -> c_int; -pub fn XCheckMaskEvent(++arg0: *Display, ++arg1: c_long, ++arg2: *XEvent) -> c_int; +pub fn XCheckMaskEvent(arg0: *Display, arg1: c_long, arg2: *XEvent) -> c_int; -pub fn XCheckTypedEvent(++arg0: *Display, ++arg1: c_int, ++arg2: *XEvent) -> c_int; +pub fn XCheckTypedEvent(arg0: *Display, arg1: c_int, arg2: *XEvent) -> c_int; -pub fn XCheckTypedWindowEvent(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: *XEvent) -> c_int; +pub fn XCheckTypedWindowEvent(arg0: *Display, arg1: Window, arg2: c_int, arg3: *XEvent) -> c_int; -pub fn XCheckWindowEvent(++arg0: *Display, ++arg1: Window, ++arg2: c_long, ++arg3: *XEvent) -> c_int; +pub fn XCheckWindowEvent(arg0: *Display, arg1: Window, arg2: c_long, arg3: *XEvent) -> c_int; -pub fn XCirculateSubwindows(++arg0: *Display, ++arg1: Window, ++arg2: c_int) -> c_int; +pub fn XCirculateSubwindows(arg0: *Display, arg1: Window, arg2: c_int) -> c_int; -pub fn XCirculateSubwindowsDown(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XCirculateSubwindowsDown(arg0: *Display, arg1: Window) -> c_int; -pub fn XCirculateSubwindowsUp(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XCirculateSubwindowsUp(arg0: *Display, arg1: Window) -> c_int; -pub fn XClearArea(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_int, ++arg4: c_uint, ++arg5: c_uint, ++arg6: c_int) -> c_int; +pub fn XClearArea(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_int, arg4: c_uint, arg5: c_uint, arg6: c_int) -> c_int; -pub fn XClearWindow(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XClearWindow(arg0: *Display, arg1: Window) -> c_int; -pub fn XCloseDisplay(++arg0: *Display) -> c_int; +pub fn XCloseDisplay(arg0: *Display) -> c_int; -pub fn XConfigureWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_uint, ++arg3: *XWindowChanges) -> c_int; +pub fn XConfigureWindow(arg0: *Display, arg1: Window, arg2: c_uint, arg3: *XWindowChanges) -> c_int; -pub fn XConnectionNumber(++arg0: *Display) -> c_int; +pub fn XConnectionNumber(arg0: *Display) -> c_int; -pub fn XConvertSelection(++arg0: *Display, ++arg1: Atom, ++arg2: Atom, ++arg3: Atom, ++arg4: Window, ++arg5: Time) -> c_int; +pub fn XConvertSelection(arg0: *Display, arg1: Atom, arg2: Atom, arg3: Atom, arg4: Window, arg5: Time) -> c_int; -pub fn XCopyArea(++arg0: *Display, ++arg1: Drawable, ++arg2: Drawable, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: c_uint, ++arg7: c_uint, ++arg8: c_int, ++arg9: c_int) -> c_int; +pub fn XCopyArea(arg0: *Display, arg1: Drawable, arg2: Drawable, arg3: GC, arg4: c_int, arg5: c_int, arg6: c_uint, arg7: c_uint, arg8: c_int, arg9: c_int) -> c_int; -pub fn XCopyGC(++arg0: *Display, ++arg1: GC, ++arg2: c_ulong, ++arg3: GC) -> c_int; +pub fn XCopyGC(arg0: *Display, arg1: GC, arg2: c_ulong, arg3: GC) -> c_int; -pub fn XCopyPlane(++arg0: *Display, ++arg1: Drawable, ++arg2: Drawable, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: c_uint, ++arg7: c_uint, ++arg8: c_int, ++arg9: c_int, ++arg10: c_ulong) -> c_int; +pub fn XCopyPlane(arg0: *Display, arg1: Drawable, arg2: Drawable, arg3: GC, arg4: c_int, arg5: c_int, arg6: c_uint, arg7: c_uint, arg8: c_int, arg9: c_int, arg10: c_ulong) -> c_int; -pub fn XDefaultDepth(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XDefaultDepth(arg0: *Display, arg1: c_int) -> c_int; -pub fn XDefaultDepthOfScreen(++arg0: *Screen) -> c_int; +pub fn XDefaultDepthOfScreen(arg0: *Screen) -> c_int; -pub fn XDefaultScreen(++arg0: *Display) -> c_int; +pub fn XDefaultScreen(arg0: *Display) -> c_int; -pub fn XDefineCursor(++arg0: *Display, ++arg1: Window, ++arg2: Cursor) -> c_int; +pub fn XDefineCursor(arg0: *Display, arg1: Window, arg2: Cursor) -> c_int; -pub fn XDeleteProperty(++arg0: *Display, ++arg1: Window, ++arg2: Atom) -> c_int; +pub fn XDeleteProperty(arg0: *Display, arg1: Window, arg2: Atom) -> c_int; -pub fn XDestroyWindow(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XDestroyWindow(arg0: *Display, arg1: Window) -> c_int; -pub fn XDestroySubwindows(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XDestroySubwindows(arg0: *Display, arg1: Window) -> c_int; -pub fn XDoesBackingStore(++arg0: *Screen) -> c_int; +pub fn XDoesBackingStore(arg0: *Screen) -> c_int; -pub fn XDoesSaveUnders(++arg0: *Screen) -> c_int; +pub fn XDoesSaveUnders(arg0: *Screen) -> c_int; -pub fn XDisableAccessControl(++arg0: *Display) -> c_int; +pub fn XDisableAccessControl(arg0: *Display) -> c_int; -pub fn XDisplayCells(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XDisplayCells(arg0: *Display, arg1: c_int) -> c_int; -pub fn XDisplayHeight(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XDisplayHeight(arg0: *Display, arg1: c_int) -> c_int; -pub fn XDisplayHeightMM(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XDisplayHeightMM(arg0: *Display, arg1: c_int) -> c_int; -pub fn XDisplayKeycodes(++arg0: *Display, ++arg1: *c_int, ++arg2: *c_int) -> c_int; +pub fn XDisplayKeycodes(arg0: *Display, arg1: *c_int, arg2: *c_int) -> c_int; -pub fn XDisplayPlanes(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XDisplayPlanes(arg0: *Display, arg1: c_int) -> c_int; -pub fn XDisplayWidth(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XDisplayWidth(arg0: *Display, arg1: c_int) -> c_int; -pub fn XDisplayWidthMM(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XDisplayWidthMM(arg0: *Display, arg1: c_int) -> c_int; -pub fn XDrawArc(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: c_uint, ++arg6: c_uint, ++arg7: c_int, ++arg8: c_int) -> c_int; +pub fn XDrawArc(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: c_uint, arg6: c_uint, arg7: c_int, arg8: c_int) -> c_int; -pub fn XDrawArcs(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XArc, ++arg4: c_int) -> c_int; +pub fn XDrawArcs(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XArc, arg4: c_int) -> c_int; -pub fn XDrawImageString(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *c_char, ++arg6: c_int) -> c_int; +pub fn XDrawImageString(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *c_char, arg6: c_int) -> c_int; -pub fn XDrawImageString16(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *XChar2b, ++arg6: c_int) -> c_int; +pub fn XDrawImageString16(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *XChar2b, arg6: c_int) -> c_int; -pub fn XDrawLine(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: c_int, ++arg6: c_int) -> c_int; +pub fn XDrawLine(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: c_int, arg6: c_int) -> c_int; -pub fn XDrawLines(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XPoint, ++arg4: c_int, ++arg5: c_int) -> c_int; +pub fn XDrawLines(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XPoint, arg4: c_int, arg5: c_int) -> c_int; -pub fn XDrawPoint(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int) -> c_int; +pub fn XDrawPoint(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int) -> c_int; -pub fn XDrawPoints(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XPoint, ++arg4: c_int, ++arg5: c_int) -> c_int; +pub fn XDrawPoints(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XPoint, arg4: c_int, arg5: c_int) -> c_int; -pub fn XDrawRectangle(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: c_uint, ++arg6: c_uint) -> c_int; +pub fn XDrawRectangle(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: c_uint, arg6: c_uint) -> c_int; -pub fn XDrawRectangles(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XRectangle, ++arg4: c_int) -> c_int; +pub fn XDrawRectangles(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XRectangle, arg4: c_int) -> c_int; -pub fn XDrawSegments(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XSegment, ++arg4: c_int) -> c_int; +pub fn XDrawSegments(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XSegment, arg4: c_int) -> c_int; -pub fn XDrawString(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *c_char, ++arg6: c_int) -> c_int; +pub fn XDrawString(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *c_char, arg6: c_int) -> c_int; -pub fn XDrawString16(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *XChar2b, ++arg6: c_int) -> c_int; +pub fn XDrawString16(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *XChar2b, arg6: c_int) -> c_int; -pub fn XDrawText(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *XTextItem, ++arg6: c_int) -> c_int; +pub fn XDrawText(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *XTextItem, arg6: c_int) -> c_int; -pub fn XDrawText16(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *XTextItem16, ++arg6: c_int) -> c_int; +pub fn XDrawText16(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *XTextItem16, arg6: c_int) -> c_int; -pub fn XEnableAccessControl(++arg0: *Display) -> c_int; +pub fn XEnableAccessControl(arg0: *Display) -> c_int; -pub fn XEventsQueued(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XEventsQueued(arg0: *Display, arg1: c_int) -> c_int; -pub fn XFetchName(++arg0: *Display, ++arg1: Window, ++arg2: **c_char) -> c_int; +pub fn XFetchName(arg0: *Display, arg1: Window, arg2: **c_char) -> c_int; -pub fn XFillArc(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: c_uint, ++arg6: c_uint, ++arg7: c_int, ++arg8: c_int) -> c_int; +pub fn XFillArc(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: c_uint, arg6: c_uint, arg7: c_int, arg8: c_int) -> c_int; -pub fn XFillArcs(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XArc, ++arg4: c_int) -> c_int; +pub fn XFillArcs(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XArc, arg4: c_int) -> c_int; -pub fn XFillPolygon(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XPoint, ++arg4: c_int, ++arg5: c_int, ++arg6: c_int) -> c_int; +pub fn XFillPolygon(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XPoint, arg4: c_int, arg5: c_int, arg6: c_int) -> c_int; -pub fn XFillRectangle(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: c_uint, ++arg6: c_uint) -> c_int; +pub fn XFillRectangle(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: c_uint, arg6: c_uint) -> c_int; -pub fn XFillRectangles(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XRectangle, ++arg4: c_int) -> c_int; +pub fn XFillRectangles(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XRectangle, arg4: c_int) -> c_int; -pub fn XFlush(++arg0: *Display) -> c_int; +pub fn XFlush(arg0: *Display) -> c_int; -pub fn XForceScreenSaver(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XForceScreenSaver(arg0: *Display, arg1: c_int) -> c_int; -pub fn XFree(++arg0: *c_void) -> c_int; +pub fn XFree(arg0: *c_void) -> c_int; -pub fn XFreeColormap(++arg0: *Display, ++arg1: Colormap) -> c_int; +pub fn XFreeColormap(arg0: *Display, arg1: Colormap) -> c_int; -pub fn XFreeColors(++arg0: *Display, ++arg1: Colormap, ++arg2: *c_ulong, ++arg3: c_int, ++arg4: c_ulong) -> c_int; +pub fn XFreeColors(arg0: *Display, arg1: Colormap, arg2: *c_ulong, arg3: c_int, arg4: c_ulong) -> c_int; -pub fn XFreeCursor(++arg0: *Display, ++arg1: Cursor) -> c_int; +pub fn XFreeCursor(arg0: *Display, arg1: Cursor) -> c_int; -pub fn XFreeExtensionList(++arg0: **c_char) -> c_int; +pub fn XFreeExtensionList(arg0: **c_char) -> c_int; -pub fn XFreeFont(++arg0: *Display, ++arg1: *XFontStruct) -> c_int; +pub fn XFreeFont(arg0: *Display, arg1: *XFontStruct) -> c_int; -pub fn XFreeFontInfo(++arg0: **c_char, ++arg1: *XFontStruct, ++arg2: c_int) -> c_int; +pub fn XFreeFontInfo(arg0: **c_char, arg1: *XFontStruct, arg2: c_int) -> c_int; -pub fn XFreeFontNames(++arg0: **c_char) -> c_int; +pub fn XFreeFontNames(arg0: **c_char) -> c_int; -pub fn XFreeFontPath(++arg0: **c_char) -> c_int; +pub fn XFreeFontPath(arg0: **c_char) -> c_int; -pub fn XFreeGC(++arg0: *Display, ++arg1: GC) -> c_int; +pub fn XFreeGC(arg0: *Display, arg1: GC) -> c_int; -pub fn XFreeModifiermap(++arg0: *XModifierKeymap) -> c_int; +pub fn XFreeModifiermap(arg0: *XModifierKeymap) -> c_int; -pub fn XFreePixmap(++arg0: *Display, ++arg1: Pixmap) -> c_int; +pub fn XFreePixmap(arg0: *Display, arg1: Pixmap) -> c_int; -pub fn XGeometry(++arg0: *Display, ++arg1: c_int, ++arg2: *c_char, ++arg3: *c_char, ++arg4: c_uint, ++arg5: c_uint, ++arg6: c_uint, ++arg7: c_int, ++arg8: c_int, ++arg9: *c_int, ++arg10: *c_int, ++arg11: *c_int, ++arg12: *c_int) -> c_int; +pub fn XGeometry(arg0: *Display, arg1: c_int, arg2: *c_char, arg3: *c_char, arg4: c_uint, arg5: c_uint, arg6: c_uint, arg7: c_int, arg8: c_int, arg9: *c_int, arg10: *c_int, arg11: *c_int, arg12: *c_int) -> c_int; -pub fn XGetErrorDatabaseText(++arg0: *Display, ++arg1: *c_char, ++arg2: *c_char, ++arg3: *c_char, ++arg4: *c_char, ++arg5: c_int) -> c_int; +pub fn XGetErrorDatabaseText(arg0: *Display, arg1: *c_char, arg2: *c_char, arg3: *c_char, arg4: *c_char, arg5: c_int) -> c_int; -pub fn XGetErrorText(++arg0: *Display, ++arg1: c_int, ++arg2: *c_char, ++arg3: c_int) -> c_int; +pub fn XGetErrorText(arg0: *Display, arg1: c_int, arg2: *c_char, arg3: c_int) -> c_int; -pub fn XGetFontProperty(++arg0: *XFontStruct, ++arg1: Atom, ++arg2: *c_ulong) -> c_int; +pub fn XGetFontProperty(arg0: *XFontStruct, arg1: Atom, arg2: *c_ulong) -> c_int; -pub fn XGetGCValues(++arg0: *Display, ++arg1: GC, ++arg2: c_ulong, ++arg3: *XGCValues) -> c_int; +pub fn XGetGCValues(arg0: *Display, arg1: GC, arg2: c_ulong, arg3: *XGCValues) -> c_int; -pub fn XGetGeometry(++arg0: *Display, ++arg1: Drawable, ++arg2: *Window, ++arg3: *c_int, ++arg4: *c_int, ++arg5: *c_uint, ++arg6: *c_uint, ++arg7: *c_uint, ++arg8: *c_uint) -> c_int; +pub fn XGetGeometry(arg0: *Display, arg1: Drawable, arg2: *Window, arg3: *c_int, arg4: *c_int, arg5: *c_uint, arg6: *c_uint, arg7: *c_uint, arg8: *c_uint) -> c_int; -pub fn XGetIconName(++arg0: *Display, ++arg1: Window, ++arg2: **c_char) -> c_int; +pub fn XGetIconName(arg0: *Display, arg1: Window, arg2: **c_char) -> c_int; -pub fn XGetInputFocus(++arg0: *Display, ++arg1: *Window, ++arg2: *c_int) -> c_int; +pub fn XGetInputFocus(arg0: *Display, arg1: *Window, arg2: *c_int) -> c_int; -pub fn XGetKeyboardControl(++arg0: *Display, ++arg1: *XKeyboardState) -> c_int; +pub fn XGetKeyboardControl(arg0: *Display, arg1: *XKeyboardState) -> c_int; -pub fn XGetPointerControl(++arg0: *Display, ++arg1: *c_int, ++arg2: *c_int, ++arg3: *c_int) -> c_int; +pub fn XGetPointerControl(arg0: *Display, arg1: *c_int, arg2: *c_int, arg3: *c_int) -> c_int; -pub fn XGetPointerMapping(++arg0: *Display, ++arg1: *c_uchar, ++arg2: c_int) -> c_int; +pub fn XGetPointerMapping(arg0: *Display, arg1: *c_uchar, arg2: c_int) -> c_int; -pub fn XGetScreenSaver(++arg0: *Display, ++arg1: *c_int, ++arg2: *c_int, ++arg3: *c_int, ++arg4: *c_int) -> c_int; +pub fn XGetScreenSaver(arg0: *Display, arg1: *c_int, arg2: *c_int, arg3: *c_int, arg4: *c_int) -> c_int; -pub fn XGetTransientForHint(++arg0: *Display, ++arg1: Window, ++arg2: *Window) -> c_int; +pub fn XGetTransientForHint(arg0: *Display, arg1: Window, arg2: *Window) -> c_int; -pub fn XGetWindowProperty(++arg0: *Display, ++arg1: Window, ++arg2: Atom, ++arg3: c_long, ++arg4: c_long, ++arg5: c_int, ++arg6: Atom, ++arg7: *Atom, ++arg8: *c_int, ++arg9: *c_ulong, ++arg10: *c_ulong, ++arg11: **c_uchar) -> c_int; +pub fn XGetWindowProperty(arg0: *Display, arg1: Window, arg2: Atom, arg3: c_long, arg4: c_long, arg5: c_int, arg6: Atom, arg7: *Atom, arg8: *c_int, arg9: *c_ulong, arg10: *c_ulong, arg11: **c_uchar) -> c_int; -pub fn XGetWindowAttributes(++arg0: *Display, ++arg1: Window, ++arg2: *XWindowAttributes) -> c_int; +pub fn XGetWindowAttributes(arg0: *Display, arg1: Window, arg2: *XWindowAttributes) -> c_int; -pub fn XGrabButton(++arg0: *Display, ++arg1: c_uint, ++arg2: c_uint, ++arg3: Window, ++arg4: c_int, ++arg5: c_uint, ++arg6: c_int, ++arg7: c_int, ++arg8: Window, ++arg9: Cursor) -> c_int; +pub fn XGrabButton(arg0: *Display, arg1: c_uint, arg2: c_uint, arg3: Window, arg4: c_int, arg5: c_uint, arg6: c_int, arg7: c_int, arg8: Window, arg9: Cursor) -> c_int; -pub fn XGrabKey(++arg0: *Display, ++arg1: c_int, ++arg2: c_uint, ++arg3: Window, ++arg4: c_int, ++arg5: c_int, ++arg6: c_int) -> c_int; +pub fn XGrabKey(arg0: *Display, arg1: c_int, arg2: c_uint, arg3: Window, arg4: c_int, arg5: c_int, arg6: c_int) -> c_int; -pub fn XGrabKeyboard(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_int, ++arg4: c_int, ++arg5: Time) -> c_int; +pub fn XGrabKeyboard(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_int, arg4: c_int, arg5: Time) -> c_int; -pub fn XGrabPointer(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_uint, ++arg4: c_int, ++arg5: c_int, ++arg6: Window, ++arg7: Cursor, ++arg8: Time) -> c_int; +pub fn XGrabPointer(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_uint, arg4: c_int, arg5: c_int, arg6: Window, arg7: Cursor, arg8: Time) -> c_int; -pub fn XGrabServer(++arg0: *Display) -> c_int; +pub fn XGrabServer(arg0: *Display) -> c_int; -pub fn XHeightMMOfScreen(++arg0: *Screen) -> c_int; +pub fn XHeightMMOfScreen(arg0: *Screen) -> c_int; -pub fn XHeightOfScreen(++arg0: *Screen) -> c_int; +pub fn XHeightOfScreen(arg0: *Screen) -> c_int; -pub fn XIfEvent(++arg0: *Display, ++arg1: *XEvent, ++arg2: *u8, ++arg3: XPointer) -> c_int; +pub fn XIfEvent(arg0: *Display, arg1: *XEvent, arg2: *u8, arg3: XPointer) -> c_int; -pub fn XImageByteOrder(++arg0: *Display) -> c_int; +pub fn XImageByteOrder(arg0: *Display) -> c_int; -pub fn XInstallColormap(++arg0: *Display, ++arg1: Colormap) -> c_int; +pub fn XInstallColormap(arg0: *Display, arg1: Colormap) -> c_int; -pub fn XKeysymToKeycode(++arg0: *Display, ++arg1: KeySym) -> KeyCode; +pub fn XKeysymToKeycode(arg0: *Display, arg1: KeySym) -> KeyCode; -pub fn XKillClient(++arg0: *Display, ++arg1: XID) -> c_int; +pub fn XKillClient(arg0: *Display, arg1: XID) -> c_int; -pub fn XLookupColor(++arg0: *Display, ++arg1: Colormap, ++arg2: *c_char, ++arg3: *XColor, ++arg4: *XColor) -> c_int; +pub fn XLookupColor(arg0: *Display, arg1: Colormap, arg2: *c_char, arg3: *XColor, arg4: *XColor) -> c_int; -pub fn XLowerWindow(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XLowerWindow(arg0: *Display, arg1: Window) -> c_int; -pub fn XMapRaised(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XMapRaised(arg0: *Display, arg1: Window) -> c_int; -pub fn XMapSubwindows(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XMapSubwindows(arg0: *Display, arg1: Window) -> c_int; -pub fn XMapWindow(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XMapWindow(arg0: *Display, arg1: Window) -> c_int; -pub fn XMaskEvent(++arg0: *Display, ++arg1: c_long, ++arg2: *XEvent) -> c_int; +pub fn XMaskEvent(arg0: *Display, arg1: c_long, arg2: *XEvent) -> c_int; -pub fn XMaxCmapsOfScreen(++arg0: *Screen) -> c_int; +pub fn XMaxCmapsOfScreen(arg0: *Screen) -> c_int; -pub fn XMinCmapsOfScreen(++arg0: *Screen) -> c_int; +pub fn XMinCmapsOfScreen(arg0: *Screen) -> c_int; -pub fn XMoveResizeWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_int, ++arg4: c_uint, ++arg5: c_uint) -> c_int; +pub fn XMoveResizeWindow(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_int, arg4: c_uint, arg5: c_uint) -> c_int; -pub fn XMoveWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_int) -> c_int; +pub fn XMoveWindow(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_int) -> c_int; -pub fn XNextEvent(++arg0: *Display, ++arg1: *XEvent) -> c_int; +pub fn XNextEvent(arg0: *Display, arg1: *XEvent) -> c_int; -pub fn XNoOp(++arg0: *Display) -> c_int; +pub fn XNoOp(arg0: *Display) -> c_int; -pub fn XParseColor(++arg0: *Display, ++arg1: Colormap, ++arg2: *c_char, ++arg3: *XColor) -> c_int; +pub fn XParseColor(arg0: *Display, arg1: Colormap, arg2: *c_char, arg3: *XColor) -> c_int; -pub fn XParseGeometry(++arg0: *c_char, ++arg1: *c_int, ++arg2: *c_int, ++arg3: *c_uint, ++arg4: *c_uint) -> c_int; +pub fn XParseGeometry(arg0: *c_char, arg1: *c_int, arg2: *c_int, arg3: *c_uint, arg4: *c_uint) -> c_int; -pub fn XPeekEvent(++arg0: *Display, ++arg1: *XEvent) -> c_int; +pub fn XPeekEvent(arg0: *Display, arg1: *XEvent) -> c_int; -pub fn XPeekIfEvent(++arg0: *Display, ++arg1: *XEvent, ++arg2: *u8, ++arg3: XPointer) -> c_int; +pub fn XPeekIfEvent(arg0: *Display, arg1: *XEvent, arg2: *u8, arg3: XPointer) -> c_int; -pub fn XPending(++arg0: *Display) -> c_int; +pub fn XPending(arg0: *Display) -> c_int; -pub fn XPlanesOfScreen(++arg0: *Screen) -> c_int; +pub fn XPlanesOfScreen(arg0: *Screen) -> c_int; -pub fn XProtocolRevision(++arg0: *Display) -> c_int; +pub fn XProtocolRevision(arg0: *Display) -> c_int; -pub fn XProtocolVersion(++arg0: *Display) -> c_int; +pub fn XProtocolVersion(arg0: *Display) -> c_int; -pub fn XPutBackEvent(++arg0: *Display, ++arg1: *XEvent) -> c_int; +pub fn XPutBackEvent(arg0: *Display, arg1: *XEvent) -> c_int; -pub fn XPutImage(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: *XImage, ++arg4: c_int, ++arg5: c_int, ++arg6: c_int, ++arg7: c_int, ++arg8: c_uint, ++arg9: c_uint) -> c_int; +pub fn XPutImage(arg0: *Display, arg1: Drawable, arg2: GC, arg3: *XImage, arg4: c_int, arg5: c_int, arg6: c_int, arg7: c_int, arg8: c_uint, arg9: c_uint) -> c_int; -pub fn XQLength(++arg0: *Display) -> c_int; +pub fn XQLength(arg0: *Display) -> c_int; -pub fn XQueryBestCursor(++arg0: *Display, ++arg1: Drawable, ++arg2: c_uint, ++arg3: c_uint, ++arg4: *c_uint, ++arg5: *c_uint) -> c_int; +pub fn XQueryBestCursor(arg0: *Display, arg1: Drawable, arg2: c_uint, arg3: c_uint, arg4: *c_uint, arg5: *c_uint) -> c_int; -pub fn XQueryBestSize(++arg0: *Display, ++arg1: c_int, ++arg2: Drawable, ++arg3: c_uint, ++arg4: c_uint, ++arg5: *c_uint, ++arg6: *c_uint) -> c_int; +pub fn XQueryBestSize(arg0: *Display, arg1: c_int, arg2: Drawable, arg3: c_uint, arg4: c_uint, arg5: *c_uint, arg6: *c_uint) -> c_int; -pub fn XQueryBestStipple(++arg0: *Display, ++arg1: Drawable, ++arg2: c_uint, ++arg3: c_uint, ++arg4: *c_uint, ++arg5: *c_uint) -> c_int; +pub fn XQueryBestStipple(arg0: *Display, arg1: Drawable, arg2: c_uint, arg3: c_uint, arg4: *c_uint, arg5: *c_uint) -> c_int; -pub fn XQueryBestTile(++arg0: *Display, ++arg1: Drawable, ++arg2: c_uint, ++arg3: c_uint, ++arg4: *c_uint, ++arg5: *c_uint) -> c_int; +pub fn XQueryBestTile(arg0: *Display, arg1: Drawable, arg2: c_uint, arg3: c_uint, arg4: *c_uint, arg5: *c_uint) -> c_int; -pub fn XQueryColor(++arg0: *Display, ++arg1: Colormap, ++arg2: *XColor) -> c_int; +pub fn XQueryColor(arg0: *Display, arg1: Colormap, arg2: *XColor) -> c_int; -pub fn XQueryColors(++arg0: *Display, ++arg1: Colormap, ++arg2: *XColor, ++arg3: c_int) -> c_int; +pub fn XQueryColors(arg0: *Display, arg1: Colormap, arg2: *XColor, arg3: c_int) -> c_int; -pub fn XQueryExtension(++arg0: *Display, ++arg1: *c_char, ++arg2: *c_int, ++arg3: *c_int, ++arg4: *c_int) -> c_int; +pub fn XQueryExtension(arg0: *Display, arg1: *c_char, arg2: *c_int, arg3: *c_int, arg4: *c_int) -> c_int; -pub fn XQueryKeymap(++arg0: *Display, ++arg1: *c_char) -> c_int; +pub fn XQueryKeymap(arg0: *Display, arg1: *c_char) -> c_int; -pub fn XQueryPointer(++arg0: *Display, ++arg1: Window, ++arg2: *Window, ++arg3: *Window, ++arg4: *c_int, ++arg5: *c_int, ++arg6: *c_int, ++arg7: *c_int, ++arg8: *c_uint) -> c_int; +pub fn XQueryPointer(arg0: *Display, arg1: Window, arg2: *Window, arg3: *Window, arg4: *c_int, arg5: *c_int, arg6: *c_int, arg7: *c_int, arg8: *c_uint) -> c_int; -pub fn XQueryTextExtents(++arg0: *Display, ++arg1: XID, ++arg2: *c_char, ++arg3: c_int, ++arg4: *c_int, ++arg5: *c_int, ++arg6: *c_int, ++arg7: *XCharStruct) -> c_int; +pub fn XQueryTextExtents(arg0: *Display, arg1: XID, arg2: *c_char, arg3: c_int, arg4: *c_int, arg5: *c_int, arg6: *c_int, arg7: *XCharStruct) -> c_int; -pub fn XQueryTextExtents16(++arg0: *Display, ++arg1: XID, ++arg2: *XChar2b, ++arg3: c_int, ++arg4: *c_int, ++arg5: *c_int, ++arg6: *c_int, ++arg7: *XCharStruct) -> c_int; +pub fn XQueryTextExtents16(arg0: *Display, arg1: XID, arg2: *XChar2b, arg3: c_int, arg4: *c_int, arg5: *c_int, arg6: *c_int, arg7: *XCharStruct) -> c_int; -pub fn XQueryTree(++arg0: *Display, ++arg1: Window, ++arg2: *Window, ++arg3: *Window, ++arg4: **Window, ++arg5: *c_uint) -> c_int; +pub fn XQueryTree(arg0: *Display, arg1: Window, arg2: *Window, arg3: *Window, arg4: **Window, arg5: *c_uint) -> c_int; -pub fn XRaiseWindow(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XRaiseWindow(arg0: *Display, arg1: Window) -> c_int; -pub fn XReadBitmapFile(++arg0: *Display, ++arg1: Drawable, ++arg2: *c_char, ++arg3: *c_uint, ++arg4: *c_uint, ++arg5: *Pixmap, ++arg6: *c_int, ++arg7: *c_int) -> c_int; +pub fn XReadBitmapFile(arg0: *Display, arg1: Drawable, arg2: *c_char, arg3: *c_uint, arg4: *c_uint, arg5: *Pixmap, arg6: *c_int, arg7: *c_int) -> c_int; -pub fn XReadBitmapFileData(++arg0: *c_char, ++arg1: *c_uint, ++arg2: *c_uint, ++arg3: **c_uchar, ++arg4: *c_int, ++arg5: *c_int) -> c_int; +pub fn XReadBitmapFileData(arg0: *c_char, arg1: *c_uint, arg2: *c_uint, arg3: **c_uchar, arg4: *c_int, arg5: *c_int) -> c_int; -pub fn XRebindKeysym(++arg0: *Display, ++arg1: KeySym, ++arg2: *KeySym, ++arg3: c_int, ++arg4: *c_uchar, ++arg5: c_int) -> c_int; +pub fn XRebindKeysym(arg0: *Display, arg1: KeySym, arg2: *KeySym, arg3: c_int, arg4: *c_uchar, arg5: c_int) -> c_int; -pub fn XRecolorCursor(++arg0: *Display, ++arg1: Cursor, ++arg2: *XColor, ++arg3: *XColor) -> c_int; +pub fn XRecolorCursor(arg0: *Display, arg1: Cursor, arg2: *XColor, arg3: *XColor) -> c_int; -pub fn XRefreshKeyboardMapping(++arg0: *XMappingEvent) -> c_int; +pub fn XRefreshKeyboardMapping(arg0: *XMappingEvent) -> c_int; -pub fn XRemoveFromSaveSet(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XRemoveFromSaveSet(arg0: *Display, arg1: Window) -> c_int; -pub fn XRemoveHost(++arg0: *Display, ++arg1: *XHostAddress) -> c_int; +pub fn XRemoveHost(arg0: *Display, arg1: *XHostAddress) -> c_int; -pub fn XRemoveHosts(++arg0: *Display, ++arg1: *XHostAddress, ++arg2: c_int) -> c_int; +pub fn XRemoveHosts(arg0: *Display, arg1: *XHostAddress, arg2: c_int) -> c_int; -pub fn XReparentWindow(++arg0: *Display, ++arg1: Window, ++arg2: Window, ++arg3: c_int, ++arg4: c_int) -> c_int; +pub fn XReparentWindow(arg0: *Display, arg1: Window, arg2: Window, arg3: c_int, arg4: c_int) -> c_int; -pub fn XResetScreenSaver(++arg0: *Display) -> c_int; +pub fn XResetScreenSaver(arg0: *Display) -> c_int; -pub fn XResizeWindow(++arg0: *Display, ++arg1: Window, ++arg2: c_uint, ++arg3: c_uint) -> c_int; +pub fn XResizeWindow(arg0: *Display, arg1: Window, arg2: c_uint, arg3: c_uint) -> c_int; -pub fn XRestackWindows(++arg0: *Display, ++arg1: *Window, ++arg2: c_int) -> c_int; +pub fn XRestackWindows(arg0: *Display, arg1: *Window, arg2: c_int) -> c_int; -pub fn XRotateBuffers(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XRotateBuffers(arg0: *Display, arg1: c_int) -> c_int; -pub fn XRotateWindowProperties(++arg0: *Display, ++arg1: Window, ++arg2: *Atom, ++arg3: c_int, ++arg4: c_int) -> c_int; +pub fn XRotateWindowProperties(arg0: *Display, arg1: Window, arg2: *Atom, arg3: c_int, arg4: c_int) -> c_int; -pub fn XScreenCount(++arg0: *Display) -> c_int; +pub fn XScreenCount(arg0: *Display) -> c_int; -pub fn XSelectInput(++arg0: *Display, ++arg1: Window, ++arg2: c_long) -> c_int; +pub fn XSelectInput(arg0: *Display, arg1: Window, arg2: c_long) -> c_int; -pub fn XSendEvent(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: c_long, ++arg4: *XEvent) -> c_int; +pub fn XSendEvent(arg0: *Display, arg1: Window, arg2: c_int, arg3: c_long, arg4: *XEvent) -> c_int; -pub fn XSetAccessControl(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XSetAccessControl(arg0: *Display, arg1: c_int) -> c_int; -pub fn XSetArcMode(++arg0: *Display, ++arg1: GC, ++arg2: c_int) -> c_int; +pub fn XSetArcMode(arg0: *Display, arg1: GC, arg2: c_int) -> c_int; -pub fn XSetBackground(++arg0: *Display, ++arg1: GC, ++arg2: c_ulong) -> c_int; +pub fn XSetBackground(arg0: *Display, arg1: GC, arg2: c_ulong) -> c_int; -pub fn XSetClipMask(++arg0: *Display, ++arg1: GC, ++arg2: Pixmap) -> c_int; +pub fn XSetClipMask(arg0: *Display, arg1: GC, arg2: Pixmap) -> c_int; -pub fn XSetClipOrigin(++arg0: *Display, ++arg1: GC, ++arg2: c_int, ++arg3: c_int) -> c_int; +pub fn XSetClipOrigin(arg0: *Display, arg1: GC, arg2: c_int, arg3: c_int) -> c_int; -pub fn XSetClipRectangles(++arg0: *Display, ++arg1: GC, ++arg2: c_int, ++arg3: c_int, ++arg4: *XRectangle, ++arg5: c_int, ++arg6: c_int) -> c_int; +pub fn XSetClipRectangles(arg0: *Display, arg1: GC, arg2: c_int, arg3: c_int, arg4: *XRectangle, arg5: c_int, arg6: c_int) -> c_int; -pub fn XSetCloseDownMode(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XSetCloseDownMode(arg0: *Display, arg1: c_int) -> c_int; -pub fn XSetCommand(++arg0: *Display, ++arg1: Window, ++arg2: **c_char, ++arg3: c_int) -> c_int; +pub fn XSetCommand(arg0: *Display, arg1: Window, arg2: **c_char, arg3: c_int) -> c_int; -pub fn XSetDashes(++arg0: *Display, ++arg1: GC, ++arg2: c_int, ++arg3: *c_char, ++arg4: c_int) -> c_int; +pub fn XSetDashes(arg0: *Display, arg1: GC, arg2: c_int, arg3: *c_char, arg4: c_int) -> c_int; -pub fn XSetFillRule(++arg0: *Display, ++arg1: GC, ++arg2: c_int) -> c_int; +pub fn XSetFillRule(arg0: *Display, arg1: GC, arg2: c_int) -> c_int; -pub fn XSetFillStyle(++arg0: *Display, ++arg1: GC, ++arg2: c_int) -> c_int; +pub fn XSetFillStyle(arg0: *Display, arg1: GC, arg2: c_int) -> c_int; -pub fn XSetFont(++arg0: *Display, ++arg1: GC, ++arg2: Font) -> c_int; +pub fn XSetFont(arg0: *Display, arg1: GC, arg2: Font) -> c_int; -pub fn XSetFontPath(++arg0: *Display, ++arg1: **c_char, ++arg2: c_int) -> c_int; +pub fn XSetFontPath(arg0: *Display, arg1: **c_char, arg2: c_int) -> c_int; -pub fn XSetForeground(++arg0: *Display, ++arg1: GC, ++arg2: c_ulong) -> c_int; +pub fn XSetForeground(arg0: *Display, arg1: GC, arg2: c_ulong) -> c_int; -pub fn XSetFunction(++arg0: *Display, ++arg1: GC, ++arg2: c_int) -> c_int; +pub fn XSetFunction(arg0: *Display, arg1: GC, arg2: c_int) -> c_int; -pub fn XSetGraphicsExposures(++arg0: *Display, ++arg1: GC, ++arg2: c_int) -> c_int; +pub fn XSetGraphicsExposures(arg0: *Display, arg1: GC, arg2: c_int) -> c_int; -pub fn XSetIconName(++arg0: *Display, ++arg1: Window, ++arg2: *c_char) -> c_int; +pub fn XSetIconName(arg0: *Display, arg1: Window, arg2: *c_char) -> c_int; -pub fn XSetInputFocus(++arg0: *Display, ++arg1: Window, ++arg2: c_int, ++arg3: Time) -> c_int; +pub fn XSetInputFocus(arg0: *Display, arg1: Window, arg2: c_int, arg3: Time) -> c_int; -pub fn XSetLineAttributes(++arg0: *Display, ++arg1: GC, ++arg2: c_uint, ++arg3: c_int, ++arg4: c_int, ++arg5: c_int) -> c_int; +pub fn XSetLineAttributes(arg0: *Display, arg1: GC, arg2: c_uint, arg3: c_int, arg4: c_int, arg5: c_int) -> c_int; -pub fn XSetModifierMapping(++arg0: *Display, ++arg1: *XModifierKeymap) -> c_int; +pub fn XSetModifierMapping(arg0: *Display, arg1: *XModifierKeymap) -> c_int; -pub fn XSetPlaneMask(++arg0: *Display, ++arg1: GC, ++arg2: c_ulong) -> c_int; +pub fn XSetPlaneMask(arg0: *Display, arg1: GC, arg2: c_ulong) -> c_int; -pub fn XSetPointerMapping(++arg0: *Display, ++arg1: *c_uchar, ++arg2: c_int) -> c_int; +pub fn XSetPointerMapping(arg0: *Display, arg1: *c_uchar, arg2: c_int) -> c_int; -pub fn XSetScreenSaver(++arg0: *Display, ++arg1: c_int, ++arg2: c_int, ++arg3: c_int, ++arg4: c_int) -> c_int; +pub fn XSetScreenSaver(arg0: *Display, arg1: c_int, arg2: c_int, arg3: c_int, arg4: c_int) -> c_int; -pub fn XSetSelectionOwner(++arg0: *Display, ++arg1: Atom, ++arg2: Window, ++arg3: Time) -> c_int; +pub fn XSetSelectionOwner(arg0: *Display, arg1: Atom, arg2: Window, arg3: Time) -> c_int; -pub fn XSetState(++arg0: *Display, ++arg1: GC, ++arg2: c_ulong, ++arg3: c_ulong, ++arg4: c_int, ++arg5: c_ulong) -> c_int; +pub fn XSetState(arg0: *Display, arg1: GC, arg2: c_ulong, arg3: c_ulong, arg4: c_int, arg5: c_ulong) -> c_int; -pub fn XSetStipple(++arg0: *Display, ++arg1: GC, ++arg2: Pixmap) -> c_int; +pub fn XSetStipple(arg0: *Display, arg1: GC, arg2: Pixmap) -> c_int; -pub fn XSetSubwindowMode(++arg0: *Display, ++arg1: GC, ++arg2: c_int) -> c_int; +pub fn XSetSubwindowMode(arg0: *Display, arg1: GC, arg2: c_int) -> c_int; -pub fn XSetTSOrigin(++arg0: *Display, ++arg1: GC, ++arg2: c_int, ++arg3: c_int) -> c_int; +pub fn XSetTSOrigin(arg0: *Display, arg1: GC, arg2: c_int, arg3: c_int) -> c_int; -pub fn XSetTile(++arg0: *Display, ++arg1: GC, ++arg2: Pixmap) -> c_int; +pub fn XSetTile(arg0: *Display, arg1: GC, arg2: Pixmap) -> c_int; -pub fn XSetWindowBackground(++arg0: *Display, ++arg1: Window, ++arg2: c_ulong) -> c_int; +pub fn XSetWindowBackground(arg0: *Display, arg1: Window, arg2: c_ulong) -> c_int; -pub fn XSetWindowBackgroundPixmap(++arg0: *Display, ++arg1: Window, ++arg2: Pixmap) -> c_int; +pub fn XSetWindowBackgroundPixmap(arg0: *Display, arg1: Window, arg2: Pixmap) -> c_int; -pub fn XSetWindowBorder(++arg0: *Display, ++arg1: Window, ++arg2: c_ulong) -> c_int; +pub fn XSetWindowBorder(arg0: *Display, arg1: Window, arg2: c_ulong) -> c_int; -pub fn XSetWindowBorderPixmap(++arg0: *Display, ++arg1: Window, ++arg2: Pixmap) -> c_int; +pub fn XSetWindowBorderPixmap(arg0: *Display, arg1: Window, arg2: Pixmap) -> c_int; -pub fn XSetWindowBorderWidth(++arg0: *Display, ++arg1: Window, ++arg2: c_uint) -> c_int; +pub fn XSetWindowBorderWidth(arg0: *Display, arg1: Window, arg2: c_uint) -> c_int; -pub fn XSetWindowColormap(++arg0: *Display, ++arg1: Window, ++arg2: Colormap) -> c_int; +pub fn XSetWindowColormap(arg0: *Display, arg1: Window, arg2: Colormap) -> c_int; -pub fn XStoreBuffer(++arg0: *Display, ++arg1: *c_char, ++arg2: c_int, ++arg3: c_int) -> c_int; +pub fn XStoreBuffer(arg0: *Display, arg1: *c_char, arg2: c_int, arg3: c_int) -> c_int; -pub fn XStoreBytes(++arg0: *Display, ++arg1: *c_char, ++arg2: c_int) -> c_int; +pub fn XStoreBytes(arg0: *Display, arg1: *c_char, arg2: c_int) -> c_int; -pub fn XStoreColor(++arg0: *Display, ++arg1: Colormap, ++arg2: *XColor) -> c_int; +pub fn XStoreColor(arg0: *Display, arg1: Colormap, arg2: *XColor) -> c_int; -pub fn XStoreColors(++arg0: *Display, ++arg1: Colormap, ++arg2: *XColor, ++arg3: c_int) -> c_int; +pub fn XStoreColors(arg0: *Display, arg1: Colormap, arg2: *XColor, arg3: c_int) -> c_int; -pub fn XStoreName(++arg0: *Display, ++arg1: Window, ++arg2: *c_char) -> c_int; +pub fn XStoreName(arg0: *Display, arg1: Window, arg2: *c_char) -> c_int; -pub fn XStoreNamedColor(++arg0: *Display, ++arg1: Colormap, ++arg2: *c_char, ++arg3: c_ulong, ++arg4: c_int) -> c_int; +pub fn XStoreNamedColor(arg0: *Display, arg1: Colormap, arg2: *c_char, arg3: c_ulong, arg4: c_int) -> c_int; -pub fn XSync(++arg0: *Display, ++arg1: c_int) -> c_int; +pub fn XSync(arg0: *Display, arg1: c_int) -> c_int; -pub fn XTextExtents(++arg0: *XFontStruct, ++arg1: *c_char, ++arg2: c_int, ++arg3: *c_int, ++arg4: *c_int, ++arg5: *c_int, ++arg6: *XCharStruct) -> c_int; +pub fn XTextExtents(arg0: *XFontStruct, arg1: *c_char, arg2: c_int, arg3: *c_int, arg4: *c_int, arg5: *c_int, arg6: *XCharStruct) -> c_int; -pub fn XTextExtents16(++arg0: *XFontStruct, ++arg1: *XChar2b, ++arg2: c_int, ++arg3: *c_int, ++arg4: *c_int, ++arg5: *c_int, ++arg6: *XCharStruct) -> c_int; +pub fn XTextExtents16(arg0: *XFontStruct, arg1: *XChar2b, arg2: c_int, arg3: *c_int, arg4: *c_int, arg5: *c_int, arg6: *XCharStruct) -> c_int; -pub fn XTextWidth(++arg0: *XFontStruct, ++arg1: *c_char, ++arg2: c_int) -> c_int; +pub fn XTextWidth(arg0: *XFontStruct, arg1: *c_char, arg2: c_int) -> c_int; -pub fn XTextWidth16(++arg0: *XFontStruct, ++arg1: *XChar2b, ++arg2: c_int) -> c_int; +pub fn XTextWidth16(arg0: *XFontStruct, arg1: *XChar2b, arg2: c_int) -> c_int; -pub fn XTranslateCoordinates(++arg0: *Display, ++arg1: Window, ++arg2: Window, ++arg3: c_int, ++arg4: c_int, ++arg5: *c_int, ++arg6: *c_int, ++arg7: *Window) -> c_int; +pub fn XTranslateCoordinates(arg0: *Display, arg1: Window, arg2: Window, arg3: c_int, arg4: c_int, arg5: *c_int, arg6: *c_int, arg7: *Window) -> c_int; -pub fn XUndefineCursor(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XUndefineCursor(arg0: *Display, arg1: Window) -> c_int; -pub fn XUngrabButton(++arg0: *Display, ++arg1: c_uint, ++arg2: c_uint, ++arg3: Window) -> c_int; +pub fn XUngrabButton(arg0: *Display, arg1: c_uint, arg2: c_uint, arg3: Window) -> c_int; -pub fn XUngrabKey(++arg0: *Display, ++arg1: c_int, ++arg2: c_uint, ++arg3: Window) -> c_int; +pub fn XUngrabKey(arg0: *Display, arg1: c_int, arg2: c_uint, arg3: Window) -> c_int; -pub fn XUngrabKeyboard(++arg0: *Display, ++arg1: Time) -> c_int; +pub fn XUngrabKeyboard(arg0: *Display, arg1: Time) -> c_int; -pub fn XUngrabPointer(++arg0: *Display, ++arg1: Time) -> c_int; +pub fn XUngrabPointer(arg0: *Display, arg1: Time) -> c_int; -pub fn XUngrabServer(++arg0: *Display) -> c_int; +pub fn XUngrabServer(arg0: *Display) -> c_int; -pub fn XUninstallColormap(++arg0: *Display, ++arg1: Colormap) -> c_int; +pub fn XUninstallColormap(arg0: *Display, arg1: Colormap) -> c_int; -pub fn XUnloadFont(++arg0: *Display, ++arg1: Font) -> c_int; +pub fn XUnloadFont(arg0: *Display, arg1: Font) -> c_int; -pub fn XUnmapSubwindows(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XUnmapSubwindows(arg0: *Display, arg1: Window) -> c_int; -pub fn XUnmapWindow(++arg0: *Display, ++arg1: Window) -> c_int; +pub fn XUnmapWindow(arg0: *Display, arg1: Window) -> c_int; -pub fn XVendorRelease(++arg0: *Display) -> c_int; +pub fn XVendorRelease(arg0: *Display) -> c_int; -pub fn XWarpPointer(++arg0: *Display, ++arg1: Window, ++arg2: Window, ++arg3: c_int, ++arg4: c_int, ++arg5: c_uint, ++arg6: c_uint, ++arg7: c_int, ++arg8: c_int) -> c_int; +pub fn XWarpPointer(arg0: *Display, arg1: Window, arg2: Window, arg3: c_int, arg4: c_int, arg5: c_uint, arg6: c_uint, arg7: c_int, arg8: c_int) -> c_int; -pub fn XWidthMMOfScreen(++arg0: *Screen) -> c_int; +pub fn XWidthMMOfScreen(arg0: *Screen) -> c_int; -pub fn XWidthOfScreen(++arg0: *Screen) -> c_int; +pub fn XWidthOfScreen(arg0: *Screen) -> c_int; -pub fn XWindowEvent(++arg0: *Display, ++arg1: Window, ++arg2: c_long, ++arg3: *XEvent) -> c_int; +pub fn XWindowEvent(arg0: *Display, arg1: Window, arg2: c_long, arg3: *XEvent) -> c_int; -pub fn XWriteBitmapFile(++arg0: *Display, ++arg1: *c_char, ++arg2: Pixmap, ++arg3: c_uint, ++arg4: c_uint, ++arg5: c_int, ++arg6: c_int) -> c_int; +pub fn XWriteBitmapFile(arg0: *Display, arg1: *c_char, arg2: Pixmap, arg3: c_uint, arg4: c_uint, arg5: c_int, arg6: c_int) -> c_int; pub fn XSupportsLocale() -> c_int; -pub fn XSetLocaleModifiers(++arg0: *c_char) -> *c_char; +pub fn XSetLocaleModifiers(arg0: *c_char) -> *c_char; -pub fn XOpenOM(++arg0: *Display, ++arg1: *struct__XrmHashBucketRec, ++arg2: *c_char, ++arg3: *c_char) -> XOM; +pub fn XOpenOM(arg0: *Display, arg1: *struct__XrmHashBucketRec, arg2: *c_char, arg3: *c_char) -> XOM; -pub fn XCloseOM(++arg0: XOM) -> c_int; +pub fn XCloseOM(arg0: XOM) -> c_int; -pub fn XSetOMValues(++arg0: XOM/* FIXME: variadic function */) -> *c_char; +pub fn XSetOMValues(arg0: XOM/* FIXME: variadic function */) -> *c_char; -pub fn XGetOMValues(++arg0: XOM/* FIXME: variadic function */) -> *c_char; +pub fn XGetOMValues(arg0: XOM/* FIXME: variadic function */) -> *c_char; -pub fn XDisplayOfOM(++arg0: XOM) -> *Display; +pub fn XDisplayOfOM(arg0: XOM) -> *Display; -pub fn XLocaleOfOM(++arg0: XOM) -> *c_char; +pub fn XLocaleOfOM(arg0: XOM) -> *c_char; -pub fn XCreateOC(++arg0: XOM/* FIXME: variadic function */) -> XOC; +pub fn XCreateOC(arg0: XOM/* FIXME: variadic function */) -> XOC; -pub fn XDestroyOC(++arg0: XOC); +pub fn XDestroyOC(arg0: XOC); -pub fn XOMOfOC(++arg0: XOC) -> XOM; +pub fn XOMOfOC(arg0: XOC) -> XOM; -pub fn XSetOCValues(++arg0: XOC/* FIXME: variadic function */) -> *c_char; +pub fn XSetOCValues(arg0: XOC/* FIXME: variadic function */) -> *c_char; -pub fn XGetOCValues(++arg0: XOC/* FIXME: variadic function */) -> *c_char; +pub fn XGetOCValues(arg0: XOC/* FIXME: variadic function */) -> *c_char; -pub fn XCreateFontSet(++arg0: *Display, ++arg1: *c_char, ++arg2: ***c_char, ++arg3: *c_int, ++arg4: **c_char) -> XFontSet; +pub fn XCreateFontSet(arg0: *Display, arg1: *c_char, arg2: ***c_char, arg3: *c_int, arg4: **c_char) -> XFontSet; -pub fn XFreeFontSet(++arg0: *Display, ++arg1: XFontSet); +pub fn XFreeFontSet(arg0: *Display, arg1: XFontSet); -pub fn XFontsOfFontSet(++arg0: XFontSet, ++arg1: ***XFontStruct, ++arg2: ***c_char) -> c_int; +pub fn XFontsOfFontSet(arg0: XFontSet, arg1: ***XFontStruct, arg2: ***c_char) -> c_int; -pub fn XBaseFontNameListOfFontSet(++arg0: XFontSet) -> *c_char; +pub fn XBaseFontNameListOfFontSet(arg0: XFontSet) -> *c_char; -pub fn XLocaleOfFontSet(++arg0: XFontSet) -> *c_char; +pub fn XLocaleOfFontSet(arg0: XFontSet) -> *c_char; -pub fn XContextDependentDrawing(++arg0: XFontSet) -> c_int; +pub fn XContextDependentDrawing(arg0: XFontSet) -> c_int; -pub fn XDirectionalDependentDrawing(++arg0: XFontSet) -> c_int; +pub fn XDirectionalDependentDrawing(arg0: XFontSet) -> c_int; -pub fn XContextualDrawing(++arg0: XFontSet) -> c_int; +pub fn XContextualDrawing(arg0: XFontSet) -> c_int; -pub fn XExtentsOfFontSet(++arg0: XFontSet) -> *XFontSetExtents; +pub fn XExtentsOfFontSet(arg0: XFontSet) -> *XFontSetExtents; -pub fn XmbTextEscapement(++arg0: XFontSet, ++arg1: *c_char, ++arg2: c_int) -> c_int; +pub fn XmbTextEscapement(arg0: XFontSet, arg1: *c_char, arg2: c_int) -> c_int; -pub fn XwcTextEscapement(++arg0: XFontSet, ++arg1: *wchar_t, ++arg2: c_int) -> c_int; +pub fn XwcTextEscapement(arg0: XFontSet, arg1: *wchar_t, arg2: c_int) -> c_int; -pub fn Xutf8TextEscapement(++arg0: XFontSet, ++arg1: *c_char, ++arg2: c_int) -> c_int; +pub fn Xutf8TextEscapement(arg0: XFontSet, arg1: *c_char, arg2: c_int) -> c_int; -pub fn XmbTextExtents(++arg0: XFontSet, ++arg1: *c_char, ++arg2: c_int, ++arg3: *XRectangle, ++arg4: *XRectangle) -> c_int; +pub fn XmbTextExtents(arg0: XFontSet, arg1: *c_char, arg2: c_int, arg3: *XRectangle, arg4: *XRectangle) -> c_int; -pub fn XwcTextExtents(++arg0: XFontSet, ++arg1: *wchar_t, ++arg2: c_int, ++arg3: *XRectangle, ++arg4: *XRectangle) -> c_int; +pub fn XwcTextExtents(arg0: XFontSet, arg1: *wchar_t, arg2: c_int, arg3: *XRectangle, arg4: *XRectangle) -> c_int; -pub fn Xutf8TextExtents(++arg0: XFontSet, ++arg1: *c_char, ++arg2: c_int, ++arg3: *XRectangle, ++arg4: *XRectangle) -> c_int; +pub fn Xutf8TextExtents(arg0: XFontSet, arg1: *c_char, arg2: c_int, arg3: *XRectangle, arg4: *XRectangle) -> c_int; -pub fn XmbTextPerCharExtents(++arg0: XFontSet, ++arg1: *c_char, ++arg2: c_int, ++arg3: *XRectangle, ++arg4: *XRectangle, ++arg5: c_int, ++arg6: *c_int, ++arg7: *XRectangle, ++arg8: *XRectangle) -> c_int; +pub fn XmbTextPerCharExtents(arg0: XFontSet, arg1: *c_char, arg2: c_int, arg3: *XRectangle, arg4: *XRectangle, arg5: c_int, arg6: *c_int, arg7: *XRectangle, arg8: *XRectangle) -> c_int; -pub fn XwcTextPerCharExtents(++arg0: XFontSet, ++arg1: *wchar_t, ++arg2: c_int, ++arg3: *XRectangle, ++arg4: *XRectangle, ++arg5: c_int, ++arg6: *c_int, ++arg7: *XRectangle, ++arg8: *XRectangle) -> c_int; +pub fn XwcTextPerCharExtents(arg0: XFontSet, arg1: *wchar_t, arg2: c_int, arg3: *XRectangle, arg4: *XRectangle, arg5: c_int, arg6: *c_int, arg7: *XRectangle, arg8: *XRectangle) -> c_int; -pub fn Xutf8TextPerCharExtents(++arg0: XFontSet, ++arg1: *c_char, ++arg2: c_int, ++arg3: *XRectangle, ++arg4: *XRectangle, ++arg5: c_int, ++arg6: *c_int, ++arg7: *XRectangle, ++arg8: *XRectangle) -> c_int; +pub fn Xutf8TextPerCharExtents(arg0: XFontSet, arg1: *c_char, arg2: c_int, arg3: *XRectangle, arg4: *XRectangle, arg5: c_int, arg6: *c_int, arg7: *XRectangle, arg8: *XRectangle) -> c_int; -pub fn XmbDrawText(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *XmbTextItem, ++arg6: c_int); +pub fn XmbDrawText(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *XmbTextItem, arg6: c_int); -pub fn XwcDrawText(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *XwcTextItem, ++arg6: c_int); +pub fn XwcDrawText(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *XwcTextItem, arg6: c_int); -pub fn Xutf8DrawText(++arg0: *Display, ++arg1: Drawable, ++arg2: GC, ++arg3: c_int, ++arg4: c_int, ++arg5: *XmbTextItem, ++arg6: c_int); +pub fn Xutf8DrawText(arg0: *Display, arg1: Drawable, arg2: GC, arg3: c_int, arg4: c_int, arg5: *XmbTextItem, arg6: c_int); -pub fn XmbDrawString(++arg0: *Display, ++arg1: Drawable, ++arg2: XFontSet, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: *c_char, ++arg7: c_int); +pub fn XmbDrawString(arg0: *Display, arg1: Drawable, arg2: XFontSet, arg3: GC, arg4: c_int, arg5: c_int, arg6: *c_char, arg7: c_int); -pub fn XwcDrawString(++arg0: *Display, ++arg1: Drawable, ++arg2: XFontSet, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: *wchar_t, ++arg7: c_int); +pub fn XwcDrawString(arg0: *Display, arg1: Drawable, arg2: XFontSet, arg3: GC, arg4: c_int, arg5: c_int, arg6: *wchar_t, arg7: c_int); -pub fn Xutf8DrawString(++arg0: *Display, ++arg1: Drawable, ++arg2: XFontSet, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: *c_char, ++arg7: c_int); +pub fn Xutf8DrawString(arg0: *Display, arg1: Drawable, arg2: XFontSet, arg3: GC, arg4: c_int, arg5: c_int, arg6: *c_char, arg7: c_int); -pub fn XmbDrawImageString(++arg0: *Display, ++arg1: Drawable, ++arg2: XFontSet, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: *c_char, ++arg7: c_int); +pub fn XmbDrawImageString(arg0: *Display, arg1: Drawable, arg2: XFontSet, arg3: GC, arg4: c_int, arg5: c_int, arg6: *c_char, arg7: c_int); -pub fn XwcDrawImageString(++arg0: *Display, ++arg1: Drawable, ++arg2: XFontSet, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: *wchar_t, ++arg7: c_int); +pub fn XwcDrawImageString(arg0: *Display, arg1: Drawable, arg2: XFontSet, arg3: GC, arg4: c_int, arg5: c_int, arg6: *wchar_t, arg7: c_int); -pub fn Xutf8DrawImageString(++arg0: *Display, ++arg1: Drawable, ++arg2: XFontSet, ++arg3: GC, ++arg4: c_int, ++arg5: c_int, ++arg6: *c_char, ++arg7: c_int); +pub fn Xutf8DrawImageString(arg0: *Display, arg1: Drawable, arg2: XFontSet, arg3: GC, arg4: c_int, arg5: c_int, arg6: *c_char, arg7: c_int); -pub fn XOpenIM(++arg0: *Display, ++arg1: *struct__XrmHashBucketRec, ++arg2: *c_char, ++arg3: *c_char) -> XIM; +pub fn XOpenIM(arg0: *Display, arg1: *struct__XrmHashBucketRec, arg2: *c_char, arg3: *c_char) -> XIM; -pub fn XCloseIM(++arg0: XIM) -> c_int; +pub fn XCloseIM(arg0: XIM) -> c_int; -pub fn XGetIMValues(++arg0: XIM/* FIXME: variadic function */) -> *c_char; +pub fn XGetIMValues(arg0: XIM/* FIXME: variadic function */) -> *c_char; -pub fn XSetIMValues(++arg0: XIM/* FIXME: variadic function */) -> *c_char; +pub fn XSetIMValues(arg0: XIM/* FIXME: variadic function */) -> *c_char; -pub fn XDisplayOfIM(++arg0: XIM) -> *Display; +pub fn XDisplayOfIM(arg0: XIM) -> *Display; -pub fn XLocaleOfIM(++arg0: XIM) -> *c_char; +pub fn XLocaleOfIM(arg0: XIM) -> *c_char; -pub fn XCreateIC(++arg0: XIM/* FIXME: variadic function */) -> XIC; +pub fn XCreateIC(arg0: XIM/* FIXME: variadic function */) -> XIC; -pub fn XDestroyIC(++arg0: XIC); +pub fn XDestroyIC(arg0: XIC); -pub fn XSetICFocus(++arg0: XIC); +pub fn XSetICFocus(arg0: XIC); -pub fn XUnsetICFocus(++arg0: XIC); +pub fn XUnsetICFocus(arg0: XIC); -pub fn XwcResetIC(++arg0: XIC) -> *wchar_t; +pub fn XwcResetIC(arg0: XIC) -> *wchar_t; -pub fn XmbResetIC(++arg0: XIC) -> *c_char; +pub fn XmbResetIC(arg0: XIC) -> *c_char; -pub fn Xutf8ResetIC(++arg0: XIC) -> *c_char; +pub fn Xutf8ResetIC(arg0: XIC) -> *c_char; -pub fn XSetICValues(++arg0: XIC/* FIXME: variadic function */) -> *c_char; +pub fn XSetICValues(arg0: XIC/* FIXME: variadic function */) -> *c_char; -pub fn XGetICValues(++arg0: XIC/* FIXME: variadic function */) -> *c_char; +pub fn XGetICValues(arg0: XIC/* FIXME: variadic function */) -> *c_char; -pub fn XIMOfIC(++arg0: XIC) -> XIM; +pub fn XIMOfIC(arg0: XIC) -> XIM; -pub fn XFilterEvent(++arg0: *XEvent, ++arg1: Window) -> c_int; +pub fn XFilterEvent(arg0: *XEvent, arg1: Window) -> c_int; -pub fn XmbLookupString(++arg0: XIC, ++arg1: *XKeyPressedEvent, ++arg2: *c_char, ++arg3: c_int, ++arg4: *KeySym, ++arg5: *c_int) -> c_int; +pub fn XmbLookupString(arg0: XIC, arg1: *XKeyPressedEvent, arg2: *c_char, arg3: c_int, arg4: *KeySym, arg5: *c_int) -> c_int; -pub fn XwcLookupString(++arg0: XIC, ++arg1: *XKeyPressedEvent, ++arg2: *wchar_t, ++arg3: c_int, ++arg4: *KeySym, ++arg5: *c_int) -> c_int; +pub fn XwcLookupString(arg0: XIC, arg1: *XKeyPressedEvent, arg2: *wchar_t, arg3: c_int, arg4: *KeySym, arg5: *c_int) -> c_int; -pub fn Xutf8LookupString(++arg0: XIC, ++arg1: *XKeyPressedEvent, ++arg2: *c_char, ++arg3: c_int, ++arg4: *KeySym, ++arg5: *c_int) -> c_int; +pub fn Xutf8LookupString(arg0: XIC, arg1: *XKeyPressedEvent, arg2: *c_char, arg3: c_int, arg4: *KeySym, arg5: *c_int) -> c_int; -pub fn XVaCreateNestedList(++arg0: c_int/* FIXME: variadic function */) -> XVaNestedList; +pub fn XVaCreateNestedList(arg0: c_int/* FIXME: variadic function */) -> XVaNestedList; -pub fn XRegisterIMInstantiateCallback(++arg0: *Display, ++arg1: *struct__XrmHashBucketRec, ++arg2: *c_char, ++arg3: *c_char, ++arg4: XIDProc, ++arg5: XPointer) -> c_int; +pub fn XRegisterIMInstantiateCallback(arg0: *Display, arg1: *struct__XrmHashBucketRec, arg2: *c_char, arg3: *c_char, arg4: XIDProc, arg5: XPointer) -> c_int; -pub fn XUnregisterIMInstantiateCallback(++arg0: *Display, ++arg1: *struct__XrmHashBucketRec, ++arg2: *c_char, ++arg3: *c_char, ++arg4: XIDProc, ++arg5: XPointer) -> c_int; +pub fn XUnregisterIMInstantiateCallback(arg0: *Display, arg1: *struct__XrmHashBucketRec, arg2: *c_char, arg3: *c_char, arg4: XIDProc, arg5: XPointer) -> c_int; -pub fn XInternalConnectionNumbers(++arg0: *Display, ++arg1: **c_int, ++arg2: *c_int) -> c_int; +pub fn XInternalConnectionNumbers(arg0: *Display, arg1: **c_int, arg2: *c_int) -> c_int; -pub fn XProcessInternalConnection(++arg0: *Display, ++arg1: c_int); +pub fn XProcessInternalConnection(arg0: *Display, arg1: c_int); -pub fn XAddConnectionWatch(++arg0: *Display, ++arg1: XConnectionWatchProc, ++arg2: XPointer) -> c_int; +pub fn XAddConnectionWatch(arg0: *Display, arg1: XConnectionWatchProc, arg2: XPointer) -> c_int; -pub fn XRemoveConnectionWatch(++arg0: *Display, ++arg1: XConnectionWatchProc, ++arg2: XPointer); +pub fn XRemoveConnectionWatch(arg0: *Display, arg1: XConnectionWatchProc, arg2: XPointer); -pub fn XSetAuthorization(++arg0: *c_char, ++arg1: c_int, ++arg2: *c_char, ++arg3: c_int); +pub fn XSetAuthorization(arg0: *c_char, arg1: c_int, arg2: *c_char, arg3: c_int); -pub fn _Xmbtowc(++arg0: *wchar_t, ++arg1: *c_char, ++arg2: c_int) -> c_int; +pub fn _Xmbtowc(arg0: *wchar_t, arg1: *c_char, arg2: c_int) -> c_int; -pub fn _Xwctomb(++arg0: *c_char, ++arg1: wchar_t) -> c_int; +pub fn _Xwctomb(arg0: *c_char, arg1: wchar_t) -> c_int; -pub fn XGetEventData(++arg0: *Display, ++arg1: *XGenericEventCookie) -> c_int; +pub fn XGetEventData(arg0: *Display, arg1: *XGenericEventCookie) -> c_int; -pub fn XFreeEventData(++arg0: *Display, ++arg1: *XGenericEventCookie); +pub fn XFreeEventData(arg0: *Display, arg1: *XGenericEventCookie); }