summaryrefslogtreecommitdiffstats
path: root/WWW/Library/Implementation/HTFWriter.h
blob: 015ea15fc33a0bd69571e6bf4db49add53627688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*                                                                     File Writer for libwww
                                      C FILE WRITER

   It is useful to have both FWriter and Writer for environments in which fdopen() doesn't
   exist for example.

 */
#ifndef HTFWRITE_H
#define HTFWRITE_H

#include <HTStream.h>
#include <HTFormat.h>

#ifdef __cplusplus
extern "C" {
#endif
    extern HTStream *HTFWriter_new(FILE *fp);

    extern HTStream *HTSaveAndExecute(HTPresentation *pres,
				      HTParentAnchor *anchor,	/* Not used */
				      HTStream *sink);

    extern HTStream *HTSaveLocally(HTPresentation *pres,
				   HTParentAnchor *anchor,	/* Not used */
				   HTStream *sink);

#ifdef __cplusplus
}
#endif
#endif				/* HTFWRITE_H */