Home | History | Annotate | Download | only in chio

Lines Matching defs:commands

90 /* Valid commands. */
91 const struct changer_command commands[] = {
175 for (i = 0; commands[i].cc_name != NULL; ++i)
176 if (strcmp(*argv, commands[i].cc_name) == 0)
178 if (commands[i].cc_name == NULL)
184 exit((*commands[i].cc_handler)(commands[i].cc_name, argc, argv));
721 * We have 3 sub-commands: "load", "unload", and "abort". The
852 for (i = 0; commands[i].cc_name != NULL; i++)
853 (void)fprintf(stderr, "\t%s%s\n", commands[i].cc_name,
854 commands[i].cc_args);