📄 sct.h
字号:
/****************************************************************************** SCT, Serial Communication Tracer ** CopyRight (C) Bruce (ZhaoFei), zhaofei@zflogic.com* http://www.zflogic.com ** All sources in the package are copyrighted under the the terms of GNU GPL****************************************************************************** * This program is free software; you can redistribute it and/or modify* it under the terms of the GNU General Public License as published by* the Free Software Foundation; either version 2 of the License, or* (at your option) any later version.** This program is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the* GNU General Public License for more details.** You should have received a copy of the GNU General Public License* along with this program; if not, write to the Free Software* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA** If you intend to use this pragram commercially on a regular basis you* must contact the author for an appropriate donation.* ***************************************************************************/#ifndef SCT_H#define SCT_H#ifndef SCT_L#define SCT_L extern#endifSCT_L bool load_deflcfg();SCT_L void update_deflcfg();SCT_L void cmd_help(int parc, char *parv[]);//port operationSCT_L void cmd_stat(int parc, char *parv[]);SCT_L void cmd_port(int parc, char *parv[]);SCT_L void cmd_frame(int parc, char *parv[]);SCT_L void cmd_handshake(int parc, char *parv[]);SCT_L void cmd_open(int parc, char *parv[]);SCT_L void cmd_close(int parc, char *parv[]);//term modeSCT_L void cmd_term(int parc, char *parv[]);//echo modeSCT_L void cmd_echo(int parc, char *parv[]);//buffer send/recvSCT_L void cmd_recv(int parc, char *parv[]);SCT_L void cmd_send(int parc, char *parv[]);SCT_L void cmd_sendrecv(int parc, char *parv[]);//file send/recvSCT_L void cmd_sendfile(int parc, char *parv[]);SCT_L void cmd_recvfile(int parc, char *parv[]);//buffer settingSCT_L void init_buf();SCT_L void cmd_setbuf(int parc, char *parv[]);SCT_L void cmd_dispbuf(int parc, char *parv[]);SCT_L void cmd_loadbuf(int parc, char *parv[]);SCT_L void cmd_savebuf(int parc, char *parv[]);SCT_L void cmd_copybuf(int parc, char *parv[]);SCT_L void cmd_clrbuf(int parc, char *parv[]);//directory operationSCT_L void cmd_cd(int parc, char *parv[]);SCT_L void cmd_ls(int parc, char *parv[]);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -