|
PebbleOS
|
Backend operations. More...
#include <backend.h>
Data Fields | |
| void(* | write )(const struct pbl_shell *sh, const char *data, size_t len) |
| Writes output. | |
| void(* | done )(const struct pbl_shell *sh, int ret) |
| Optional. | |
Backend operations.
| void(* pbl_shell_backend_api::done) (const struct pbl_shell *sh, int ret) |
Optional.
A submitted command finished with ret.
| void(* pbl_shell_backend_api::write) (const struct pbl_shell *sh, const char *data, size_t len) |
Writes output.
Runs on the thread printing, usually KernelBG.