diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-01-03 13:48:39 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-01-11 07:43:36 +0000 |
commit | ebdaace0025749dd68a1cef7d0fd83b596861edf (patch) | |
tree | a89e4dadb12d879f9391b8959cf2b46d80457ac5 /epan/funnel.h | |
parent | 515502fd9b76228d5f82ccfae761b4f9e75e7ceb (diff) |
Lua: Added reload_lua_plugins
This makes it possible to trigger reloading Lua plugins from
within a Lua plugin. This can be used when having a plugin to
update local plugins from a external source.
Renamed reload() to reload_packets() to clarify what's reloaded,
and added a alias (marked as obsoleted) from reload().
Change-Id: I4e529992af5f651613950329e73718dbda317d2e
Reviewed-on: https://code.wireshark.org/review/13024
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/funnel.h')
-rw-r--r-- | epan/funnel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/funnel.h b/epan/funnel.h index 1d1c7365d7..04a31b87f1 100644 --- a/epan/funnel.h +++ b/epan/funnel.h @@ -91,7 +91,8 @@ typedef struct _funnel_ops_t { void (*set_filter)(funnel_ops_id_t *ops_id, const char* filter); void (*set_color_filter_slot)(guint8 flit_nr, const gchar* filter); gboolean (*open_file)(funnel_ops_id_t *ops_id, const char* fname, const char* filter, char** error); - void (*reload)(funnel_ops_id_t *ops_id); + void (*reload_packets)(funnel_ops_id_t *ops_id); + void (*reload_lua_plugins)(funnel_ops_id_t *ops_id); void (*apply_filter)(funnel_ops_id_t *ops_id); gboolean (*browser_open_url)(const gchar *url); |