wireshark/plugins
Guy Harris 2c44a7f930 Clean up handling of enabled/disabled protocols/heuristic dissectors.
Add a "report a warning message" routine to the "report_err" code in
libwsutil, and rename files and routines appropriately, as they don't
only handle errors any more.

Have a routine read_enabled_and_disabled_protos() that reads all the
files that enable or disable protocols or heuristic dissectors, enables
and disables them based on the contents of those files, and reports
errors itself (as warnings) using the new "report a warning message"
routine.  Fix that error reporting to report separately on the disabled
protocols, enabled protocols, and heuristic dissectors files.

Have a routine to set up the enabled and disabled protocols and
heuristic dissectors from the command-line arguments, so it's done the
same way in all programs.

If we try to enable or disable an unknown heuristic dissector via a
command-line argument, report an error.

Update a bunch of comments.

Update the name of disabled_protos_cleanup(), as it cleans up
information for disabled *and* enabled protocols and for heuristic
dissectors.

Support the command-line flags to enable and disable protocols and
heuristic dissectors in tfshark.

Change-Id: I9b8bd29947cccdf6dc34a0540b5509ef941391df
Reviewed-on: https://code.wireshark.org/review/20966
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-04-08 20:40:08 +00:00
..
docsis Register reassembly tables 2017-01-29 13:29:04 +00:00
easy_codec Remove Makefile.common files 2016-06-30 11:04:17 +00:00
ethercat Dissectors don't need a journey of self discovery. 2016-12-31 07:31:42 +00:00
gryphon Adjust proto_tree_add_uint_format_value calls to use unit string 2016-12-13 22:56:50 +00:00
irda Rename tvb_new_subset() to tvb_new_subset_length_caplen(). 2017-01-10 06:19:37 +00:00
m2m Register reassembly tables 2017-01-29 13:29:04 +00:00
mate Clean up handling of enabled/disabled protocols/heuristic dissectors. 2017-04-08 20:40:08 +00:00
opcua opcua: display abort messages correctly 2017-02-16 17:32:08 +00:00
pluginifdemo pluginIF: Allow en-/disable of elements 2017-03-04 00:56:51 +00:00
profinet Don't use proto_tree_add_uint() to add an FT_BOOLEAN field. 2017-04-01 01:43:03 +00:00
stats_tree uat: add a reset callback. 2017-01-12 12:39:15 +00:00
tpg Combine Decode As and port preferences for tcp.port dissector table. 2016-10-08 02:44:53 +00:00
transum Clean up handling of enabled/disabled protocols/heuristic dissectors. 2017-04-08 20:40:08 +00:00
unistim unistim (plugin): fix this statement may fall through [-Werror=implicit-fallthrough] found by gcc7 2017-03-11 17:36:04 +00:00
wimax Register reassembly tables 2017-01-29 13:29:04 +00:00
wimaxasncp Clean up handling of enabled/disabled protocols/heuristic dissectors. 2017-04-08 20:40:08 +00:00
wimaxmacphy Convert most UDP dissectors to use "auto" preferences. 2016-10-13 02:51:18 +00:00
Custom.m4.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.make.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Build TRANSUM plugin 2016-12-13 08:50:27 +00:00
Makefile.am.inc Remove Makefile.common files 2016-06-30 11:04:17 +00:00