![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Classes | |
| struct | Request |
| One invocation: the argument vector, plus what a pipe would have carried. More... | |
| struct | Response |
| What one invocation produced. More... | |
Functions | |
| Response | run (const Request &req) |
| Run one invocation and return what it produced. | |
| int | main_body (int argc, char **argv) |
| The binary's main, so line_cli_main.cpp stays ten lines. | |
| int line::cli::main_body | ( | int | argc, |
| char ** | argv ) |
The binary's main, so line_cli_main.cpp stays ten lines.
Definition at line 12220 of file line_cli.cpp.
References dispatch(), and main_body().
Referenced by main(), and main_body().
Run one invocation and return what it produced.
Throws nothing: every failure the binary would report on fd 2 and an exit status arrives here as error, error_id and exit_code.
Definition at line 12163 of file line_cli.cpp.
References line::cli::Request::allow_server, line::cli::Request::argv, line::cli::Request::capture_stderr, line::cli::Request::capture_stdout, line::cli::Request::collect_json, line::cli::Response::diagnostics, dispatch(), line::cli::Response::documents, line::cli::Response::error, line::cli::Response::error_id, line::io::error_id(), line::cli::Response::exit_code, line::cli::Request::has_stdin, line::cli::Request::interrupt, line::cli::Request::interrupt_user, run(), line::cli::Request::stdin_text, FdCapture::take(), and line::cli::Response::text.
Referenced by run().