/* make sure the cache is clear before unloading plugins */
lib->credmgr->flush_cache(lib->credmgr, CERT_ANY);
+ this->public.streams->destroy(this->public.streams);
this->public.watcher->destroy(this->public.watcher);
this->public.scheduler->destroy(this->public.scheduler);
this->public.processor->destroy(this->public.processor);
this->public.processor = processor_create();
this->public.scheduler = scheduler_create();
this->public.watcher = watcher_create();
+ this->public.streams = stream_manager_create();
this->public.plugins = plugin_loader_create();
if (!check_memwipe())
* @defgroup networking networking
* @ingroup libstrongswan
*
+ * @defgroup streams streams
+ * @ingroup networking
+ *
* @defgroup plugins plugins
* @ingroup libstrongswan
*
#include "utils/printf_hook.h"
#include "utils/utils.h"
#include "networking/host_resolver.h"
+#include "networking/streams/stream_manager.h"
#include "processing/processor.h"
#include "processing/scheduler.h"
#include "processing/watcher.h"
*/
watcher_t *watcher;
+ /**
+ * Streams and Services
+ */
+ stream_manager_t *streams;
+
/**
* resolve hosts by DNS name
*/
* for more details.
*/
-#include "stream.h"
-
+#include <library.h>
#include <errno.h>
#include <unistd.h>
typedef struct stream_manager_t stream_manager_t;
-#include <networking/streams/stream.h>
#include <networking/streams/stream_service.h>
/**
* for more details.
*/
-#include "stream_service.h"
-
+#include <library.h>
#include <threading/thread.h>
#include <processing/jobs/callback_job.h>