diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-08-11 14:08:08 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-08-11 12:09:07 +0000 |
commit | ecc4f756bdb6175cc0b3b11af2f90884db1c602c (patch) | |
tree | 99d8ca48a72752e1257d4b8b321f41d1767ee020 /epan/expert.h | |
parent | 70d06deb2e31bd605e672200a7755764febe94ae (diff) |
Added Reload Lua plugins.
This is initial support for reloading Lua plugins without
restarting the application.
Still todo:
- Deregister FileHandlers
- Support deregister ProtoField with existing abbrev (same_name_hfinfo)
- Add a progress dialog when reloading many plugins
- Search for memory leakages in wslua functions
Change-Id: I48870d8741251705ca15ffe1068613fcb0cb18c1
Reviewed-on: https://code.wireshark.org/review/5028
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/expert.h')
-rw-r--r-- | epan/expert.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/expert.h b/epan/expert.h index dc994ba4fc..e1d9ff9106 100644 --- a/epan/expert.h +++ b/epan/expert.h @@ -171,6 +171,11 @@ proto_tree_add_expert_format(proto_tree *tree, packet_info *pinfo, expert_field */ WS_DLL_PUBLIC expert_module_t *expert_register_protocol(int id); +/** + * Deregister expert info from a protocol. + */ +WS_DLL_PUBLIC void expert_deregister_protocol (expert_module_t *module); + /** Register a expert field array. @param module the protocol handle from expert_register_protocol() @param ei the ei_register_info array |