co_cmd_t Struct Reference

a struct containing all the relevant information for a specific command More...

#include <cmd.h>

Public Attributes

co_obj_t _header
 
uint8_t _exttype
 
uint8_t _len
 
co_cb_t exec
 
co_obj_tname
 
co_obj_tusage
 
co_obj_tdesc
 
co_obj_thooks
 

Detailed Description

a struct containing all the relevant information for a specific command

Member Data Documentation

co_obj_t* co_cmd_t::desc

description

Referenced by co_cmd_desc().

co_cb_t co_cmd_t::exec

pointer to the command's function

Referenced by co_cmd_exec().

co_obj_t* co_cmd_t::name

command name

co_obj_t* co_cmd_t::usage

usage syntax

Referenced by co_cmd_usage().


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