summaryrefslogtreecommitdiff
path: root/epan/column.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-10-15 18:27:35 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-10-15 18:27:35 +0000
commit63e4539229ca54fe44abc84745099c0e4f1a7c8e (patch)
tree60a5306230573da89762a94d9dfa9fb7ade95238 /epan/column.c
parentb0080ae12361451d52c754faa7045d2ea1e8b07f (diff)
downloadwireshark-63e4539229ca54fe44abc84745099c0e4f1a7c8e.tar.gz
From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9272
Add tshark -G column-formats report and document the missing ftypes, heuristic-decodes and plugins reports. From me: Sort the reports. Add modelines to epan/column.c. Minor whitespace changes. svn path=/trunk/; revision=52627
Diffstat (limited to 'epan/column.c')
-rw-r--r--epan/column.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/epan/column.c b/epan/column.c
index cef7241778..fefe9de2c4 100644
--- a/epan/column.c
+++ b/epan/column.c
@@ -185,6 +185,16 @@ col_format_desc(const gint fmt) {
return(dlist[fmt]);
}
+void
+column_dump_column_formats(void)
+{
+ gint fmt;
+
+ for (fmt = 0; fmt < NUM_COL_FMTS; fmt++) {
+ printf("%s\t%s\n", col_format_to_string(fmt), col_format_desc(fmt));
+ }
+}
+
/* Marks each array element true if it can be substituted for the given
column format */
void
@@ -802,3 +812,16 @@ build_column_format_array(column_info *cinfo, const gint num_cols, const gboolea
}
}
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 2
+ * tab-width: 2
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=2 tabstop=2 expandtab:
+ * :indentSize=2:tabSize=2:noTabs=true:
+ */
+