From 20125eb2f12876740befb7d8a14b46710e88ab6f Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Fri, 11 Mar 2016 09:37:03 +0100 Subject: Load experimental icalendar plugin to make it execute Signed-off-by: Olliver Schinagl --- src/lib/engagement.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/lib/engagement.c b/src/lib/engagement.c index 1ebb659..6240dbf 100644 --- a/src/lib/engagement.c +++ b/src/lib/engagement.c @@ -9,6 +9,7 @@ # include "config.h" #endif +#include #include #include "engagement.h" @@ -66,5 +67,14 @@ EAPI int engagement_shutdown(void) EAPI void engagement_library_call(void) { - INF("Not really doing anything useful."); + struct plugin *plugin; + + INF("Not really doing anything useful."); + /* XXX just added these functions to test the libray stuff */ + plugin = plugin_load("src/plugins/.libs/libcalendar_ical.so"); + if (!plugin) { + fprintf(stderr, "Unable to load plugin\n"); + return; + } + plugin_unload(plugin); } -- cgit v0.12