sftpcdoc.h

来自「伯克利做的SFTP安全文件传输协议」· C头文件 代码 · 共 52 行

H
52
字号
// sftpcdoc.h// declarations for sftpcdoc.cpp#ifndef __SFTPCDOC_H#define __SFTPCDOC_H#include "typ.h"       // bool// define an alias for a commandstruct Alias {  char const *alias;           // command user enters  char const *expansion;       // string into which it expands};// all aliasesextern Alias const aliases[];extern int const numAliases;// return index of alias, or -1 if not foundint findAlias(char const *alias);// documentation for a (non-alias) commandstruct Command {  bool common;           // true for commands listed in 'help' command  char const *name;      // name as typed by user  char const *args;      // arguments format  char const *blurb;     // one-line summary  char const *arglines;  // LF-separated lines for each argument  char const *desc;      // LF-separated lines describing cmd generally};// docs for all commandextern Command const commands[];extern int const numCommands;// return index of command, or -1 if not foundint findCommand(char const *name);// print list of commands (either the common ones, or the// uncommon ones)void printCommandList(bool common);// write part of the HTML documentation to stdoutvoid writeHTMLCommands();#endif // __SFTPCDOC_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?