added a facility to hand out fingerprinting/key encoding to the pkcs1/pgp/... plugins

This commit is contained in:
Martin Willi
2009-08-26 11:23:51 +02:00
parent 831520d895
commit d9b24887a4
5 changed files with 429 additions and 0 deletions
+2
View File
@@ -64,6 +64,7 @@ void library_deinit()
this->public.plugins->destroy(this->public.plugins);
this->public.settings->destroy(this->public.settings);
this->public.creds->destroy(this->public.creds);
this->public.encoding->destroy(this->public.encoding);
this->public.crypto->destroy(this->public.crypto);
this->public.fetcher->destroy(this->public.fetcher);
this->public.db->destroy(this->public.db);
@@ -123,6 +124,7 @@ bool library_init(char *settings)
this->public.settings = settings_create(settings);
this->public.crypto = crypto_factory_create();
this->public.creds = credential_factory_create();
this->public.encoding = key_encoding_create();
this->public.fetcher = fetcher_manager_create();
this->public.db = database_factory_create();
this->public.plugins = plugin_loader_create();