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

📄 netsrv.h

📁 TI DSP的网络开发包NDK样本工程,可用与学习嵌入式的TCP/IP学习和应用.
💻 H
字号:
//--------------------------------------------------------------------------
// Network Control Library
//--------------------------------------------------------------------------
// NETSRV.H
//
// Routines to spawn and destroy stack services
//
// Author: Michael A. Denio
// Copyright 2000 by Texas Instruments Inc.
//--------------------------------------------------------------------------
#ifndef _C_NETSRV_INC
#define _C_NETSRV_INC

//
// The following #define's are used to determine if certain service
// entrypoints are linked into the executable. So if a service is not
// going to be used, set the corresponding #define to zero. When set
// to zero, the service is unavailable.
//

#ifndef _NDK_EXTERN_CONFIG /* Configuration overridden by Makefiles */
#define NETSRV_ENABLE_TELNET            1
#define NETSRV_ENABLE_HTTP              1
#define NETSRV_ENABLE_NAT               0
#define NETSRV_ENABLE_DHCPCLIENT        1
#define NETSRV_ENABLE_DHCPSERVER        0
#define NETSRV_ENABLE_DNSSERVER         0
#endif

//
// NETSRV Access Functions
//

// PreBook Task
_extern void NS_PreBoot();

// Book Task
_extern void NS_BootTask( HANDLE hCfg );

#endif

⌨️ 快捷键说明

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