How do I tell the document has changed?

Yan Seiner <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
I'm trying to splice a custom forms editor into elinks.  This editor 
will cache some of the information in the form for faster response and 
some intelligent editing functions.  This is for a custom front end on 
an embedded machine.

The editor is hooked into src/viewer/text/form.c::field_op.  I need to 
figure out a way to tell that the document has changed (i.e. the user 
has navigated to a new page) so the editor can flush its cache and parse 
the form again.

Is there something that is guaranteed to change on load/reload that I 
can check for quickly?  Perhaps something like document_view->name?

Thanks,

--Yan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.