|
Barrelfish
|
Non-blocking I/O API for terminal client library. More...
Functions | |
| errval_t | term_client_change_read_waitset (struct term_client *client, struct waitset *read_ws) |
| Change the waitset used for incoming characters. More... | |
| errval_t | term_client_change_write_waitset (struct term_client *client, struct waitset *write_ws) |
| Change the waitset used for outgoing characters. More... | |
| errval_t | term_client_change_config_waitset (struct term_client *client, struct waitset *conf_ws) |
| Change the waitset used for configuration messages. More... | |
| errval_t | term_client_write (struct term_client *client, const char *data, size_t length, struct event_closure cont) |
| Non-blocking write to a terminal. More... | |
| errval_t | term_client_config (struct term_client *client, terminal_config_option_t opt, char *arg, struct event_closure cont) |
| Send a configuration command to the terminal server. More... | |
| void | term_client_set_err_handler (struct term_client *client, term_async_err_handler_fn err_cb) |
| Set an error handler, called when an asynchronous error occurs. More... | |
| void | term_client_set_chars_handler (struct term_client *client, term_characters_handler_fn *chars_cb) |
| Set handler that is called when new characters arrive. More... | |
Non-blocking I/O API for terminal client library.
| errval_t term_client_change_config_waitset | ( | struct term_client * | client, |
| struct waitset * | conf_ws | ||
| ) |
Change the waitset used for configuration messages.
| client | Terminal client state. |
| conf_ws | New waitset to use. |
| errval_t term_client_change_read_waitset | ( | struct term_client * | client, |
| struct waitset * | read_ws | ||
| ) |
Change the waitset used for incoming characters.
| client | Terminal client state. |
| read_ws | New waitset to use. |
| errval_t term_client_change_write_waitset | ( | struct term_client * | client, |
| struct waitset * | write_ws | ||
| ) |
Change the waitset used for outgoing characters.
| client | Terminal client state. |
| write_ws | New waitset to use. |
| errval_t term_client_config | ( | struct term_client * | client, |
| terminal_config_option_t | opt, | ||
| char * | arg, | ||
| struct event_closure | cont | ||
| ) |
Send a configuration command to the terminal server.
| client | Terminal client state. |
| opt | Configuration option. |
| arg | Optional argument. |
| cont | Continuation invoked once the configuration message is sent. |
| void term_client_set_chars_handler | ( | struct term_client * | client, |
| term_characters_handler_fn * | chars_cb | ||
| ) |
Set handler that is called when new characters arrive.
| client | Terminal client state. |
| chars_cb | Characters handler. |
| void term_client_set_err_handler | ( | struct term_client * | client, |
| term_async_err_handler_fn | err_cb | ||
| ) |
Set an error handler, called when an asynchronous error occurs.
| client | Terminal client state. |
| err_cb | Error handler. |
| errval_t term_client_write | ( | struct term_client * | client, |
| const char * | data, | ||
| size_t | length, | ||
| struct event_closure | cont | ||
| ) |
Non-blocking write to a terminal.
| client | Terminal client state. |
| data | Buffer holding characters to write. |
| length | The number of characters to write. |
| cont | Continuation invoked once the write completes. |
1.8.11