diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-09-24 22:26:00 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-09-24 22:26:00 +0200 |
commit | c2ecaf87e462fd6600ce5ee6a29cb352de042714 (patch) | |
tree | 70f607a8c9bce7f0d40c559ec4112d3dd154eb50 /WWW/Library/Implementation/HTFWriter.h | |
download | lynx-c2ecaf87e462fd6600ce5ee6a29cb352de042714.tar.gz lynx-c2ecaf87e462fd6600ce5ee6a29cb352de042714.tar.bz2 lynx-c2ecaf87e462fd6600ce5ee6a29cb352de042714.zip |
update
Diffstat (limited to 'WWW/Library/Implementation/HTFWriter.h')
-rw-r--r-- | WWW/Library/Implementation/HTFWriter.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTFWriter.h b/WWW/Library/Implementation/HTFWriter.h new file mode 100644 index 0000000..015ea15 --- /dev/null +++ b/WWW/Library/Implementation/HTFWriter.h @@ -0,0 +1,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 */ |