HTFWriter.h 755 B

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