Deleted Added
full compact
netconfig.h (74843) netconfig.h (93032)
1/* $NetBSD: netconfig.h,v 1.1 2000/06/02 22:57:54 fvdl Exp $ */
1/* $NetBSD: netconfig.h,v 1.1 2000/06/02 22:57:54 fvdl Exp $ */
2/* $FreeBSD: head/include/netconfig.h 74843 2001-03-27 09:43:09Z alfred $ */
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
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 __P((void));
83struct netconfig *getnetconfig __P((void *));
84struct netconfig *getnetconfigent __P((const char *));
85void freenetconfigent __P((struct netconfig *));
86int endnetconfig __P((void *));
82void *setnetconfig(void);
83struct netconfig *getnetconfig(void *);
84struct netconfig *getnetconfigent(const char *);
85void freenetconfigent(struct netconfig *);
86int endnetconfig(void *);
87
87
88void *setnetpath __P((void));
89struct netconfig *getnetpath __P((void *));
88void *setnetpath(void);
89struct netconfig *getnetpath(void *);
90int endnetpath(void *);
91
90int endnetpath(void *);
91
92void nc_perror __P((const char *));
93char *nc_sperror __P((void));
92void nc_perror(const char *);
93char *nc_sperror(void);
94__END_DECLS
95
96#endif /* _NETCONFIG_H_ */
94__END_DECLS
95
96#endif /* _NETCONFIG_H_ */