aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-12-10 14:10:17 +0100
committerAnders Broman <a.broman58@gmail.com>2015-12-11 05:17:58 +0000
commitea1789f925f49027e6b2864e6cc846b7016dc13b (patch)
tree6e85ad0ec120dbcca96625db53b1b4da202b1e33 /epan/expert.h
parent9c47cb4254e6aa188cd15c1aebe660a6356d91ca (diff)
Qt: Reload Lua expert infos
Support reloading Lua plugins with expert infos. Use the same delayed deregister logic as for fields. Change-Id: I36efa0820050b3a7afed4de7a8b0fa16805e8dfa Reviewed-on: https://code.wireshark.org/review/12498 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/expert.h')
-rw-r--r--epan/expert.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/expert.h b/epan/expert.h
index fabe2f67d3..bf5fcdb1ee 100644
--- a/epan/expert.h
+++ b/epan/expert.h
@@ -172,11 +172,21 @@ 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 a expert info.
+ */
+void expert_deregister_expertinfo (const char *abbrev);
+
+/**
* Deregister expert info from a protocol.
*/
WS_DLL_PUBLIC void expert_deregister_protocol (expert_module_t *module);
/**
+ * Free deregistered expert infos.
+ */
+void expert_free_deregistered_expertinfos (void);
+
+/**
* Get summary text of an expert_info field.
* This is intended for use in expert_add_info_format or proto_tree_add_expert_format
* to get the "base" string to then append additional information