![]() 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> |
||
---|---|---|
.. | ||
camel.asn | ||
camel.cnf | ||
CamelV2diff.asn | ||
CAP-classes.asn | ||
CAP-datatypes.asn | ||
CAP-errorcodes.asn | ||
CAP-errortypes.asn | ||
CAP-GPRS-ReferenceNumber.asn | ||
CAP-gprsSSF-gsmSCF-ops-args.asn | ||
CAP-gsmSCF-gsmSRF-ops-args.asn | ||
CAP-gsmSSF-gsmSCF-ops-args.asn | ||
CAP-object-identifiers.asn | ||
CAP-operationcodes.asn | ||
CAP-SMS-ops-args.asn | ||
CAP-U-ABORT-Data.asn | ||
CMakeLists.txt | ||
packet-camel-template.c | ||
packet-camel-template.h | ||
TCAPMessages.asn |