Home | History | Annotate | Download | only in openssh

Lines Matching defs:argv

351 parse_getput_flags(const char *cmd, char **argv, int argc, int *pflag,
361 while ((ch = getopt(argc, argv, "PpRr")) != -1) {
381 parse_link_flags(const char *cmd, char **argv, int argc, int *sflag)
390 while ((ch = getopt(argc, argv, "s")) != -1) {
405 parse_ls_flags(char **argv, int argc, int *lflag)
414 while ((ch = getopt(argc, argv, "1Safhlnrt")) != -1) {
458 parse_df_flags(const char *cmd, char **argv, int argc, int *hflag, int *iflag)
467 while ((ch = getopt(argc, argv, "hi")) != -1) {
978 static char *argv[MAXARGS + 1];
1005 argv[argc] = argvs + j;
1043 argv[argc] = argvs + j;
1089 argv[argc] = argvs + j;
1111 return argv;
1119 char *cp2, **argv;
1139 if ((argv = makeargv(cp, &argc, 0, NULL, NULL)) == NULL)
1144 if (strcasecmp(cmds[i].c, argv[0]) == 0)
1166 if ((optidx = parse_getput_flags(cmd, argv, argc,
1175 *path1 = xstrdup(argv[optidx]);
1178 *path2 = xstrdup(argv[optidx + 1]);
1184 if ((optidx = parse_link_flags(cmd, argv, argc, sflag)) == -1)
1193 *path1 = xstrdup(argv[optidx]);
1194 *path2 = xstrdup(argv[optidx + 1]);
1211 *path1 = xstrdup(argv[optidx]);
1217 if ((optidx = parse_df_flags(cmd, argv, argc, hflag,
1224 *path1 = xstrdup(argv[optidx]);
1229 if ((optidx = parse_ls_flags(argv, argc, lflag)) == -1)
1233 *path1 = xstrdup(argv[optidx]);
1250 l = strtol(argv[optidx], &cp2, base);
1251 if (cp2 == argv[optidx] || *cp2 != '\0' ||
1268 *path1 = xstrdup(argv[optidx + 1]);
1801 char **argv, *line, quote;
1815 argv = makeargv(line, &carg, 1, &quote, &terminated);
1823 argv = makeargv(line, &argc, 1, NULL, NULL);
1838 if (complete_cmd_parse(el, argv[0], argc == carg,
1843 int remote = complete_is_remote(argv[0]);
1847 filematch = argv[carg - 1];
2083 main(int argc, char **argv)
2103 __progname = ssh_get_progname(argv[0]);
2115 while ((ch = getopt(argc, argv,
2209 log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1);
2215 userhost = xstrdup(argv[optind]);
2216 file2 = argv[optind+1];