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

📄 sys.h

📁 用于嵌入式系统的TCP/IP协议栈
💻 H
字号:
/***********************************************************************//*                                                                     *//*   Module:  sys.h                                                    *//*   Release: 2001.3                                                   *//*   Version: 2001.1                                                   *//*   Purpose: System prototypes and symbol definitions                 *//*                                                                     *//*---------------------------------------------------------------------*//*                                                                     *//*               Copyright 1999, Blunk Microsystems                    *//*                      ALL RIGHTS RESERVED                            *//*                                                                     *//*   Licensees have the non-exclusive right to use, modify, or extract *//*   this computer program for software development at a single site.  *//*   This program may be resold or disseminated in executable format   *//*   only. The source code may not be redistributed or resold.         *//*                                                                     *//***********************************************************************/#ifndef _SYS_H   /* Don't include this file more than once */#define _SYS_H#ifdef __cplusplusextern "C"{#endif#include <assert.h>#include <stdio.h>/***********************************************************************//* Functions related to interactive I/O.                               *//***********************************************************************/int  getCmdStr(char *str, int max_val);int  getCmdKey(void);ui32 getInt(ui32 def_val, ui32 min_val, ui32 max_val);ui32 getHex(ui32 def_val, ui32 min_val, ui32 max_val);ui8  getDigit(ui8 value, ui8 min_val, ui8 max_val);void getIP(ui32 *ip_addrp);void getEth(ui8 *eth_addr);/***********************************************************************//* Password related definitions                                        *//***********************************************************************/typedef struct{  char *username;  char *password;} Secret;extern Secret Secrets[];void *SysPassword(void *username);#ifdef __cplusplus}#endif#endif /* _SYS_H */

⌨️ 快捷键说明

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