Deleted Added
sdiff udiff text old ( 74843 ) new ( 93032 )
full compact
1/* $NetBSD: netconfig.h,v 1.1 2000/06/02 22:57:54 fvdl Exp $ */
2/* $FreeBSD: head/include/netconfig.h 93032 2002-03-23 17:24:55Z imp $ */
3
4
5#ifndef _NETCONFIG_H_
6#define _NETCONFIG_H_
7
8#include <sys/cdefs.h>
9
10#define NETCONFIG "/etc/netconfig"

--- 63 unchanged lines hidden (view full) ---

74 * nc_proto values
75 */
76#define NC_NOPROTO "-"
77#define NC_TCP "tcp"
78#define NC_UDP "udp"
79#define NC_ICMP "icmp"
80
81__BEGIN_DECLS
82void *setnetconfig(void);
83struct netconfig *getnetconfig(void *);
84struct netconfig *getnetconfigent(const char *);
85void freenetconfigent(struct netconfig *);
86int endnetconfig(void *);
87
88void *setnetpath(void);
89struct netconfig *getnetpath(void *);
90int endnetpath(void *);
91
92void nc_perror(const char *);
93char *nc_sperror(void);
94__END_DECLS
95
96#endif /* _NETCONFIG_H_ */