aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-03-11 16:17:41 +0000
committerGerald Combs <gerald@wireshark.org>2005-03-11 16:17:41 +0000
commit76ba06d76752d91fe4fc0a2db53b1ec5ee2b2092 (patch)
tree7fbe8c00ef3e40c6a7ab9bbac88b92cd39c7eae1 /epan/packet.h
parentabe1feed27e19c0a09a588003ca5012b2466db19 (diff)
Add a "-G decodes" option to ethereal and tethereal which shows the
filter/selector/protocol associations for each dissector. This will be used to improve our automated tests, but someone with time on their hands could probably use it to generate a protocol poster using Graphviz. svn path=/trunk/; revision=13721
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/packet.h b/epan/packet.h
index 7fcc67c929..5d16892b7d 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -367,4 +367,10 @@ extern void ethertype(guint16 etype, tvbuff_t *tvb, int offset_after_ethertype,
packet_info *pinfo, proto_tree *tree, proto_tree *fh_tree,
int etype_id, int trailer_id, int fcs_len);
+/*
+ * Dump layer/selector/dissector records in a fashion similar to the
+ * proto_registrar_dump_* routines.
+ */
+extern void dissector_dump_decodes();
+
#endif /* packet.h */