Re: Question about usage of HText-Callbacks - Have a very specific problem ...

> In the endelement-callbackfunction I build the structure and pass it to
> the interpreter.
> But there's no other way to access these kind of data ?
>
> Some other callbacks e.g. in WIN-32-API allow to pass a void* to any
> kind of data structures. In libwww ?
>
    Michael,

    I don't have the right code in front of me right now, but I think you
can associate
    a context to the request object ( HTRequest_setContext ) and retrieve it
from the
    callback.

    Also, if you call HText_registerCDCallback you can set your own Text_new
and Text_delete
    callback and have the Text_new create the context that will be passed

Received on Tuesday, 3 August 1999 22:53:21 UTC