[Contents] [index] [Help] [Retrace] [browse <] [Browse >]

To install an entry handler, you call entryhandler() in the following
manner:

    error = EntryHandler (iff, type, id, position, hookptr, object);

An exit handler is installed by saying:

    error = ExitHandler (iff, type, id, position, hookptr, object);

In both cases, a handler is installed for chunks having the specified type
and id.  The position argument specifies in what context to install the
handler, and is identical to the position argument used by
storelocalitem().  the hookptr argument given above is a pointer to your
hook structure.