diff options
author | peter <peter@FreeBSD.org> | 1996-12-30 13:08:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-30 13:08:54 +0000 |
commit | 648aae194ff9b811344c5f95821059f6810ee266 (patch) | |
tree | 62a19a2f09bb1edd9a14cc442e8d9618c0299293 /include/netdb.h | |
parent | 70adab6489ccf8492a6470465865a5ab5a1962a9 (diff) | |
download | FreeBSD-src-648aae194ff9b811344c5f95821059f6810ee266.zip FreeBSD-src-648aae194ff9b811344c5f95821059f6810ee266.tar.gz |
Update the resolver definitions from bind-4.9.4-P1 to 4.9.5-P1 level.
(More commits to come)
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/netdb.h b/include/netdb.h index 8b86ea1..49552c1 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -31,7 +31,8 @@ * SUCH DAMAGE. * * @(#)netdb.h 8.1 (Berkeley) 6/2/93 - * $Id: netdb.h,v 1.4 1996/01/30 23:30:30 mpp Exp $ + * From: Id: netdb.h,v 8.7 1996/05/09 05:59:09 vixie Exp + * $Id: netdb.h,v 1.5 1996/08/29 20:00:56 peter Exp $ * - * Portions Copyright (c) 1993 by Digital Equipment Corporation. * @@ -57,6 +58,8 @@ #ifndef _NETDB_H_ #define _NETDB_H_ +#include <sys/cdefs.h> + #define _PATH_HEQUIV "/etc/hosts.equiv" #define _PATH_HOSTS "/etc/hosts" #define _PATH_NETWORKS "/etc/networks" @@ -116,8 +119,6 @@ struct protoent { #define NO_DATA 4 /* Valid name, no data record of requested type */ #define NO_ADDRESS NO_DATA /* no address, look for MX record */ -#include <sys/cdefs.h> - __BEGIN_DECLS void endhostent __P((void)); void endnetent __P((void)); @@ -127,7 +128,7 @@ struct hostent *gethostbyaddr __P((const char *, int, int)); struct hostent *gethostbyname __P((const char *)); struct hostent *gethostbyname2 __P((const char *, int)); struct hostent *gethostent __P((void)); -struct netent *getnetbyaddr __P((long, int)); /* u_long? */ +struct netent *getnetbyaddr __P((unsigned long, int)); struct netent *getnetbyname __P((const char *)); struct netent *getnetent __P((void)); struct protoent *getprotobyname __P((const char *)); @@ -171,7 +172,6 @@ struct netent * _getnetbydnsaddr __P((unsigned long, int)); struct netent * _getnetbynisaddr __P((unsigned long, int)); void _map_v4v6_address __P((const char *src, char *dst)); void _map_v4v6_hostent __P((struct hostent *hp, char **bp, int *len)); - __END_DECLS #endif /* !_NETDB_H_ */ |