PebbleOS
Loading...
Searching...
No Matches
Data Fields
pbl_shell_backend_api Struct Reference

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.
 

Detailed Description

Backend operations.

Field Documentation

◆ done

void(* pbl_shell_backend_api::done) (const struct pbl_shell *sh, int ret)

Optional.

A submitted command finished with ret.

◆ write

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.


The documentation for this struct was generated from the following file: