Annotation of libwww/Library/src/HTANSI.html, revision 2.2

2.1       frystyk     1: <HTML>
                      2: <HEAD>
2.2     ! frystyk     3:   <!-- Changed by: Henrik Frystyk Nielsen, 20-Mar-1996 -->
        !             4:   <NEXTID N="z18">
        !             5:   <TITLE>W3C Reference Library ANSI Read and Write Streams</TITLE>
2.1       frystyk     6: </HEAD>
                      7: <BODY>
2.2     ! frystyk     8: <H1>
        !             9:   ANSI Read and Write Streams
        !            10: </H1>
2.1       frystyk    11: <PRE>
                     12: /*
                     13: **     (c) COPYRIGHT MIT 1995.
                     14: **     Please first read the full copyright statement in the file COPYRIGH.
                     15: */
                     16: </PRE>
2.2     ! frystyk    17: <P>
        !            18: The ANSI Reader Stream and the ANSI Writer Stream are
        !            19: <A HREF="HTIOStream.html">output streams</A>&nbsp;which knows how to read
        !            20: and write to an ANSI C type FILE descriptor. Both streams are part of the
        !            21: <A HREF="WWWTrans.html">Transport interface </A>and may be registered as
        !            22: part of a <A HREF="HTTrans.html">Transport Object</A>. In the
        !            23: <A HREF="HTInit.html">default initialization module</A>, you can find the
        !            24: <CODE>HTTransportInit()</CODE> function which sets up the streams for handling
        !            25: local file access on some platforms.
        !            26: <P>
        !            27: This module is implemented by <A HREF="HTANSI.c">HTANSI.c</A>, and it is
        !            28: a part of the <A HREF="http://www.w3.org/pub/WWW/Library/">W3C Reference
        !            29: Library</A>.
2.1       frystyk    30: <PRE>
                     31: #ifndef HTANSI_H
                     32: #define HTANSI_H
                     33: 
                     34: #include <A HREF="HTIOStream.html">"HTIOStream.h"</A>
                     35: </PRE>
2.2     ! frystyk    36: <H2>
        !            37:   Input Buffering
        !            38: </H2>
        !            39: <P>
        !            40: In order to optimize reading a channel, we bind a buffer to each channel
        !            41: object. The size of this buffer is a compromise between speed and memory.
2.1       frystyk    42: <PRE>
                     43: #define FILE_BUFFER_SIZE       8192
                     44: </PRE>
2.2     ! frystyk    45: <H2>
        !            46:   Read Stream
        !            47: </H2>
2.1       frystyk    48: <PRE>
                     49: extern HTInput_new HTANSIReader_new;
                     50: </PRE>
2.2     ! frystyk    51: <H2>
        !            52:   Write Stream
        !            53: </H2>
2.1       frystyk    54: <PRE>
                     55: extern HTOutput_new HTANSIWriter_new;
                     56: </PRE>
                     57: <PRE>
                     58: #endif
                     59: </PRE>
2.2     ! frystyk    60: <P>
2.1       frystyk    61: End of declaration module
2.2     ! frystyk    62: </BODY></HTML>

Webmaster