summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-07-12 23:30:13 +0000
committerjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-07-12 23:30:13 +0000
commitb6a246fa0e6117a98a0d0486543921550a25cf86 (patch)
tree70a397d3ef3b57d14f800c700b2459e6826cabc3
parent13269736b200af08bf5969b50782b510cf729a2c (diff)
* include/netdb.h (DECLARE_NSS_PROTOTYPES): Also declare
_nss_SERVICE_gethostbyname3_r. git-svn-id: svn://svn.eglibc.org/trunk@2805 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r--libc/ChangeLog.eglibc5
-rw-r--r--libc/include/netdb.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index cb704e6fa..c73fa4122 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,3 +1,8 @@
+2007-07-12 Jim Blandy <jimb@codesourcery.com>
+
+ * include/netdb.h (DECLARE_NSS_PROTOTYPES): Also declare
+ _nss_SERVICE_gethostbyname3_r.
+
2007-07-09 Daniel Jacobowitz <dan@codesourcery.com>
Backport:
diff --git a/libc/include/netdb.h b/libc/include/netdb.h
index 0bf84c21c..fb433b7d0 100644
--- a/libc/include/netdb.h
+++ b/libc/include/netdb.h
@@ -228,6 +228,10 @@ extern enum nss_status _nss_ ## service ## _gethostbyname2_r \
(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); \