]> git.sur5r.net Git - ngadmin/blobdiff - cli/commands.h
Command functions return int instead of bool
[ngadmin] / cli / commands.h
index 5707dc099ec15390978d303f2b2911ac377baafb..2aeada5d345a1e4b0594d919e5c120ae53f132a3 100644 (file)
@@ -8,7 +8,7 @@
 
 struct TreeNode {
        const char *name;
-       bool (* const comfunc)(int, const char**, struct ngadmin*);
+       int (*comfunc)(int, const char**, struct ngadmin*);
        const struct TreeNode *sub;
 };