wireshark/plugins
Guy Harris 2d41b15495 Add a "failed" return for tap packet routines.
This allows taps that can fail to report an error and fail; a failed
tap's packet routine won't be called again, so they don't have to keep
track of whether they've failed themselves.

We make the return value from the packet routine an enum.

Don't have a separate type for the per-packet routine for "follow" taps;
they're expected to act like tap packet routines, so just use the type
for tap packet routines.

One tap packet routine returned -1; that's not a valid return value, and
wasn't one before this change (the return value was a boolean), so
presume the intent was "don't redraw".

Another tap routine's early return, without doing any work, returned
TRUE; this is presumably an error (no work done, no need to redraw), so
presumably it should be "don't redraw".

Clean up some white space while we're at it.

Change-Id: Ia7d2b717b2cace4b13c2b886e699aa4d79cc82c8
Reviewed-on: https://code.wireshark.org/review/31283
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-01-01 05:03:42 +00:00
..
codecs/l16_mono l16_mono: fix a typo in CMakeLists.txt 2018-05-04 08:43:54 +00:00
epan Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
wiretap/usbdump Remove autotools build system. 2018-04-18 03:46:17 +00:00
plugin.rc.in plugin.rc.in: Cleanup some unnecessary code 2017-12-17 11:47:07 +00:00