|
static void | init_commands (struct st_shell_command *const *coms) |
|
void | init_shell (struct st_shell *shell, struct st_shell_command *const *coms, const uchar *prompt) |
| シェルを初期化する [詳解]
|
|
void | print_prompt (struct st_shell *shell) |
| プロンプトを表示する [詳解]
|
|
void | dispose_shell_line (struct st_shell *shell) |
| 編集中のコマンドラインを破棄する [詳解]
|
|
static int | token_str (struct st_shell *shell, uchar *str, int nullterm) |
|
struct st_shell_command * | search_command (struct st_shell_command *const *coms, uchar *argv[], int *arg_top) |
|
int | exec_shell_command (struct st_shell *shell, uchar *str) |
| str文字列のコマンドを実行する [詳解]
|
|
void | print_command_usage (const struct st_shell_command *command) |
|
static int | strcomps (const uchar *s1, const uchar *s2) |
|
static unsigned int | str_match_len (uchar *s1, uchar *s2) |
|
static int | match_command (struct st_shell_command *const *coms, struct st_shell *shell, int arg, uchar **comstr, unsigned int *len, int disp) |
|
static void | complement_command (struct st_shell *shell) |
|
int | task_shell (struct st_shell *shell, uchar ch) |
| 文字列編集タスク [詳解]
|
|
int | escaped_str (uchar *dstr, uchar *sstr) |
| 文字列をshellで処理可能なようにエスケープシーケンスを追加する [詳解]
|
|