plugins: only dlopen() each plugin once. dlcose() in destructor

This commit is contained in:
Daniel Eklöf 2019-01-12 19:38:06 +01:00
parent 64b77a0efc
commit 962252467f
5 changed files with 95 additions and 96 deletions

5
plugin.h Normal file
View file

@ -0,0 +1,5 @@
#pragma once
#include "module.h"
const struct module_info *plugin_load_module(const char *name);