#if0
/* Description of data base entry for a single network. NOTE: here a
poor assumption is made. The network number is expected to fit
into an unsigned long int variable. /usr/include/i386-linux-gnu/bits/netdb.h*/
struct netent
{
char *n_name; /* Official name of network. */
char **n_aliases; /* Alias list. */
int n_addrtype; /* Net address type. */
uint32_t n_net; /* Network number. */
};
/* Open network data base files and mark them as staying open even
after a later search if STAY_OPEN is non-zero.
This function is a possible cancellation point and therefore not
marked with __THROW. */
externvoid setnetent (int __stay_open);
/* Close network data base files and clear `stay open' flag.
This function is a possible cancellation point and therefore not
marked with __THROW. */
externvoid endnetent (void);
/* Get next entry from network data base file. Open data baseif
necessary.
This function is a possible cancellation point and therefore not
marked with __THROW. */
externstruct netent *getnetent (void);
/* Return entry from network data base which address match NET andtypeTYPE.
This function is a possible cancellation point and therefore not
marked with __THROW. */
externstruct netent *getnetbyaddr (uint32_t __net, int __type);
/* Return entry from network data basefor network with NAME.
This function is a possible cancellation point and therefore not
marked with __THROW. */
externstruct netent *getnetbyname (__const char *__name);
#endif