Lines Matching refs:sce_cmd

155     if (score->sce_cmd[0]) {  in get_conns_json()
156 if (strcmp(score->sce_cmd, "idle") == 0) { in get_conns_json()
165 json_append_member(conn, "command", json_mkstring(score->sce_cmd)); in get_conns_json()
182 if (strncmp(score->sce_cmd, "RETR", 5) == 0 || in get_conns_json()
183 strncmp(score->sce_cmd, "READ", 5) == 0 || in get_conns_json()
184 strcmp(score->sce_cmd, "scp download") == 0) { in get_conns_json()
188 if (strncmp(score->sce_cmd, "STOR", 5) == 0 || in get_conns_json()
189 strncmp(score->sce_cmd, "STOU", 5) == 0 || in get_conns_json()
190 strncmp(score->sce_cmd, "APPE", 5) == 0 || in get_conns_json()
191 strncmp(score->sce_cmd, "WRITE", 6) == 0 || in get_conns_json()
192 strcmp(score->sce_cmd, "scp upload") == 0) { in get_conns_json()
542 if (strncmp(score->sce_cmd, "RETR", 5) == 0 || in main()
543 strncmp(score->sce_cmd, "READ", 5) == 0 || in main()
544 strcmp(score->sce_cmd, "scp download") == 0) { in main()
548 if (strncmp(score->sce_cmd, "STOR", 5) == 0 || in main()
549 strncmp(score->sce_cmd, "STOU", 5) == 0 || in main()
550 strncmp(score->sce_cmd, "APPE", 5) == 0 || in main()
551 strncmp(score->sce_cmd, "WRITE", 6) == 0 || in main()
552 strcmp(score->sce_cmd, "scp upload") == 0) { in main()
564 score->sce_cmd, score->sce_cmd_arg); in main()
568 strtime(&score->sce_begin_idle), score->sce_cmd, in main()
574 strtime(&score->sce_begin_idle), score->sce_cmd, in main()
604 if (strncmp(score->sce_cmd, "idle", 5) == 0) { in main()
612 printf("%6s %s", strtime(&score->sce_begin_idle), score->sce_cmd); in main()
624 score->sce_cmd, score->sce_cmd_arg); in main()
629 score->sce_cmd, score->sce_cmd_arg); in main()