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

[commits] r2805 - in /trunk/libc: ChangeLog.eglibc include/netdb.h



Author: jimb
Date: Thu Jul 12 16:30:13 2007
New Revision: 2805

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

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/include/netdb.h

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Thu Jul 12 16:30:13 2007
@@ -1,3 +1,8 @@
+2007-07-12  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>
+
+	* include/netdb.h (DECLARE_NSS_PROTOTYPES): Also declare
+	_nss_SERVICE_gethostbyname3_r.
+
 2007-07-09  Daniel Jacobowitz  <dan@xxxxxxxxxxxxxxxx>
 
 	Backport:

Modified: trunk/libc/include/netdb.h
==============================================================================
--- trunk/libc/include/netdb.h (original)
+++ trunk/libc/include/netdb.h Thu Jul 12 16:30:13 2007
@@ -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);	      \