13#ifndef __PRINT_STREAM_H__
14#define __PRINT_STREAM_H__
16#include "ws_symbol_export.h"
32 bool (*print_preamble)(
struct print_stream *self,
char *filename,
const char *version_string);
33 bool (*print_line)(
struct print_stream *self,
int indent,
37 const char *name,
const char *title);
51WS_DLL_PUBLIC
print_stream_t *print_stream_text_new(
bool to_file,
const char *dest);
52WS_DLL_PUBLIC
print_stream_t *print_stream_text_stdio_new(FILE *fh);
53WS_DLL_PUBLIC
print_stream_t *print_stream_ps_new(
bool to_file,
const char *dest);
59WS_DLL_PUBLIC
bool print_preamble(
print_stream_t *self,
char *filename,
const char *version_string);
60WS_DLL_PUBLIC
bool print_line(
print_stream_t *self,
int indent,
const char *line);
68WS_DLL_PUBLIC
bool print_bookmark(
print_stream_t *self,
const char *name,
Definition print_stream.h:31
Definition print_stream.h:43