W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Trouble accessing Stream "methods"

From: Michael Zedeler <mike@netropolis.dk>
Date: 14 Oct 1998 12:31:30 -0000
Message-ID: <19981014123130.997.qmail@findmail.com>
To: www-lib@w3.org
Cc: mike@netropolis.dk
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 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:19 EDT