Lines Matching refs:cmdstr
101 static char* next_command (char** cmdstr)
106 if (!cmdstr || !(*cmdstr))
109 p = strchr_m(*cmdstr, ';');
112 pstrcpy(command, *cmdstr);
114 *cmdstr = p + 1;
116 *cmdstr = NULL;
654 static char *cmdstr = NULL;
668 {"command", 'c', POPT_ARG_STRING, &cmdstr, 'c', "Execute semicolon separated cmds", "COMMANDS"},
772 if (cmdstr && cmdstr[0]) {
774 char *p = cmdstr;