aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/library.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-09-13 14:22:08 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-13 15:44:46 +0200
commit4c57c6306235e566f1738cfb7edf582e824b31c6 (patch)
tree747a380203ea558d44804203453e6c4ff1828aea /src/libstrongswan/library.h
parent995875210acb70ba2b12c9368ce892325abb64f2 (diff)
downloadstrongswan-4c57c6306235e566f1738cfb7edf582e824b31c6.tar.bz2
strongswan-4c57c6306235e566f1738cfb7edf582e824b31c6.tar.xz
Added possibility to register custom proposal keywords
Keyword lookup and registration are handled via the new lib->proposal object.
Diffstat (limited to 'src/libstrongswan/library.h')
-rw-r--r--src/libstrongswan/library.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstrongswan/library.h b/src/libstrongswan/library.h
index 634128fe9..b79bd91be 100644
--- a/src/libstrongswan/library.h
+++ b/src/libstrongswan/library.h
@@ -82,6 +82,7 @@
#include "processing/processor.h"
#include "processing/scheduler.h"
#include "crypto/crypto_factory.h"
+#include "crypto/proposal/proposal_keywords.h"
#include "fetcher/fetcher_manager.h"
#include "database/database_factory.h"
#include "credentials/credential_factory.h"
@@ -120,6 +121,11 @@ struct library_t {
printf_hook_t *printf_hook;
/**
+ * Proposal keywords registry
+ */
+ proposal_keywords_t *proposal;
+
+ /**
* crypto algorithm registry and factory
*/
crypto_factory_t *crypto;