diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-06-24 16:48:23 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-26 06:22:46 +0000 |
commit | 4addfc67b4cd35601d5f9c5ce134f23ea145934a (patch) | |
tree | af753108eb5c8f1d600aefded360dd3aa8408b5c /register.h | |
parent | 60cdee9e307c15928a542adc547f27fd752c4837 (diff) | |
download | wireshark-4addfc67b4cd35601d5f9c5ce134f23ea145934a.tar.gz |
Add an RA_INTERFACES register action.
Add RA_INTERFACES between RA_PREFERENCES and RA_CONFIGURATION. Wireshark
was spending a suspiciously long time loading module preferences here.
(Now we just need to find out why that section of the code is slow.)
Change-Id: Iecbe55e8e10c8844bcb151a13e383cb13a3f6eb1
Reviewed-on: https://code.wireshark.org/review/16133
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'register.h')
-rw-r--r-- | register.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/register.h b/register.h index 9e19696574..ece6003090 100644 --- a/register.h +++ b/register.h @@ -32,17 +32,18 @@ extern "C" { #include <glib.h> typedef enum { - RA_NONE, /* for initialization */ + RA_NONE, /* For initialization */ RA_DISSECTORS, /* Initializing dissectors */ RA_LISTENERS, /* Tap listeners */ - RA_REGISTER, /* register */ - RA_PLUGIN_REGISTER, /* plugin register */ - RA_HANDOFF, /* handoff */ - RA_PLUGIN_HANDOFF, /* plugin handoff */ - RA_LUA_PLUGINS, /* lua plugin register */ - RA_LUA_DEREGISTER, /* lua plugin deregister */ - RA_PREFERENCES, /* module preferences */ - RA_CONFIGURATION /* configuration files */ + RA_REGISTER, /* Built-in register */ + RA_PLUGIN_REGISTER, /* Plugin register */ + RA_HANDOFF, /* Built-in handoff */ + RA_PLUGIN_HANDOFF, /* Plugin handoff */ + RA_LUA_PLUGINS, /* Lua plugin register */ + RA_LUA_DEREGISTER, /* Lua plugin deregister */ + RA_PREFERENCES, /* Module preferences */ + RA_INTERFACES, /* Local interfaces */ + RA_CONFIGURATION /* Configuration files */ } register_action_e; typedef void (*register_cb)(register_action_e action, const char *message, gpointer client_data); |