diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-21 16:40:15 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-05-21 16:40:15 +0000 |
commit | 9312b4db34ae550c8ec37b3060e446e036527c6f (patch) | |
tree | b5169cbf476e5b32f55e429495c10ca6af75f5c7 /epan/packet.c | |
parent | 3696addcc10011ddaf591f600dc66c3be1ef0a6b (diff) |
Add missing have_postdissector(); (Hopefully what was intended).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25342 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/packet.c')
-rw-r--r-- | epan/packet.c | 5 |
1 files changed, 5 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++) { |