Annotation of libwww/Library/src/HTFWrite.html, revision 2.23
2.1 frystyk 1: <HTML>
2: <HEAD>
2.19 frystyk 3: <!-- Changed by: Henrik Frystyk Nielsen, 19-May-1996 -->
2.21 frystyk 4: <TITLE>W3C Sample Code Library libwww ANSI C File Streams</TITLE>
2.1 frystyk 5: </HEAD>
6: <BODY>
2.19 frystyk 7: <H1>
2.23 ! frystyk 8: Basic ANSI C File Writer Stream
2.19 frystyk 9: </H1>
2.1 frystyk 10: <PRE>
11: /*
2.4 frystyk 12: ** (c) COPYRIGHT MIT 1995.
2.1 frystyk 13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
2.19 frystyk 16: <P>
2.23 ! frystyk 17: This module contains a basic file writer stream that can be used to
! 18: dump data objects to local disk. See also the various subclasses of
! 19: this basic stream which can be used to do save-as, save-and-callback etc.
! 20: in the <A HREF="HTFSave.html">HTFSave module</A>
2.19 frystyk 21: <P>
22: This module is implemented by <A HREF="HTFWrite.c">HTFWrite.c</A>, and it
2.22 frystyk 23: is a part of the <A HREF="http://www.w3.org/Library/">W3C Sample Code
2.19 frystyk 24: Library</A>.
2.1 frystyk 25: <PRE>
26: #ifndef HTFWRITE_H
27: #define HTFWRITE_H
28:
29: #include "HTStream.h"
2.23 ! frystyk 30: #include "HTReq.h"
2.1 frystyk 31: </PRE>
2.19 frystyk 32: <H2>
2.23 ! frystyk 33: <A NAME="write">Basic ANSI C File Writer Stream</A>
2.19 frystyk 34: </H2>
35: <P>
36: This function puts up a new stream given an <I>open</I> file descripter.
37: If the file is <I>not</I> to be closed afterwards, then set
38: <CODE>leave_open=NO</CODE>.
2.15 frystyk 39: <PRE>
2.23 ! frystyk 40: extern HTStream * HTFWriter_new (
! 41: HTRequest * request,
! 42: FILE * fp,
! 43: BOOL leave_open);
2.15 frystyk 44: </PRE>
2.23 ! frystyk 45:
2.8 frystyk 46: <PRE>
2.1 frystyk 47: #endif
48: </PRE>
2.19 frystyk 49: <P>
50: <HR>
2.18 frystyk 51: <ADDRESS>
2.23 ! frystyk 52: @(#) $Id: HTFWrite.html,v 2.22 1998/05/14 02:10:28 frystyk Exp $
2.18 frystyk 53: </ADDRESS>
2.19 frystyk 54: </BODY></HTML>
Webmaster