diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-05-21 16:40:15 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-05-21 16:40:15 +0000 |
commit | ad761ed3fdc3ab30dbed6f5676c8ffcdc0b7eb2b (patch) | |
tree | b5169cbf476e5b32f55e429495c10ca6af75f5c7 /epan | |
parent | 5a43cd63588c88eaa0ca26217714d74a6422d4d6 (diff) | |
download | wireshark-ad761ed3fdc3ab30dbed6f5676c8ffcdc0b7eb2b.tar.gz |
Add missing have_postdissector(); (Hopefully what was intended).
svn path=/trunk/; revision=25342
Diffstat (limited to 'epan')
-rw-r--r-- | epan/packet.c | 5 | ||||
-rw-r--r-- | epan/packet.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c index 07f201a2c8..c2db651a76 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -1865,6 +1865,11 @@ void register_postdissector(dissector_handle_t handle) { num_of_postdissectors++; } +boolean +have_postdissector() { + return (num_of_postdissectors > 0); +} + extern void call_all_postdissectors(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint i; for(i=0;i<num_of_postdissectors;i++) { diff --git a/epan/packet.h b/epan/packet.h index 0ccb278576..ae15b7254d 100644 --- a/epan/packet.h +++ b/epan/packet.h @@ -405,6 +405,7 @@ extern void dissector_dump_decodes(void); * dissector has been called. */ extern void register_postdissector(dissector_handle_t); +extern boolean have_postdissector(); extern void call_all_postdissectors(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); #ifdef __cplusplus |