Added manager for DNS resolvers
[strongswan.git] / src / libstrongswan / library.c
index 30a7774..819c680 100644 (file)
@@ -91,6 +91,7 @@ void library_deinit()
        this->public.crypto->destroy(this->public.crypto);
        this->public.proposal->destroy(this->public.proposal);
        this->public.fetcher->destroy(this->public.fetcher);
+       this->public.resolver->destroy(this->public.resolver);
        this->public.db->destroy(this->public.db);
        this->public.printf_hook->destroy(this->public.printf_hook);
        this->objects->destroy(this->objects);
@@ -214,6 +215,7 @@ bool library_init(char *settings)
        this->public.credmgr = credential_manager_create();
        this->public.encoding = cred_encoding_create();
        this->public.fetcher = fetcher_manager_create();
+       this->public.resolver = resolver_manager_create();
        this->public.db = database_factory_create();
        this->public.processor = processor_create();
        this->public.scheduler = scheduler_create();