aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/column-utils.h')
-rw-r--r--epan/column-utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/column-utils.h b/epan/column-utils.h
index daa7353e36..073cbc12ff 100644
--- a/epan/column-utils.h
+++ b/epan/column-utils.h
@@ -117,6 +117,15 @@ extern gint check_col(column_info *cinfo, const gint col);
*/
extern void col_set_fence(column_info *cinfo, const gint col);
+/** Gets the text of a column element.
+ *
+ * @param cinfo the current packet row
+ * @param col the column to use, e.g. COL_INFO
+ *
+ * @return the text string
+ */
+extern const gchar *col_get_text(column_info *cinfo, const gint col);
+
/** Clears the text of a column element.
*
* @param cinfo the current packet row