/* THIS IS A GENERATED FILE
 *
 * Do not change!  Changing this file implies a protocol change!
 */

#include "X.h"
#include "Xatom.h"
#include "funcs.h"

typedef struct _Node {
    struct _Node   *left,   *right;
    Atom a;
    unsigned int fingerPrint;
    char   *string;
} NodeRec;

static struct atoms {
	char *name;
	char	len;
	char	atom;	/* char to save space */
	NodeRec	node;
} atoms[] = {
	{ "PRIMARY", 7, XA_PRIMARY },
	{ "SECONDARY", 9, XA_SECONDARY },
	{ "ARC", 3, XA_ARC },
	{ "ATOM", 4, XA_ATOM },
	{ "BITMAP", 6, XA_BITMAP },
	{ "CARDINAL", 8, XA_CARDINAL },
	{ "COLORMAP", 8, XA_COLORMAP },
	{ "CURSOR", 6, XA_CURSOR },
	{ "CUT_BUFFER0", 11, XA_CUT_BUFFER0 },
	{ "CUT_BUFFER1", 11, XA_CUT_BUFFER1 },
	{ "CUT_BUFFER2", 11, XA_CUT_BUFFER2 },
	{ "CUT_BUFFER3", 11, XA_CUT_BUFFER3 },
	{ "CUT_BUFFER4", 11, XA_CUT_BUFFER4 },
	{ "CUT_BUFFER5", 11, XA_CUT_BUFFER5 },
	{ "CUT_BUFFER6", 11, XA_CUT_BUFFER6 },
	{ "CUT_BUFFER7", 11, XA_CUT_BUFFER7 },
	{ "DRAWABLE", 8, XA_DRAWABLE },
	{ "FONT", 4, XA_FONT },
	{ "INTEGER", 7, XA_INTEGER },
	{ "PIXMAP", 6, XA_PIXMAP },
	{ "POINT", 5, XA_POINT },
	{ "RECTANGLE", 9, XA_RECTANGLE },
	{ "RESOURCE_MANAGER", 16, XA_RESOURCE_MANAGER },
	{ "RGB_COLOR_MAP", 13, XA_RGB_COLOR_MAP },
	{ "RGB_BEST_MAP", 12, XA_RGB_BEST_MAP },
	{ "RGB_BLUE_MAP", 12, XA_RGB_BLUE_MAP },
	{ "RGB_DEFAULT_MAP", 15, XA_RGB_DEFAULT_MAP },
	{ "RGB_GRAY_MAP", 12, XA_RGB_GRAY_MAP },
	{ "RGB_GREEN_MAP", 13, XA_RGB_GREEN_MAP },
	{ "RGB_RED_MAP", 11, XA_RGB_RED_MAP },
	{ "STRING", 6, XA_STRING },
	{ "VISUALID", 8, XA_VISUALID },
	{ "WINDOW", 6, XA_WINDOW },
	{ "WM_COMMAND", 10, XA_WM_COMMAND },
	{ "WM_HINTS", 8, XA_WM_HINTS },
	{ "WM_CLIENT_MACHINE", 17, XA_WM_CLIENT_MACHINE },
	{ "WM_ICON_NAME", 12, XA_WM_ICON_NAME },
	{ "WM_ICON_SIZE", 12, XA_WM_ICON_SIZE },
	{ "WM_NAME", 7, XA_WM_NAME },
	{ "WM_NORMAL_HINTS", 15, XA_WM_NORMAL_HINTS },
	{ "WM_SIZE_HINTS", 13, XA_WM_SIZE_HINTS },
	{ "WM_ZOOM_HINTS", 13, XA_WM_ZOOM_HINTS },
	{ "MIN_SPACE", 9, XA_MIN_SPACE },
	{ "NORM_SPACE", 10, XA_NORM_SPACE },
	{ "MAX_SPACE", 9, XA_MAX_SPACE },
	{ "END_SPACE", 9, XA_END_SPACE },
	{ "SUPERSCRIPT_X", 13, XA_SUPERSCRIPT_X },
	{ "SUPERSCRIPT_Y", 13, XA_SUPERSCRIPT_Y },
	{ "SUBSCRIPT_X", 11, XA_SUBSCRIPT_X },
	{ "SUBSCRIPT_Y", 11, XA_SUBSCRIPT_Y },
	{ "UNDERLINE_POSITION", 18, XA_UNDERLINE_POSITION },
	{ "UNDERLINE_THICKNESS", 19, XA_UNDERLINE_THICKNESS },
	{ "STRIKEOUT_ASCENT", 16, XA_STRIKEOUT_ASCENT },
	{ "STRIKEOUT_DESCENT", 17, XA_STRIKEOUT_DESCENT },
	{ "ITALIC_ANGLE", 12, XA_ITALIC_ANGLE },
	{ "X_HEIGHT", 8, XA_X_HEIGHT },
	{ "QUAD_WIDTH", 10, XA_QUAD_WIDTH },
	{ "WEIGHT", 6, XA_WEIGHT },
	{ "POINT_SIZE", 10, XA_POINT_SIZE },
	{ "RESOLUTION", 10, XA_RESOLUTION },
	{ "COPYRIGHT", 9, XA_COPYRIGHT },
	{ "NOTICE", 6, XA_NOTICE },
	{ "FONT_NAME", 9, XA_FONT_NAME },
	{ "FAMILY_NAME", 11, XA_FAMILY_NAME },
	{ "FULL_NAME", 9, XA_FULL_NAME },
	{ "CAP_HEIGHT", 10, XA_CAP_HEIGHT },
	{ "WM_CLASS", 8, XA_WM_CLASS },
	{ "WM_TRANSIENT_FOR", 16, XA_WM_TRANSIENT_FOR },
	{ 0, 0, 0 }
};

void
MakePredeclaredAtoms()
{
    register struct atoms *atomp;
	
    for (atomp = atoms; atomp->len; atomp++)
	if (MakeAtom(atomp->name, atomp->len, 1, &atomp->node) != atomp->atom)
	    AtomError();
}
