www.pudn.com > IEC104_codeamaterial.rar > cmd.h, change:2010-09-21,size:862b


/*------------------------------------------------------------------------ 
 Module:		cmd.h 
 Author:		solar 
 Project:		 
 Creation Date: 2009-10-20 
 Description:	 
------------------------------------------------------------------------*/ 
/*------------------------------------------------------------------------ 
 $Log: $ 
------------------------------------------------------------------------*/ 
 
#ifndef _CMD_H 
#define _CMD_H 
 
struct	monCommand { 
	char	*name; 
	int		(*func)(int argc, char *argv[]); 
	const char	**helptxt; 
}; 
 
extern const struct monCommand cmdlist[]; 
extern int	optind; 
 
int  getopt(int argc,char *argv[],char *opts); 
int  myprintf(const char *fmt, ... ); 
int  myputchar(char c); 
void gotoxy(unsigned char x, unsigned char y); 
void clrscr(void); 
void myputs(char *str); 
 
void ShellInit(void); 
 
#endif /*_CMD_H*/