Watt-32 tcp/ip  2.2 dev-rel.10
Functions | Variables
getnet.c File Reference

Go to the source code of this file.

Functions

static __inline struct netentfill_netent (const struct _netent *n)
 
static void _endnetent (void)
 
void W32_CALL ReadNetworksFile (const char *fname)
 
const char *W32_CALL GetNetFile (void)
 
void W32_CALL CloseNetworksFile (void)
 
void W32_CALL ReopenNetworksFile (void)
 
struct netent *W32_CALL getnetent (void)
 
struct netent *W32_CALL getnetbyname (const char *name)
 
struct netent *W32_CALL getnetbyaddr (long net, int type)
 
void W32_CALL setnetent (int stayopen)
 
void W32_CALL endnetent (void)
 

Variables

static struct _netentnetwork0 = NULL
 
static char * networkFname = NULL
 
static FILE * networkFile = NULL
 
static BOOL networkClose = FALSE
 

Detailed Description

Simple BSD-like network-entry functions.

Definition in file getnet.c.