summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-06-16 05:55:23 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-06-16 05:55:23 +0000
commitd740df18b1d0779f194a6b86685b49c05babc758 (patch)
treec11d5e562e7cb21b498594e87b8303918605dabc
parent32386253b3e285406fc5bc5cbd2567b14a18524f (diff)
downloadlibhubbub-d740df18b1d0779f194a6b86685b49c05babc758.tar.gz
libhubbub-d740df18b1d0779f194a6b86685b49c05babc758.tar.bz2
Commit the relevant header files for r4354-r4356.
svn path=/trunk/hubbub/; revision=4357
-rw-r--r--include/hubbub/types.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/hubbub/types.h b/include/hubbub/types.h
index e58a88b..f427023 100644
--- a/include/hubbub/types.h
+++ b/include/hubbub/types.h
@@ -83,7 +83,14 @@ typedef struct hubbub_attribute {
*/
typedef struct hubbub_doctype {
hubbub_string name; /**< Doctype name */
- bool correct; /**< Doctype validity flag */
+
+ bool public_missing; /**< Whether the public id is missing */
+ hubbub_string public_id; /**< Doctype public identifier */
+
+ bool system_missing; /**< Whether the system id is missing */
+ hubbub_string system_id; /**< Doctype system identifier */
+
+ bool force_quirks; /**< Doctype force-quirks flag */
} hubbub_doctype;
/**
@@ -93,6 +100,7 @@ typedef struct hubbub_tag {
hubbub_string name; /**< Tag name */
uint32_t n_attributes; /**< Count of attributes */
hubbub_attribute *attributes; /**< Array of attribute data */
+ bool self_closing; /**< Whether the tag can have children */
} hubbub_tag;
/**