Lines Matching defs:handle
68 BShellHandle handle = GetShellHandle();
69 if (handle == NULL) {
70 printf("Failed to get shell handle \n");
73 const ParamInfo *param = BShellEnvGetReservedParam(handle, PARAM_REVERESD_NAME_CURR_PARAMETER);
75 BShellEnvSetParam(handle, param->name, param->desc, param->type, (void *)"");
77 int ret = SetParamShellPrompt(handle, args[1]);
82 BShellParamCmdRegister(handle, 1);
84 BShellCmdRegister(handle, 1);
86 BShellEnvStart(handle);
87 BShellEnvLoop(handle);