File:  [Public] / libwww / Library / src / HTSChunk.html
Revision 2.1: download - view: text, annotated - select for diffs
Fri Jun 28 16:31:28 1996 UTC (27 years, 11 months ago) by frystyk
Branches: MAIN
CVS tags: Release-5-0a, Release-5-0, Release-4-1b5, Release-4-1b4, Release-4-1b3, PIPELINE1, HEAD
version 4.1b2

<HTML>
<HEAD>
<!-- Changed by: Henrik Frystyk Nielsen, 27-Jun-1996 -->
  <TITLE>W3C Reference Library libwww Stream to Chunk Converter</TITLE>
</HEAD>
<BODY>
<H1>
  Stream to Chunk Converter
</H1>
<PRE>
/*
**	(c) COPYRIGHT MIT 1995.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>
<P>
This stream converts a <A HREF="HTStream.html">Stream obejct</A> into a
<A HREF="HTChunk.html">Chunk object</A>. Chunks are dynamic streams so this
is in other words a conversion from a stream based model to a dynamic data
buffer model for handling a downloaded object. It is for the caller of this
stream to free the chunk.
<P>
This module is implemented by <A HREF="HTSChunk.c">HTSChunk.c</A>, and it
is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C Reference
Library</A>.
<PRE>
#ifndef HTSCHUNK_H
#define HTSCHUNK_H

#include "HTChunk.h"
#include "HTStream.h"

extern HTStream * HTStreamToChunk (HTRequest * 	request,
				   HTChunk **	chunk,
				   int 		max_size);
</PRE>
<P>
End of definition module
<PRE>
#endif /* HTSCHUNK_H */
</PRE>
<P>
  <HR>
<ADDRESS>
  @(#) $Id: HTSChunk.html,v 2.1 1996/06/28 16:31:28 frystyk Exp $
</ADDRESS>
</BODY></HTML>

Webmaster