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.
This commit is contained in:
Tobias Brunner
2013-06-11 11:18:19 +02:00
parent facc781500
commit 49d7a98f47
3 changed files with 501 additions and 259 deletions
@@ -1364,6 +1364,7 @@ static void list_plugins(FILE *out)
free(str);
}
}
list->destroy(list);
}
enumerator->destroy(enumerator);
}