aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2015-09-21 15:00:35 -0400
committerAnders Broman <a.broman58@gmail.com>2015-09-23 04:38:01 +0000
commitcd7387d22b7cdc2b66e884d3dcb4c7234c104cef (patch)
treeace4eae1736fbc6cf70be2b11ebd274e7af66a68 /epan/proto.h
parente64c81609fd213e1c3e1c1f51e70fcaadaf18982 (diff)
Add a "fieldcount" report to tshark -G to let us easily see how many fields
are registered. Change-Id: I06f10d96916640cb9a782cae87898a5dd6c9c6e3 Reviewed-on: https://code.wireshark.org/review/10601 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h
index f8c8378ea6..4cf27de497 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -2251,6 +2251,9 @@ WS_DLL_PUBLIC void proto_registrar_dump_protocols(void);
/** Dumps a glossary of the field value strings or true/false strings to STDOUT */
WS_DLL_PUBLIC void proto_registrar_dump_values(void);
+/** Dumps the number of protocol and field registrations to STDOUT. */
+WS_DLL_PUBLIC void proto_registrar_dump_fieldcount(void);
+
/** Dumps a glossary of the protocol and field registrations to STDOUT. */
WS_DLL_PUBLIC void proto_registrar_dump_fields(void);