PLEASE NOTE!

The API has changed dramatically since the 0.1.xx series, you'll probably need
to change some things to get it to work with this release. If that isn't possible,
you might want to use 0.1.12 instead.

Basically instead of parse(), you now call the following functions in this sequence:

#include "lhtml.h"

int my_callback (lhtml_tree *entry, void *data) {
	/* do events here */

	return LHTML_CB_REJECTED; /* this callback does not do this tag */
	return LHTML_CB_DONE; /* quit going through the tree */
	return LHTML_CB_CONTINUE; /* normal return */
}

lhtml_tree *tree;

lhtml_parse_filehandle(fp1);
lhtml_parse_filehandle(fp1);
...
lhtml_parse_filehandle(fpn); /* keep calling until done parsing */

tree = lhtml_end_parse();

lhtml_callback_list *list = NULL;

list = lhtml_add_callback(list, TAG_OTHER, NULL, 0, TAG_HTMLTAG, my_callback, NULL);
lhtml_parse_tree (tree, list);
lhtml_callback_free(list);

lhtml_free (tree); /* use this when done :) */

This way is much more flexible but needs a lot more code than the traditional
interface. :)
