Added possibility to register custom proposal keywords

Keyword lookup and registration are handled via the new lib->proposal object.
This commit is contained in:
Tobias Brunner
2012-09-13 15:44:46 +02:00
parent 995875210a
commit 4c57c63062
9 changed files with 187 additions and 21 deletions
+6
View File
@@ -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"
@@ -119,6 +120,11 @@ struct library_t {
*/
printf_hook_t *printf_hook;
/**
* Proposal keywords registry
*/
proposal_keywords_t *proposal;
/**
* crypto algorithm registry and factory
*/