aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-05-10 12:07:24 -0400
committerMichael Mann <mmann78@netscape.net>2016-05-10 22:47:54 +0000
commit82373315fdae92cf7161c0b3cdba6427273e55b9 (patch)
treea37818a0216c97f4484621de789bab04c987dedc /epan/proto.h
parentd09bf3157d76c6750ef9daed2f9d1ab2f385f506 (diff)
downloadwireshark-82373315fdae92cf7161c0b3cdba6427273e55b9.tar.gz
wireshark-82373315fdae92cf7161c0b3cdba6427273e55b9.tar.bz2
wireshark-82373315fdae92cf7161c0b3cdba6427273e55b9.zip
rawshark: Get "field string values" from existing functionality.
rawshark shouldn't be converting FT_ and BASE_ values into strings on its own, there's a function for that. Change-Id: Ib4ce1651ee130a03644b5de3ab471333444e19a9 Reviewed-on: https://code.wireshark.org/review/15341 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 546d4ad643..d52ddc9e97 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -2366,6 +2366,10 @@ WS_DLL_PUBLIC void proto_registrar_dump_fields(void);
/** Dumps a glossary field types and descriptive names to STDOUT */
WS_DLL_PUBLIC void proto_registrar_dump_ftypes(void);
+/** Get string representation of display field value
+ @param field_display field display value (one of BASE_ values)
+ @return string representation of display field value or "Unknown" if doesn't exist */
+WS_DLL_PUBLIC const char* proto_field_display_to_string(int field_display);
/** Number of elements in the tree_is_expanded array. With MSVC and a
* libwireshark.dll, we need a special declaration. */