aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-turnchannel.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-10 21:40:21 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-10 21:40:21 +0000
commit5a8783f5b12e017967ce178bac3d1826630dea1a (patch)
tree72bd010e8f647ea2c4fbd0b8ace91952758f595e /epan/dissectors/packet-turnchannel.c
parentf764eabb6725bf82f4f45ae12faa1f54860cf090 (diff)
Initial commit to support yet another method of passing data between dissectors.
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
Diffstat (limited to 'epan/dissectors/packet-turnchannel.c')
-rw-r--r--epan/dissectors/packet-turnchannel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-turnchannel.c b/epan/dissectors/packet-turnchannel.c
index 30ee3946de..24f462d8af 100644
--- a/epan/dissectors/packet-turnchannel.c
+++ b/epan/dissectors/packet-turnchannel.c
@@ -60,7 +60,7 @@ static gint ett_turnchannel = -1;
static int
dissect_turnchannel_message(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree)
+ proto_tree *tree, void *data _U_)
{
guint len;
guint16 channel_id;
@@ -126,7 +126,7 @@ dissect_turnchannel_message(tvbuff_t *tvb, packet_info *pinfo,
static void
dissect_turnchannel_message_no_return(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- dissect_turnchannel_message(tvb, pinfo, tree);
+ dissect_turnchannel_message(tvb, pinfo, tree, NULL);
}
@@ -145,7 +145,7 @@ dissect_turnchannel_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static gboolean
-dissect_turnchannel_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+dissect_turnchannel_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
guint len;
guint16 channel_id;
@@ -168,7 +168,7 @@ dissect_turnchannel_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
return FALSE;
}
- return dissect_turnchannel_message(tvb, pinfo, tree);
+ return dissect_turnchannel_message(tvb, pinfo, tree, NULL);
}
void