13 #ifndef __PRINT_STREAM_H__ 14 #define __PRINT_STREAM_H__ 16 #include "ws_symbol_export.h" 18 #include <wsutil/color.h> 31 gboolean (*print_preamble)(
struct print_stream *
self, gchar *filename,
const char *version_string);
32 gboolean (*print_line)(
struct print_stream *
self,
int indent,
35 const gchar *name,
const gchar *title);
43 const print_stream_ops_t *ops;
45 const char *to_codeset;
48 unsigned short csb_attrs;
52 WS_DLL_PUBLIC
print_stream_t *print_stream_text_new(gboolean to_file,
const char *dest);
53 WS_DLL_PUBLIC
print_stream_t *print_stream_text_stdio_new(FILE *fh);
54 WS_DLL_PUBLIC
print_stream_t *print_stream_ps_new(gboolean to_file,
const char *dest);
57 WS_DLL_PUBLIC gboolean print_preamble(
print_stream_t *
self, gchar *filename,
const char *version_string);
58 WS_DLL_PUBLIC gboolean print_line(
print_stream_t *
self,
int indent,
const char *line);
59 WS_DLL_PUBLIC gboolean print_bookmark(
print_stream_t *
self,
const gchar *name,
Definition: print_stream.h:42
Definition: print_stream.h:30