diff options
Diffstat (limited to 'src/vlib/unix/plugin.h')
-rw-r--r-- | src/vlib/unix/plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vlib/unix/plugin.h b/src/vlib/unix/plugin.h index 2a238279401..30039c54d65 100644 --- a/src/vlib/unix/plugin.h +++ b/src/vlib/unix/plugin.h @@ -61,6 +61,7 @@ typedef CLIB_PACKED(struct { u8 default_disabled; const char version[32]; const char version_required[32]; + const char overrides[256]; const char *early_init; const char *description; }) vlib_plugin_registration_t; @@ -91,6 +92,7 @@ typedef struct /* loaded plugin info */ plugin_info_t *plugin_info; uword *plugin_by_name_hash; + uword *plugin_overrides_by_name_hash; /* paths and name filters */ u8 *plugin_path; @@ -103,6 +105,9 @@ typedef struct plugin_config_t *configs; uword *config_index_by_name; + /* Plugin log, avoid filling syslog w/ junk */ + vlib_log_class_t logger; + /* usual */ vlib_main_t *vlib_main; } plugin_main_t; |