diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-03 02:10:31 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-03 02:10:31 +0000 |
commit | db9dd1933d215de3bb6f1ae81e8b40dd54b56262 (patch) | |
tree | a35fa071eda554214fcf891bcdd085b87014d457 /packet-wap.h | |
parent | 6632808ac78479fa2b3e7a6fef95c741aaf2b058 (diff) |
As you set a conversation dissector by supplying a dissector handle
rather than a function pointer, "dissect_wtp_fromudp()" no longer needs
to be global; make it static, register it by name, and have the WSP
dissector get the handle by calling "find_dissector()" rather than by
constructing its own handle for it.
Fix up some attributions.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4306 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-wap.h')
-rw-r--r-- | packet-wap.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/packet-wap.h b/packet-wap.h index 9423b42604..c9eaf3a124 100644 --- a/packet-wap.h +++ b/packet-wap.h @@ -2,10 +2,10 @@ * * Declarations for WAP packet disassembly * - * $Id: packet-wap.h,v 1.5 2001/10/19 21:34:28 guy Exp $ + * $Id: packet-wap.h,v 1.6 2001/12/03 02:10:31 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs <gerald@zing.org> + * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs * * WAP dissector based on original work by Ben Fowler @@ -86,14 +86,6 @@ guint tvb_get_guintvar (tvbuff_t *, guint , guint *); extern const value_string vals_character_sets[]; /* - * WTP-over-UDP dissector; the WSP dissector may need to associate it with - * a conversation if it sees a redirect. - * - * XXX - this is ugly; there needs to be a better way of doing this. - */ -extern void dissect_wtp_fromudp(tvbuff_t *, packet_info *, proto_tree *); - -/* * Misc TODO: * * WMLC Dissector |