summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/plugin.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-01-06 14:33:05 +0100
committerDave Barach <openvpp@barachs.net>2017-01-07 17:41:28 +0000
commitf935e336db1282c1ec67cf703db2d3cfaec32915 (patch)
tree43f5e1c2a74afd9997cfac123e8f6dc591142b8b /src/vlib/unix/plugin.h
parentf952692c871b78590fcd6f2d1340a77ce59030a6 (diff)
plugin: add API to get pointer to symbol in different plugin
Change-Id: Ic2fbbd8227d5d0c033e5d7b5f43b859a4889d2f3 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/unix/plugin.h')
-rw-r--r--src/vlib/unix/plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/unix/plugin.h b/src/vlib/unix/plugin.h
index f35c9c5de1e..1c74cdd241b 100644
--- a/src/vlib/unix/plugin.h
+++ b/src/vlib/unix/plugin.h
@@ -61,6 +61,7 @@
typedef struct
{
u8 *name;
+ u8 *filename;
struct stat file_info;
void *handle;
} plugin_info_t;
@@ -86,6 +87,7 @@ extern plugin_main_t vlib_plugin_main;
int vlib_plugin_early_init (vlib_main_t * vm);
int vlib_load_new_plugins (plugin_main_t * pm, int from_early_init);
+void *vlib_get_plugin_symbol (char *plugin_name, char *symbol_name);
#endif /* __included_plugin_h__ */