| 1 |
/* File Writer for libwww |
| 2 |
C FILE WRITER |
| 3 |
|
| 4 |
It is useful to have both FWriter and Writer for environments in which fdopen() doesn't |
| 5 |
exist for example. |
| 6 |
|
| 7 |
*/ |
| 8 |
#ifndef HTFWRITE_H |
| 9 |
#define HTFWRITE_H |
| 10 |
|
| 11 |
#include <HTStream.h> |
| 12 |
#include <HTFormat.h> |
| 13 |
|
| 14 |
#ifdef __cplusplus |
| 15 |
extern "C" { |
| 16 |
#endif |
| 17 |
extern HTStream *HTFWriter_new(FILE *fp); |
| 18 |
|
| 19 |
extern HTStream *HTSaveAndExecute(HTPresentation *pres, |
| 20 |
HTParentAnchor *anchor, /* Not used */ |
| 21 |
HTStream *sink); |
| 22 |
|
| 23 |
extern HTStream *HTSaveLocally(HTPresentation *pres, |
| 24 |
HTParentAnchor *anchor, /* Not used */ |
| 25 |
HTStream *sink); |
| 26 |
|
| 27 |
#ifdef __cplusplus |
| 28 |
} |
| 29 |
#endif |
| 30 |
#endif /* HTFWRITE_H */ |