type_entry type_table[] = {
  {"AcceleratorTable",message_write_accelerator_table,message_read_accelerator_table,sizeof(long)},
  {"Alignment",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ArrowDirection",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Atom",message_write_atom,message_read_atom,sizeof(long)},
  {"Attachment",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Bitmap",message_write_xid,message_read_xid,sizeof(long)},
  {"Bool",message_write_boolean,message_read_boolean,sizeof(long)},
  {"Boolean",message_write_boolean,message_read_boolean,sizeof(long)},
  {"CallbackReason",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Cardinal",message_write_int,message_read_int,sizeof(int)},
  {"Char",message_write_short,message_read_short,sizeof(short)},
  {"Color",message_write_color,message_read_color,sizeof(long)},
  {"Colormap",message_write_xid,message_read_xid,sizeof(long)},
  {"CommandWindowLocation",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Cursor",message_write_xid,message_read_xid,sizeof(long)},
  {"DefaultButtonType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"DialogStyle",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"DialogType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Dimension",message_write_short,message_read_short,sizeof(short)},
  {"EditMode",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Enum",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Event",message_write_event,message_read_event,sizeof(long)},
  {"FileTypeMask",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Float",message_write_float,message_read_float,sizeof(float)},
  {"Font",message_write_xid,message_read_xid,sizeof(long)},
  {"FontList",message_write_font_list,message_read_font_list,sizeof(long)},
  {"Function",message_write_function,message_read_function,sizeof(long)},
  {"GrabKind",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"HighlightMode",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"HorizontalDimension",message_write_short,message_read_short,sizeof(short)},
  {"HorizontalInt",message_write_int,message_read_int,sizeof(int)},
  {"HorizontalPosition",message_write_short,message_read_short,sizeof(short)},
  {"IndicatorType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"InitialState",message_write_int,message_read_int,sizeof(int)},
  {"Int",message_write_int,message_read_int,sizeof(int)},
  {"IntList",message_write_int_list,message_read_int_list,sizeof(long)},
  {"KeyboardFocusPolicy",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"LabelType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ListSizePolicy",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"MultiClick",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"NavigationType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Packing",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Pixel",message_write_int,message_read_int,sizeof(int)},
  {"Pixmap",message_write_xid,message_read_xid,sizeof(long)},
  {"Pointer",message_write_int,message_read_int,sizeof(int)},
  {"Position",message_write_short,message_read_short,sizeof(short)},
  {"ProcessingDirection",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ResizePolicy",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ResourceList",message_write_resource_list,message_read_resource_list,sizeof(long)},
  {"ResourceNames",message_write_resource_names,message_read_resource_names,sizeof(long)},
  {"RowColumnType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ScrollBarDisplayPolicy",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ScrollBarPlacement",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ScrollingPolicy",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"SelectionPolicy",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"SeparatorType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ShadowType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"ShellHorizDim",message_write_short,message_read_short,sizeof(short)},
  {"ShellHorizPos",message_write_short,message_read_short,sizeof(short)},
  {"ShellVertDim",message_write_short,message_read_short,sizeof(short)},
  {"ShellVertPos",message_write_short,message_read_short,sizeof(short)},
  {"Short",message_write_short,message_read_short,sizeof(short)},
  {"String",message_write_string,message_read_string,sizeof(long)},
  {"StringDirection",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"StringTable",message_write_string_table,message_read_string_table,sizeof(long)},
  {"StringToken",message_write_string_token,message_read_string_token,sizeof(long)},
  {"TranslationTable",message_write_translation_table,message_read_translation_table,sizeof(long)},
  {"TraversalDirection",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"UnitType",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"UnsignedChar",message_write_short,message_read_short,sizeof(short)},
  {"VerticalDimension",message_write_short,message_read_short,sizeof(short)},
  {"VerticalInt",message_write_int,message_read_int,sizeof(int)},
  {"VerticalPosition",message_write_short,message_read_short,sizeof(short)},
  {"VisualPolicy",message_write_enum,message_read_enum,sizeof(XtEnum)},
  {"Widget",message_write_widget,message_read_widget,sizeof(long)},
  {"WidgetClass",message_write_widget_class,message_read_widget_class,sizeof(long)},
  {"WidgetList",message_write_widget_list,message_read_widget_list,sizeof(long)},
  {"Window",message_write_xid,message_read_xid,sizeof(long)},
  {"XmString",message_write_xm_string,message_read_xm_string,sizeof(long)},
  {"XmStringTable",message_write_xm_string_table,message_read_xm_string_table,sizeof(long)},
  {NULL,NULL,NULL,0}
};

#define TYPE_TABLE_SIZE 80
