]> git.itanic.dy.fi Git - rrdd/commit
Introduce plugin manager
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 19 Nov 2012 15:31:18 +0000 (17:31 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 19 Nov 2012 15:43:55 +0000 (17:43 +0200)
commit11d80cb5b7fc55765fddb94ab3780a4255c79066
tree558a6a41fced9d9d947f7529b111264a8069f998
parent5ec77b0583216ed688802eda14bb7ea9f23e2603
Introduce plugin manager

Plugin manager can load plugins at run time from libraries. It expects
the plugin to contain one symbol, which contains plugin_info structure
defined in plugin.h file. The .init function is executed from within
the structure.

Add -rdynamic compiler flag in order to make the existing symbols
become visible to the dynamically loaded libraries.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Makefile
plugin.h [new file with mode: 0644]
plugin_manager.c [new file with mode: 0644]
plugin_manager.h [new file with mode: 0644]