?? tftp_main.h
字號:
/*
* File: tftp_main.h
* Purpose: Definitions and prototypes for tftp example menu.
*
* Notes:
*
*/
#ifndef _TFTP_MAIN_H
#define _TFTP_MAIN_H
/********************************************************************/
#define MAX_ARGS 3
#define MAX_LINE 80
#define MAX_FN 40
/********************************************************************/
/* The command table entry data structure */
typedef const struct
{
char * cmd; /* command name user types, ie. GO */
int min_args; /* min num of args command accepts */
int max_args; /* max num of args command accepts */
void (*func)(int, char **); /* actual function to call */
char * description; /* brief description of command */
char * syntax; /* syntax of command */
} CMD;
/* The set/show table entry */
typedef const struct
{
char * option;
void (*func)(int, char **);
char * syntax;
} SETCMD;
/********************************************************************/
void run_cmd (void);
void help (int, char **);
void read (int, char **);
void md (int, char **);
void mm (int, char **);
void set (int, char **);
void show (int, char **);
void write (int, char **);
void quit (int, char **);
void idle (int, char **);
void set_server (int, char **);
void set_client (int, char **);
void set_gateway (int, char **);
void set_netmask (int, char **);
void set_filename (int, char **);
void set_mac (int, char **);
/********************************************************************/
#endif /* _TFTP_MAIN_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -