www.pudn.com > NDKforTIDM642DSP.rar > netsrv.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