aboutsummaryrefslogtreecommitdiffstats
path: root/epan/Makefile.common
diff options
context:
space:
mode:
authorOlivier Biot <obiot.ethereal@gmail.com>2004-04-30 17:07:21 +0000
committerOlivier Biot <obiot.ethereal@gmail.com>2004-04-30 17:07:21 +0000
commitc4480c0c111462bc1683997e279078e1e641edf0 (patch)
tree75e3d69a1dfc0b040da825c65744545bc44bec3e /epan/Makefile.common
parent77990acc6388adc219bb9575e32988cda7866d44 (diff)
Add a generic media dissector. The dissectors trying to find a suitable
media dissector for a given media type (value of a Content-Type header) must provide the logic to fall-back to this media dissector upon no match. Note that you must set the pinfo->match_string to the media type name, and if the media type is specified with parameters, then those parameters can be added to pinfo->private_data. If there are no parameters, or the parameter decoding is not implemented, you must set pinfo->private_data to NULL. Known TODOs: - Fix the WSP parameter handling so it accompanies any media dissector. Simplest approach is to retrieve the header field label from the WSP Content-Type field and to search for a semicolon in it (or by using the string length of the content type string representation). - Verify that that subdissection always works in the WSP dissector, even when the protocol tree is not being built. - Implement the media dissector in the remaining dissectors that use the media type string table. svn path=/trunk/; revision=10743
Diffstat (limited to 'epan/Makefile.common')
-rw-r--r--epan/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/Makefile.common b/epan/Makefile.common
index bbe7b6345f..fc7eb75616 100644
--- a/epan/Makefile.common
+++ b/epan/Makefile.common
@@ -3,7 +3,7 @@
# a) common to both files and
# b) portable between both files
#
-# $Id: Makefile.common,v 1.19 2004/04/29 22:40:21 sahlberg Exp $
+# $Id: Makefile.common,v 1.20 2004/04/30 17:07:21 obiot Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
@@ -300,6 +300,7 @@ DISSECTOR_SRC = \
../packet-m3ua.c \
../packet-mbtcp.c \
../packet-mdshdr.c \
+ ../packet-media.c \
../packet-mip.c \
../packet-mip6.c \
../packet-mmse.c \