about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFWriter.h
blob: 334169e70372581178716568311c55d75a7117cb (plain) (blame)
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
31
32
33
34
35
36
37
/*                                                                     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

#ifndef HTUTILS_H
#include <HTUtils.h>
#endif /* HTUTILS_H */
#include <HTStream.h>
/*#include <stdio.h> included by HTUtils.h -- FM */
#include <HTFormat.h>

#ifdef SHORT_NAMES
#define HTFWriter_new   HTFWnew
#endif

extern HTStream * HTFWriter_new PARAMS((FILE * fp));

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

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

#endif
/*

   end */