[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] Declare gethostbyname3_r name service function



I've committed the following.  It corrects an omission I came across
working on the fixed nsswitch support, coming up.

ChangeLog.eglibc:
2007-07-12  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>

	* include/netdb.h (DECLARE_NSS_PROTOTYPES): Also declare
	_nss_SERVICE_gethostbyname3_r.

Index: include/netdb.h
===================================================================
--- include/netdb.h	(revision 2804)
+++ include/netdb.h	(working copy)
@@ -228,6 +228,10 @@
 		       (const char *name, int af, struct hostent *host,	      \
 			char *buffer, size_t buflen, int *errnop,	      \
 			int *h_errnop);					      \
+extern enum nss_status _nss_ ## service ## _gethostbyname3_r		      \
+		       (const char *name, int af, struct hostent *result,     \
+			char *buffer, size_t buflen, int *errnop,	      \
+			int *h_errnop, int32_t *ttlp, char **canonp);         \
 extern enum nss_status _nss_ ## service ## _gethostbyname_r		      \
 		       (const char *name, struct hostent *host, char *buffer, \
 			size_t buflen, int *errnop, int *h_errnop);	      \