path: root/print.h
diff options
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-02-02 08:50:40 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-02-02 08:50:40 +0000
commitb4d53ed380910c49013559ca0479f8899b97f793 (patch)
treefbdce3592343fefcad6dd9cd62581b715902f22c /print.h
parent20730353e274f1d75d7d6a595fe8682408d6d9c6 (diff)
from chris eagle
add radiobutton to allow saving raw tcpstreams these radiobuttons should, by someone that uses, this feature be changed into a menu instead. svn path=/trunk/; revision=13236
Diffstat (limited to 'print.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/print.h b/print.h
index a0871fb47b..4e507adf8a 100644
--- a/print.h
+++ b/print.h
@@ -41,6 +41,8 @@ typedef struct print_stream_ops {
gboolean (*print_preamble)(struct print_stream *self, gchar *filename);
gboolean (*print_line)(struct print_stream *self, int indent,
const char *line);
+ gboolean (*print_raw)(struct print_stream *self,
+ const unsigned char *buf, int len);
gboolean (*print_bookmark)(struct print_stream *self,
const gchar *name, const gchar *title);
gboolean (*new_page)(struct print_stream *self);
@@ -60,6 +62,7 @@ extern print_stream_t *print_stream_ps_stdio_new(FILE *fh);
extern gboolean print_preamble(print_stream_t *self, gchar *filename);
extern gboolean print_line(print_stream_t *self, int indent, const char *line);
+extern gboolean print_raw(print_stream_t *self, const unsigned char *buf, int len);
extern gboolean print_bookmark(print_stream_t *self, const gchar *name,
const gchar *title);
extern gboolean new_page(print_stream_t *self);