summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-03 23:36:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-03 23:36:47 (GMT)
commit55ccf25e0c6666436f0ecd222e60208ebf6ab30e (patch)
tree21c1ecc9e6d6ae50d0cfb0ffa4eaf61bf78a45a2 /src/core
parent28bfc34862513acb8fe9fcd02afca493c2411c02 (diff)
Defined a dynamic type for each plugin.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c
index cdcfce5..aabff62 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -44,6 +44,7 @@
#include "../common/io.h"
#include "../common/xdg.h"
#include "../glibext/linesegment.h"
+#include "../plugins/dt.h"
@@ -87,6 +88,8 @@ bool load_all_basic_components(void)
SSL_load_error_strings();
SSL_library_init();
+ result &= init_chrysalide_dynamic_types();
+
result &= load_main_config_parameters();
result &= ensure_user_has_rsa_keys();
@@ -142,6 +145,8 @@ void unload_all_basic_components(void)
unload_main_config_parameters();
+ exit_chrysalide_dynamic_types();
+
ERR_free_strings();
}