summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/netdb_private.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove _gethostbynisname() and _gethostbynisaddr(). These functionsume2015-12-251-2/+0
| | | | | | used to be called from getipnodebyname(). MFC after: 1 week
* Add declarations to netdb_private.h to eliminate -Wmissing-prototypes warnings.rodrigc2015-09-201-0/+19
|
* Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:ume2006-05-121-1/+1
| | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html gethostbyaddr_r() is changed as well. It breaks ABI backward compatibility on 64 bit arch. So, we fix it on 32 bit arch only for now. Reported by: Rostislav Krasny <rosti.bsd@gmail.com>
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-281-27/+0
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* - make reentrant version of netdb functions glibc style API, andume2006-04-151-55/+55
| | | | | | | expose them to outside of libc. - make netdb functions NSS friendly. Reviewed by: arch@ and current@ (no objection)
* Update the resolver in libc to BIND9's one.ume2006-03-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | Since, res_sendsigned(3) and the friends use MD5 functions, it is hard to include them without having MD5 functions in libc. So, res_sendsigned(3) is not merged into libc. Since, res_update(3) in BIND9 is not binary compatible with our res_update(3), res_update(3) is leaved as is, except some necessary modifications. The res_update(3) and the friends are not essential part of the resolver. They are not defined in resolv.h but defined in res_update.h separately in BIND9. Further, they are not called from our tree. So, I hide them from our resolv.h, but leave them only for binary backward compatibility (perhaps, no one calls them). Since, struct __res_state_ext is not exposed in BIND9, I hide it from our resolv.h. And, global variable _res_ext is removed. It breaks binary backward compatibility. But, since it is not used from outside of our libc, I think it is safe. Reviewed by: arch@ (no objection)
* - The ai_addrlen of a struct addrinfo used to be a size_t, perume2005-05-151-7/+1
| | | | | | | | | | | | | | | | RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC 3493, it was changed to a socklen_t. And, the n_net of a struct netent used to be an unsigned long integer. In XNS5, and subsequently in POSIX-2001, it was changed to an uint32_t. To accomodate for this while preserving ABI compatibility with the old interface, we need to prepend or append 32 bits of padding, depending on the (LP64) architecture's endianness. - Correct 1st argument of getnetbyaddr() to uint32_t on 32 bit arch. Stay as is on 64 bit arch for ABI backward compatibility for now. Reviewed by: das, peter MFC after: 2 weeks
* sync _map_v4v6_host*() with bind9's. it treats align better bit.ume2005-04-281-1/+1
| | | | Obtained from: BIND9
* make gethostby*() thread-safe.ume2005-04-281-2/+41
|
* make getnetby*() thread-safe.ume2005-04-281-14/+43
|
* hide implementation specific internal functions from netdb.h.ume2005-04-271-0/+12
| | | | it is needed to make get{host,net}by*() thread-safe.
* - add getproto{byname,bynumber,ent}_r for internal use within libc.ume2005-04-191-0/+24
| | | | - make getproto{byname,bynumber,ent} thread-safe.
* rename the NIS related fields to have yp_ prefix.ume2005-04-181-6/+6
| | | | Suggested by: delphij
* libc-internal interfaces should have two underscores in frontume2005-04-171-6/+6
| | | | | | of their names. Pointed out by: das
* - add getserv{byname,byport,ent}_r for internal use within libc.ume2005-04-151-0/+71
- make getserv{byname,byport,ent} thread-safe. Reviewed by: gnn
OpenPOWER on IntegriCloud