diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-02-02 08:50:40 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-02-02 08:50:40 +0000 |
commit | b4d53ed380910c49013559ca0479f8899b97f793 (patch) | |
tree | fbdce3592343fefcad6dd9cd62581b715902f22c /print.h | |
parent | 20730353e274f1d75d7d6a595fe8682408d6d9c6 (diff) | |
download | wireshark-b4d53ed380910c49013559ca0479f8899b97f793.tar.gz wireshark-b4d53ed380910c49013559ca0479f8899b97f793.tar.bz2 wireshark-b4d53ed380910c49013559ca0479f8899b97f793.zip |
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')
-rw-r--r-- | print.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |