summaryrefslogtreecommitdiff
path: root/ekhtml/include/ekhtml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ekhtml/include/ekhtml.h')
-rw-r--r--ekhtml/include/ekhtml.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/ekhtml/include/ekhtml.h b/ekhtml/include/ekhtml.h
index ba4b196..1bed8ea 100644
--- a/ekhtml/include/ekhtml.h
+++ b/ekhtml/include/ekhtml.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002-2004, Jon Travis
+ * Copyright (c) 2002, Jon Travis
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -57,15 +57,14 @@ typedef struct ekhtml_string_t {
* When ekhtml parses tags containing key/value attributes, it will pass
* this structure representing those values into the callbacks. Note, for
* speed reasons, things such as the 'name' and 'value' fields are not
- * terminated with '\0', the length is in name->len, and val->len
+ * terminated with '\0', and therefore have an associated length
+ * field (namelen, vallen).
*/
typedef struct ekhtml_attr_t {
ekhtml_string_t name; /**< Name of the attribute */
ekhtml_string_t val; /**< Value of the attribute */
- unsigned int isBoolean; /**< True if the attribute is boolean */
- char quoteChar; /**< The character used to quote 'val'.
- If no quoting was used, '\0' */
+ unsigned int isBoolean; /**< True of the attribute is boolean */
struct ekhtml_attr_t *next; /**< Pointer to next attribute in the list */
} ekhtml_attr_t;