Lines Matching defs:cmd
53 const char **cmd;
61 * count reflects the number of commands cmd holds. Memory must
65 const char * const *cmd;
76 for (cmd = request->command_names;
77 cmd != NULL && *cmd != NULL; cmd++) {
78 if (commands->cmd != NULL)
79 commands->cmd[commands->count] = *cmd;
116 if (strncmp(commands->cmd[i], line + ws, len) == 0) {
118 word_end, commands->cmd[i] + len, "", " ");
169 commands.cmd = NULL;
175 commands.cmd = malloc(sizeof (char *) * commands.count);
176 if (commands.cmd == NULL) {
182 /* Fill-in commands.cmd */
188 free(commands.cmd);
303 free(commands.cmd);