summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-31 23:14:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-31 23:14:10 +0000
commitb669ab02b7f37272df926eb18639896ffbdf8949 (patch)
tree85f3ca9057a6f3d60fce351f3e21238c2deeee41 /resolv
parent5134584a32101dad1ed7691a25cf3309c2994e50 (diff)
downloadglibc-b669ab02b7f37272df926eb18639896ffbdf8949.tar.gz
glibc-b669ab02b7f37272df926eb18639896ffbdf8949.tar.xz
glibc-b669ab02b7f37272df926eb18639896ffbdf8949.zip
Update.
2000-07-31  Andreas Jaeger  <aj@suse.de>

	* inet/Versions: Remove getipnodebyaddr and friends from
	GLIBC_2.2.

	* resolv/netdb.h: Remove getipnodebyaddr and friends.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/netdb.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index e0331db2a7..088522f608 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -136,32 +136,7 @@ extern struct hostent *gethostbyname (__const char *__name) __THROW;
    set to the address type which is `AF_INET' for IPv4 or `AF_INET6'
    for IPv6.  */
 extern struct hostent *gethostbyname2 (__const char *__name, int __af) __THROW;
-#endif
-
-#ifdef __USE_UNIX98
-/* 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
-
-#ifdef	__USE_MISC
 /* Reentrant versions of the functions above.  The additional
    arguments specify a buffer of BUFLEN starting at BUF.  The last
    argument is a pointer to a variable which gets the value which