File: HTFWriter.h

package info (click to toggle)
lynx 2.8.9dev11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,556 kB
  • ctags: 12,873
  • sloc: ansic: 133,772; sh: 3,560; makefile: 1,139; perl: 995; yacc: 743
file content (30 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (13)
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 */