1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

Convert some yet unused strings to use the dom_string struct

Also remove the unneeded path member from the dom_node_id_item struct. It
was obsoleted by the addition of dom_node->parent.
This commit is contained in:
Jonas Fonseca 2005-12-10 18:51:08 +01:00 committed by Jonas Fonseca
parent ed7a292966
commit 9935bf2083

View File

@ -31,11 +31,6 @@ struct dom_node_id_item {
/* The attibute node containing the id value */
struct dom_node *id_attribute;
/* The path to the node. This can be passed to the DOM navigator to
* locate the node. The path should not contain the id node itself.
* E.g. for <a id="..."> element "html/body/p/span". */
unsigned char *path;
/* The node with the @id attribute */
struct dom_node *node;
};
@ -55,15 +50,12 @@ struct dom_document_node {
};
struct dom_id {
unsigned char *public_id;
uint16_t pid_length;
uint16_t sid_length;
unsigned char *system_id;
struct dom_string public_id;
struct dom_string system_id;
};
struct dom_doctype_subset_info {
uint16_t internallen;
unsigned char *internal;
struct dom_string internal;
struct dom_id external;
};