From d740df18b1d0779f194a6b86685b49c05babc758 Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Mon, 16 Jun 2008 05:55:23 +0000 Subject: Commit the relevant header files for r4354-r4356. svn path=/trunk/hubbub/; revision=4357 --- include/hubbub/types.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/hubbub/types.h') 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; /** -- cgit v1.2.3