shell.h
来自「cryptoboot is set of tools for disk encr」· C头文件 代码 · 共 27 行
H
27 行
#ifndef _SHELL_H_#define _SHELL_H_typedef struct{ char* name; rl_icpfunc_t* func; char* doc; char* args;} Command;extern Command commands[];char* _commandGenerator PARAMS((const char*, int));void initReadline();int findCommand(Command** out_c, char* name);/* Warning: modifies str FIXME: add strdup to prevent it? */intexecuteLine(char* str);voidopenShell();#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?