aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/plugin_loader.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-01-19 11:51:51 +0100
committerTobias Brunner <tobias@strongswan.org>2012-01-19 11:51:51 +0100
commitad1aaf4be37e70f29421df1c1a288b0c40756641 (patch)
treea4fbb4d6091bf1a1d82d2f50394240338641afbd /src/libstrongswan/plugins/plugin_loader.h
parent498d172c333c7b47e3151362ce19763f6e3ad679 (diff)
downloadstrongswan-ad1aaf4be37e70f29421df1c1a288b0c40756641.tar.bz2
strongswan-ad1aaf4be37e70f29421df1c1a288b0c40756641.tar.xz
Function added to plugin_loader to get a list of the names of loaded plugins.
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 b3ad7a35f..0f677c2fe 100644
--- a/src/libstrongswan/plugins/plugin_loader.h
+++ b/src/libstrongswan/plugins/plugin_loader.h
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2012 Tobias Brunner
* Copyright (C) 2007 Martin Willi
* Hochschule fuer Technik Rapperswil
*
@@ -68,6 +69,13 @@ struct plugin_loader_t {
enumerator_t* (*create_plugin_enumerator)(plugin_loader_t *this);
/**
+ * Get a simple list the names of all loaded plugins.
+ *
+ * @return list of the names of all loaded plugins (allocated)
+ */
+ char* (*loaded_plugins)(plugin_loader_t *this);
+
+ /**
* Unload loaded plugins, destroy plugin_loader instance.
*/
void (*destroy)(plugin_loader_t *this);