aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/plugin_loader.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-04-11 19:40:30 +0200
committerMartin Willi <martin@revosec.ch>2011-04-15 10:07:13 +0200
commited49e9a30313a3e9967dc0cbb5a1f05dcf5f930c (patch)
treef5e54b3f4907f75254662d6759ea4346566f4eea /src/libstrongswan/plugins/plugin_loader.h
parentc55818ebb0560798b1b18672731c48b6adc9bf93 (diff)
downloadstrongswan-ed49e9a30313a3e9967dc0cbb5a1f05dcf5f930c.tar.bz2
strongswan-ed49e9a30313a3e9967dc0cbb5a1f05dcf5f930c.tar.xz
Added plugin_loader method to reload plugin configurations
Diffstat (limited to 'src/libstrongswan/plugins/plugin_loader.h')
-rw-r--r--src/libstrongswan/plugins/plugin_loader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.h b/src/libstrongswan/plugins/plugin_loader.h
index 417b6fedb..e03da4543 100644
--- a/src/libstrongswan/plugins/plugin_loader.h
+++ b/src/libstrongswan/plugins/plugin_loader.h
@@ -44,6 +44,14 @@ struct plugin_loader_t {
bool (*load)(plugin_loader_t *this, char *path, char *list);
/**
+ * Reload the configuration of one or multiple plugins.
+ *
+ * @param space separated plugin names to reload, NULL for all
+ * @return number of plugins that did support reloading
+ */
+ u_int (*reload)(plugin_loader_t *this, char *list);
+
+ /**
* Unload all loaded plugins.
*/
void (*unload)(plugin_loader_t *this);