19 lines
357 B
C

#ifndef _CONSOLE_H_
#define _CONSOLE_H_
// ñòðóêòóðà äëÿ îïèñàíèÿ êîìàíäû
typedef struct
{
const char* opt; /* the option name */
int (*func)(char * buf); /* routine name to execute the option */
const char* desc; /* description of the option */
}TMenuOpt;
extern void InitConsole(void);
#endif //#ifndef _CONSOLE_H_