netsrv.h
来自「开发TIC6000DSP经典重要资料,NDK(Network Developme」· C头文件 代码 · 共 42 行
H
42 行
//--------------------------------------------------------------------------
// 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 + =
减小字号Ctrl + -
显示快捷键?