Lines Matching defs:cmds
33 #include "cli/cli-cmds.h"
1013 copy_command_lines (struct command_line *cmds)
1017 if (cmds)
1021 result->next = copy_command_lines (cmds->next);
1022 result->line = xstrdup (cmds->line);
1023 result->control_type = cmds->control_type;
1024 result->body_count = cmds->body_count;
1025 if (cmds->body_count > 0)
1030 xmalloc (sizeof (struct command_line *) * cmds->body_count);
1032 for (i = 0; i < cmds->body_count; i++)
1033 result->body_list[i] = copy_command_lines (cmds->body_list[i]);
1076 struct command_line *cmds;
1147 cmds = read_command_lines (tmpbuf, from_tty);
1155 newc->user_commands = cmds;