wireshark/plugins/mate
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
..
examples Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
matelib Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
AUTHORS
CMakeLists.txt cmake: make WERROR_COMMON_FLAGS a normal string 2016-09-30 20:08:02 +00:00
COPYING
Makefile.am Remove Makefile.common files 2016-06-30 11:04:17 +00:00
mate.h Clean up handling of enabled/disabled protocols/heuristic dissectors. 2017-04-08 20:40:08 +00:00
mate_grammar.lemon Lemon grammar: fix indent (use tabs) 2015-08-27 04:35:23 +00:00
mate_parser.l Include config.h at the very beginning of all Flex scanners. 2016-12-02 21:02:10 +00:00
mate_runtime.c mate: fix Match edge cases, improve documentation 2016-09-23 05:59:26 +00:00
mate_setup.c plugins: Add editor modelines; Adjust whitespace as needed. 2014-10-06 01:42:32 +00:00
mate_util.c mate: fix Match edge cases, improve documentation 2016-09-23 05:59:26 +00:00
mate_util.h mate: fix Match edge cases, improve documentation 2016-09-23 05:59:26 +00:00
moduleinfo.h
packet-mate.c Don't claim packet as MATE if there is no MATE configuration 2016-12-26 15:51:51 +00:00
plugin.rc.in Fix CMake generation and use of Windows .rc files 2015-01-11 20:22:32 +00:00