| 164 | */ |
| 165 | |
| 166 | static void |
| 167 | do_command(http_t *http, /* I - HTTP connection to server */ |
| 168 | const char *command, /* I - Command string */ |
| 169 | const char *params) /* I - Parameters for command */ |
| 170 | { |
| 171 | if (!compare_strings(command, "status", 4)) |
| 172 | show_status(http, params); |
| 173 | else if (!compare_strings(command, "help", 1) || !strcmp(command, "?")) |
| 174 | show_help(params); |
| 175 | else |
| 176 | _cupsLangPrintf(stdout, |
| 177 | _("%s is not implemented by the CUPS version of lpc."), |
| 178 | command); |
| 179 | } |
| 180 | |
| 181 | |
| 182 | /* |
no test coverage detected