Trouble accessing Stream "methods"

Hi fellow libwww'ers,

I have ventured deep into libwww-space -- so far without much trouble -- until now. I have been implementing my own pseudo-HTML-parser, using the SGML-module, and now I need help accessing the "methods" of a Stream:

[...cut...]

	HTStream * hs;

[...]

	hs = SGML_new(&IHTML_dtd,HTTestStream());

[Now this doesn't work:]

	(hs->put_string)(hs,"Hello, world\n");

[So I tried looking in the library and found that maybe this would work:]

	(hs->isa->put_string)(hs,"Hello, world\n");

[But that doesn't work either.]

[...CUT...]

Could somebody please point me in the right direction here?

Thank you very much,

Michael.


-----
Free e-mail group hosting at http://www.eGroups.com/

Received on Wednesday, 14 October 1998 08:31:11 UTC