diff options
author | Andreas Jaeger <aj@suse.de> | 2000-08-01 16:05:21 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-08-01 16:05:21 +0000 |
commit | eba8c0e2240c3d554617b77c9c798786393e8460 (patch) | |
tree | 3644bde510d4a288808b696bda91e2fb3a9f6a09 /include | |
parent | 4df4f8b14891b88d0da05dc93615fa9322324265 (diff) | |
download | glibc-eba8c0e2240c3d554617b77c9c798786393e8460.tar glibc-eba8c0e2240c3d554617b77c9c798786393e8460.tar.gz glibc-eba8c0e2240c3d554617b77c9c798786393e8460.tar.bz2 glibc-eba8c0e2240c3d554617b77c9c798786393e8460.zip |
Update.
* conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
* include/netdb.h: Remove getipnodebyaddr and friends, leave
constants in.
* nis/Versions: Remove _nss_nis_getipnodebyname_r and
_nss_nisplus_getipnodebyname_r.
* nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
now, getipnodebyname is deprecated.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): Likewise.
* inet/Makefile (routines): Don't build getipnodebyaddr and
friends.
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/netdb.h b/include/netdb.h index 8994056bb7..f30d46f222 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -85,24 +85,10 @@ extern int ruserpass (const char *host, const char **aname, /* The following declarations and definitions have been removed from the public header since we don't want people to use them. */ -/* Return entry from host data base which address match ADDR with - length LEN and type TYPE in newly allocated buffer. */ -extern struct hostent *getipnodebyaddr (__const void *__addr, socklen_t __len, - int __type, int *__error_num) __THROW; - -/* Return entry from host data base for host with NAME and newly allocated - buffer. FLAGS is some combination of the following AI_* values. */ -extern struct hostent *getipnodebyname (__const char *__name, int __type, - int __flags, int *__error_num) __THROW; - #define AI_V4MAPPED 0x0008 /* IPv4-mapped addresses are acceptable. */ #define AI_ALL 0x0010 /* Return both IPv4 and IPv6 addresses. */ #define AI_ADDRCONFIG 0x0020 /* Use configuration of this host to choose returned address type. */ #define AI_DEFAULT (AI_V4MAPPED | AI_ADDRCONFIG) -/* Free structure returned by previous `getipnodebyaddr' or `getipnodebyname' - call. */ -extern void freehostent (struct hostent *__ptr) __THROW; - #endif /* !_NETDB_H */ |