From 5a8783f5b12e017967ce178bac3d1826630dea1a Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Mon, 10 Sep 2012 21:40:21 +0000 Subject: 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 --- epan/dissectors/packet-dplay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'epan/dissectors/packet-dplay.c') diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c index bb4b825662..07e7c55d59 100644 --- a/epan/dissectors/packet-dplay.c +++ b/epan/dissectors/packet-dplay.c @@ -35,7 +35,6 @@ #include /* function declarations */ -static gboolean heur_dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); static void dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); static gint dissect_type1a_message(proto_tree *tree, tvbuff_t *tvb, gint offset); @@ -1154,7 +1153,7 @@ static void dissect_dplay_player_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tr } } -static gboolean heur_dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) +static gboolean heur_dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { guint8 signature[] = {'p','l','a','y'}; guint32 dplay_id, token; -- cgit v1.2.3