iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / src / dom / sgml / xbel / xbel.h
blob493c4940e1cec5178a1c486fbce2acf679de6d05
1 #ifndef EL_DOM_SGML_XBEL_XBEL_H
2 #define EL_DOM_SGML_XBEL_XBEL_H
4 #include "dom/sgml/sgml.h"
6 extern struct sgml_info sgml_xbel_info;
8 #define XBEL_(node, name, flags) SGML_NODE_INFO_TYPE(XBEL, node, name)
10 enum xbel_element_type {
11 XBEL_ELEMENT_UNKNOWN,
13 #include "dom/sgml/xbel/element.inc"
15 XBEL_ELEMENTS,
18 enum xbel_attribute_type {
19 XBEL_ATTRIBUTE_UNKNOWN,
21 #include "dom/sgml/xbel/attribute.inc"
23 XBEL_ATTRIBUTES,
26 #undef XBEL_
28 #endif