Home | History | Annotate | Download | only in openssh

Lines Matching full:cmds

180 static const struct CMD cmds[] = {
1262 for (i = 0; cmds[i].c != NULL; i++) {
1263 if (argv[0] != NULL && strcasecmp(cmds[i].c, argv[0]) == 0)
1266 cmdnum = cmds[i].n;
1267 cmd = cmds[i].c;
1762 list = xcalloc((sizeof(cmds) / sizeof(*cmds)) + 1, sizeof(char *));
1766 for (y = 0; cmds[y].c; y++)
1767 list[count++] = xstrdup(cmds[y].c);
1780 for (y = 0; cmds[y].c; y++) {
1781 if (!strncasecmp(cmd, cmds[y].c, cmdlen))
1782 list[count++] = xstrdup(cmds[y].c);
1836 for (i = 0; cmds[i].c; i++) {
1837 if (!strncasecmp(cmd, cmds[i].c, strlen(cmds[i].c)))
1838 return cmds[i].t;