URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=281055af9ccdd701ba18accb39f3d25ab77168df
Submitter: Hadriel Kaplan (hadrielk@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
281055a by Hadriel Kaplan (hadrielk@xxxxxxxxx):
Lua: add functions for more field information
Add Lua functions so a plugin can introspect field information, such
as the type of field, flags, tvb, etc. Also add a couple of Tvb and
ByteArray methods. And cleanup the TreeItem code a little.
Change-Id: I7b58ce589ace91cce14b8abccd01ceabb63e2653
Reviewed-on: https://code.wireshark.org/review/6500
Petri-Dish: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Tested-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Actions performed:
from 7b85f62 service_response_time_dialog/response_time_delay_dialog(.h): fix '@return' command used in a comment that is attached to a function returning void [-Wdocumentation]
adds 281055a Lua: add functions for more field information
Summary of changes:
epan/wslua/init_wslua.c | 12 +--
epan/wslua/lrexlib.h | 6 +-
epan/wslua/lrexlib_glib.c | 3 -
epan/wslua/wslua.h | 9 +-
epan/wslua/wslua_field.c | 197 +++++++++++++++++++++++++++++++++++++++----
epan/wslua/wslua_proto.c | 35 ++++----
epan/wslua/wslua_tree.c | 203 +++++++++++++++++++++++++++++++++++++++++----
epan/wslua/wslua_tvb.c | 108 ++++++++++++++++++++++--
test/lua/field.lua | 34 ++++++++
9 files changed, 532 insertions(+), 75 deletions(-)