summaryrefslogtreecommitdiff
path: root/c/test.c
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-09-03 19:38:20 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:14 -0600
commit67d3b5846d84d4a2e5a31d4e268bc9d51495d7e0 (patch)
tree92db2e7852b7ee09e55a68276101566c562a4283 /c/test.c
parent1eacc442394d1f70bbe05dea699c80ca41f26d4c (diff)
the C implementation properly loads the plugins, then creates a dependancy tree
Diffstat (limited to 'c/test.c')
-rw-r--r--c/test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/c/test.c b/c/test.c
index 3a10711..3a9abc9 100644
--- a/c/test.c
+++ b/c/test.c
@@ -1,10 +1,9 @@
#include "plugin.c"
#include "plugin-debug.c"
-int main()
-{
+int main() {
struct plugin_tree *plugins=load_plugins("plugins","plugin.conf");
- print_plugins(plugins->plugins);
+ _plugin_print(plugins);
return 0;
}