diff options
Diffstat (limited to 'src/libstrongswan/plugins/plugin.h')
-rw-r--r-- | src/libstrongswan/plugins/plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/plugin.h b/src/libstrongswan/plugins/plugin.h index 6d8a370fb..7491160cb 100644 --- a/src/libstrongswan/plugins/plugin.h +++ b/src/libstrongswan/plugins/plugin.h @@ -29,6 +29,13 @@ typedef struct plugin_t plugin_t; struct plugin_t { /** + * Get the name of the plugin. + * + * @return plugin name + */ + char* (*get_name)(plugin_t *this); + + /** * Destroy a plugin instance. */ void (*destroy)(plugin_t *this); |