<HTML>
<HEAD>
<TITLE>Xlib Programming Manual: Xlib Functions and Protocol Requests</TITLE>
</HEAD>
<BODY>
<H1 ALIGN=center>Appendix A: Xlib Functions and Protocol Requests</H1>
This appendix provides two tables that relate to Xlib functions
and the X protocol.
The following table lists each Xlib function (in alphabetical order)
and the corresponding protocol request that it generates.
<TABLE>
<TR><TD COLSPAN=2><HR>
<TR><TD><B>Xlib Function <TD><B>Protocol Request
<TR><TD COLSPAN=2><HR>
<TR><TD><B><A HREF="../window-and-session-manager/XActivateScreenSaver.html">XActivateScreenSaver()</A></B> <TD><B><A HREF="#ForceScreenSaver">ForceScreenSaver</A></B>
<TR><TD><B><A HREF="../window-and-session-manager/controlling-host-access/XAddHost.html">XAddHost()</A></B> <TD><B><A HREF="#ChangeHosts">ChangeHosts</A></B>
<TR><TD><B><A HREF="../window-and-session-manager/controlling-host-access/XAddHosts.html">XAddHosts()</A></B> <TD><B><A HREF="#ChangeHosts">ChangeHosts</A></B>
<TR><TD><B><A HREF="../window-and-session-manager/XAddToSaveSet.html">XAddToSaveSet()</A></B> <TD><B><A HREF="#ChangeSaveSet">ChangeSaveSet</A></B>
<TR><TD><B><A HREF="../color/XAllocColor.html">XAllocColor()</A></B> <TD><B><A HREF="#AllocColor">AllocColor</A></B>
<TR><TD><B><A HREF="../color/XAllocColorCells.html">XAllocColorCells()</A></B> <TD><B><A HREF="#AllocColorCells">AllocColorCells</A></B>
<TR><TD><B><A HREF="../color/XAllocColorPlanes.html">XAllocColorPlanes()</A></B> <TD><B><A HREF="#AllocColorPlanes">AllocColorPlanes</A></B>
<TR><TD><B><A HREF="../color/XAllocNamedColor.html">XAllocNamedColor()</A></B> <TD><B><A HREF="#AllocNamedColor">AllocNamedColor</A></B>
<TR><TD><B><A HREF="../input/XAllowEvents.html">XAllowEvents()</A></B> <TD><B><A HREF="#AllowEvents">AllowEvents</A></B>
<TR><TD><B><A HREF="../input/XAutoRepeatOff.html">XAutoRepeatOff()</A></B> <TD><B><A HREF="#ChangeKeyboardControl">ChangeKeyboardControl</A></B>
<TR><TD><B><A HREF="../input/XAutoRepeatOn.html">XAutoRepeatOn()</A></B> <TD><B><A HREF="#ChangeKeyboardControl">ChangeKeyboardControl</A></B>
<TR><TD><B><A HREF="../input/XBell.html">XBell()</A></B> <TD><B><A HREF="#Bell">Bell</A></B>
<TR><TD><B><A HREF="../input/XChangeActivePointerGrab.html">XChangeActivePointerGrab()</A></B> <TD><B><A HREF="#ChangeActivePointerGrab">ChangeActivePointerGrab</A></B>
<TR><TD><B><A HREF="../GC/XChangeGC.html">XChangeGC()</A></B> <TD><B><A HREF="#ChangeGC">ChangeGC</A></B>
<TR><TD><B><A HREF="../input/XChangeKeyboardControl.html">XChangeKeyboardControl()</A></B> <TD><B><A HREF="#ChangeKeyboardControl">ChangeKeyboardControl</A></B>
<TR><TD><B><A HREF="../input/XChangeKeyboardMapping.html">XChangeKeyboardMapping()</A></B> <TD><B><A HREF="#ChangeKeyboardMapping">ChangeKeyboardMapping</A></B>
<TR><TD><B><A HREF="../input/XChangePointerControl.html">XChangePointerControl()</A></B> <TD><B><A HREF="#ChangePointerControl">ChangePointerControl</A></B>
<TR><TD><B><A HREF="../window-information/XChangeProperty.html">XChangeProperty()</A></B> <TD><B><A HREF="#ChangeProperty">ChangeProperty</A></B>
<TR><TD><B><A HREF="../window-and-session-manager/XChangeSaveSet.html">XChangeSaveSet()</A></B> <TD><B><A HREF="#ChangeSaveSet">ChangeSaveSet</A></B>
<TR><TD><B><A HREF="../window/XChangeWindowAttributes.html">XChangeWindowAttributes()</A></B> <TD><B><A HREF="#ChangeWindowAttributes">ChangeWindowAttributes</A></B>
<TR><TD><B><A HREF="../window/XCirculateSubwindows.html">XCirculateSubwindows()</A></B> <TD><B><A HREF="#CirculateWindow">CirculateWindow</A></B>
<TR><TD><B><A HREF="../window/XCirculateSubwindowsDown.html">XCirculateSubwindowsDown()</A></B> <TD><B><A HREF="#CirculateWindow">CirculateWindow</A></B>
<TR><TD><B><A HREF="../window/XCirculateSubwindowsUp.html">XCirculateSubwindowsUp()</A></B> <TD><B><A HREF="#CirculateWindow">CirculateWindow</A></B>
<TR><TD><B><A HREF="../graphics/XClearArea.html">XClearArea()</A></B> <TD><B><A HREF="#ClearArea">ClearArea</A></B>
<TR><TD><B><A HREF="../graphics/XClearWindow.html">XClearWindow()</A></B> <TD><B><A HREF="#ClearArea">ClearArea</A></B>
<TR><TD><B><A HREF="../window/XConfigureWindow.html">XConfigureWindow()</A></B> <TD><B><A HREF="#ConfigureWindow">ConfigureWindow</A></B>
<TR><TD><B><A HREF="../window-information/XConvertSelection.html">XConvertSelection()</A></B> <TD><B><A HREF="#ConvertSelection">ConvertSelection</A></B>
<TR><TD><B><A HREF="../graphics/XCopyArea.html">XCopyArea()</A></B> <TD><B><A HREF="#CopyArea">CopyArea</A></B>
<TR><TD><B><A HREF="../color/XCopyColormapAndFree.html">XCopyColormapAndFree()</A></B> <TD><B><A HREF="#CopyColormapAndFree">CopyColormapAndFree</A></B>
<TR><TD><B><A HREF="../GC/XCopyGC.html">XCopyGC()</A></B> <TD><B><A HREF="#CopyGC">CopyGC</A></B>
<TR><TD><B><A HREF="../graphics/XCopyPlane.html">XCopyPlane()</A></B> <TD><B><A HREF="#CopyPlane">CopyPlane</A></B>
<TR><TD VALIGN=top><B><A HREF="../utilities/XCreateBitmapFromData.html">XCreateBitmapFromData()</A></B> <TD><B><A HREF="#CreateGC">CreateGC</A></B><BR>
<B><A HREF="#CreatePixmap">CreatePixmap</A></B><BR>
<B><A HREF="#FreeGC">FreeGC</A></B><BR>
<B><A HREF="#PutImage">PutImage</A></B>
<TR><TD><B><A HREF="../color/XCreateColormap.html">XCreateColormap()</A></B> <TD><B><A HREF="#CreateColormap">CreateColormap</A></B>
<TR><TD><B><A HREF="../pixmap-and-cursor/XCreateFontCursor.html">XCreateFontCursor()</A></B> <TD><B><A HREF="#CreateGlyphCursor">CreateGlyphCursor</A></B>
<TR><TD><B><A HREF="../GC/XCreateGC.html">XCreateGC()</A></B> <TD><B><A HREF="#CreateGC">CreateGC</A></B>
<TR><TD><B><A HREF="../pixmap-and-cursor/XCreateGlyphCursor.html">XCreateGlyphCursor()</A></B> <TD><B><A HREF="#CreateGlyphCursor">CreateGlyphCursor</A></B>
<TR><TD><B><A HREF="../pixmap-and-cursor/XCreatePixmap.html">XCreatePixmap()</A></B> <TD><B><A HREF="#CreatePixmap">CreatePixmap</A></B>
<TR><TD><B><A HREF="../pixmap-and-cursor/XCreatePixmapCursor.html">XCreatePixmapCursor()</A></B> <TD><B><A HREF="#CreateCursor">CreateCursor</A></B>
<TR><TD VALIGN=top><B>XCreatePixmapFromData()</B> <TD><B><A HREF="#CreateGC">CreateGC</A><BR>
<B><A HREF="#CreatePixmap">CreatePixmap</A><BR>
<B><A HREF="#FreeGC">FreeGC</A><BR>
<B><A HREF="#PutImage">PutImage</A><BR>
<TR><TD><B><A HREF="../window/XCreateWindow.html">XCreateSimpleWindow()</A></B> <TD><B><A HREF="#CreateWindow">CreateWindow</A></B>
<TR><TD><B><A HREF="../window/XCreateWindow.html">XCreateWindow()</A></B> <TD><B><A HREF="#CreateWindow">CreateWindow</A></B>
<TR><TD><B><A HREF="../window/XDefineCursor.html">XDefineCursor()</A></B> <TD><B><A HREF="#ChangeWindowAttributes">ChangeWindowAttributes</A></B>
<TR><TD><B><A HREF="../window-information/XDeleteProperty.html">XDeleteProperty()</A></B> <TD><B><A HREF="#DeleteProperty">DeleteProperty</A></B>
<TR><TD><B><A HREF="../window/XDestroySubWindows.html">XDestroySubwindows()</A></B> <TD><B><A HREF="#DestroySubwindows">DestroySubwindows</A></B>
<TR><TD><B><A HREF="../window/XDestroyWindow.html">XDestroyWindow()</A></B> <TD><B><A HREF="#DestroyWindow">DestroyWindow</A></B>
<TR><TD><B><A HREF="../window-and-session-manager/controlling-host-access/XDisableAccessControl.html">XDisableAccessControl()</A></B> <TD><B><A HREF="#SetAccessControl">SetAccessControl</A></B>
<TR><TD><B><A HREF="../graphics/drawing/XDrawArc.html">XDrawArc()</A></B> <TD><B><A HREF="#PolyArc">PolyArc</A></B>
<TR><TD><B><A HREF="../graphics/drawing/XDrawArcs.html">XDrawArcs()</A></B> <TD><B><A HREF="#PolyArc">PolyArc</A></B>
<TR><TD><B><A HREF="../graphics/drawing-text/XDrawImageString.html">XDrawImageString()</A></B> <TD><B><A HREF="#ImageText8">ImageText8</A></B>
<TR><TD><B><A HREF="../graphics/drawing-text/XDrawImageString16.html">XDrawImageString16()</A></B> <TD><B><A HREF="#ImageText16">ImageText16</A></B>
<TR><TD><B><A HREF="../graphics/drawing/XDrawLine.html">XDrawLine()</A></B> <TD><B><A HREF="#PolySegment">PolySegment</A></B>
<TR><TD><B><A HREF="../graphics/drawing/XDrawLines.html">XDrawLines()</A></B> <TD><B><A HREF="#PolyLine">PolyLine</A></B>
<TR><TD><B><A HREF="../gr