⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tftp_main.h

📁 COLDFIRE 5282SC的文件
💻 H
字号:
/*
 * File:		dbug.h
 * Purpose:		Definitions and prototypes for dBUG.
 *
 * 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 + -