27 #ifndef __APPS_INCLUDE_SHELL_TASH_H 28 #define __APPS_INCLUDE_SHELL_TASH_H 30 #include <tinyara/config.h> 38 #define TASH_EXECMD_SYNC (0) 39 #define TASH_EXECMD_ASYNC (1) 45 typedef int (*TASH_CMD_CALLBACK)(
int argc,
char **args);
52 struct tash_cmdlist_s {
54 const TASH_CMD_CALLBACK entry;
57 typedef struct tash_cmdlist_s tash_cmdlist_t;
69 int tash_cmd_install(
const char *str, TASH_CMD_CALLBACK cb,
int thread_exec);
78 void tash_cmdlist_install(
const tash_cmdlist_t list[]);
90 #if defined(CONFIG_TASH_COMMAND_INTERFACE) 97 int tash_get_cmdscount(
void);
114 int tash_get_cmdpair(
char *str, TASH_CMD_CALLBACK *cb,
int index);