summaryrefslogtreecommitdiff
path: root/epan/packet.h
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-01-24 00:26:57 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-01-24 00:26:57 +0000
commit1ff8c4272fb224666efd7427a9876a01311019c9 (patch)
tree7bd0e6363b39ccedfb52e81c484c482978ba4881 /epan/packet.h
parentda9e0c68313aff629b50f89d2b87276e8fa088ef (diff)
downloadwireshark-1ff8c4272fb224666efd7427a9876a01311019c9.tar.gz
Add register_postdissector() to the API.
Dissectors registered with register_postdissector() will be called after all other dissectors have been called. Use it to register mate. svn path=/trunk/; revision=17089
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/packet.h b/epan/packet.h
index e65a4875a7..6445928aed 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -406,4 +406,11 @@ extern void ethertype(guint16 etype, tvbuff_t *tvb, int offset_after_ethertype,
*/
extern void dissector_dump_decodes(void);
+/*
+ * post dissectors are to be called by packet-frame.c after every other
+ * dissector has been called.
+ */
+extern void register_postdissector(dissector_handle_t);
+extern void call_all_postdissectors(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
+
#endif /* packet.h */