#define NETCONFIG "/etc/netconfig"
#define NETPATH "NETPATH"
char *nc_netid; /* Network ID */
unsigned long nc_semantics; /* Semantics (see below) */
unsigned long nc_flag; /* Flags (see below) */
char *nc_protofmly; /* Protocol family */
char *nc_proto; /* Protocol name */
char *nc_device; /* Network device pathname */
unsigned long nc_nlookups; /* Number of directory lookup libs */
char **nc_lookups; /* Names of the libraries */
unsigned long nc_unused[9]; /* reserved */
struct netconfig **nc_head;
struct netconfig **nc_curr;
#define NC_TPI_COTS_ORD 3
#define NC_BROADCAST 0x02
#define NC_NOPROTOFMLY "-"
#define NC_LOOPBACK "loopback"
#define NC_IMPLINK "implink"
#define NC_DATAKIT "datakit"
#define NC_DECNET "decnet"
#define NC_HYLINK "hylink"
#define NC_APPLETALK "appletalk"
#define NC_IEEE802 "ieee802"
#define NC_OSINET "osinet"
extern void *setnetconfig (void);
extern struct netconfig *getnetconfig (void *);
extern struct netconfig *getnetconfigent (const char *);
extern void freenetconfigent (struct netconfig *);
extern int endnetconfig (void *);
extern void *setnetpath (void);
extern struct netconfig *getnetpath (void *);
extern int endnetpath (void *);
extern void nc_perror (const char *);
extern char *nc_sperror (void);
#endif /* _NETCONFIG_H_ */