[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] Declare gethostbyname3_r name service function
- To: patches@xxxxxxxxxx
- Subject: [patches] Declare gethostbyname3_r name service function
- From: Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
- Date: Thu, 12 Jul 2007 16:48:15 -0700
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); \