Annotation of libwww/Library/src/HTMLGen.html, revision 2.24
2.6 timbl 1: <HTML>
2: <HEAD>
2.22 frystyk 3: <TITLE>W3C Sample Code Library libwww HTML GENERATOR</TITLE>
2.21 frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 23-Mar-1996 -->
2.8 frystyk 5: </HEAD>
2.6 timbl 6: <BODY>
2.8 frystyk 7:
8: <H1>HTML generator</H1>
9:
2.9 frystyk 10: <PRE>
11: /*
2.13 frystyk 12: ** (c) COPYRIGHT MIT 1995.
2.9 frystyk 13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
16:
2.8 frystyk 17: This module converts structed stream into stream. That is, given a
2.9 frystyk 18: stream to write to, it will give you a structured stream to. <P>
19:
2.16 frystyk 20: This module is implemented by <A HREF="HTMLGen.c">HTMLGen.c</A>, and
2.23 frystyk 21: it is a part of the <A HREF="http://www.w3.org/Library/"> W3C
2.22 frystyk 22: Sample Code Library</A>.
2.8 frystyk 23:
24: <PRE>
25: #ifndef HTMLGEN_H
2.1 timbl 26: #define HTMLGEN_H
27:
2.15 frystyk 28: #include "HTStruct.h"
2.16 frystyk 29: #include "HTFormat.h"
2.24 ! vbancrof 30:
! 31: #ifdef __cplusplus
! 32: extern "C" {
! 33: #endif
2.18 frystyk 34: </PRE>
35:
36: The HTML generator stream is almost a converter stream but it returns
37: a structured stream instead of a generic stream. The difference is
38: that a structured stream has methods for starting and ending mark up
39: elements and for HTML/SGML entities.
2.16 frystyk 40:
2.18 frystyk 41: <PRE>
2.19 frystyk 42: extern HTStructured* HTMLGenerator (HTRequest * request,
43: void * param,
44: HTFormat input_format,
45: HTFormat output_format,
46: HTStream * output_stream);
2.1 timbl 47:
48:
2.7 timbl 49: extern HTConverter HTPlainToHTML;
2.1 timbl 50:
2.24 ! vbancrof 51: #ifdef __cplusplus
! 52: }
2.1 timbl 53: #endif
2.24 ! vbancrof 54:
! 55: #endif /* HTMLGEN_H */
2.11 frystyk 56: </PRE>
2.15 frystyk 57:
2.21 frystyk 58: <HR>
59: <ADDRESS>
2.24 ! vbancrof 60: @(#) $Id: HTMLGen.html,v 2.23 1998/05/14 02:10:43 frystyk Exp $
2.21 frystyk 61: </ADDRESS>
2.11 frystyk 62: </BODY>
2.6 timbl 63: </HTML>
Webmaster