diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-02-03 23:10:40 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-02-05 05:35:02 +0000 |
commit | cc679ca5ce9af9fb0dc9afe360d12654f6b4027a (patch) | |
tree | e68fdf9627cfbfbb4a827721d7a2db0d1f2cf421 /epan/column-utils.h | |
parent | 4c144c5d8c4c3f289a8b89a19bb9843cf9584d0e (diff) |
Qt: Add check for field extractors
The proto tree is needed in several cases when using Lua field extractors,
because they fetch values from the tree. Without a valid field extractor
a Lua plugin may misbehave and display wrong column info.
This fixes column issues when:
- Calling resetColumns() in Qt. This involves adding a display filter,
change time display format, change name resolution and other changes
in UI which requires column updates.
- Print summary lines.
- Export as CSV and PSML.
Change-Id: Ieed6f8578cdf2759f1f836cd8413a4529b7bbd80
Reviewed-on: https://code.wireshark.org/review/13708
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/column-utils.h')
-rw-r--r-- | epan/column-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/column-utils.h b/epan/column-utils.h index 9e2bf3cbc2..c51397a008 100644 --- a/epan/column-utils.h +++ b/epan/column-utils.h @@ -241,6 +241,11 @@ void col_custom_prime_edt(struct epan_dissect *edt, column_info *cinfo); /** For internal Wireshark use only. Not to be called from dissectors. */ WS_DLL_PUBLIC gboolean have_custom_cols(column_info *cinfo); + +/** For internal Wireshark use only. Not to be called from dissectors. */ +WS_DLL_PUBLIC +gboolean have_field_extractors(void); + /** For internal Wireshark use only. Not to be called from dissectors. */ WS_DLL_PUBLIC gboolean col_has_time_fmt(column_info *cinfo, const gint col); |