5 static void display_node (const struct TreeNode *tn, int depth)
8 const struct TreeNode *s;
11 for (i = 0; i < depth; i++)
18 for (s = tn->sub; s->name != NULL; s++)
19 display_node(s, depth + 1);
23 bool do_tree (int nb UNUSED, const char **com UNUSED, struct ngadmin *nga UNUSED)
25 display_node(&coms, 0);