Lines Matching refs:BShellHandle

22 char *BShellEnvErrString(BShellHandle handle, int32_t err)
48 static void BShellCmdOutputCmdHelp(BShellHandle handle, BShellCommand *cmd)
62 int32_t BShellCmdHelp(BShellHandle handle, int32_t argc, char *argv[])
90 static int32_t BShellCmdExit(BShellHandle handle, int32_t argc, char *argv[])
98 int32_t BShellEnvOutput(BShellHandle handle, char *fmt, ...)
109 int32_t BShellEnvOutputString(BShellHandle handle, const char *string)
117 int32_t BShellEnvOutputPrompt(BShellHandle handle, const char *prompt)
140 void BShellEnvOutputByte(BShellHandle handle, char data)
147 void BShellEnvOutputResult(BShellHandle handle, int32_t result)
156 static void BShellEnvOutputParam(BShellHandle handle, char *var)
163 void BShellEnvBackspace(BShellHandle handle, uint32_t length)
198 return cmd->executer((BShellHandle)shell, shell->argc - cmd->argStart, &shell->args[cmd->argStart]);
201 static int32_t BShellEnvHandleEnter(BShellHandle handle, uint8_t data)
243 static int32_t BShellEnvHandleBackspace(BShellHandle handle, uint8_t code)
274 static int32_t BShellEnvHandleTab(BShellHandle handle, uint8_t code)
280 static void BShellEnvHandleNormal(BShellHandle handle, uint8_t data)
313 static int32_t BShellEnvHandleCtrC(BShellHandle handle, uint8_t code)
323 static int32_t BShellEnvHandleEsc(BShellHandle handle, uint8_t code)
350 SHELLSTATIC void BShellEnvProcessInput(BShellHandle handle, char data)
397 void BShellEnvLoop(BShellHandle handle)
410 int32_t BShellEnvInit(BShellHandle *handle, const BShellInfo *info)
427 *handle = (BShellHandle)shell;
431 int BShellEnvStart(BShellHandle handle)
477 void BShellEnvDestory(BShellHandle handle)
508 int32_t BShellEnvRegisterCmd(BShellHandle handle, const CmdInfo *cmdInfo)
573 BShellCommand *BShellEnvGetCmd(BShellHandle handle, int32_t argc, char *argv[])
615 int32_t BShellEnvRegisterKeyHandle(BShellHandle handle, uint8_t code, BShellkeyHandle keyHandle)
630 BShellKey *BShellEnvGetKey(BShellHandle handle, uint8_t code)
662 int32_t BShellEnvSetParam(BShellHandle handle, const char *name, const char *desc, BShellParamType type, void *value)
699 const BShellParam *BShellEnvGetParam(BShellHandle handle, const char *name)
713 const char *BShellEnvGetStringParam(BShellHandle handle, const char *name)
729 const ParamInfo *BShellEnvGetReservedParam(BShellHandle handle, const char *name)
743 int32_t BShellEnvDirectExecute(BShellHandle handle, int argc, char *args[])