Refactored plugin-loader with improved dependency resolution
authorTobias Brunner <tobias@strongswan.org>
Sat, 8 Jun 2013 13:46:33 +0000 (15:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Jun 2013 09:18:19 +0000 (11:18 +0200)
commit49d7a98f471a449e45b77f2af3f7889c348781a0
tree3a6bfe71c28d30440f99d8750ad4dbccf7054219
parentfacc7815004db80cb8fb386f100ab6076f24fda0
Refactored plugin-loader with improved dependency resolution

With the new implementation the plugins don't have to be listed in any
special order, dependencies are properly resolved.  The order only
matters if two plugins provide the same feature.
src/libcharon/plugins/stroke/stroke_list.c
src/libstrongswan/plugins/plugin_loader.c
src/libstrongswan/plugins/plugin_loader.h