[El-Kabong Home]
Main Page   Compound List   File List   Compound Members   File Members  

ekhtml_attr_t Struct Reference

Attribute object, passed into callbacks. More...

List of all members.

Public Attributes

const char * name
 Name of the attribute.

apr_size_t namelen
 Length of `name`.

const char * val
 Value of the attribute. More...

apr_size_t vallen
 Length of `val`.

ekhtml_attr_t * next
 Pointer to next attribute in the list.


Detailed Description

Attribute object, passed into callbacks.

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', and therefore have an associated length field (namelen, vallen).


Member Data Documentation

const char* ekhtml_attr_t::val
 

Value of the attribute.

If the attribute is boolean (i.e. <FOO BAR>), then this value will be NULL


The documentation for this struct was generated from the following file:
Generated on Thu Sep 12 20:06:46 2002 for ekhtml by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002