aboutsummaryrefslogtreecommitdiffstats
path: root/print.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2012-12-08 02:42:40 +0000
committerMichael Mann <mmann78@netscape.net>2012-12-08 02:42:40 +0000
commit40eca5f0de867c1f7089152a028fe6006aa8bd5c (patch)
tree4f0a31b68d64815adec117b5e40626935c430a1b /print.h
parent2ff0d7870aeb66abc5cf2905cb1125bad93b9144 (diff)
Allow TShark to specify columns as fields with -e option (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2892)
svn path=/trunk/; revision=46465
Diffstat (limited to 'print.h')
-rw-r--r--print.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/print.h b/print.h
index fdb855eccc..dd86882521 100644
--- a/print.h
+++ b/print.h
@@ -123,6 +123,7 @@ extern void output_fields_add(output_fields_t* info, const gchar* field);
extern gsize output_fields_num_fields(output_fields_t* info);
extern gboolean output_fields_set_option(output_fields_t* info, gchar* option);
extern void output_fields_list_options(FILE *fh);
+extern gboolean output_fields_has_cols(output_fields_t* info);
/*
* Output only these protocols
@@ -154,7 +155,7 @@ extern void proto_tree_write_carrays(guint32 num, FILE *fh, epan_dissect_t *edt)
extern void write_carrays_finale(FILE *fh);
extern void write_fields_preamble(output_fields_t* fields, FILE *fh);
-extern void proto_tree_write_fields(output_fields_t* fields, epan_dissect_t *edt, FILE *fh);
+extern void proto_tree_write_fields(output_fields_t* fields, epan_dissect_t *edt, column_info *cinfo, FILE *fh);
extern void write_fields_finale(output_fields_t* fields, FILE *fh);
extern const gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt);