librfn
An ad-hoc utility library
|
Console command descriptor. More...
#include <console.h>
Data Fields | |
const char * | name |
pt_state_t(* | fn )(struct console *c) |
Console command descriptor.
Tip: If you register many commands with the same function pointer you can parameterize them using containerof().
pt_state_t(* fn) (struct console *c) |