Annotation of libwww/Library/src/HTConLen.html, revision 2.1

2.1     ! frystyk     1: <HTML>
        !             2: <HEAD>
        !             3: <TITLE>Content Counter Stream</TITLE>
        !             4: <!-- Changed by: Henrik Frystyk Nielsen, 14-Aug-1995 -->
        !             5: </HEAD>
        !             6: <BODY>
        !             7: 
        !             8: <H1>Content Counter Stream</H1>
        !             9: 
        !            10: <PRE>
        !            11: /*
        !            12: **     (c) COPYRIGHT MIT 1995.
        !            13: **     Please first read the full copyright statement in the file COPYRIGH.
        !            14: */
        !            15: </PRE>
        !            16: 
        !            17: This stream also buffers the result to find out the content length.
        !            18: If a maximum buffer limit is reached Content-Length is calculated for
        !            19: logs but it is not sent to the client -- rather the buffer is flushed
        !            20: right away. Code taken from HTRequest.c written by Ari Luotonen and
        !            21: modified to fit new stream model. The buffer stream is a small buffer
        !            22: that can be used to optimize net work access in order to prevent
        !            23: multiple writes. <P>
        !            24: 
        !            25: This module is implemented by <A HREF="HTNetTxt.c">HTNetTxt.c</A>, and
        !            26: it is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C
        !            27: Reference Library</A>.
        !            28: 
        !            29: <PRE>
        !            30: #ifndef HTCONLEN_H
        !            31: #define HTCONLEN_H
        !            32: 
        !            33: extern HTStream * HTContentCounter     (HTStream *     target,
        !            34:                                         HTRequest *    request,
        !            35:                                         int            max_size);
        !            36: 
        !            37: extern HTStream * HTBuffer_new         (HTStream *     target,
        !            38:                                         HTRequest *    request,
        !            39:                                        int             max_size);
        !            40: </PRE>
        !            41: 
        !            42: End of definition module
        !            43: 
        !            44: <PRE>
        !            45: #endif /* HTCONLEN_H */
        !            46: </PRE>
        !            47: 
        !            48: </BODY>
        !            49: </HTML>

Webmaster