Lines Matching defs:error_out
367 const struct chan_opts *opts, char **error_out)
374 *error_out = "Device is already open";
383 parse_chan_pair(NULL, line, n, opts, error_out);
389 *error_out = "Failed to allocate memory";
398 err = parse_chan_pair(new, line, n, opts, error_out);
403 *error_out = "Failed to register device";
405 parse_chan_pair(NULL, line, n, opts, error_out);
422 * @error_out is an error string in the case of failure;
459 const struct chan_opts *opts, char **error_out)
465 *error_out = "Can't configure all devices from mconsole";
471 *error_out = "Couldn't parse device number";
475 *error_out = "Device number out of range";
479 return setup_one_line(lines, n, end, opts, error_out);
483 int size, char **error_out)
491 *error_out = "line_get_config failed to parse device number";
496 *error_out = "device number out of range";
509 n = chan_config_string(line, str, size, error_out);
532 int line_remove(struct line *lines, unsigned int num, int n, char **error_out)
535 *error_out = "Device number out of range";
538 return setup_one_line(lines, n, "none", NULL, error_out);